Lines Matching refs:idx
47 size_t idx; member
58 ptrs[entries[i].idx] = malloc(entries[i].size); in BenchmarkMalloc()
61 reinterpret_cast<uint8_t*>(ptrs[entries[i].idx])[0] = 10; in BenchmarkMalloc()
64 ptrs[entries[i].idx] = calloc(entries[i].arg2, entries[i].size); in BenchmarkMalloc()
67 reinterpret_cast<uint8_t*>(ptrs[entries[i].idx])[0] = 20; in BenchmarkMalloc()
70 ptrs[entries[i].idx] = memalign(entries[i].arg2, entries[i].size); in BenchmarkMalloc()
73 reinterpret_cast<uint8_t*>(ptrs[entries[i].idx])[0] = 30; in BenchmarkMalloc()
77 ptrs[entries[i].idx] = realloc(nullptr, entries[i].size); in BenchmarkMalloc()
79 ptrs[entries[i].idx] = realloc(ptrs[entries[i].arg2 - 1], entries[i].size); in BenchmarkMalloc()
83 reinterpret_cast<uint8_t*>(ptrs[entries[i].idx])[0] = 40; in BenchmarkMalloc()
86 free(ptrs[entries[i].idx]); in BenchmarkMalloc()