Searched refs:GetAlignedPtr (Results 1 – 6 of 6) sorted by relevance
/bionic/benchmarks/ |
D | util.cpp | 48 char* GetAlignedPtr(std::vector<char>* buf, size_t alignment, size_t nbytes) { in GetAlignedPtr() function 53 wchar_t* GetAlignedPtr(std::vector<wchar_t>* buf, size_t alignment, size_t nchars) { in GetAlignedPtr() function 60 char* buf_aligned = GetAlignedPtr(buf, alignment, nbytes); in GetAlignedPtrFilled()
|
D | util.h | 66 char* GetAlignedPtr(std::vector<char>* buf, size_t alignment, size_t nbytes); 68 wchar_t* GetAlignedPtr(std::vector<wchar_t>* buf, size_t alignment, size_t nbytes);
|
D | stdlib_benchmark.cpp | 175 char* buf_aligned = GetAlignedPtr(&buf, buf_alignment, 500000); in BM_stdlib_mbstowcs() 176 wchar_t* widebuf_aligned = GetAlignedPtr(&widebuf, widebuf_alignment, 500000); in BM_stdlib_mbstowcs() 216 char* buf_aligned = GetAlignedPtr(&buf, buf_alignment, 500000); in BM_stdlib_mbrtowc()
|
D | string_benchmark.cpp | 51 char* dst_aligned = GetAlignedPtr(&dst, dst_alignment, nbytes); in BM_string_memcpy() 114 char* buf_aligned = GetAlignedPtr(&buf, alignment, nbytes + 1); in BM_string_memset() 149 char* dst_aligned = GetAlignedPtr(&dst, dst_alignment, nbytes + 2); in BM_string_strcat_copy_only() 219 char* dst_aligned = GetAlignedPtr(&dst, dst_alignment, nbytes); in BM_string_strcpy()
|
/bionic/tests/ |
D | buffer_tests.cpp | 196 static void *GetAlignedPtr(void *orig_ptr, int alignment, int or_mask) { in GetAlignedPtr() function 255 buf_align = reinterpret_cast<uint8_t*>(GetAlignedPtr( in RunSingleBufferAlignTest() 289 reinterpret_cast<uint8_t*>(GetAlignedPtr( in RunSrcDstBufferAlignTest() 292 reinterpret_cast<uint8_t*>(GetAlignedPtr( in RunSrcDstBufferAlignTest() 327 reinterpret_cast<uint8_t*>(GetAlignedPtr( in RunCmpBufferAlignTest() 330 reinterpret_cast<uint8_t*>(GetAlignedPtr( in RunCmpBufferAlignTest()
|
/bionic/benchmarks/tests/ |
D | benchmark_test.cpp | 35 uintptr_t aligned_ptr = reinterpret_cast<uintptr_t>(GetAlignedPtr(&buf, alignment, 100)); in TEST()
|