Searched refs:ptrs (Results 1 – 4 of 4) sorted by relevance
72 void **ptrs = in setUp() local74 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()
40 void *ptrs[kSlotCount]; in TEST() local42 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()
45 void** ptrs = nullptr; member60 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() local170 if (ptrs[entry.ptr] != nullptr) { in RunTrace()173 ptrs[entry.ptr] = ptr; in RunTrace()185 if (ptrs[entry.ptr] != nullptr) { in RunTrace()[all …]
834 function_type constexpr ptrs[] = {837 return ptrs[typeIndex](datum, bs, idx, endIdx, unknowns);