Home
last modified time | relevance | path

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

12

/frameworks/base/obex/javax/obex/
DClientSession.java80 byte[] head = null; in connect()
88 head = ObexHelper.createHeader(header, false); in connect()
89 totalLength += head.length; in connect()
107 if (head != null) { in connect()
108 System.arraycopy(head, 0, requestPacket, 4, head.length); in connect()
145 HeaderSet head; in get() local
147 head = new HeaderSet(); in get()
149 head = header; in get()
150 if (head.nonce != null) { in get()
152 System.arraycopy(head.nonce, 0, mChallengeDigest, 0, 16); in get()
[all …]
DServerSession.java296 byte[] head = null; in handleSetPathRequest()
381 head = ObexHelper.createHeader(reply, false); in handleSetPathRequest()
382 totalLength += head.length; in handleSetPathRequest()
386 head = null; in handleSetPathRequest()
397 if (head != null) { in handleSetPathRequest()
398 System.arraycopy(head, 0, replyData, 3, head.length); in handleSetPathRequest()
420 byte[] head = null; in handleDisconnectRequest()
480 head = ObexHelper.createHeader(reply, false); in handleDisconnectRequest()
481 totalLength += head.length; in handleDisconnectRequest()
485 head = null; in handleDisconnectRequest()
[all …]
DObexHelper.java341 public static byte[] createHeader(HeaderSet head, boolean nullOut) { in createHeader() argument
353 headImpl = head; in createHeader()
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLExtensions.cpp45 char const* head = curr; in initWithGLStrings() local
47 head = strchr(curr, ' '); in initWithGLStrings()
48 String8 s(curr, head ? head-curr : strlen(curr)); in initWithGLStrings()
52 curr = head+1; in initWithGLStrings()
53 } while (head); in initWithGLStrings()
/frameworks/base/libs/hwui/
DExtensions.cpp115 const char* head = current; in findExtensions() local
118 head = strchr(current, ' '); in findExtensions()
119 String8 s(current, head ? head - current : strlen(current)); in findExtensions()
124 current = head + 1; in findExtensions()
125 } while (head); in findExtensions()
/frameworks/native/libs/ui/
DRegion.cpp394 Rect* head; member in android::Region::rasterizer
400 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() { in rasterizer()
442 if (tail-head == ssize_t(span.size())) { in flushSpan()
444 Rect const* q = head; in flushSpan()
458 Rect* r = head; in flushSpan()
468 head = tail - span.size(); in flushSpan()
607 Region::const_iterator head = dst.begin(); in boolean_operation() local
611 if (head != tail) { in boolean_operation()
613 head->left != it.rect().fLeft || in boolean_operation()
614 head->top != it.rect().fTop || in boolean_operation()
[all …]
/frameworks/base/libs/hwui/font/
DCacheTexture.cpp37 CacheBlock* CacheBlock::insertBlock(CacheBlock* head, CacheBlock* newBlock) { in insertBlock() argument
44 CacheBlock* currBlock = head; in insertBlock()
55 return head; in insertBlock()
75 return head; in insertBlock()
81 CacheBlock* CacheBlock::removeBlock(CacheBlock* head, CacheBlock* blockToRemove) { in removeBlock() argument
88 CacheBlock* newHead = head; in removeBlock()
DCacheTexture.h61 static CacheBlock* insertBlock(CacheBlock* head, CacheBlock* newBlock);
62 static CacheBlock* removeBlock(CacheBlock* head, CacheBlock* blockToRemove);
/frameworks/base/services/input/
DInputDispatcher.h609 T* head; member
612 inline Queue() : head(NULL), tail(NULL) { in Queue()
616 return !head; in isEmpty()
624 head = entry; in enqueueAtTail()
631 entry->next = head; in enqueueAtHead()
632 if (head) { in enqueueAtHead()
633 head->prev = entry; in enqueueAtHead()
638 head = entry; in enqueueAtHead()
645 head = entry->next; in dequeue()
655 T* entry = head; in dequeueAtHead()
[all …]
DInputDispatcher.cpp1702 && currentTime >= connection->waitQueue.head->deliveryTime in isWindowReadyForMoreInputLocked()
1937 DispatchEntry* dispatchEntry = connection->outboundQueue.head; in startDispatchCycleLocked()
3166 for (EventEntry* entry = mRecentQueue.head; entry; entry = entry->next) { in dumpDispatchStateLocked()
3190 for (EventEntry* entry = mInboundQueue.head; entry; entry = entry->next) { in dumpDispatchStateLocked()
3213 for (DispatchEntry* entry = connection->outboundQueue.head; entry; in dumpDispatchStateLocked()
3228 for (DispatchEntry* entry = connection->waitQueue.head; entry; in dumpDispatchStateLocked()
3771 for (const T* entry = head; entry; entry = entry->next) { in count()
4332 for (DispatchEntry* entry = waitQueue.head; entry != NULL; entry = entry->next) { in findWaitQueueEntry()
/frameworks/av/services/audioflinger/
DTracks.cpp1240 TimedBuffer& head = mTimedBufferQueue.editItemAt(0); in getNextBuffer() local
1257 if (!mMediaTimeTransform.doForwardTransform(head.pts(), in getNextBuffer()
1285 ((head.position() / mFrameSize) * mLocalTimeFreq / sr); in getNextBuffer()
1308 head.pts(), head.position(), pts, in getNextBuffer()
1330 head.position(), buffer->frameCount); in getNextBuffer()
1350 head.position() + lateFrames * mFrameSize; in getNextBuffer()
1352 if (onTimeSamplePosition > head.buffer()->size()) { in getNextBuffer()
1360 head.setPosition(onTimeSamplePosition); in getNextBuffer()
1365 ALOGV("*** late: head.pos=%d frameCount=%u", head.position(), buffer->frameCount); in getNextBuffer()
1379 const TimedBuffer& head = mTimedBufferQueue[0]; in timedYieldSamples_l() local
[all …]
DAudioResamplerSinc.cpp574 int16_t* head = impulse + headOffset; in resample() local
576 head[i] = in[inputIndex*CHANNELS + i]; in resample()
630 int16_t* head = impulse + c.halfNumCoefs*CHANNELS; in read() local
632 head[i] = in[inputIndex*CHANNELS + i]; in read()
/frameworks/native/libs/binder/
DMemoryDealer.cpp57 NODE const* head() const { return mFirst; } in head() function in android::LinkedList
58 NODE* head() { return mFirst; } in head() function in android::LinkedList
284 delete mList.remove(mList.head()); in ~SimpleBestFitAllocator()
317 chunk_t* cur = mList.head(); in alloc()
370 chunk_t* cur = mList.head(); in dealloc()
433 chunk_t const* cur = mList.head(); in dump_l()
/frameworks/native/include/private/ui/
DRegionHelper.h116 inline int next(TYPE& head, TYPE& tail, in next() argument
124 head = lhs_head; in next()
134 head = rhs_head; in next()
144 head = lhs_head; in next()
/frameworks/opt/net/voip/src/jni/rtp/
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) in mix() argument
240 if (head - mBufferHead < 0) { in mix()
241 head = mBufferHead; in mix()
246 if (tail - head <= 0) { in mix()
250 head *= mSampleRate; in mix()
254 for (int i = head; i - tail < 0; ++i) { in mix()
255 output[i - head] += mBuffer[i & mBufferMask]; in mix()
/frameworks/native/libs/input/
DInputTransport.cpp864 const InputMessage& head = batch.samples.itemAt(0); in findBatch() local
865 if (head.body.motion.deviceId == deviceId && head.body.motion.source == source) { in findBatch()
936 const InputMessage& head = batch.samples.itemAt(0); in canAddSample() local
938 if (head.body.motion.pointerCount != pointerCount in canAddSample()
939 || head.body.motion.action != msg->body.motion.action) { in canAddSample()
943 if (head.body.motion.pointers[i].properties in canAddSample()
/frameworks/base/tests/backup/
Dtest_restore.sh69 restore_set=$(a shell bmgr list sets | head -n1 | awk '{print $1}')
/frameworks/base/docs/html/guide/webapps/
Dbest-practices.jd57 <p>In your document {@code &lt;head&gt;}, you should provide meta data that specifies how you
74 &lt;head&gt;}. Instead, provide your CSS and JavaScript directly in the &lt;head&gt; (or
Dtargeting.jd92 be placed in your document {@code &lt;head&gt;}). You can define multiple viewport properties in the
101 &lt;head&gt;
104 &lt;/head&gt;
/frameworks/native/libs/gui/
DSurface.cpp683 Region::const_iterator head(reg.begin()); in copyBlt() local
685 if (head != tail && src_bits && dst_bits) { in copyBlt()
690 while (head != tail) { in copyBlt()
691 const Rect& r(*head++); in copyBlt()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp526 Region::const_iterator head(clearReg.begin()); in movie() local
529 while (head != tail) { in movie()
530 const Rect& r(*head++); in movie()
/frameworks/base/core/java/android/net/http/
DRequestQueue.java498 protected synchronized void queueRequest(Request request, boolean head) { in queueRequest() argument
507 if (head) { in queueRequest()
/frameworks/base/tools/orientationplot/
DREADME.txt84 overhead. People reading on tablets in bed often have their head turned
/frameworks/compile/mclinker/unittests/
Dtest3.txt74 head -1 $(TOOL)/version.in; \
/frameworks/base/docs/html/training/graphics/opengl/
Denvironment.jd223 started with OpenGL, head on to the next lessons for a few more hints.</p>

12