Searched refs:buf1 (Results 1 - 3 of 3) sorted by relevance

/system/core/toolbox/
H A Dcmp.c14 char buf1[4096], buf2[4096]; local
63 res1 = read(fd1, &buf1, sizeof(buf1));
70 if(buf1[i] != buf2[i]) {
73 printf(" 0x%02x 0x%02x", buf1[i], buf2[i]);
/system/extras/micro_bench/
H A Dmicro_bench.cpp273 // alignments. The variables "buf1" and "buf2" will be pointers to the
280 uint8_t *buf1 = allocateAlignedMemory(size, cmd_data.src_align, cmd_data.src_or_mask); \
281 if (!buf1) \
328 // larger than the largest cache in the system. Two variables "buf1" and
330 // to avoid any algorithms that prefetch past the end of either "buf1"
332 // both buffers. Specifically, as "buf1" and "buf2" values are iterated in
333 // BENCH code, the end of "buf1" and "buf2" is guaranteed to be at least
334 // "stride_size" away from the next "buf1" and "buf2".
360 uint8_t *buf1; \
364 buf1
[all...]
/system/core/libion/tests/
H A Ddevice_test.cpp117 void *buf1 = malloc(bigger_than_cache); local
119 memset(buf1, 0xaa, bigger_than_cache);
120 memcpy(buf2, buf1, bigger_than_cache);
121 free(buf1);

Completed in 85 milliseconds