Home
last modified time | relevance | path

Searched defs:alignment (Results 1 – 22 of 22) sorted by relevance

/bionic/benchmarks/
Dutil.cpp29 char* GetAlignedMemory(char* orig_ptr, size_t alignment, size_t or_mask) { in GetAlignedMemory()
48 char* GetAlignedPtr(std::vector<char>* buf, size_t alignment, size_t nbytes) { in GetAlignedPtr()
53 wchar_t* GetAlignedPtr(std::vector<wchar_t>* buf, size_t alignment, size_t nchars) { in GetAlignedPtr()
59 char* GetAlignedPtrFilled(std::vector<char>* buf, size_t alignment, size_t nbytes, char fill_byte) { in GetAlignedPtrFilled()
Dstring_benchmark.cpp81 const size_t alignment = state.range(1); in BM_string_memmove_overlap_dst_before_src() local
96 const size_t alignment = state.range(1); in BM_string_memmove_overlap_src_before_dst() local
111 const size_t alignment = state.range(1); in BM_string_memset() local
126 const size_t alignment = state.range(1); in BM_string_strlen() local
/bionic/benchmarks/tests/
Dbenchmark_test.cpp22 for (size_t alignment = 1; alignment <= 32; alignment *= 2) { in TEST() local
34 for (size_t alignment = 1; alignment <= 2048; alignment *= 2) { in TEST() local
/bionic/libc/malloc_hooks/
Dmalloc_hooks.cpp93 static void* default_memalign_hook(size_t alignment, size_t bytes, const void*) { in default_memalign_hook()
142 void* hooks_memalign(size_t alignment, size_t bytes) { in hooks_memalign()
183 void* hooks_aligned_alloc(size_t alignment, size_t size) { in hooks_aligned_alloc()
198 int hooks_posix_memalign(void** memptr, size_t alignment, size_t size) { in hooks_posix_memalign()
/bionic/tests/libs/
Dbionic_tests_zipalign.cpp67 static bool CreateAlignedZip(ZipArchiveHandle& handle, FILE* zip_dst, uint32_t alignment) { in CreateAlignedZip()
126 unsigned long int alignment = strtoul(argv[1], &end, 10); in main() local
/bionic/libc/bionic/
Dbionic_elf_tls.cpp75 bool __bionic_check_tls_alignment(size_t* alignment) { in __bionic_check_tls_alignment()
159 size_t StaticTlsLayout::reserve(size_t size, size_t alignment) { in reserve()
167 size_t StaticTlsLayout::round_up_with_overflow_check(size_t value, size_t alignment) { in round_up_with_overflow_check()
Dmalloc_limit.cpp149 static void* LimitMemalign(size_t alignment, size_t bytes) { in LimitMemalign()
162 static int LimitPosixMemalign(void** memptr, size_t alignment, size_t size) { in LimitPosixMemalign()
182 static void* LimitAlignedAlloc(size_t alignment, size_t size) { in LimitAlignedAlloc()
Dmalloc_common.cpp134 extern "C" void* memalign(size_t alignment, size_t bytes) { in memalign()
146 extern "C" int posix_memalign(void** memptr, size_t alignment, size_t size) { in posix_memalign()
160 extern "C" void* aligned_alloc(size_t alignment, size_t size) { in aligned_alloc()
Djemalloc_wrapper.cpp59 void* je_aligned_alloc_wrapper(size_t alignment, size_t size) { in je_aligned_alloc_wrapper()
/bionic/libc/private/
Dbionic_elf_tls.h41 size_t alignment = 1; member
69 size_t alignment() const { return alignment_; } in alignment() function
/bionic/libc/malloc_debug/
Dmalloc_debug.cpp565 void* debug_memalign(size_t alignment, size_t bytes) { in debug_memalign()
864 void* debug_aligned_alloc(size_t alignment, size_t size) { in debug_aligned_alloc()
875 int debug_posix_memalign(void** memptr, size_t alignment, size_t size) { in debug_posix_memalign()
DRecordData.cpp84 MemalignEntry::MemalignEntry(void* pointer, size_t size, size_t alignment) in MemalignEntry()
/bionic/tests/
Dbuffer_tests.cpp196 static void *GetAlignedPtr(void *orig_ptr, int alignment, int or_mask) { in GetAlignedPtr()
Dmalloc_test.cpp114 for (size_t alignment = 1 << i; alignment < (1U << (i+1)); alignment++) { in TEST() local
142 for (size_t alignment = 1; alignment <= 4096; alignment <<= 1) { in TEST() local
Dpthread_test.cpp2503 void* allocate(size_t size, size_t alignment) { in allocate()
2519 bool is_strict_aligned(char* p, size_t alignment) { in is_strict_aligned()
/bionic/libc/kernel/uapi/mtd/
Dubi-user.h67 __s32 alignment; member
/bionic/libc/malloc_hooks/tests/
Dmalloc_hooks_tests.cpp168 void* MallocHooksTest::test_memalign_hook(size_t alignment, size_t size, const void* arg) { in test_memalign_hook()
/bionic/linker/
Dlinker_phdr.cpp292 bool ElfReader::CheckFileRange(ElfW(Addr) offset, size_t size, size_t alignment) { in CheckFileRange()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp412 for (size_t alignment = 1; alignment <= 256; alignment++) { in TEST_F() local
509 for (size_t alignment = 1; alignment <= 256; alignment++) { in TEST_F() local
/bionic/libc/kernel/uapi/drm/
Di915_drm.h379 int alignment; member
484 __u64 alignment; member
501 __u64 alignment; member
572 __u64 alignment; member
Dradeon_drm.h561 int alignment; member
615 __u64 alignment; member
Damdgpu_drm.h76 __u64 alignment; member