Searched refs:buf_aligned (Results 1 – 3 of 3) sorted by relevance
/bionic/benchmarks/ |
D | string_benchmark.cpp | 84 char* buf_aligned = GetAlignedPtrFilled(&buf, alignment, nbytes + 1, 'x'); in BM_string_memmove_overlap_dst_before_src() local 87 memmove(buf_aligned, buf_aligned + 1, nbytes); // Worst-case overlap. in BM_string_memmove_overlap_dst_before_src() 99 char* buf_aligned = GetAlignedPtrFilled(&buf, alignment, nbytes + 1, 'x'); in BM_string_memmove_overlap_src_before_dst() local 102 memmove(buf_aligned + 1, buf_aligned, nbytes); // Worst-case overlap. in BM_string_memmove_overlap_src_before_dst() 114 char* buf_aligned = GetAlignedPtr(&buf, alignment, nbytes + 1); in BM_string_memset() local 117 memset(buf_aligned, 0, nbytes); in BM_string_memset() 129 char* buf_aligned = GetAlignedPtrFilled(&buf, alignment, nbytes + 1, 'x'); in BM_string_strlen() local 130 buf_aligned[nbytes - 1] = '\0'; in BM_string_strlen() 134 c += strlen(buf_aligned); in BM_string_strlen()
|
D | util.cpp | 60 char* buf_aligned = GetAlignedPtr(buf, alignment, nbytes); in GetAlignedPtrFilled() local 61 memset(buf_aligned, fill_byte, nbytes); in GetAlignedPtrFilled() 62 return buf_aligned; in GetAlignedPtrFilled()
|
D | stdlib_benchmark.cpp | 175 char* buf_aligned = GetAlignedPtr(&buf, buf_alignment, 500000); in BM_stdlib_mbstowcs() local 194 c = mbstowcs(widebuf_aligned, buf_aligned, 500000); in BM_stdlib_mbstowcs() 216 char* buf_aligned = GetAlignedPtr(&buf, buf_alignment, 500000); in BM_stdlib_mbrtowc() local 234 for (j = 0; buf_aligned[j]; j+=mbrtowc(&wc, buf_aligned + j, 4, nullptr)) { in BM_stdlib_mbrtowc()
|