/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | GLExtensions.cpp | 45 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 D | ClientSession.java | 80 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 D | ServerSession.java | 296 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 D | ObexHelper.java | 336 * @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 D | Extensions.cpp | 115 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 D | AnimationContext.cpp | 60 AnimationHandle* head = mNextFrameAnimations.mNextHandle; local 61 if (head) { 63 mCurrentFrameAnimations.mNextHandle = head; 64 head->mPreviousHandle = &mCurrentFrameAnimations;
|
/frameworks/compile/mclinker/unittests/ |
H A D | GraphTest.cpp | 63 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 D | Region.cpp | 411 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 D | CacheTexture.cpp | 37 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 D | CacheTexture.h | 61 static CacheBlock* insertBlock(CacheBlock* head, CacheBlock* newBlock); 62 static CacheBlock* removeBlock(CacheBlock* head, CacheBlock* blockToRemove);
|
/frameworks/native/libs/binder/ |
H A D | MemoryDealer.cpp | 57 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 D | InputDispatcher.h | 607 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 D | InputDispatcher.cpp | 1687 && 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 D | Tracks.cpp | 1401 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 D | AudioResamplerDyn.cpp | 123 // 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 D | AudioResamplerSinc.cpp | 469 * ^ ^ 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 D | update_rs_prebuilts.sh | 131 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 D | test_restore.sh | 69 restore_set=$(a shell bmgr list sets | head -n1 | awk '{print $1}')
|
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 116 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 D | AudioGroup.cpp | 104 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 D | InputTransport.cpp | 865 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 D | BootAnimation.cpp | 622 Region::const_iterator head(clearReg.begin()); 625 while (head != tail) { 626 const Rect& r(*head++);
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmElement.cpp | 89 int head = serializeCodedUnsigned(mId, cur); local 90 cur += head;
|
/frameworks/base/core/java/android/net/http/ |
H A D | RequestQueue.java | 481 * 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 D | Surface.cpp | 759 Region::const_iterator head(reg.begin()); 761 if (head != tail && src_bits && dst_bits) { 766 while (head != tail) { 767 const Rect& r(*head++);
|