Home
last modified time | relevance | path

Searched refs:buffer2 (Results 1 – 2 of 2) sorted by relevance

/system/vold/
DDevmapper.cpp50 char *buffer2 = (char *) malloc(DEVMAPPER_BUFFER_SIZE); in dumpState() local
51 if (!buffer2) { in dumpState()
61 free(buffer2); in dumpState()
71 free(buffer2); in dumpState()
79 free(buffer2); in dumpState()
88 memset(buffer2, 0, DEVMAPPER_BUFFER_SIZE); in dumpState()
89 struct dm_ioctl *io2 = (struct dm_ioctl *) buffer2; in dumpState()
112 free(buffer2); in dumpState()
/system/extras/micro_bench/
Dmicro_bench.cpp352 …uint8_t *buffer2 = getColdBuffer(num_buffers, buf2_incr, cmd_data.dst_align, cmd_data.dst_or_mask)…
353 if (!buffer2) \
365 buf2 = buffer2 + k * buf2_incr; \
428 memset(buffer2, 0x0, buffer2_size), in benchmarkMemcpyCold()
470 memset(buffer2, 'a', buffer2_size); \ in benchmarkStrcmpCold()
473 buffer2[size-1+buf2_incr*i] = '\0'; \ in benchmarkStrcmpCold()
539 memset(buffer2, 'b', buffer2_size); \ in benchmarkStrcatCold()
542 buffer2[dst_str_size-1+buf2_incr*i] = '\0'; \ in benchmarkStrcatCold()
569 memset(buffer2, 0, buffer2_size), in benchmarkStrcpyCold()