Home
last modified time | relevance | path

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

12

/frameworks/av/media/codec2/core/include/
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/
DFontFileParserTest.cpp51 size_t head = writeU16(1, out.data(), 0); // major version in buildHeadTable() local
52 head = writeU16(0, out.data(), head); // minor version in buildHeadTable()
53 head = writeU32(fontRevision, out.data(), head); // fontRevision in buildHeadTable()
54 head = writeU32(0xB1B0AFBA, out.data(), head); // checksum. (random value) in buildHeadTable()
55 head = writeU32(0x5F0F3CF5, out.data(), head); // magicNumber in buildHeadTable()
56 head = writeU16(0, out.data(), head); // flasgs in buildHeadTable()
57 head = writeU16(1024, out.data(), head); // unitsPerEm in buildHeadTable()
58 head = writeU32(123457890, out.data(), head); // created (random value) in buildHeadTable()
59 head = writeU32(123457890, out.data(), head); // modified (random value) in buildHeadTable()
60 head = writeU16(0, out.data(), head); // xMin in buildHeadTable()
[all …]
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.cpp76 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/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/av/media/libstagefright/renderfright/gl/
DGLExtensions.cpp38 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/renderengine/skia/
DGLExtensions.cpp38 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/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/av/media/libheadtracking/
DREADME.md3 This library handles the processing of head-tracking information, necessary for
19 in an experience where the sound stage moved with the listener's head.
20 - World-relative: both the head pose and stage pose are taken into account.
23 - Screen-relative: the head pose, screen pose and stage pose are all taken
30 - Stage pose, relative to the head. This aggregates all the inputs mentioned
37 whatever pose the screen and head are currently at should be considered as the
57 // “head” is the target frame.
80 This means that this twist represents the head-at-time-T to head-at-time-T+dt
89 This is the listener’s head. The origin is at the center point between the
91 of the head towards the face and Z-axis goes from the bottom of the head to the
[all …]
/frameworks/native/libs/ui/
DRegion.cpp474 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/
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/libs/native_bridge_support/android_api/libvulkan/proxy/
Dvulkan_xml.h99 static const void* ConvertOptionalStructures(GuestType<const void*> head,
102 static void* ConvertOptionalStructures(GuestType<void*> head,
105 static GuestType<const void*> ConvertOptionalStructures(const void* head,
108 static GuestType<void*> ConvertOptionalStructures(void* head,
Dgen_vulkan.go1298 …friend GuestType<void*> ConvertOptionalStructures(void* head, std::unique_ptr<GuestHolderBase>& ho…
1299 …friend GuestType<const void*> ConvertOptionalStructures(const void* head, std::unique_ptr<GuestHol…
1370 …friend void* ConvertOptionalStructures(GuestType<void*> head, std::unique_ptr<HostHolderBase>& hol…
1371 …friend const void* ConvertOptionalStructures(GuestType<const void*> head, std::unique_ptr<HostHold…
1435 …friend GuestType<void*> ConvertOptionalStructures(void* head, std::unique_ptr<GuestHolderBase>& ho…
1436 …friend GuestType<const void*> ConvertOptionalStructures(const void* head, std::unique_ptr<GuestHol…
1512 …friend void* ConvertOptionalStructures(GuestType<void*> head, std::unique_ptr<HostHolderBase>& hol…
1513 …friend const void* ConvertOptionalStructures(GuestType<const void*> head, std::unique_ptr<HostHold…
1600 …friend GuestType<void*> ConvertOptionalStructures(void* head, std::unique_ptr<GuestHolderBase>& ho…
1601 …friend GuestType<const void*> ConvertOptionalStructures(const void* head, std::unique_ptr<GuestHol…
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/data/model/
DSceneStack.kt26 private data class StackedNodes(val head: SceneKey, val tail: SceneStack) : SceneStack constant in com.android.systemui.scene.data.model.StackedNodes
32 is StackedNodes -> head in SceneStack()
51 yield(head) in SceneStack()
/frameworks/base/libs/hwui/
DAnimationContext.cpp58 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/
Dih_util.cpp34 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/base/packages/SystemUI/src/com/android/systemui/complication/
DComplicationLayoutEngine.java168 public void applyLayoutParams(View head) { in applyLayoutParams() argument
181 final boolean isRoot = head == mView; in applyLayoutParams()
200 params.startToEnd = head.getId(); in applyLayoutParams()
212 params.topToBottom = head.getId(); in applyLayoutParams()
224 params.bottomToTop = head.getId(); in applyLayoutParams()
236 params.endToStart = head.getId(); in applyLayoutParams()
433 ViewEntry head = null; in updateViews() local
439 if (head == null || (groupHead != null && groupHead.compareTo(head) > 0)) { in updateViews()
440 head = groupHead; in updateViews()
445 if (head == null) { in updateViews()
[all …]
/frameworks/base/ravenwood/scripts/
Dravenwood-stats-collector.sh59 head -n 1 hoststubgen_framework-minus-apex_stats.csv
73 head -n 1 hoststubgen_framework-minus-apex_apis.csv
/frameworks/native/libs/binder/
DMemoryDealer.cpp56 NODE const* head() const { return mFirst; } in head() function in android::LinkedList
57 NODE* head() { return mFirst; } in head() function in android::LinkedList
289 chunk_t* removed = mList.remove(mList.head()); in ~SimpleBestFitAllocator()
295 LOG_ALWAYS_FATAL_IF(mList.head() == removed); in ~SimpleBestFitAllocator()
330 chunk_t* cur = mList.head(); in alloc()
383 chunk_t* cur = mList.head(); in dealloc()
446 chunk_t const* cur = mList.head(); in dump_l()
/frameworks/native/libs/ui/include_vndk/ui/
DRegion.h223 Region::const_iterator head = region.begin(); in PrintTo() local
226 while (head != tail) { in PrintTo()
228 PrintTo(*head, os); in PrintTo()
229 head++; in PrintTo()
/frameworks/native/include/ui/
DRegion.h223 Region::const_iterator head = region.begin(); in PrintTo() local
226 while (head != tail) { in PrintTo()
228 PrintTo(*head, os); in PrintTo()
229 head++; in PrintTo()
/frameworks/native/libs/ui/include/ui/
DRegion.h223 Region::const_iterator head = region.begin(); in PrintTo() local
226 while (head != tail) { in PrintTo()
228 PrintTo(*head, os); in PrintTo()
229 head++; in PrintTo()
/frameworks/native/libs/ui/include_private/ui/
DRegionHelper.h105 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/
DAudioGroup.cpp108 bool mix(int32_t *output, int head, int tail, int sampleRate);
238 bool AudioStream::mix(int32_t *output, int head, int tail, int sampleRate) in mix() argument
244 if (head - mBufferHead < 0) { in mix()
245 head = mBufferHead; in mix()
250 if (tail - head <= 0) { in mix()
254 head *= mSampleRate; in mix()
258 for (int i = head; i - tail < 0; ++i) { in mix()
259 output[i - head] += mBuffer[i & mBufferMask]; in mix()

12