Searched refs:ptrs (Results 1 – 3 of 3) sorted by relevance
75 void **ptrs = reinterpret_cast<void**>( in setUp() local77 if (ptrs == NULL) { in setUp()99 ptrs[index] = ptr; in setUp()108 chreHeapFree(ptrs[index]); in setUp()109 ptrs[index] = chreHeapAlloc(last_alloc_size); in setUp()110 if (ptrs[index] == NULL) { in setUp()118 chreHeapFree(ptrs[i]); in setUp()120 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 …]