Home
last modified time | relevance | path

Searched refs:GetAlignedPtr (Results 1 – 5 of 5) sorted by relevance

/bionic/benchmarks/
Dutil.cpp47 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()
Dutil.h25 char *GetAlignedPtr(std::vector<char>* buf, size_t alignment, size_t nbytes);
Dstring_benchmark.cpp70 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/
Dbuffer_tests.cpp195 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/
Dbenchmark_test.cpp35 uintptr_t aligned_ptr = reinterpret_cast<uintptr_t>(GetAlignedPtr(&buf, alignment, 100)); in TEST()