Searched refs:head (Results 1 - 20 of 20) 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.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/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);
/frameworks/native/libs/ui/
H A DRegion.cpp394 Rect* head; member in class:android::Region::rasterizer
400 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() {
442 if (tail-head == ssize_t(span.size())) {
444 Rect const* q = head;
458 Rect* r = head;
468 head = tail - span.size();
607 Region::const_iterator head = dst.begin(); local
611 if (head != tail) {
613 head->left != it.rect().fLeft ||
614 head
795 const_iterator head = begin(); local
815 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/base/services/input/
H A DInputDispatcher.h609 T* head; member in struct:android::InputDispatcher::Queue
612 inline Queue() : head(NULL), tail(NULL) {
616 return !head;
624 head = entry;
631 entry->next = head;
632 if (head) {
633 head->prev = entry;
638 head = entry;
645 head = entry->next;
655 T* entry = head;
[all...]
H A DInputDispatcher.cpp1702 && currentTime >= connection->waitQueue.head->deliveryTime
1937 DispatchEntry* dispatchEntry = connection->outboundQueue.head;
3166 for (EventEntry* entry = mRecentQueue.head; entry; entry = entry->next) {
3190 for (EventEntry* entry = mInboundQueue.head; entry; entry = entry->next) {
3213 for (DispatchEntry* entry = connection->outboundQueue.head; entry;
3228 for (DispatchEntry* entry = connection->waitQueue.head; entry;
3771 for (const T* entry = head; entry; entry = entry->next) {
4332 for (DispatchEntry* entry = waitQueue.head; entry != NULL; entry = entry->next) {
/frameworks/av/services/audioflinger/
H A DTracks.cpp1240 TimedBuffer& head = mTimedBufferQueue.editItemAt(0); local
1242 // calculate the PTS of the head of the timed buffer queue expressed in
1257 if (!mMediaTimeTransform.doForwardTransform(head.pts(),
1282 // adjust the head buffer's PTS to reflect the portion of the head buffer
1285 ((head.position() / mFrameSize) * mLocalTimeFreq / sr);
1287 // Calculate the delta in samples between the head of the input buffer
1294 ALOGV("*** head buffer is too far from PTS: dropped buffer");
1306 ALOGVV("*** getNextBuffer head.pts=%lld head
1379 const TimedBuffer& head = mTimedBufferQueue[0]; local
1437 TimedBuffer& head = mTimedBufferQueue.editItemAt(0); local
[all...]
H A DAudioResamplerSinc.cpp465 * ^ ^ head
574 int16_t* head = impulse + headOffset; local
576 head[i] = in[inputIndex*CHANNELS + i];
630 int16_t* head = impulse + c.halfNumCoefs*CHANNELS; local
632 head[i] = in[inputIndex*CHANNELS + i];
/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.cpp864 const InputMessage& head = batch.samples.itemAt(0); local
865 if (head.body.motion.deviceId == deviceId && head.body.motion.source == source) {
936 const InputMessage& head = batch.samples.itemAt(0); local
938 if (head.body.motion.pointerCount != pointerCount
939 || head.body.motion.action != msg->body.motion.action) {
943 if (head.body.motion.pointers[i].properties
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp526 Region::const_iterator head(clearReg.begin());
529 while (head != tail) {
530 const Rect& r(*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/libs/gui/
H A DSurface.cpp683 Region::const_iterator head(reg.begin());
685 if (head != tail && src_bits && dst_bits) {
690 while (head != tail) {
691 const Rect& r(*head++);

Completed in 557 milliseconds