Home
last modified time | relevance | path

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

/bionic/benchmarks/
Dutil.cpp48 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()
Dutil.h66 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);
Dstdlib_benchmark.cpp175 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()
Dstring_benchmark.cpp51 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/
Dbuffer_tests.cpp196 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/
Dbenchmark_test.cpp35 uintptr_t aligned_ptr = reinterpret_cast<uintptr_t>(GetAlignedPtr(&buf, alignment, 100)); in TEST()