Searched refs:head (Results 1 - 25 of 25) sorted by relevance

/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLExtensions.cpp45 char const* head = curr; local
47 head = strchr(curr, ' ');
48 String8 s(curr, head ? head-curr : strlen(curr));
52 curr = head+1;
53 } while (head);
/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 DServerSession.java296 byte[] head = null;
381 head = ObexHelper.createHeader(reply, false);
382 totalLength += head.length;
386 head = null;
397 if (head != null) {
398 System.arraycopy(head, 0, replyData, 3, head.length);
420 byte[] head = null;
480 head = ObexHelper.createHeader(reply, false);
481 totalLength += head
[all...]
H A DObexHelper.java336 * @param head the header used to construct the byte array
342 public static byte[] createHeader(HeaderSet head, boolean nullOut) { argument
354 headImpl = head;
/frameworks/base/libs/hwui/
H A DExtensions.cpp115 const char* head = current; local
118 head = strchr(current, ' ');
119 String8 s(current, head ? head - current : strlen(current));
124 current = head + 1;
125 } while (head);
H A DAnimationContext.cpp60 AnimationHandle* head = mNextFrameAnimations.mNextHandle; local
61 if (head) {
63 mCurrentFrameAnimations.mNextHandle = head;
64 head->mPreviousHandle = &mCurrentFrameAnimations;
/frameworks/compile/mclinker/unittests/
H A DGraphTest.cpp63 ListDigraph::Node* head = NULL; local
64 graph.getHead(head);
65 ASSERT_TRUE(head == u3);
84 graph.getHead(head);
85 ASSERT_TRUE(head == u3);
111 ListDigraph::Node* head = NULL; local
112 graph.getHead(head);
113 ASSERT_TRUE(head == u3);
132 graph.getHead(head);
133 ASSERT_TRUE(head
159 ListDigraph::Node* head = NULL; local
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp411 Rect* head; member in class:android::Region::rasterizer
417 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() {
459 if (tail-head == ssize_t(span.size())) {
461 Rect const* q = head;
475 Rect* r = head;
485 head = tail - span.size();
624 Region::const_iterator head = dst.begin(); local
628 if (head != tail) {
630 head->left != it.rect().fLeft ||
631 head
812 const_iterator head = begin(); local
832 const_iterator head = begin(); local
[all...]
/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp37 CacheBlock* CacheBlock::insertBlock(CacheBlock* head, CacheBlock* newBlock) { argument
44 CacheBlock* currBlock = head;
55 return head;
75 return head;
81 CacheBlock* CacheBlock::removeBlock(CacheBlock* head, CacheBlock* blockToRemove) { argument
88 CacheBlock* newHead = head;
H A DCacheTexture.h61 static CacheBlock* insertBlock(CacheBlock* head, CacheBlock* newBlock);
62 static CacheBlock* removeBlock(CacheBlock* head, CacheBlock* blockToRemove);
/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/services/inputflinger/
H A DInputDispatcher.h607 T* head; member in struct:android::InputDispatcher::Queue
610 inline Queue() : head(NULL), tail(NULL) {
614 return !head;
622 head = entry;
629 entry->next = head;
630 if (head) {
631 head->prev = entry;
636 head = entry;
643 head = entry->next;
653 T* entry = head;
[all...]
H A DInputDispatcher.cpp1687 && currentTime >= connection->waitQueue.head->deliveryTime
1691 "%0.1fms ago. Wait queue length: %d. Wait queue head age: %0.1fms.",
1694 (currentTime - connection->waitQueue.head->deliveryTime) * 0.000001f);
1927 DispatchEntry* dispatchEntry = connection->outboundQueue.head;
3180 for (EventEntry* entry = mRecentQueue.head; entry; entry = entry->next) {
3204 for (EventEntry* entry = mInboundQueue.head; entry; entry = entry->next) {
3239 for (DispatchEntry* entry = connection->outboundQueue.head; entry;
3254 for (DispatchEntry* entry = connection->waitQueue.head; entry;
3797 for (const T* entry = head; entry; entry = entry->next) {
4384 for (DispatchEntry* entry = waitQueue.head; entr
[all...]
/frameworks/av/services/audioflinger/
H A DTracks.cpp1401 TimedBuffer& head = mTimedBufferQueue.editItemAt(0); local
1403 // calculate the PTS of the head of the timed buffer queue expressed in
1418 if (!mMediaTimeTransform.doForwardTransform(head.pts(),
1443 // adjust the head buffer's PTS to reflect the portion of the head buffer
1446 ((head.position() / mFrameSize) * mLocalTimeFreq / sr);
1448 // Calculate the delta in samples between the head of the input buffer
1455 ALOGV("*** head buffer is too far from PTS: dropped buffer");
1467 ALOGVV("*** getNextBuffer head.pts=%lld head
1540 const TimedBuffer& head = mTimedBufferQueue[0]; local
1598 TimedBuffer& head = mTimedBufferQueue.editItemAt(0); local
[all...]
H A DAudioResamplerDyn.cpp123 // copy in the input data into the head (impulse+halfNumCoefs) of the buffer.
129 TI* head = impulse + halfNumCoefs*CHANNELS; local
131 head[i] = in[inputIndex*CHANNELS + i];
135 // advance the impulse pointer, and load in data into the head (impulse+halfNumCoefs)
H A DAudioResamplerSinc.cpp469 * ^ ^ head
580 int16_t* head = impulse + headOffset; local
582 head[i] = in[inputIndex*CHANNELS + i];
636 int16_t* head = impulse + c.halfNumCoefs*CHANNELS; local
638 head[i] = in[inputIndex*CHANNELS + i];
/frameworks/rs/
H A Dupdate_rs_prebuilts.sh131 cp `find $sys_lib_dir $obj_lib_dir -name $file | head -1` $a || exit 4
136 cp `find $HOST_LIB_DIR $HOST_LIB64_DIR $sys_lib_dir $obj_lib_dir -name $file | head -1` $a || exit 5
/frameworks/base/tests/backup/
H A Dtest_restore.sh69 restore_set=$(a shell bmgr list sets | head -n1 | awk '{print $1}')
/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/opt/net/voip/src/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/native/libs/input/
H A DInputTransport.cpp865 const InputMessage& head = batch.samples.itemAt(0); local
866 if (head.body.motion.deviceId == deviceId && head.body.motion.source == source) {
937 const InputMessage& head = batch.samples.itemAt(0); local
939 if (head.body.motion.pointerCount != pointerCount
940 || head.body.motion.action != msg->body.motion.action) {
944 if (head.body.motion.pointers[i].properties
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp622 Region::const_iterator head(clearReg.begin());
625 while (head != tail) {
626 const Rect& r(*head++);
/frameworks/av/media/libstagefright/webm/
H A DWebmElement.cpp89 int head = serializeCodedUnsigned(mId, cur); local
90 cur += head;
/frameworks/base/core/java/android/net/http/
H A DRequestQueue.java481 * Put request back on head of queue
494 protected synchronized void queueRequest(Request request, boolean head) { argument
503 if (head) {
/frameworks/native/libs/gui/
H A DSurface.cpp759 Region::const_iterator head(reg.begin());
761 if (head != tail && src_bits && dst_bits) {
766 while (head != tail) {
767 const Rect& r(*head++);

Completed in 923 milliseconds