Searched refs:buf2 (Results 1 – 3 of 3) sorted by relevance
/system/extras/micro_bench/ |
D | micro_bench.cpp | 287 uint8_t *buf2 = allocateAlignedMemory(total_size, cmd_data.dst_align, cmd_data.dst_or_mask); \ 288 if (!buf2) \ 362 uint8_t *buf2; \ 366 buf2 = buffer2 + k * buf2_incr; \ 370 buf2 += buf2_stride_incr; \ 418 memset(buf2, 0, size), in benchmarkMemcpy() 419 memcpy_func(buf2, buf1, size)); in benchmarkMemcpy() 430 memcpy_func(buf2, buf1, size)); in benchmarkMemcpyCold() 474 initString(buf2, size), in benchmarkStrcmp() 475 … retval = strcmp_func(reinterpret_cast<char*>(buf1), reinterpret_cast<char*>(buf2)); \ in benchmarkStrcmp() [all …]
|
/system/core/liblog/ |
D | logprint.c | 414 struct logger_entry_v2 *buf2 = (struct logger_entry_v2 *)buf; in android_log_processLogBuffer() local 415 if (buf2->hdr_size) { in android_log_processLogBuffer() 416 msg = ((char *)buf2) + buf2->hdr_size; in android_log_processLogBuffer() 676 struct logger_entry_v2 *buf2 = (struct logger_entry_v2 *)buf; in android_log_processBinaryLogBuffer() local 677 if (buf2->hdr_size) { in android_log_processBinaryLogBuffer() 678 eventData = ((unsigned char *)buf2) + buf2->hdr_size; in android_log_processBinaryLogBuffer()
|
/system/core/libion/tests/ |
D | device_test.cpp | 118 void *buf2 = malloc(bigger_than_cache); in blowCache() local 120 memcpy(buf2, buf1, bigger_than_cache); in blowCache() 122 free(buf2); in blowCache()
|