Home
last modified time | relevance | path

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

12

/frameworks/av/media/libstagefright/codec2/vndk/include/util/
D_C2MacroUtils.h80 #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/
DFontUtilsTest.cpp61 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 …]
DCmapCoverageTest.cpp73 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/base/obex/javax/obex/
DClientSession.java108 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 …]
DServerSession.java302 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/
Dmacros.h55 #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/
DStringUtils.cpp25 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/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/native/libs/vr/libbroadcastring/include/libbroadcastring/
Dbroadcast_ring.h270 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/ui/
DRegion.cpp422 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/
DGraphTest.cpp58 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/
DAnimationContext.cpp60 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/
DCacheTexture.cpp38 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()
95 LOG_ALWAYS_FATAL_IF(head == blockToRemove, in removeBlock()
DCacheTexture.h60 static CacheBlock* insertBlock(CacheBlock* head, CacheBlock* newBlock);
61 static CacheBlock* removeBlock(CacheBlock* head, CacheBlock* blockToRemove);
/frameworks/native/services/inputflinger/
DInputDispatcher.h614 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/
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
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/
DShowDataAction.java75 private void add(StringBuilder builder, String head, Set<String> set) { in add() argument
76 builder.append(head); in add()
/frameworks/native/include/private/ui/
DRegionHelper.h119 inline int next(TYPE& head, TYPE& tail, in next() argument
127 head = lhs_head; in next()
137 head = rhs_head; in next()
147 head = lhs_head; in next()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp106 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/
DCat.java157 tint(mBodyColor, D.body, D.head, D.leg1, D.leg2, D.leg3, D.leg4, D.tail, in Cat()
357 public Drawable head;
385 head = context.getDrawable(R.drawable.head);
418 head,
/frameworks/base/core/java/android/view/
DFocusFinder.java930 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/av/media/libaudioprocessing/
DAudioResamplerSinc.cpp336 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()
DAudioResamplerDyn.cpp130 TI* head = impulse + halfNumCoefs*CHANNELS; in readAgain() local
132 head[i] = in[inputIndex*CHANNELS + i]; in readAgain()
/frameworks/base/tests/backup/
Dtest_restore.sh69 restore_set=$(a shell bmgr list sets | head -n1 | awk '{print $1}')
/frameworks/native/libs/input/
DInputTransport.cpp998 const InputMessage& head = batch.samples.itemAt(0); in findBatch() local
999 if (head.body.motion.deviceId == deviceId && head.body.motion.source == source) { in findBatch()
1071 const InputMessage& head = batch.samples.itemAt(0); in canAddSample() local
1073 if (head.body.motion.pointerCount != pointerCount in canAddSample()
1074 || head.body.motion.action != msg->body.motion.action) { in canAddSample()
1078 if (head.body.motion.pointers[i].properties in canAddSample()

12