| /bionic/benchmarks/ |
| D | util.cpp | 29 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()
|
| D | string_benchmark.cpp | 80 const size_t alignment = state.range(1); in BM_string_memmove_overlap_dst_before_src() local 95 const size_t alignment = state.range(1); in BM_string_memmove_overlap_src_before_dst() local 110 const size_t alignment = state.range(1); in BM_string_memset() local 125 const size_t alignment = state.range(1); in BM_string_strlen() local
|
| /bionic/benchmarks/tests/ |
| D | benchmark_test.cpp | 22 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/ |
| D | malloc_hooks.cpp | 93 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/linker/ |
| D | linker_memory.cpp | 75 void* memalign(size_t alignment, size_t byte_count) { in memalign() 79 void* aligned_alloc(size_t alignment, size_t byte_count) { in aligned_alloc()
|
| D | linker_phdr.cpp | 328 bool ElfReader::CheckFileRange(ElfW(Addr) offset, size_t size, size_t alignment) { in CheckFileRange()
|
| /bionic/tests/libs/ |
| D | bionic_tests_zipalign.cpp | 67 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/ |
| D | malloc_limit.cpp | 150 static void* LimitMemalign(size_t alignment, size_t bytes) { in LimitMemalign() 163 static int LimitPosixMemalign(void** memptr, size_t alignment, size_t size) { in LimitPosixMemalign() 183 static void* LimitAlignedAlloc(size_t alignment, size_t size) { in LimitAlignedAlloc()
|
| D | malloc_common.cpp | 161 extern "C" void* memalign(size_t alignment, size_t bytes) { in memalign() 173 extern "C" int posix_memalign(void** memptr, size_t alignment, size_t size) { in posix_memalign() 187 extern "C" void* aligned_alloc(size_t alignment, size_t size) { in aligned_alloc()
|
| D | jemalloc_wrapper.cpp | 71 void* je_aligned_alloc_wrapper(size_t alignment, size_t size) { in je_aligned_alloc_wrapper()
|
| /bionic/libc/kernel/uapi/linux/ |
| D | virtio_bt.h | 30 __u8 alignment; member
|
| /bionic/libc/platform/bionic/ |
| D | mte.h | 158 size_t alignment = 2 * size; in stack_mte_ringbuffer_allocate() local
|
| /bionic/libc/malloc_debug/ |
| D | malloc_debug.cpp | 724 void* debug_memalign(size_t alignment, size_t bytes) { in debug_memalign() 1112 void* debug_aligned_alloc(size_t alignment, size_t size) { in debug_aligned_alloc() 1125 int debug_posix_memalign(void** memptr, size_t alignment, size_t size) { in debug_posix_memalign()
|
| /bionic/tests/ |
| D | bionic_allocator_test.cpp | 241 size_t alignment; in TEST() local
|
| D | buffer_tests.cpp | 196 static void *GetAlignedPtr(void *orig_ptr, int alignment, int or_mask) { in GetAlignedPtr()
|
| D | malloc_test.cpp | 147 for (size_t alignment = 1 << i; alignment < (1U << (i+1)); alignment++) { in TEST() local 175 for (size_t alignment = 1; alignment <= 4096; alignment <<= 1) { in TEST() local
|
| D | pthread_test.cpp | 2653 void* allocate(size_t size, size_t alignment) { in allocate() 2669 bool is_strict_aligned(char* p, size_t alignment) { in is_strict_aligned()
|
| /bionic/libc/kernel/uapi/mtd/ |
| D | ubi-user.h | 57 __s32 alignment; member
|
| /bionic/libc/malloc_hooks/tests/ |
| D | malloc_hooks_tests.cpp | 169 void* MallocHooksTest::test_memalign_hook(size_t alignment, size_t size, const void* arg) { in test_memalign_hook()
|
| /bionic/libc/malloc_debug/tests/ |
| D | malloc_debug_unit_tests.cpp | 521 for (size_t alignment = 1; alignment <= 256; alignment++) { in TEST_F() local 618 for (size_t alignment = 1; alignment <= 256; alignment++) { in TEST_F() local
|
| /bionic/libc/kernel/uapi/drm/ |
| D | i915_drm.h | 385 int alignment; member 491 __u64 alignment; member 508 __u64 alignment; member 587 __u64 alignment; member
|
| D | radeon_drm.h | 549 int alignment; member 603 __u64 alignment; member
|
| D | amdgpu_drm.h | 71 __u64 alignment; member
|