Lines Matching refs:idx
48 size_t idx; member
59 ptrs[entries[i].idx] = malloc(entries[i].size); in BenchmarkMalloc()
62 reinterpret_cast<uint8_t*>(ptrs[entries[i].idx])[0] = 10; in BenchmarkMalloc()
65 ptrs[entries[i].idx] = calloc(entries[i].arg2, entries[i].size); in BenchmarkMalloc()
68 reinterpret_cast<uint8_t*>(ptrs[entries[i].idx])[0] = 20; in BenchmarkMalloc()
71 ptrs[entries[i].idx] = memalign(entries[i].arg2, entries[i].size); in BenchmarkMalloc()
74 reinterpret_cast<uint8_t*>(ptrs[entries[i].idx])[0] = 30; in BenchmarkMalloc()
78 ptrs[entries[i].idx] = realloc(nullptr, entries[i].size); in BenchmarkMalloc()
80 ptrs[entries[i].idx] = realloc(ptrs[entries[i].arg2 - 1], entries[i].size); in BenchmarkMalloc()
84 reinterpret_cast<uint8_t*>(ptrs[entries[i].idx])[0] = 40; in BenchmarkMalloc()
87 free(ptrs[entries[i].idx]); in BenchmarkMalloc()