Searched defs:head (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp34 CacheBlock* CacheBlock::insertBlock(CacheBlock* head, CacheBlock* newBlock) { argument
41 CacheBlock* currBlock = head;
52 return head;
72 return head;
78 CacheBlock* CacheBlock::removeBlock(CacheBlock* head, CacheBlock* blockToRemove) { argument
85 CacheBlock* newHead = head;
/frameworks/base/libs/hwui/
H A DExtensions.h51 const char* head = current; local
54 head = strchr(current, ' ');
55 String8 s(current, head ? head - current : strlen(current));
60 current = head + 1;
61 } while (head);
/frameworks/native/services/surfaceflinger/
H A DGLExtensions.cpp53 char const* head = curr; local
55 head = strchr(curr, ' ');
56 String8 s(curr, head ? head-curr : strlen(curr));
60 curr = head+1;
61 } while (head);
64 head = curr;
66 head = strchr(curr, ' ');
67 String8 s(curr, head ? head
[all...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DStringUnorderedMap.h167 HashEntry *&head = this->m_HashTable[hashVal % this->m_Capacity]; local
170 for(HashEntry *ptr = head; ptr != 0; ptr = ptr->next)
180 ans->next = head;
181 head = ans;
/frameworks/base/obex/javax/obex/
H A DClientSession.java80 byte[] head = null;
88 head = ObexHelper.createHeader(header, false);
89 totalLength += head.length;
107 if (head != null) {
108 System.arraycopy(head, 0, requestPacket, 4, head.length);
145 HeaderSet head;
147 head = new HeaderSet();
149 head = header;
150 if (head
408 sendRequest(int opCode, byte[] head, HeaderSet header, PrivateInputStream privateInput) argument
[all...]
H A DObexHelper.java335 * @param head the header used to construct the byte array
341 public static byte[] createHeader(HeaderSet head, boolean nullOut) { argument
353 headImpl = head;
/frameworks/base/core/java/android/net/http/
H A DRequestQueue.java485 * Put request back on head of queue
498 protected synchronized void queueRequest(Request request, boolean head) { argument
507 if (head) {
/frameworks/native/include/private/ui/
H A DRegionHelper.h116 inline int next(TYPE& head, TYPE& tail, argument
124 head = lhs_head;
134 head = rhs_head;
144 head = lhs_head;
/frameworks/av/services/audioflinger/
H A DAudioResamplerSinc.cpp215 * ^ ^ head
320 int16_t* head = impulse + c->halfNumCoefs*CHANNELS; local
321 head[0] = in[inputIndex*CHANNELS + 0];
323 head[1] = in[inputIndex*CHANNELS + 1];
387 int16_t* head = impulse + c->halfNumCoefs*CHANNELS; local
388 head[0] = in[inputIndex*CHANNELS + 0];
390 head[1] = in[inputIndex*CHANNELS + 1];
H A DAudioFlinger.cpp5120 TimedBuffer& head = mTimedBufferQueue.editItemAt(0); local
5122 // calculate the PTS of the head of the timed buffer queue expressed in
5137 if (!mMediaTimeTransform.doForwardTransform(head.pts(),
5160 // adjust the head buffer's PTS to reflect the portion of the head buffer
5163 ((head.position() / mCblk->frameSize) * mLocalTimeFreq / sampleRate());
5165 // Calculate the delta in samples between the head of the input buffer
5172 ALOGV("*** head buffer is too far from PTS: dropped buffer");
5184 ALOGVV("*** getNextBuffer head.pts=%lld head
5257 const TimedBuffer& head = mTimedBufferQueue[0]; local
5315 TimedBuffer& head = mTimedBufferQueue.editItemAt(0); local
[all...]
/frameworks/native/libs/binder/
H A DMemoryDealer.cpp57 NODE const* head() const { return mFirst; } function in class:android::LinkedList
58 NODE* head() { return mFirst; } function in class:android::LinkedList
284 delete mList.remove(mList.head());
317 chunk_t* cur = mList.head();
370 chunk_t* cur = mList.head();
433 chunk_t const* cur = mList.head();
/frameworks/native/libs/gui/
H A DBufferQueue.cpp981 int head = -1; local
984 head = *front;
988 if (i != head) {
/frameworks/native/libs/ui/
H A DRegion.cpp258 Rect* head; member in class:android::Region::rasterizer
264 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() {
306 if (tail-head == ssize_t(span.size())) {
308 Rect const* q = head;
322 Rect* r = head;
332 head = tail - span.size();
473 Region::const_iterator head = dst.begin(); local
477 if (head != tail) {
479 head->left != it.rect().fLeft ||
480 head
658 const_iterator head = begin(); local
678 const_iterator head = begin(); local
[all...]
/frameworks/native/libs/utils/
H A DRefBase.cpp248 ref_entry* const head = *refs; local
249 ref_entry* ref = head;
270 ref = head;
/frameworks/base/libs/androidfw/
H A DInputTransport.cpp855 const InputMessage& head = batch.samples.itemAt(0); local
856 if (head.body.motion.deviceId == deviceId && head.body.motion.source == source) {
927 const InputMessage& head = batch.samples.itemAt(0); local
929 if (head.body.motion.pointerCount != pointerCount
930 || head.body.motion.action != msg->body.motion.action) {
934 if (head.body.motion.pointers[i].properties
/frameworks/base/voip/jni/rtp/
H A DAudioGroup.cpp104 bool mix(int32_t *output, int head, int tail, int sampleRate);
234 bool AudioStream::mix(int32_t *output, int head, int tail, int sampleRate) argument
240 if (head - mBufferHead < 0) {
241 head = mBufferHead;
246 if (tail - head <= 0) {
250 head *= mSampleRate;
254 for (int i = head; i - tail < 0; ++i) {
255 output[i - head] += mBuffer[i & mBufferMask];
/frameworks/base/services/input/
H A DInputDispatcher.h605 T* head; member in struct:android::InputDispatcher::Queue
608 inline Queue() : head(NULL), tail(NULL) {
612 return !head;
620 head = entry;
627 entry->next = head;
628 if (head) {
629 head->prev = entry;
634 head = entry;
641 head = entry->next;
651 T* entry = head;
[all...]

Completed in 3685 milliseconds