/frameworks/av/media/libstagefright/codec2/vndk/include/util/ |
D | _C2MacroUtils.h | 80 #define _C2_MAP_64(fn, arg, head, ...) fn(head, arg), _C2_MAP_63(fn, arg, ##__VA_ARGS__) argument 81 #define _C2_MAP_63(fn, arg, head, ...) fn(head, arg), _C2_MAP_62(fn, arg, ##__VA_ARGS__) argument 82 #define _C2_MAP_62(fn, arg, head, ...) fn(head, arg), _C2_MAP_61(fn, arg, ##__VA_ARGS__) argument 83 #define _C2_MAP_61(fn, arg, head, ...) fn(head, arg), _C2_MAP_60(fn, arg, ##__VA_ARGS__) argument 84 #define _C2_MAP_60(fn, arg, head, ...) fn(head, arg), _C2_MAP_59(fn, arg, ##__VA_ARGS__) argument 85 #define _C2_MAP_59(fn, arg, head, ...) fn(head, arg), _C2_MAP_58(fn, arg, ##__VA_ARGS__) argument 86 #define _C2_MAP_58(fn, arg, head, ...) fn(head, arg), _C2_MAP_57(fn, arg, ##__VA_ARGS__) argument 87 #define _C2_MAP_57(fn, arg, head, ...) fn(head, arg), _C2_MAP_56(fn, arg, ##__VA_ARGS__) argument 88 #define _C2_MAP_56(fn, arg, head, ...) fn(head, arg), _C2_MAP_55(fn, arg, ##__VA_ARGS__) argument 89 #define _C2_MAP_55(fn, arg, head, ...) fn(head, arg), _C2_MAP_54(fn, arg, ##__VA_ARGS__) argument [all …]
|
/frameworks/base/obex/javax/obex/ |
D | ClientSession.java | 108 byte[] head = null; in connect() 116 head = ObexHelper.createHeader(header, false); in connect() 117 totalLength += head.length; in connect() 136 if (head != null) { in connect() 137 System.arraycopy(head, 0, requestPacket, 4, head.length); in connect() 175 HeaderSet head; in get() local 177 head = new HeaderSet(); in get() 179 head = header; in get() 180 if (head.nonce != null) { in get() 182 System.arraycopy(head.nonce, 0, mChallengeDigest, 0, 16); in get() [all …]
|
D | ServerSession.java | 302 byte[] head = null; in handleSetPathRequest() 388 head = ObexHelper.createHeader(reply, false); in handleSetPathRequest() 389 totalLength += head.length; in handleSetPathRequest() 393 head = null; in handleSetPathRequest() 404 if (head != null) { in handleSetPathRequest() 405 System.arraycopy(head, 0, replyData, 3, head.length); in handleSetPathRequest() 427 byte[] head = null; in handleDisconnectRequest() 488 head = ObexHelper.createHeader(reply, false); in handleDisconnectRequest() 489 totalLength += head.length; in handleDisconnectRequest() 493 head = null; in handleDisconnectRequest() [all …]
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | macros.h | 55 #define _PDX_APPLY_1(macro, head, next, ...) \ argument 56 macro(head) _PDX_NEXT_FUNC(next, _PDX_APPLY_2)(macro, next, __VA_ARGS__) 59 #define _PDX_APPLY_2(macro, head, next, ...) \ argument 60 macro(head) _PDX_NEXT_FUNC(next, _PDX_APPLY_1)(macro, next, __VA_ARGS__) 74 #define _PDX_APPLY_LIST_1(macro, head, next, ...) \ argument 75 , macro(head) \ 80 #define _PDX_APPLY_LIST_2(macro, head, next, ...) \ argument 81 , macro(head) \ 85 #define _PDX_APPLY_LIST_0(macro, head, next, ...) \ argument 86 macro(head) _PDX_NEXT_FUNC(next, _PDX_APPLY_LIST_1)(macro, next, __VA_ARGS__) [all …]
|
/frameworks/base/libs/hwui/utils/ |
D | StringUtils.cpp | 25 const char* head = current; in split() local 27 head = strchr(current, ' '); in split() 28 std::string s(current, head ? head - current : strlen(current)); in split() 32 current = head + 1; in split() 33 } while (head); in split()
|
/frameworks/minikin/tests/unittest/ |
D | CmapCoverageTest.cpp | 73 size_t head = 0; in buildCmapFormat4Table() local 74 head = writeU16(4, out.data(), head); // format in buildCmapFormat4Table() 75 head = writeU16(finalLength, out.data(), head); // length in buildCmapFormat4Table() 76 head = writeU16(0, out.data(), head); // langauge in buildCmapFormat4Table() 80 head = writeU16(segmentCount * 2, out.data(), head); // segCountX2 in buildCmapFormat4Table() 81 head = writeU16(searchRange, out.data(), head); // searchRange in buildCmapFormat4Table() 82 head = writeU16(__builtin_ctz(searchRange) - 1, out.data(), head); // entrySelector in buildCmapFormat4Table() 83 head = writeU16(segmentCount * 2 - searchRange, out.data(), head); // rangeShift in buildCmapFormat4Table() 85 size_t endCountHead = head; in buildCmapFormat4Table() 86 size_t startCountHead = head + segmentCount * sizeof(uint16_t) + 2 /* padding */; in buildCmapFormat4Table() [all …]
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | GLExtensions.cpp | 45 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/native/libs/vr/libbroadcastring/include/libbroadcastring/ |
D | broadcast_ring.h | 249 return std::atomic_load_explicit(&header_mmap()->head, in GetOldestSequence() 297 uint32_t head = std::atomic_load_explicit(&header_mmap()->head, in Get() local 300 if (tail - head > record_count()) in Get() 303 if (*sequence - head > tail - head) in Get() 304 *sequence = head; // Out of window, skip forward to first available. in Get() 320 &header_mmap()->head, std::memory_order_relaxed); in Get() 322 if (final_head - head > *sequence - head) in Get() 378 std::atomic<uint32_t> head; member 408 uint32_t head; member 452 std::atomic_store_explicit(&header_mmap()->head, kInitialSequence, in InitializeHeader() [all …]
|
/frameworks/native/libs/ui/ |
D | Region.cpp | 422 Rect* head; member in android::Region::rasterizer 428 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() { in rasterizer() 482 if (tail-head == ssize_t(span.size())) { in flushSpan() 484 Rect const* q = head; in flushSpan() 499 Rect* r = head; in flushSpan() 509 head = tail - span.size(); in flushSpan() 651 Region::const_iterator head = dst.begin(); in boolean_operation() local 655 if (head != tail) { in boolean_operation() 657 head->left != it.rect().fLeft || in boolean_operation() 658 head->top != it.rect().fTop || in boolean_operation() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | GraphTest.cpp | 58 ListDigraph::Node* head = NULL; in TEST_F() local 59 graph.getHead(head); in TEST_F() 60 ASSERT_TRUE(head == u3); in TEST_F() 79 graph.getHead(head); in TEST_F() 80 ASSERT_TRUE(head == u3); in TEST_F() 105 ListDigraph::Node* head = NULL; in TEST_F() local 106 graph.getHead(head); in TEST_F() 107 ASSERT_TRUE(head == u3); in TEST_F() 126 graph.getHead(head); in TEST_F() 127 ASSERT_TRUE(head == u3); in TEST_F() [all …]
|
/frameworks/base/libs/hwui/ |
D | AnimationContext.cpp | 60 AnimationHandle* head = mNextFrameAnimations.mNextHandle; in startFrame() local 61 if (head) { in startFrame() 63 mCurrentFrameAnimations.mNextHandle = head; in startFrame() 64 head->mPreviousHandle = &mCurrentFrameAnimations; in startFrame()
|
/frameworks/base/libs/hwui/font/ |
D | CacheTexture.cpp | 38 CacheBlock* CacheBlock::insertBlock(CacheBlock* head, CacheBlock* newBlock) { in insertBlock() argument 45 CacheBlock* currBlock = head; in insertBlock() 56 return head; in insertBlock() 76 return head; in insertBlock() 82 CacheBlock* CacheBlock::removeBlock(CacheBlock* head, CacheBlock* blockToRemove) { in removeBlock() argument 89 CacheBlock* newHead = head; in removeBlock()
|
D | CacheTexture.h | 60 static CacheBlock* insertBlock(CacheBlock* head, CacheBlock* newBlock); 61 static CacheBlock* removeBlock(CacheBlock* head, CacheBlock* blockToRemove);
|
/frameworks/native/services/inputflinger/ |
D | InputDispatcher.h | 614 T* head; member 618 inline Queue() : head(NULL), tail(NULL), entryCount(0) { in Queue() 622 return !head; in isEmpty() 631 head = entry; in enqueueAtTail() 639 entry->next = head; in enqueueAtHead() 640 if (head) { in enqueueAtHead() 641 head->prev = entry; in enqueueAtHead() 646 head = entry; in enqueueAtHead() 654 head = entry->next; in dequeue() 665 T* entry = head; in dequeueAtHead() [all …]
|
/frameworks/native/libs/binder/ |
D | MemoryDealer.cpp | 57 NODE const* head() const { return mFirst; } in head() function in android::LinkedList 58 NODE* head() { return mFirst; } in head() function in android::LinkedList 292 delete mList.remove(mList.head()); in ~SimpleBestFitAllocator() 325 chunk_t* cur = mList.head(); in alloc() 378 chunk_t* cur = mList.head(); in dealloc() 441 chunk_t const* cur = mList.head(); in dump_l()
|
/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
D | ShowDataAction.java | 75 private void add(StringBuilder builder, String head, Set<String> set) { in add() argument 76 builder.append(head); in add()
|
/frameworks/native/include/private/ui/ |
D | RegionHelper.h | 117 inline int next(TYPE& head, TYPE& tail, in next() argument 125 head = lhs_head; in next() 135 head = rhs_head; in next() 145 head = lhs_head; in next()
|
/frameworks/rs/ |
D | update_rs_prebuilts.sh | 196 cp `find $sys_lib_dir $obj_lib_dir -name $file | head -1` $a || exit 4 201 …cp `find $HOST_LIB_DIR $HOST_LIB64_DIR $sys_lib_dir $obj_lib_dir -name $file | head -1` $a || exit… 206 cp `find $obj_static_lib_dir -name $file | head -1` $a || exit 4
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | AudioGroup.cpp | 106 bool mix(int32_t *output, int head, int tail, int sampleRate); 236 bool AudioStream::mix(int32_t *output, int head, int tail, int sampleRate) in mix() argument 242 if (head - mBufferHead < 0) { in mix() 243 head = mBufferHead; in mix() 248 if (tail - head <= 0) { in mix() 252 head *= mSampleRate; in mix() 256 for (int i = head; i - tail < 0; ++i) { in mix() 257 output[i - head] += mBuffer[i & mBufferMask]; in mix()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | Cat.java | 155 tint(mBodyColor, D.body, D.head, D.leg1, D.leg2, D.leg3, D.leg4, D.tail, in Cat() 354 public Drawable head; 382 head = context.getDrawable(R.drawable.head); 415 head,
|
/frameworks/base/core/java/android/view/ |
D | FocusFinder.java | 920 private void setHeadOfChain(View head) { in setHeadOfChain() argument 921 for (View view = head; view != null; view = mNextFoci.get(view)) { in setHeadOfChain() 924 if (otherHead == head) { in setHeadOfChain() 929 view = head; in setHeadOfChain() 930 head = otherHead; in setHeadOfChain() 932 mHeadsOfChains.put(view, head); in setHeadOfChain()
|
/frameworks/base/tests/backup/ |
D | test_restore.sh | 69 restore_set=$(a shell bmgr list sets | head -n1 | awk '{print $1}')
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 881 const InputMessage& head = batch.samples.itemAt(0); in findBatch() local 882 if (head.body.motion.deviceId == deviceId && head.body.motion.source == source) { in findBatch() 954 const InputMessage& head = batch.samples.itemAt(0); in canAddSample() local 956 if (head.body.motion.pointerCount != pointerCount in canAddSample() 957 || head.body.motion.action != msg->body.motion.action) { in canAddSample() 961 if (head.body.motion.pointers[i].properties in canAddSample()
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerSinc.cpp | 336 int16_t* head = impulse + headOffset; in resample() local 338 head[i] = in[inputIndex*CHANNELS + i]; in resample() 393 int16_t* head = impulse + c.halfNumCoefs*CHANNELS; in read() local 395 head[i] = in[inputIndex*CHANNELS + i]; in read()
|
D | AudioResamplerDyn.cpp | 130 TI* head = impulse + halfNumCoefs*CHANNELS; in readAgain() local 132 head[i] = in[inputIndex*CHANNELS + i]; in readAgain()
|