Searched refs:buf_aligned (Results 1 – 2 of 2) sorted by relevance
/bionic/benchmarks/ |
D | string_benchmark.cpp | 83 char* buf_aligned = GetAlignedPtrFilled(&buf, alignment, nbytes + 1, 'x'); in BM_string_memmove_overlap_dst_before_src() local 86 memmove(buf_aligned, buf_aligned + 1, nbytes); // Worst-case overlap. in BM_string_memmove_overlap_dst_before_src() 98 char* buf_aligned = GetAlignedPtrFilled(&buf, alignment, nbytes + 1, 'x'); in BM_string_memmove_overlap_src_before_dst() local 101 memmove(buf_aligned + 1, buf_aligned, nbytes); // Worst-case overlap. in BM_string_memmove_overlap_src_before_dst() 113 char* buf_aligned = GetAlignedPtr(&buf, alignment, nbytes + 1); in BM_string_memset() local 116 memset(buf_aligned, 0, nbytes); in BM_string_memset() 128 char* buf_aligned = GetAlignedPtrFilled(&buf, alignment, nbytes + 1, 'x'); in BM_string_strlen() local 129 buf_aligned[nbytes - 1] = '\0'; in BM_string_strlen() 132 benchmark::DoNotOptimize(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()
|