Home
last modified time | relevance | path

Searched refs:ptrs (Results 1 – 4 of 4) sorted by relevance

/system/chre/apps/test/chqts/src/general_test/
Dheap_alloc_stress_test.cc72 void **ptrs = in setUp() local
74 if (ptrs == NULL) { in setUp()
95 ptrs[index] = ptr; in setUp()
103 chreHeapFree(ptrs[index]); in setUp()
104 ptrs[index] = chreHeapAlloc(last_alloc_size); in setUp()
105 if (ptrs[index] == NULL) { in setUp()
114 chreHeapFree(ptrs[i]); in setUp()
116 chreHeapFree(ptrs); in setUp()
/system/chre/apps/test/chqts/src/shared/
Dchunk_allocator_test.cc40 void *ptrs[kSlotCount]; in TEST() local
42 ptrs[i] = da.alloc(kAllocSize); in TEST()
43 ExpectGoodAlloc(da, ptrs[i]); in TEST()
46 EXPECT_NE(ptrs[j], ptrs[i]); in TEST()
53 EXPECT_TRUE(da.free(ptrs[kFreeIndex])); in TEST()
54 ptrs[kFreeIndex] = nullptr; in TEST()
60 EXPECT_NE(newPtr, ptrs[i]); in TEST()
/system/extras/memory_replay/
DTraceBenchmark.cpp45 void** ptrs = nullptr; member
60 void* ptr = trace_data->ptrs[i]; in FreePtrs()
63 trace_data->ptrs[i] = nullptr; in FreePtrs()
69 if (trace_data->ptrs == nullptr) { in FreeTraceData()
73 munmap(trace_data->ptrs, sizeof(void*) * trace_data->num_ptrs); in FreeTraceData()
147 trace_data->ptrs = reinterpret_cast<void**>(map); in GetTraceData()
156 void** ptrs = trace_data->ptrs; in RunTrace() local
170 if (ptrs[entry.ptr] != nullptr) { in RunTrace()
173 ptrs[entry.ptr] = ptr; in RunTrace()
185 if (ptrs[entry.ptr] != nullptr) { in RunTrace()
[all …]
/system/media/audio_utils/include/audio_utils/
DMetadata.h834 function_type constexpr ptrs[] = {
837 return ptrs[typeIndex](datum, bs, idx, endIdx, unknowns);