Home
last modified time | relevance | path

Searched refs:ToU32 (Results 1 – 5 of 5) sorted by relevance

/external/skqp/include/private/
DSkArenaAlloc.h76 uint32_t size = ToU32(sizeof(T)); in make()
77 uint32_t alignment = ToU32(alignof(T)); in make()
85 uint32_t padding = ToU32(objStart - fCursor); in make()
104 uint32_t safeCount = ToU32(count); in makeArrayDefault()
117 uint32_t safeCount = ToU32(count); in makeArray()
131 auto objStart = this->allocObject(ToU32(size), ToU32(align)); in makeBytesAlignedTo()
141 static uint32_t ToU32(size_t v) { in ToU32() function
177 uint32_t arraySize = ToU32(count * sizeof(T)); in commonArrayAlloc()
178 uint32_t alignment = ToU32(alignof(T)); in commonArrayAlloc()
190 uint32_t padding = ToU32(objStart - fCursor); in commonArrayAlloc()
[all …]
/external/skia/src/core/
DSkArenaAlloc.h124 uint32_t size = ToU32(sizeof(T));
125 uint32_t alignment = ToU32(alignof(T));
133 uint32_t padding = ToU32(objStart - fCursor);
188 auto objStart = this->allocObject(ToU32(size), ToU32(align)); in makeBytesAlignedTo()
195 static uint32_t ToU32(size_t v) { in ToU32() function
242 uint32_t count = ToU32(countZ); in allocUninitializedArray()
246 uint32_t arraySize = ToU32(count * sizeof(T)); in allocUninitializedArray()
247 uint32_t alignment = ToU32(alignof(T)); in allocUninitializedArray()
259 uint32_t padding = ToU32(objStart - fCursor); in allocUninitializedArray()
263 this->installRaw(ToU32(count)); in allocUninitializedArray()
DSkArenaAlloc.cpp17 , fEnd {block + ToU32(size)}
18 , fFibonacciProgression{ToU32(size), ToU32(firstHeapAllocation)}
131 this->installRaw(ToU32(fCursor - fDtorCursor)); in allocObjectWithFooter()
/external/skqp/src/core/
DSkArenaAlloc.cpp22 , fEnd {block + ToU32(size)}
24 , fFirstSize {ToU32(size)}
25 , fFirstHeapAllocationSize {first_allocated_block(ToU32(size), ToU32(firstHeapAllocation))}
162 this->installUint32Footer(SkipPod, ToU32(fCursor - fDtorCursor), 0); in allocObjectWithFooter()
/external/perfetto/src/traced/probes/ps/
Dprocess_stats_data_source.cc72 inline uint32_t ToU32(const char* str) { in ToU32() function
481 auto counter = ToU32(value.data()); in WriteMemCounters()
487 auto counter = ToU32(value.data()); in WriteMemCounters()
493 auto counter = ToU32(value.data()); in WriteMemCounters()
499 auto counter = ToU32(value.data()); in WriteMemCounters()
505 auto counter = ToU32(value.data()); in WriteMemCounters()
511 auto counter = ToU32(value.data()); in WriteMemCounters()
517 auto counter = ToU32(value.data()); in WriteMemCounters()
523 auto counter = ToU32(value.data()); in WriteMemCounters()
626 uint32_t freq = ToU32(key_value.cur_token()); in WriteThreadStats()