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

/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/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.java292 byte[] head = null;
377 head = ObexHelper.createHeader(reply, false);
378 totalLength += head.length;
382 head = null;
393 if (head != null) {
394 System.arraycopy(head, 0, replyData, 3, head.length);
416 byte[] head = null;
476 head = ObexHelper.createHeader(reply, false);
477 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.h54 const char* head = current; local
57 head = strchr(current, ' ');
58 String8 s(current, head ? head - current : strlen(current));
63 current = head + 1;
64 } while (head);
/frameworks/native/libs/ui/
H A DRegion.cpp263 Rect* head;
269 : bounds(reg.mBounds), storage(reg.mStorage), head(), tail(), cur() {
313 if (tail-head == ssize_t(span.size())) {
315 Rect const* q = head;
329 Rect* r = head;
339 head = tail - span.size();
452 Region::const_iterator head = dst.begin();
456 if (head != tail) {
458 head->left != it.rect().fLeft ||
459 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/av/services/audioflinger/
H A DAudioResamplerSinc.cpp148 * ^ ^ head
231 int16_t* head = impulse + halfNumCoefs*CHANNELS; local
232 head[0] = in[inputIndex*CHANNELS + 0];
234 head[1] = in[inputIndex*CHANNELS + 1];
297 int16_t* head = impulse + halfNumCoefs*CHANNELS; local
298 head[0] = in[inputIndex*CHANNELS + 0];
300 head[1] = in[inputIndex*CHANNELS + 1];
H A DAudioFlinger.cpp5084 TimedBuffer& head = mTimedBufferQueue.editItemAt(0); local
5086 // calculate the PTS of the head of the timed buffer queue expressed in
5101 if (!mMediaTimeTransform.doForwardTransform(head.pts(),
5124 // adjust the head buffer's PTS to reflect the portion of the head buffer
5127 ((head.position() / mCblk->frameSize) * mLocalTimeFreq / sampleRate());
5129 // Calculate the delta in samples between the head of the input buffer
5136 ALOGV("*** head buffer is too far from PTS: dropped buffer");
5148 ALOGVV("*** getNextBuffer head.pts=%lld head
5221 const TimedBuffer& head = mTimedBufferQueue[0]; local
5279 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/base/services/input/
H A DInputDispatcher.h603 T* head; member in struct:android::InputDispatcher::Queue
606 inline Queue() : head(NULL), tail(NULL) {
610 return !head;
618 head = entry;
625 entry->next = head;
626 if (head) {
627 head->prev = entry;
632 head = entry;
639 head = entry->next;
649 T* entry = head;
[all...]
H A DInputDispatcher.cpp1668 && currentTime >= connection->waitQueue.head->eventEntry->eventTime
1893 DispatchEntry* dispatchEntry = connection->outboundQueue.head;
3101 for (EventEntry* entry = mInboundQueue.head; entry; entry = entry->next) {
3124 for (DispatchEntry* entry = connection->outboundQueue.head; entry;
3139 for (DispatchEntry* entry = connection->waitQueue.head; entry;
3681 for (const T* entry = head; entry; entry = entry->next) {
4220 for (DispatchEntry* entry = waitQueue.head; entry != NULL; entry = entry->next) {
/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/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/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/native/libs/utils/
H A DRefBase.cpp248 ref_entry* const head = *refs; local
249 ref_entry* ref = head;
270 ref = head;
/frameworks/native/libs/gui/
H A DSurfaceTextureClient.cpp640 Region::const_iterator head(reg.begin());
642 if (head != tail && src_bits && dst_bits) {
647 while (head != tail) {
648 const Rect& r(*head++);
H A DBufferQueue.cpp997 int head = -1; local
1000 head = *front;
1004 if (i != head) {
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp523 Region::const_iterator head(clearReg.begin());
526 while (head != tail) {
527 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) {

Completed in 375 milliseconds