Lines Matching refs:array
123 random_allocations(void* array[], size_t maxSize)
132 array[i] = test_malloc(size);
133 if (array[i] == NULL) {
141 dump_allocated_chunk(i, array[i]);
176 void* array[100];
178 array[i] = test_malloc(128);
179 dump_allocated_chunk(i, array[i]);
190 test_free(array[i]);
191 array[i] = NULL;
200 test_free(array[i]);
201 array[i] = NULL;
210 test_free(array[i]);
211 array[i] = NULL;
220 array[i] = test_malloc(kHeapSize / 64);
221 if (array[i] == NULL) {
228 test_free(array[i]);
229 array[i] = NULL;
234 dump_allocated_chunk(i, array[i]);
239 random_allocations(array, 768);
243 test_free(array[i]);
244 array[i] = NULL;
248 int32 count = random_allocations(array, amount);
253 if (array[i] == NULL)
256 test_free(array[i]);
257 array[i] = NULL;