/external/ltp/testcases/kernel/syscalls/ipc/shmat/ |
D | shmat02.c | 29 static void *aligned_addr; variable 40 {&shm_id1, &aligned_addr, EINVAL, 0}, 42 {&shm_id2, &aligned_addr, EACCES, 1}, 85 aligned_addr = PROBE_FREE_ADDR(); in setup() 86 unaligned_addr = aligned_addr + SHMLBA - 1; in setup()
|
D | shmat01.c | 36 static void *aligned_addr; variable 46 {&aligned_addr, 0, 0, "aligned address"}, 48 {&aligned_addr, SHM_RDONLY, SIGSEGV, 132 aligned_addr = PROBE_FREE_ADDR(); in setup() 133 unaligned_addr = aligned_addr + SHMLBA - 1; in setup()
|
/external/arm-trusted-firmware/plat/qti/common/src/ |
D | qti_common.c | 123 uintptr_t *aligned_addr, in qti_align_mem_region() argument 126 *aligned_addr = round_down(addr, PAGE_SIZE); in qti_align_mem_region() 127 *aligned_size = round_up(addr - *aligned_addr + size, PAGE_SIZE); in qti_align_mem_region()
|
/external/compiler-rt/lib/asan/ |
D | asan_poisoning.h | 73 uptr aligned_addr, uptr size, uptr redzone_size, u8 value) { in FastPoisonShadowPartialRightRedzone() argument 76 u8 *shadow = (u8*)MEM_TO_SHADOW(aligned_addr); in FastPoisonShadowPartialRightRedzone()
|
D | asan_thread.cc | 295 uptr aligned_addr = addr & ~(SANITIZER_WORDSIZE/8 - 1); // align addr. in GetStackFrameAccessByAddr() local 296 u8 *shadow_ptr = (u8*)MemToShadow(aligned_addr); in GetStackFrameAccessByAddr()
|
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_poisoning.h | 80 uptr aligned_addr, uptr size, uptr redzone_size, u8 value) { in FastPoisonShadowPartialRightRedzone() argument 83 u8 *shadow = (u8*)MEM_TO_SHADOW(aligned_addr); in FastPoisonShadowPartialRightRedzone()
|
D | asan_thread.cpp | 345 uptr aligned_addr = RoundDownTo(addr, SANITIZER_WORDSIZE / 8); // align addr. in GetStackFrameAccessByAddr() local 346 uptr mem_ptr = RoundDownTo(aligned_addr, SHADOW_GRANULARITY); in GetStackFrameAccessByAddr() 347 u8 *shadow_ptr = (u8*)MemToShadow(aligned_addr); in GetStackFrameAccessByAddr() 387 uptr aligned_addr = RoundDownTo(addr, SANITIZER_WORDSIZE / 8); // align addr. in GetStackVariableShadowStart() local 388 u8 *shadow_ptr = (u8*)MemToShadow(aligned_addr); in GetStackVariableShadowStart()
|
D | asan_malloc_linux.cpp | 72 uptr aligned_addr = RoundUpTo(addr, alignment); in PosixMemalignFromLocalPool() local 75 uptr *end_mem = (uptr*)(aligned_addr + aligned_size); in PosixMemalignFromLocalPool() 81 *memptr = (void*)aligned_addr; in PosixMemalignFromLocalPool()
|
/external/llvm-project/compiler-rt/lib/memprof/ |
D | memprof_malloc_linux.cpp | 72 uptr aligned_addr = RoundUpTo(addr, alignment); in PosixMemalignFromLocalPool() local 75 uptr *end_mem = (uptr *)(aligned_addr + aligned_size); in PosixMemalignFromLocalPool() 81 *memptr = (void *)aligned_addr; in PosixMemalignFromLocalPool()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rand/ |
D | urandom_test.cc | 311 const uintptr_t aligned_addr = ioctl_output_addr & ~7; in GetTrace() local 312 const uintptr_t offset = ioctl_output_addr - aligned_addr; in GetTrace() 318 reinterpret_cast<void *>(aligned_addr), nullptr); in GetTrace() 321 reinterpret_cast<void *>(aligned_addr), in GetTrace()
|
/external/boringssl/src/crypto/fipsmodule/rand/ |
D | urandom_test.cc | 311 const uintptr_t aligned_addr = ioctl_output_addr & ~7; in GetTrace() local 312 const uintptr_t offset = ioctl_output_addr - aligned_addr; in GetTrace() 318 reinterpret_cast<void *>(aligned_addr), nullptr); in GetTrace() 321 reinterpret_cast<void *>(aligned_addr), in GetTrace()
|
/external/compiler-rt/lib/cfi/ |
D | cfi.cc | 90 uptr aligned_addr = addr & ~(kShadowAlign - 1); in get_cfi_check() local 91 uptr p = aligned_addr - (((uptr)v - 1) << kShadowGranularity); in get_cfi_check()
|
/external/llvm-project/compiler-rt/lib/cfi/ |
D | cfi.cpp | 109 uptr aligned_addr = addr & ~(kShadowAlign - 1); in get_cfi_check() local 110 uptr p = aligned_addr - (((uptr)v - 1) << kShadowGranularity); in get_cfi_check()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_win.cc | 151 uptr aligned_addr = RoundUpTo(mapped_addr, alignment); in MmapAlignedOrDie() local 160 mapped_addr = (uptr)VirtualAlloc((void *)aligned_addr, size, in MmapAlignedOrDie()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_win.cpp | 204 uptr aligned_addr = RoundUpTo(mapped_addr, alignment); in MmapAlignedOrDieOnFatalError() local 213 mapped_addr = (uptr)VirtualAlloc((void *)aligned_addr, size, in MmapAlignedOrDieOnFatalError()
|