Home
last modified time | relevance | path

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

/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.java292 byte[] head = null; in handleSetPathRequest()
377 head = ObexHelper.createHeader(reply, false); in handleSetPathRequest()
378 totalLength += head.length; in handleSetPathRequest()
382 head = null; in handleSetPathRequest()
393 if (head != null) { in handleSetPathRequest()
394 System.arraycopy(head, 0, replyData, 3, head.length); in handleSetPathRequest()
416 byte[] head = null; in handleDisconnectRequest()
476 head = ObexHelper.createHeader(reply, false); in handleDisconnectRequest()
477 totalLength += head.length; in handleDisconnectRequest()
481 head = null; in handleDisconnectRequest()
[all …]
DObexHelper.java335 public static byte[] createHeader(HeaderSet head, boolean nullOut) { in createHeader() argument
347 headImpl = head; in createHeader()
/frameworks/base/services/surfaceflinger/
DGLExtensions.cpp53 char const* head = curr; in initWithGLStrings() local
55 head = strchr(curr, ' '); in initWithGLStrings()
56 String8 s(curr, head ? head-curr : strlen(curr)); in initWithGLStrings()
60 curr = head+1; in initWithGLStrings()
61 } while (head); in initWithGLStrings()
64 head = curr; in initWithGLStrings()
66 head = strchr(curr, ' '); in initWithGLStrings()
67 String8 s(curr, head ? head-curr : strlen(curr)); in initWithGLStrings()
71 curr = head+1; in initWithGLStrings()
72 } while (head); in initWithGLStrings()
DBlurFilter.cpp261 TYPE* head; in blurFilter() local
277 head = (TYPE*)src->data + y*src->stride; in blurFilter()
279 sums[x] += PIXEL( *head++ ); in blurFilter()
/frameworks/base/libs/ui/
DRegion.cpp241 Rect* head; member in android::Region::rasterizer
247 : bounds(reg.mBounds), storage(reg.mStorage), head(), tail(), cur() { in rasterizer()
291 if (tail-head == ssize_t(span.size())) { in flushSpan()
293 Rect const* q = head; in flushSpan()
307 Rect* r = head; in flushSpan()
317 head = tail - span.size(); in flushSpan()
423 Region::const_iterator head = dst.begin(); in boolean_operation() local
427 if (head != tail) { in boolean_operation()
429 head->left != it.rect().fLeft || in boolean_operation()
430 head->top != it.rect().fTop || in boolean_operation()
[all …]
/frameworks/base/libs/surfaceflinger_client/
DSharedBufferStack.cpp202 prefix, stack.head, stack.available, stack.queued, in dump()
263 return (buf != stack.index[stack.head]); in operator ()()
301 int32_t head = stack.head; in operator ()() local
302 if (uint32_t(head) >= SharedBufferStack::NUM_BUFFER_MAX) in operator ()()
317 head = (head + 1) % numBuffers; in operator ()()
318 const int8_t headBuf = stack.index[head]; in operator ()()
322 android_atomic_write(head, &stack.head); in operator ()()
326 return head; in operator ()()
348 queued_head = stack.head; in SharedBufferClient()
354 return (mNumBuffers + stack.head - stack.available + 1) % mNumBuffers; in computeTail()
[all …]
DSurface.cpp66 Region::const_iterator head(reg.begin()); in copyBlt() local
68 if (head != tail && src_bits && dst_bits) { in copyBlt()
73 while (head != tail) { in copyBlt()
74 const Rect& r(*head++); in copyBlt()
/frameworks/base/services/audioflinger/
DAudioResamplerSinc.cpp231 int16_t* head = impulse + halfNumCoefs*CHANNELS; in resample() local
232 head[0] = in[inputIndex*CHANNELS + 0]; in resample()
234 head[1] = in[inputIndex*CHANNELS + 1]; in resample()
297 int16_t* head = impulse + halfNumCoefs*CHANNELS; in read() local
298 head[0] = in[inputIndex*CHANNELS + 0]; in read()
300 head[1] = in[inputIndex*CHANNELS + 1]; in read()
/frameworks/base/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
280 delete mList.remove(mList.head()); in ~SimpleBestFitAllocator()
313 chunk_t* cur = mList.head(); in alloc()
366 chunk_t* cur = mList.head(); in dealloc()
429 chunk_t const* cur = mList.head(); in dump_l()
/frameworks/base/include/private/ui/
DRegionHelper.h111 inline int next(TYPE& head, TYPE& tail, in next() argument
119 head = lhs_head; in next()
129 head = rhs_head; in next()
139 head = lhs_head; in next()
/frameworks/base/voip/jni/rtp/
DAudioGroup.cpp98 bool mix(int32_t *output, int head, int tail, int sampleRate);
228 bool AudioStream::mix(int32_t *output, int head, int tail, int sampleRate) in mix() argument
234 if (head - mBufferHead < 0) { in mix()
235 head = mBufferHead; in mix()
240 if (tail - head <= 0) { in mix()
244 head *= mSampleRate; in mix()
248 for (int i = head; i - tail < 0; ++i) { in mix()
249 output[i - head] += mBuffer[i & mBufferMask]; in mix()
/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/base/cmds/bootanimation/
DBootAnimation.cpp468 Region::const_iterator head(clearReg.begin()); in movie() local
471 while (head != tail) { in movie()
472 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/include/private/surfaceflinger/
DSharedBufferStack.h105 volatile int32_t head; // server's current front buffer variable
/frameworks/base/docs/html/sdk/preview/
Dindex.jd5 devices. We're offering a Preview SDK so you can get a head-start developing
/frameworks/base/docs/html/resources/articles/
Dtts.jd134 flushed and the new utterance is queued, which places it at the head of the
/frameworks/base/tests/DumpRenderTree/assets/results/
Dlayout_tests_passed.txt1201 /sdcard/android/layout_tests/fast/encoding/noscript-in-head.html
1228 /sdcard/android/layout_tests/fast/encoding/script-in-head.html
1937 /sdcard/android/layout_tests/fast/dom/HTMLHeadElement/head-check.html
2392 /sdcard/android/layout_tests/fast/parser/implicit-head-in-fragment-crash.html
2406 /sdcard/android/layout_tests/fast/parser/head-comment.html
2415 /sdcard/android/layout_tests/fast/parser/head-content-after-head-removal.html
2425 /sdcard/android/layout_tests/fast/parser/head-element-for-yahoo-player.html
2435 /sdcard/android/layout_tests/fast/parser/head-parsing-19517.html
Dlayout_tests_nontext.txt2122 /sdcard/android/layout_tests/fast/dom/HTMLHeadElement/head-link-style-href-check.html
2397 /sdcard/android/layout_tests/fast/table/border-collapsing/border-collapsing-head-foot.html
2616 /sdcard/android/layout_tests/fast/css/style-outside-head.html
2646 /sdcard/android/layout_tests/fast/css/link-outside-head.html
2676 /sdcard/android/layout_tests/fast/css/style-parsed-outside-head.html
2955 /sdcard/android/layout_tests/fast/parser/style-script-head-test.html