Searched refs:GetAlignedPtr (Results 1 – 5 of 5) sorted by relevance
/bionic/benchmarks/ |
D | util.cpp | 47 char *GetAlignedPtr(std::vector<char>* buf, size_t alignment, size_t nbytes) { in GetAlignedPtr() function 53 char* buf_aligned = GetAlignedPtr(buf, alignment, nbytes); in GetAlignedPtrFilled()
|
D | util.h | 25 char *GetAlignedPtr(std::vector<char>* buf, size_t alignment, size_t nbytes);
|
D | string_benchmark.cpp | 70 char* dst_aligned = GetAlignedPtr(&dst, dst_alignment, nbytes); in BM_string_memcpy() 133 char* buf_aligned = GetAlignedPtr(&buf, alignment, nbytes + 1); in BM_string_memset() 168 char* dst_aligned = GetAlignedPtr(&dst, dst_alignment, nbytes + 2); in BM_string_strcat_copy_only() 233 char* dst_aligned = GetAlignedPtr(&dst, dst_alignment, nbytes); in BM_string_strcpy()
|
/bionic/tests/ |
D | buffer_tests.cpp | 195 static void *GetAlignedPtr(void *orig_ptr, int alignment, int or_mask) { in GetAlignedPtr() function 247 buf_align = reinterpret_cast<uint8_t*>(GetAlignedPtr( in RunSingleBufferAlignTest() 281 reinterpret_cast<uint8_t*>(GetAlignedPtr( in RunSrcDstBufferAlignTest() 284 reinterpret_cast<uint8_t*>(GetAlignedPtr( in RunSrcDstBufferAlignTest() 319 reinterpret_cast<uint8_t*>(GetAlignedPtr( in RunCmpBufferAlignTest() 322 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()
|