Searched refs:buf2 (Results 1 – 4 of 4) sorted by relevance
/system/extras/micro_bench/ |
D | micro_bench.cpp | 295 uint8_t *buf2 = allocateAlignedMemory(total_size, cmd_data.dst_align, cmd_data.dst_or_mask); \ 296 if (!buf2) \ 370 uint8_t *buf2; \ 374 buf2 = buffer2 + k * buf2_incr; \ 378 buf2 += buf2_stride_incr; \ 412 memset(buf2, 0, size), in benchmarkMemcpy() 413 memcpy_func(buf2, buf1, size)); in benchmarkMemcpy() 424 memcpy_func(buf2, buf1, size)); in benchmarkMemcpyCold() 469 initString(buf2, size), in benchmarkStrcmp() 470 … retval = strcmp_func(reinterpret_cast<char*>(buf1), reinterpret_cast<char*>(buf2)); \ in benchmarkStrcmp() [all …]
|
/system/extras/simpleperf/ |
D | record_test.cpp | 71 std::vector<char> buf2 = r2.BinaryFormat(); in TEST_F() local 78 cache.Push(buf2.data(), buf2.size()); in TEST_F()
|
/system/core/liblog/ |
D | logprint.c | 496 struct logger_entry_v2 *buf2 = (struct logger_entry_v2 *)buf; in android_log_processLogBuffer() local 497 if (buf2->hdr_size) { in android_log_processLogBuffer() 498 msg = ((char *)buf2) + buf2->hdr_size; in android_log_processLogBuffer() 499 if (buf2->hdr_size >= sizeof(struct logger_entry_v4)) { in android_log_processLogBuffer() 775 struct logger_entry_v2 *buf2 = (struct logger_entry_v2 *)buf; in android_log_processBinaryLogBuffer() local 776 if (buf2->hdr_size) { in android_log_processBinaryLogBuffer() 777 eventData = ((unsigned char *)buf2) + buf2->hdr_size; in android_log_processBinaryLogBuffer() 778 if ((buf2->hdr_size >= sizeof(struct logger_entry_v3)) && in android_log_processBinaryLogBuffer() 782 if (buf2->hdr_size >= sizeof(struct logger_entry_v4)) { 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()
|