/external/syzkaller/vendor/golang.org/x/sys/unix/ |
D | gccgo_c.c | 19 uintptr_t r; 20 uintptr_t err; 24 …Syscall(uintptr_t trap, uintptr_t a1, uintptr_t a2, uintptr_t a3, uintptr_t a4, uintptr_t a5, uint… in gccgoRealSyscall() 34 uintptr_t 35 …NoError(uintptr_t trap, uintptr_t a1, uintptr_t a2, uintptr_t a3, uintptr_t a4, uintptr_t a5, uint… in gccgoRealSyscallNoError()
|
/external/libchrome/base/debug/ |
D | stack_trace.cc | 44 constexpr size_t kStackFrameAdjustment = sizeof(uintptr_t); 49 uintptr_t GetNextStackFrame(uintptr_t fp) { in GetNextStackFrame() 50 return reinterpret_cast<const uintptr_t*>(fp)[0] - kStackFrameAdjustment; in GetNextStackFrame() 53 uintptr_t GetStackFramePC(uintptr_t fp) { in GetStackFramePC() 54 return reinterpret_cast<const uintptr_t*>(fp)[1]; in GetStackFramePC() 57 bool IsStackFrameValid(uintptr_t fp, uintptr_t prev_fp, uintptr_t stack_end) { in IsStackFrameValid() 66 if (fp & (sizeof(uintptr_t) - 1)) return false; in IsStackFrameValid() 70 if (fp > stack_end - 2 * sizeof(uintptr_t)) return false; in IsStackFrameValid() 103 uintptr_t ScanStackForNextFrame(uintptr_t fp, uintptr_t stack_end) { in ScanStackForNextFrame() 113 fp += sizeof(uintptr_t); // current frame is known to be invalid in ScanStackForNextFrame() [all …]
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | aligned_malloc.cc | 28 uintptr_t GetRightAlign(uintptr_t start_pos, size_t alignment) { in GetRightAlign() 49 uintptr_t start_pos = reinterpret_cast<uintptr_t>(pointer); in GetRightAlign() 65 void* memory_pointer = malloc(size + sizeof(uintptr_t) + alignment - 1); in AlignedMalloc() 72 uintptr_t align_start_pos = reinterpret_cast<uintptr_t>(memory_pointer); in AlignedMalloc() 73 align_start_pos += sizeof(uintptr_t); in AlignedMalloc() 74 uintptr_t aligned_pos = GetRightAlign(align_start_pos, alignment); in AlignedMalloc() 79 uintptr_t header_pos = aligned_pos - sizeof(uintptr_t); in AlignedMalloc() 81 uintptr_t memory_start = reinterpret_cast<uintptr_t>(memory_pointer); in AlignedMalloc() 82 memcpy(header_pointer, &memory_start, sizeof(uintptr_t)); in AlignedMalloc() 91 uintptr_t aligned_pos = reinterpret_cast<uintptr_t>(mem_block); in AlignedFree() [all …]
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | rtree.h | 39 #define RTREE_LEAFKEY_INVALID ((uintptr_t)1) 129 rtree_ctx_t *rtree_ctx, uintptr_t key, bool dependent, bool init_missing); 131 JEMALLOC_ALWAYS_INLINE uintptr_t 132 rtree_leafkey(uintptr_t key) { in rtree_leafkey() 137 uintptr_t mask = ~((ZU(1) << maskbits) - 1); in rtree_leafkey() 142 rtree_cache_direct_map(uintptr_t key) { in rtree_cache_direct_map() 150 JEMALLOC_ALWAYS_INLINE uintptr_t 151 rtree_subkey(uintptr_t key, unsigned level) { in rtree_subkey() 156 uintptr_t mask = (ZU(1) << maskbits) - 1; in rtree_subkey() 172 JEMALLOC_ALWAYS_INLINE uintptr_t [all …]
|
/external/v8/src/ |
D | string-case.cc | 34 const uintptr_t kOneInEveryByte = kUintptrAllBitsSet / 0xFF; 35 const uintptr_t kAsciiMask = kOneInEveryByte << 7; 44 static inline uintptr_t AsciiRangeMask(uintptr_t w, char m, char n) { in AsciiRangeMask() 49 uintptr_t tmp1 = kOneInEveryByte * (0x7F + n) - w; in AsciiRangeMask() 51 uintptr_t tmp2 = w + kOneInEveryByte * (0x7F - m); in AsciiRangeMask() 73 DCHECK(IsAligned(reinterpret_cast<intptr_t>(dst), sizeof(uintptr_t))); in FastAsciiConvert() 75 if (IsAligned(reinterpret_cast<intptr_t>(src), sizeof(uintptr_t))) { in FastAsciiConvert() 78 while (src <= limit - sizeof(uintptr_t)) { in FastAsciiConvert() 79 const uintptr_t w = *reinterpret_cast<const uintptr_t*>(src); in FastAsciiConvert() 85 *reinterpret_cast<uintptr_t*>(dst) = w; in FastAsciiConvert() [all …]
|
D | execution.h | 72 void SetStackLimit(uintptr_t limit); 116 uintptr_t climit() { return thread_local_.climit(); } in climit() 117 uintptr_t jslimit() { return thread_local_.jslimit(); } in jslimit() 121 uintptr_t real_climit() { in real_climit() 124 uintptr_t real_jslimit() { in real_jslimit() 163 static const uintptr_t kInterruptLimit = uintptr_t{0xfffffffffffffffe}; 164 static const uintptr_t kIllegalLimit = uintptr_t{0xfffffffffffffff8}; 166 static const uintptr_t kInterruptLimit = 0xfffffffe; 167 static const uintptr_t kIllegalLimit = 0xfffffff8; 192 uintptr_t real_jslimit_; // Actual JavaScript stack limit set for the VM. [all …]
|
/external/compiler-rt/test/asan/TestCases/ |
D | coverage-pc-buffer.cc | 15 void assertNotZeroPcs(uintptr_t *buf, uintptr_t size) { in assertNotZeroPcs() 17 for (uintptr_t i = 0; i < size; ++i) in assertNotZeroPcs() 23 uintptr_t *buf = NULL; in main() 24 uintptr_t sz = __sanitizer_get_coverage_pc_buffer(&buf); in main() 30 uintptr_t *buf = NULL; in main() 31 uintptr_t sz = __sanitizer_get_coverage_pc_buffer(&buf); in main() 35 uintptr_t *buf1 = NULL; in main() 36 uintptr_t sz1 = __sanitizer_get_coverage_pc_buffer(&buf1); in main() 43 uintptr_t *buf = NULL; in main() 44 uintptr_t sz = __sanitizer_get_coverage_pc_buffer(&buf); in main() [all …]
|
/external/syzkaller/executor/ |
D | common_kvm_arm64.h | 9 uintptr_t typ; 11 uintptr_t size; 20 static uintptr_t syz_kvm_setup_cpu(uintptr_t a0, uintptr_t a1, uintptr_t a2, uintptr_t a3, uintptr_… in syz_kvm_setup_cpu() 26 const uintptr_t text_count = a4; in syz_kvm_setup_cpu() 27 const uintptr_t flags = a5; in syz_kvm_setup_cpu() 29 uintptr_t opt_count = a7; in syz_kvm_setup_cpu() 34 const uintptr_t page_size = 4 << 10; in syz_kvm_setup_cpu() 35 const uintptr_t guest_mem = 0; in syz_kvm_setup_cpu() 36 const uintptr_t guest_mem_size = 24 * page_size; in syz_kvm_setup_cpu() 51 uintptr_t i; in syz_kvm_setup_cpu() [all …]
|
/external/compiler-rt/test/msan/ |
D | mmap_below_shadow.cc | 19 uintptr_t hint = 0x0f0000000000ULL; in main() 20 const uintptr_t app_start = 0x000000000000ULL; in main() 22 uintptr_t hint = 0x4f0000000000ULL; in main() 23 const uintptr_t app_start = 0x600000000000ULL; in main() 25 uintptr_t hint = 0x4f00000000ULL; in main() 26 const uintptr_t app_start = 0x6000000000ULL; in main() 28 uintptr_t hint = 0x2f0000000000ULL; in main() 29 const uintptr_t app_start = 0x300000000000ULL; in main() 31 uintptr_t hint = 0x4f0000000ULL; in main() 32 const uintptr_t app_start = 0x7000000000ULL; in main() [all …]
|
/external/strace/tests/ |
D | xet_thread_area_x86.c | 71 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in set_thread_area() 111 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in get_thread_area() 113 (struct user_desc *) (uintptr_t) expected; in get_thread_area() 167 set_rc = set_thread_area((uintptr_t) ARG_STR(NULL), false, NULL); in main() 168 get_thread_area((uintptr_t) ARG_STR(NULL), false, set_rc, in main() 169 (uintptr_t) NULL); in main() 177 set_thread_area((uintptr_t) (ta1 + 1), NULL, false, NULL); in main() 179 set_thread_area((uintptr_t) bogus_entry_number, NULL, false, NULL); in main() 181 set_thread_area((uintptr_t) ta1, NULL, true, NULL); in main() 190 set_rc = set_thread_area((uintptr_t) ta1, NULL, true, "-1"); in main() [all …]
|
D | sigprocmask.c | 71 k_sigprocmask(sig_setmask, (uintptr_t) new_set, 0); in main() 75 (uintptr_t) (new_set - 1), (uintptr_t) old_set); in main() 92 k_sigprocmask(sig_block, (uintptr_t) new_set, (uintptr_t) old_set); in main() 99 k_sigprocmask(sig_unblock, (uintptr_t) new_set, (uintptr_t) old_set); in main() 105 k_sigprocmask(sig_unblock, (uintptr_t) new_set, (uintptr_t) old_set); in main() 116 k_sigprocmask(sig_block, (uintptr_t) new_set, (uintptr_t) old_set); in main() 120 k_sigprocmask(sig_setmask, 0, (uintptr_t) old_set); in main() 124 k_sigprocmask(sig_setmask, (uintptr_t) (new_set + 1), 0); in main() 129 (uintptr_t) new_set, (uintptr_t) (old_set + 1)); in main() 133 uintptr_t efault = sizeof(*new_set) / 2 + (uintptr_t) new_set; in main()
|
/external/strace/tests-m32/ |
D | xet_thread_area_x86.c | 71 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in set_thread_area() 111 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in get_thread_area() 113 (struct user_desc *) (uintptr_t) expected; in get_thread_area() 167 set_rc = set_thread_area((uintptr_t) ARG_STR(NULL), false, NULL); in main() 168 get_thread_area((uintptr_t) ARG_STR(NULL), false, set_rc, in main() 169 (uintptr_t) NULL); in main() 177 set_thread_area((uintptr_t) (ta1 + 1), NULL, false, NULL); in main() 179 set_thread_area((uintptr_t) bogus_entry_number, NULL, false, NULL); in main() 181 set_thread_area((uintptr_t) ta1, NULL, true, NULL); in main() 190 set_rc = set_thread_area((uintptr_t) ta1, NULL, true, "-1"); in main() [all …]
|
D | sigprocmask.c | 71 k_sigprocmask(sig_setmask, (uintptr_t) new_set, 0); in main() 75 (uintptr_t) (new_set - 1), (uintptr_t) old_set); in main() 92 k_sigprocmask(sig_block, (uintptr_t) new_set, (uintptr_t) old_set); in main() 99 k_sigprocmask(sig_unblock, (uintptr_t) new_set, (uintptr_t) old_set); in main() 105 k_sigprocmask(sig_unblock, (uintptr_t) new_set, (uintptr_t) old_set); in main() 116 k_sigprocmask(sig_block, (uintptr_t) new_set, (uintptr_t) old_set); in main() 120 k_sigprocmask(sig_setmask, 0, (uintptr_t) old_set); in main() 124 k_sigprocmask(sig_setmask, (uintptr_t) (new_set + 1), 0); in main() 129 (uintptr_t) new_set, (uintptr_t) (old_set + 1)); in main() 133 uintptr_t efault = sizeof(*new_set) / 2 + (uintptr_t) new_set; in main()
|
/external/strace/tests-mx32/ |
D | xet_thread_area_x86.c | 71 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in set_thread_area() 111 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in get_thread_area() 113 (struct user_desc *) (uintptr_t) expected; in get_thread_area() 167 set_rc = set_thread_area((uintptr_t) ARG_STR(NULL), false, NULL); in main() 168 get_thread_area((uintptr_t) ARG_STR(NULL), false, set_rc, in main() 169 (uintptr_t) NULL); in main() 177 set_thread_area((uintptr_t) (ta1 + 1), NULL, false, NULL); in main() 179 set_thread_area((uintptr_t) bogus_entry_number, NULL, false, NULL); in main() 181 set_thread_area((uintptr_t) ta1, NULL, true, NULL); in main() 190 set_rc = set_thread_area((uintptr_t) ta1, NULL, true, "-1"); in main() [all …]
|
D | sigprocmask.c | 71 k_sigprocmask(sig_setmask, (uintptr_t) new_set, 0); in main() 75 (uintptr_t) (new_set - 1), (uintptr_t) old_set); in main() 92 k_sigprocmask(sig_block, (uintptr_t) new_set, (uintptr_t) old_set); in main() 99 k_sigprocmask(sig_unblock, (uintptr_t) new_set, (uintptr_t) old_set); in main() 105 k_sigprocmask(sig_unblock, (uintptr_t) new_set, (uintptr_t) old_set); in main() 116 k_sigprocmask(sig_block, (uintptr_t) new_set, (uintptr_t) old_set); in main() 120 k_sigprocmask(sig_setmask, 0, (uintptr_t) old_set); in main() 124 k_sigprocmask(sig_setmask, (uintptr_t) (new_set + 1), 0); in main() 129 (uintptr_t) new_set, (uintptr_t) (old_set + 1)); in main() 133 uintptr_t efault = sizeof(*new_set) / 2 + (uintptr_t) new_set; in main()
|
/external/jemalloc_new/src/ |
D | extent_dss.c | 150 (uintptr_t)max_cur)); in extent_alloc_dss() 152 (uintptr_t)gap_addr_page, alignment); in extent_alloc_dss() 153 size_t gap_size_page = (uintptr_t)ret - in extent_alloc_dss() 154 (uintptr_t)gap_addr_page; in extent_alloc_dss() 165 void *dss_next = (void *)((uintptr_t)ret + size); in extent_alloc_dss() 166 if ((uintptr_t)ret < (uintptr_t)max_cur || in extent_alloc_dss() 167 (uintptr_t)dss_next < (uintptr_t)max_cur) { in extent_alloc_dss() 172 size_t gap_size_subpage = (uintptr_t)ret - in extent_alloc_dss() 173 (uintptr_t)gap_addr_subpage; in extent_alloc_dss() 176 assert((uintptr_t)max_cur + incr == (uintptr_t)ret + in extent_alloc_dss() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | SmallBitVector.h | 39 uintptr_t X = 1; 43 NumBaseBits = sizeof(uintptr_t) * CHAR_BIT, 96 return X & uintptr_t(1); in isSmall() 104 void switchToSmall(uintptr_t NewSmallBits, size_t NewSize) { in switchToSmall() 111 X = reinterpret_cast<uintptr_t>(BV); in switchToLarge() 117 uintptr_t getSmallRawBits() const { in getSmallRawBits() 122 void setSmallRawBits(uintptr_t NewRawBits) { in setSmallRawBits() 124 X = (NewRawBits << 1) | uintptr_t(1); in setSmallRawBits() 135 uintptr_t getSmallBits() const { in getSmallBits() 136 return getSmallRawBits() & ~(~uintptr_t(0) << getSmallSize()); in getSmallBits() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | SmallBitVector.h | 34 uintptr_t X; 38 NumBaseBits = sizeof(uintptr_t) * CHAR_BIT, 84 return X & uintptr_t(1); in isSmall() 92 void switchToSmall(uintptr_t NewSmallBits, size_t NewSize) { in switchToSmall() 99 X = reinterpret_cast<uintptr_t>(BV); in switchToLarge() 105 uintptr_t getSmallRawBits() const { in getSmallRawBits() 110 void setSmallRawBits(uintptr_t NewRawBits) { in setSmallRawBits() 112 X = (NewRawBits << 1) | uintptr_t(1); in setSmallRawBits() 125 uintptr_t getSmallBits() const { in getSmallBits() 126 return getSmallRawBits() & ~(~uintptr_t(0) << getSmallSize()); in getSmallBits() [all …]
|
/external/libunwind_llvm/include/ |
D | unwind.h | 128 uintptr_t private_[6]; 130 uintptr_t private_1; // non-zero means forced unwind 131 uintptr_t private_2; // holds sp that phase1 found for phase2 to use 221 extern uintptr_t _Unwind_GetGR(struct _Unwind_Context *context, int index); 223 uintptr_t new_value); 224 extern uintptr_t _Unwind_GetIP(struct _Unwind_Context *context); 225 extern void _Unwind_SetIP(struct _Unwind_Context *, uintptr_t new_value); 243 uintptr_t _Unwind_GetGR(struct _Unwind_Context *context, int index) { in _Unwind_GetGR() 244 uintptr_t value = 0; in _Unwind_GetGR() 251 uintptr_t value) { in _Unwind_SetGR() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | SmallBitVector.h | 32 uintptr_t X; 36 NumBaseBits = sizeof(uintptr_t) * CHAR_BIT, 88 return X & uintptr_t(1); in isSmall() 96 void switchToSmall(uintptr_t NewSmallBits, size_t NewSize) { in switchToSmall() 103 X = reinterpret_cast<uintptr_t>(BV); in switchToLarge() 109 uintptr_t getSmallRawBits() const { in getSmallRawBits() 114 void setSmallRawBits(uintptr_t NewRawBits) { in setSmallRawBits() 116 X = (NewRawBits << 1) | uintptr_t(1); in setSmallRawBits() 129 uintptr_t getSmallBits() const { in getSmallBits() 130 return getSmallRawBits() & ~(~uintptr_t(0) << getSmallSize()); in getSmallBits() [all …]
|
/external/compiler-rt/lib/builtins/ |
D | emutls.c | 39 uintptr_t index; /* data[index-1] is the object address */ 55 base = (void*)(((uintptr_t)(object + EXTRA_ALIGN_PTR_BYTES)) in emutls_memalign_alloc() 56 & ~(uintptr_t)(align - 1)); in emutls_memalign_alloc() 76 COMPILE_TIME_ASSERT(sizeof(uintptr_t) == sizeof(gcc_pointer)); in emutls_allocate_object() 77 COMPILE_TIME_ASSERT(sizeof(uintptr_t) == sizeof(void*)); in emutls_allocate_object() 101 uintptr_t size; /* number of elements in the 'data' array */ 109 uintptr_t i; in emutls_key_destructor() 123 static __inline uintptr_t emutls_get_index(__emutls_control *control) { in emutls_get_index() 124 uintptr_t index = __atomic_load_n(&control->object.index, __ATOMIC_ACQUIRE); in emutls_get_index() 141 uintptr_t size) { in emutls_check_array_set_size() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | MachineCodeEmitter.h | 164 if(Alignment <= (uintptr_t)(BufferEnd-CurBufferPtr)) { in emitAlignment() 167 (uint8_t*)(((uintptr_t)CurBufferPtr+Alignment-1) & in emitAlignment() 168 ~(uintptr_t)(Alignment-1)); in emitAlignment() 233 void emitInt32At(uintptr_t *Addr, uintptr_t Value) { in emitInt32At() 234 if (Addr >= (uintptr_t*)BufferBegin && Addr < (uintptr_t*)BufferEnd) in emitInt32At() 239 void emitInt64At(uintptr_t *Addr, uintptr_t Value) { in emitInt64At() 240 if (Addr >= (uintptr_t*)BufferBegin && Addr < (uintptr_t*)BufferEnd) in emitInt64At() 256 virtual void *allocateSpace(uintptr_t Size, unsigned Alignment) { in allocateSpace() 261 if (Size >= (uintptr_t)(BufferEnd-CurBufferPtr)) { in allocateSpace() 281 virtual uintptr_t getCurrentPCValue() const { in getCurrentPCValue() [all …]
|
D | JITCodeEmitter.h | 152 uint8_t *NewPtr = (uint8_t*)RoundUpToAlignment((uintptr_t)CurBufferPtr, in emitAlignment() 161 uint8_t *NewPtr = (uint8_t*)RoundUpToAlignment((uintptr_t)CurBufferPtr, in emitAlignmentWithFill() 238 void emitInt32At(uintptr_t *Addr, uintptr_t Value) { in emitInt32At() 239 if (Addr >= (uintptr_t*)BufferBegin && Addr < (uintptr_t*)BufferEnd) in emitInt32At() 244 void emitInt64At(uintptr_t *Addr, uintptr_t Value) { in emitInt64At() 245 if (Addr >= (uintptr_t*)BufferBegin && Addr < (uintptr_t*)BufferEnd) in emitInt64At() 256 virtual void *allocateSpace(uintptr_t Size, unsigned Alignment) { in allocateSpace() 261 if (Size >= (uintptr_t)(BufferEnd-CurBufferPtr)) { in allocateSpace() 276 virtual void *allocateGlobal(uintptr_t Size, unsigned Alignment) = 0; 286 virtual uintptr_t getCurrentPCValue() const { in getCurrentPCValue() [all …]
|
/external/libunwind_llvm/src/ |
D | AddressSpace.hpp | 35 bool checkKeyMgrRegisteredFDEs(uintptr_t targetAddr, void *&fde); 51 uintptr_t dwarf_section_length; 53 uintptr_t compact_unwind_section_length; 158 uintptr_t dso_base; 161 uintptr_t dwarf_section; 162 uintptr_t dwarf_section_length; 165 uintptr_t dwarf_index_section; 166 uintptr_t dwarf_index_section_length; 169 uintptr_t compact_unwind_section; 170 uintptr_t compact_unwind_section_length; [all …]
|
/external/jemalloc/src/ |
D | chunk_dss.c | 78 if ((uintptr_t)max_prev > (uintptr_t)max_cur) { in chunk_dss_max_update() 137 cpad = (void *)((uintptr_t)dss_max + gap_size); in chunk_alloc_dss() 138 ret = (void *)ALIGNMENT_CEILING((uintptr_t)dss_max, in chunk_alloc_dss() 140 cpad_size = (uintptr_t)ret - (uintptr_t)cpad; in chunk_alloc_dss() 141 dss_next = (void *)((uintptr_t)ret + size); in chunk_alloc_dss() 142 if ((uintptr_t)ret < (uintptr_t)dss_max || in chunk_alloc_dss() 143 (uintptr_t)dss_next < (uintptr_t)dss_max) in chunk_alloc_dss() 202 return ((uintptr_t)chunk >= (uintptr_t)dss_base && (uintptr_t)chunk < in chunk_in_dss_helper() 203 (uintptr_t)max); in chunk_in_dss_helper()
|