Searched refs:buffer1 (Results 1 – 3 of 3) sorted by relevance
/system/core/libmemunreachable/tests/ |
D | HeapWalker_test.cpp | 78 void* buffer1[16]{}; in TEST_F() local 80 buffer1[0] = &buffer2[0] - sizeof(void*); in TEST_F() 81 buffer1[1] = &buffer2[15] + sizeof(void*); in TEST_F() 106 void* buffer1[from_buffer_entries]{}; in TEST_F() local 108 buffer1[i] = &buffer2[j]; in TEST_F() 112 heap_walker.Root(buffer_begin(buffer1), buffer_end(buffer1)); in TEST_F() 131 void* buffer1[from_buffer_entries]{}; in TEST_F() local 134 buffer1[1] = &buffer2; in TEST_F() 140 heap_walker.Root(buffer_begin(buffer1) + i, buffer_end(buffer1) - j); in TEST_F() 157 void* buffer1; in TEST_F() local [all …]
|
D | LeakFolding_test.cpp | 46 void* buffer1[1] = {nullptr}; in TEST_F() local 50 ALLOCATION(heap_walker, buffer1); in TEST_F() 69 void* buffer1[1] = {nullptr}; in TEST_F() local 74 ALLOCATION(heap_walker, buffer1); in TEST_F() 96 void* buffer1[1]; in TEST_F() local 99 buffer1[0] = buffer2; in TEST_F() 103 ALLOCATION(heap_walker, buffer1); in TEST_F() 123 void* buffer1[1]; in TEST_F() local 127 buffer1[0] = buffer2; in TEST_F() 133 ALLOCATION(heap_walker, buffer1); in TEST_F() [all …]
|
/system/extras/micro_bench/ |
D | micro_bench.cpp | 358 …uint8_t *buffer1 = getColdBuffer(num_buffers, buf1_incr, cmd_data.src_align, cmd_data.src_or_mask)… 359 if (!buffer1) \ 373 buf1 = buffer1 + k * buf1_incr; \ 422 memset(buffer1, 0xff, buffer1_size); \ in benchmarkMemcpyCold() 481 memset(buffer1, 'a', buffer1_size); \ in benchmarkStrcmpCold() 484 buffer1[size-1+buf1_incr*i] = '\0'; \ in benchmarkStrcmpCold() 550 memset(buffer1, 'a', buffer1_size); \ in benchmarkStrcatCold() 553 buffer1[size-1+buf1_incr*i] = '\0'; \ in benchmarkStrcatCold() 577 memset(buffer1, 'a', buffer1_size); \ in benchmarkStrcpyCold() 579 buffer1[size-1+buf1_incr*i] = '\0'; \ in benchmarkStrcpyCold()
|