Home
last modified time | relevance | path

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

/bionic/benchmarks/
Dutil.cpp26 char *GetAlignedMemory(char *orig_ptr, size_t alignment, size_t or_mask) { in GetAlignedMemory()
47 char *GetAlignedPtr(std::vector<char>* buf, size_t alignment, size_t nbytes) { in GetAlignedPtr()
52 char *GetAlignedPtrFilled(std::vector<char>* buf, size_t alignment, size_t nbytes, char fill_byte) { in GetAlignedPtrFilled()
Dstring_benchmark.cpp100 const size_t alignment = state.range(1); in BM_string_memmove_overlap_dst_before_src() local
115 const size_t alignment = state.range(1); in BM_string_memmove_overlap_src_before_dst() local
130 const size_t alignment = state.range(1); in BM_string_memset() local
145 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/tests/libs/
Dbionic_tests_zipalign.cpp68 static bool CreateAlignedZip(ZipArchiveHandle& handle, FILE* zip_dst, uint32_t alignment) { in CreateAlignedZip()
128 unsigned long int alignment = strtoul(argv[1], &end, 10); in main() local
/bionic/libc/private/
Dbionic_macros.h43 #define BIONIC_ALIGN(value, alignment) \ argument
/bionic/libc/bionic/
Dmalloc_common.cpp129 extern "C" void* memalign(size_t alignment, size_t bytes) { in memalign()
137 extern "C" int posix_memalign(void** memptr, size_t alignment, size_t size) { in posix_memalign()
/bionic/libc/malloc_debug/
DRecordData.cpp90 MemalignEntry::MemalignEntry(void* pointer, size_t size, size_t alignment) in MemalignEntry()
Dmalloc_debug.cpp412 void* debug_memalign(size_t alignment, size_t bytes) { in debug_memalign()
647 int debug_posix_memalign(void** memptr, size_t alignment, size_t size) { in debug_posix_memalign()
/bionic/tests/
Dmalloc_test.cpp79 for (size_t alignment = 1 << i; alignment < (1U << (i+1)); alignment++) { in TEST() local
105 for (size_t alignment = 1; alignment <= 4096; alignment <<= 1) { in TEST() local
Dbuffer_tests.cpp195 static void *GetAlignedPtr(void *orig_ptr, int alignment, int or_mask) { in GetAlignedPtr()
Dpthread_test.cpp1783 void* allocate(size_t size, size_t alignment) { in allocate()
1799 bool is_strict_aligned(char* p, size_t alignment) { in is_strict_aligned()
/bionic/libc/kernel/uapi/mtd/
Dubi-user.h61 __s32 alignment; member
/bionic/linker/
Dlinker_phdr.cpp290 bool ElfReader::CheckFileRange(ElfW(Addr) offset, size_t size, size_t alignment) { in CheckFileRange()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp324 for (size_t alignment = 1; alignment <= 256; alignment++) { in TEST_F() local
416 for (size_t alignment = 1; alignment <= 256; alignment++) { in TEST_F() local
/bionic/libc/kernel/uapi/drm/
Di915_drm.h303 int alignment; member
396 __u64 alignment; member
413 __u64 alignment; member
470 __u64 alignment; member
Dradeon_drm.h560 int alignment; member
614 __u64 alignment; member
Damdgpu_drm.h64 __u64 alignment; member