/frameworks/av/media/codec2/core/include/ |
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/minikin/tests/unittest/ |
D | FontUtilsTest.cpp | 61 size_t head = writeU16(1, out.data(), 0); // major version in buildFvarTable() local 62 head = writeU16(0, out.data(), head); // minor version in buildFvarTable() 63 head = writeU16(HEADER_SIZE, out.data(), head); // axes array offset in buildFvarTable() 64 head = writeU16(2, out.data(), head); // reserved in buildFvarTable() 65 head = writeU16(fvars.size(), out.data(), head); // count of axes in buildFvarTable() 66 head = writeU16(AXIS_RECORD_SIZE, out.data(), head); // size of variaiton axis record in buildFvarTable() 67 head = writeU16(0, out.data(), head); // number of instance record count in buildFvarTable() 68 head = writeU16(0, out.data(), head); // instance record size in buildFvarTable() 71 head = writeU32(fvar.tag, out.data(), head); in buildFvarTable() 72 head = writeU32(floatToFixed(fvar.minValue), out.data(), head); in buildFvarTable() [all …]
|
D | CmapCoverageTest.cpp | 76 size_t head = 0; in buildCmapFormat4Table() local 77 head = writeU16(4, out.data(), head); // format in buildCmapFormat4Table() 78 head = writeU16(finalLength, out.data(), head); // length in buildCmapFormat4Table() 79 head = writeU16(0, out.data(), head); // langauge in buildCmapFormat4Table() 83 head = writeU16(segmentCount * 2, out.data(), head); // segCountX2 in buildCmapFormat4Table() 84 head = writeU16(searchRange, out.data(), head); // searchRange in buildCmapFormat4Table() 85 head = writeU16(__builtin_ctz(searchRange) - 1, out.data(), head); // entrySelector in buildCmapFormat4Table() 86 head = writeU16(segmentCount * 2 - searchRange, out.data(), head); // rangeShift in buildCmapFormat4Table() 88 size_t endCountHead = head; in buildCmapFormat4Table() 89 size_t startCountHead = head + segmentCount * sizeof(uint16_t) + 2 /* padding */; in buildCmapFormat4Table() [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/native/libs/vr/libbroadcastring/include/libbroadcastring/ |
D | broadcast_ring.h | 270 return std::atomic_load_explicit(&header_mmap()->head, in GetOldestSequence() 318 uint32_t head = std::atomic_load_explicit(&header_mmap()->head, in Get() local 321 if (tail - head > record_count()) in Get() 324 if (*sequence - head > tail - head) in Get() 325 *sequence = head; // Out of window, skip forward to first available. in Get() 341 &header_mmap()->head, std::memory_order_relaxed); in Get() 343 if (final_head - head > *sequence - head) in Get() 402 std::atomic<uint32_t> head; member 432 uint32_t head; member 476 std::atomic_store_explicit(&header_mmap()->head, kInitialSequence, in InitializeHeader() [all …]
|
/frameworks/native/libs/renderengine/gl/ |
D | GLExtensions.cpp | 38 char const* head = curr; in ExtensionSet() local 40 head = strchr(curr, ' '); in ExtensionSet() 41 size_t len = head ? head - curr : strlen(curr); in ExtensionSet() 45 curr = head + 1; in ExtensionSet() 46 } while (head); in ExtensionSet()
|
/frameworks/native/libs/ui/ |
D | Region.cpp | 474 Rect* head; member in android::Region::rasterizer 480 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() { in rasterizer() 534 if (tail-head == ssize_t(span.size())) { in flushSpan() 536 Rect const* q = head; in flushSpan() 551 Rect* r = head; in flushSpan() 561 head = tail - span.size(); in flushSpan() 710 Region::const_iterator head = dst.begin(); in boolean_operation() local 714 if (head != tail) { in boolean_operation() 716 head->left != it.rect().fLeft || in boolean_operation() 717 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 | 58 AnimationHandle* head = mNextFrameAnimations.mNextHandle; in startFrame() local 59 if (head) { in startFrame() 61 mCurrentFrameAnimations.mNextHandle = head; in startFrame() 62 head->mPreviousHandle = &mCurrentFrameAnimations; in startFrame()
|
/frameworks/base/cmds/incident_helper/src/ |
D | ih_util.cpp | 34 const auto head = s.find_first_not_of(charset); in trim() local 35 if (head == std::string::npos) return ""; in trim() 38 return s.substr(head, tail - head + 1); in trim() 170 const auto head = line->find_first_not_of(DEFAULT_WHITESPACE); in stripPrefix() local 171 if (head == std::string::npos) return false; in stripPrefix() 174 int j = head; in stripPrefix() 214 std::string head = line->substr(0); in behead() local 216 return head; in behead() 218 std::string head = line->substr(0, found); in behead() local 221 return head; in behead()
|
/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 chunk_t* removed = mList.remove(mList.head()); in ~SimpleBestFitAllocator() 298 LOG_ALWAYS_FATAL_IF(mList.head() == removed); in ~SimpleBestFitAllocator() 333 chunk_t* cur = mList.head(); in alloc() 386 chunk_t* cur = mList.head(); in dealloc() 449 chunk_t const* cur = mList.head(); in dump_l()
|
/frameworks/libs/net/common/src_frameworkcommon/com/android/net/module/util/ |
D | DnsPacket.java | 205 final String head = labelToString(label); in parseName() local 206 if (head.length() > MAXLABELSIZE) { in parseName() 210 return TextUtils.isEmpty(tail) ? head : head + "." + tail; in parseName()
|
/frameworks/native/services/surfaceflinger/ |
D | LayerProtoHelper.cpp | 52 Region::const_iterator head = region.begin(); in writeToProto() local 56 while (head != tail) { in writeToProto() 58 writeToProto(*head, getProtoRect); in writeToProto() 59 head++; in writeToProto()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Region.h | 222 Region::const_iterator head = region.begin(); in PrintTo() local 225 while (head != tail) { in PrintTo() 227 PrintTo(*head, os); in PrintTo() 228 head++; in PrintTo()
|
/frameworks/native/libs/ui/include/ui/ |
D | Region.h | 222 Region::const_iterator head = region.begin(); in PrintTo() local 225 while (head != tail) { in PrintTo() 227 PrintTo(*head, os); in PrintTo() 228 head++; in PrintTo()
|
/frameworks/native/include/ui/ |
D | Region.h | 222 Region::const_iterator head = region.begin(); in PrintTo() local 225 while (head != tail) { in PrintTo() 227 PrintTo(*head, os); in PrintTo() 228 head++; in PrintTo()
|
/frameworks/native/libs/ui/include_private/ui/ |
D | RegionHelper.h | 105 inline int next(TYPE& head, TYPE& tail, bool& more_lhs, bool& more_rhs) { in next() argument 111 head = lhs_head; in next() 121 head = rhs_head; in next() 131 head = lhs_head; in next()
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | AudioGroup.cpp | 104 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/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | GarbageMonitor.java | 220 info.rss[info.head] = info.currentRss = rss; in update() 221 info.head = (info.head + 1) % info.rss.length; in update() 511 public int head = 0; field in GarbageMonitor.ProcessMemInfo 536 pw.print(rss[(head + i) % rss.length]); in dump()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | Cat.java | 179 tint(mBodyColor, D.body, D.head, D.leg1, D.leg2, D.leg3, D.leg4, D.tail, in Cat() 446 public Drawable head; 474 head = context.getDrawable(R.drawable.head); 508 head,
|
/frameworks/base/core/java/android/view/ |
D | FocusFinder.java | 930 private void setHeadOfChain(View head) { in setHeadOfChain() argument 931 for (View view = head; view != null; view = mNextFoci.get(view)) { in setHeadOfChain() 934 if (otherHead == head) { in setHeadOfChain() 939 view = head; in setHeadOfChain() 940 head = otherHead; in setHeadOfChain() 942 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}')
|