/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_syscall_linux_aarch64.inc | 16 static uptr __internal_syscall(u64 nr) { 17 register u64 x8 asm("x8") = nr; 18 register u64 x0 asm("x0"); 28 static uptr __internal_syscall(u64 nr, u64 arg1) { 29 register u64 x8 asm("x8") = nr; 30 register u64 x0 asm("x0") = arg1; 38 (__internal_syscall)(n, (u64)(a1)) 40 static uptr __internal_syscall(u64 nr, u64 arg1, long arg2) { 41 register u64 x8 asm("x8") = nr; 42 register u64 x0 asm("x0") = arg1; [all …]
|
D | sanitizer_syscall_linux_x86_64.inc | 16 static uptr internal_syscall(u64 nr) { 17 u64 retval; 24 static uptr internal_syscall(u64 nr, T1 arg1) { 25 u64 retval; 26 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1) : 32 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2) { 33 u64 retval; 34 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1), 35 "S"((u64)arg2) : "rcx", "r11", "memory", "cc"); 40 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3) { [all …]
|
D | sanitizer_lfstack.h | 37 u64 cmp = atomic_load(&head_, memory_order_relaxed); in Push() 39 u64 cnt = (cmp & kCounterMask) + kCounterInc; in Push() 40 u64 xch = (u64)(uptr)p | cnt; in Push() 49 u64 cmp = atomic_load(&head_, memory_order_acquire); in Pop() 55 u64 cnt = (cmp & kCounterMask); in Pop() 56 u64 xch = (u64)(uptr)nxt | cnt; in Pop() 65 static const u64 kPtrMask = ((u64)-1) >> kCounterBits; 66 static const u64 kCounterMask = ~kPtrMask; 67 static const u64 kCounterInc = kPtrMask + 1;
|
D | sanitizer_allocator.cc | 120 const u64 kBlockMagic = 0x6A6CB03ABCEBC041ull; 123 if (size + sizeof(u64) < size) in InternalAlloc() 125 void *p = RawInternalAlloc(size + sizeof(u64), cache, alignment); in InternalAlloc() 128 ((u64*)p)[0] = kBlockMagic; in InternalAlloc() 129 return (char*)p + sizeof(u64); in InternalAlloc() 135 if (size + sizeof(u64) < size) in InternalRealloc() 137 addr = (char*)addr - sizeof(u64); in InternalRealloc() 138 size = size + sizeof(u64); in InternalRealloc() 139 CHECK_EQ(kBlockMagic, ((u64*)addr)[0]); in InternalRealloc() 143 return (char*)p + sizeof(u64); in InternalRealloc() [all …]
|
/external/libconstrainedcrypto/ |
D | p256_ec.c | 46 typedef uint64_t u64; typedef 291 static void felem_reduce_degree(felem out, u64 tmp[17]) { in felem_reduce_degree() 481 u64 tmp[17]; in felem_square() 483 tmp[0] = ((u64) in[0]) * in[0]; in felem_square() 484 tmp[1] = ((u64) in[0]) * (in[1] << 1); in felem_square() 485 tmp[2] = ((u64) in[0]) * (in[2] << 1) + in felem_square() 486 ((u64) in[1]) * (in[1] << 1); in felem_square() 487 tmp[3] = ((u64) in[0]) * (in[3] << 1) + in felem_square() 488 ((u64) in[1]) * (in[2] << 1); in felem_square() 489 tmp[4] = ((u64) in[0]) * (in[4] << 1) + in felem_square() [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl.h | 81 u64 v1, u64 v2); 83 const u64 kShadowRodata = (u64)-1; // .rodata shadow marker 93 FastState(u64 tid, u64 epoch) { in FastState() 101 explicit FastState(u64 x) in FastState() 105 u64 raw() const { in raw() 109 u64 tid() const { in tid() 110 u64 res = (x_ & ~kIgnoreBit) >> kTidShift; in tid() 114 u64 TidWithIgnore() const { in TidWithIgnore() 115 u64 res = x_ >> kTidShift; in TidWithIgnore() 119 u64 epoch() const { in epoch() [all …]
|
D | tsan_mutexset.h | 27 u64 id; 28 u64 epoch; 35 void Add(u64 id, bool write, u64 epoch); 36 void Del(u64 id, bool write); 37 void Remove(u64 id); // Removes the mutex completely (if it's destroyed). 60 void MutexSet::Add(u64 id, bool write, u64 epoch) {} in Add() 61 void MutexSet::Del(u64 id, bool write) {} in Del() 62 void MutexSet::Remove(u64 id) {} in Remove()
|
D | tsan_mutexset.cc | 25 void MutexSet::Add(u64 id, bool write, u64 epoch) { in Add() 36 u64 minepoch = (u64)-1; in Add() 37 u64 mini = (u64)-1; in Add() 55 void MutexSet::Del(u64 id, bool write) { in Del() 65 void MutexSet::Remove(u64 id) { in Remove()
|
D | tsan_sync.h | 33 u64 uid; // Globally unique id. 36 u64 last_lock; 49 void Init(ThreadState *thr, uptr pc, uptr addr, u64 uid); 52 u64 GetId() const { in GetId() 54 return GetLsb((u64)addr | (uid << 47), 61); in GetId() 56 bool CheckId(u64 uid) const { in CheckId() 60 static uptr SplitId(u64 id, u64 *uid) { in SplitId()
|
D | tsan_rtl.cc | 110 ThreadState::ThreadState(Context *ctx, int tid, int unique_id, u64 epoch, in ThreadState() 151 const u64 kMs2Ns = 1000 * 1000; in BackgroundThread() 172 u64 last_flush = NanoTime(); in BackgroundThread() 178 u64 now = NanoTime(); in BackgroundThread() 194 (u64)rss >> 20, (u64)last_rss >> 20, (u64)limit >> 20); in BackgroundThread() 199 VPrintf(1, "ThreadSanitizer: memory flushed RSS=%llu\n", (u64)rss>>20); in BackgroundThread() 210 u64 last = atomic_load(&ctx->last_symbolize_time_ns, in BackgroundThread() 546 Shadow LoadShadow(u64 *p) { in LoadShadow() 547 u64 raw = atomic_load((atomic_uint64_t*)p, memory_order_relaxed); in LoadShadow() 552 void StoreShadow(u64 *sp, u64 s) { in StoreShadow() [all …]
|
D | tsan_clock.h | 22 u64 epoch : kClkBits; 23 u64 reused : 64 - kClkBits; 53 u64 get(unsigned tid) const { in get() 87 u64 get(unsigned tid) const { in get() 92 void set(unsigned tid, u64 v); 94 void set(u64 v) { in set() 119 u64 last_acquire_;
|
D | tsan_defs.h | 128 T RoundUp(T p, u64 align) { in RoundUp() 130 return (T)(((u64)p + align - 1) & ~(align - 1)); in RoundUp() 134 T RoundDown(T p, u64 align) { in RoundDown() 136 return (T)((u64)p & ~(align - 1)); in RoundDown() 142 return (T)((u64)v & ((1ull << bits) - 1)); in GetLsb() 146 u64 hash[2]; 162 u64 siz;
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_sync_test.cc | 22 u64 block[1] = {}; // fake malloc block in TEST() 23 m->AllocBlock(thr, 0, (uptr)&block[0], 1 * sizeof(u64)); in TEST() 26 EXPECT_EQ(mb->siz, 1 * sizeof(u64)); in TEST() 29 EXPECT_EQ(sz, 1 * sizeof(u64)); in TEST() 37 u64 block[4] = {}; // fake malloc block in TEST() 38 m->AllocBlock(thr, 0, (uptr)&block[0], 1 * sizeof(u64)); in TEST() 39 m->AllocBlock(thr, 0, (uptr)&block[1], 3 * sizeof(u64)); in TEST() 41 EXPECT_EQ(mb1->siz, 1 * sizeof(u64)); in TEST() 43 EXPECT_EQ(mb2->siz, 3 * sizeof(u64)); in TEST() 44 m->FreeRange(thr->proc(), (uptr)&block[0], 4 * sizeof(u64)); in TEST() [all …]
|
D | tsan_shadow_test.cc | 21 EXPECT_EQ(s.tid(), (u64)11); in TEST() 22 EXPECT_EQ(s.epoch(), (u64)22); in TEST() 26 EXPECT_EQ(s.addr0(), (u64)0); in TEST() 27 EXPECT_EQ(s.size(), (u64)1); in TEST() 31 EXPECT_EQ(s.epoch(), (u64)23); in TEST() 33 EXPECT_EQ(s.epoch(), (u64)24); in TEST() 65 u64 aligned_data[4]; in TEST()
|
/external/squashfs-tools/kernel/fs/squashfs/ |
D | squashfs.h | 36 extern int squashfs_read_data(struct super_block *, void **, u64, int, u64 *, 43 struct squashfs_cache *, u64, int); 46 extern int squashfs_read_metadata(struct super_block *, void *, u64 *, 49 u64, int); 51 u64, int); 52 extern int squashfs_read_table(struct super_block *, void *, u64, int); 55 extern __le64 *squashfs_read_inode_lookup_table(struct super_block *, u64, 59 extern int squashfs_frag_lookup(struct super_block *, unsigned int, u64 *); 61 u64, unsigned int); 65 extern __le64 *squashfs_read_id_index_table(struct super_block *, u64,
|
/external/compiler-rt/lib/asan/ |
D | asan_mapping.h | 127 static const u64 kDefaultShadowScale = 3; 128 static const u64 kDefaultShadowOffset32 = 1ULL << 29; // 0x20000000 129 static const u64 kDefaultShadowOffset64 = 1ULL << 44; 130 static const u64 kDefaultShort64bitShadowOffset = 0x7FFF8000; // < 2G. 131 static const u64 kIosShadowOffset32 = 1ULL << 30; // 0x40000000 132 static const u64 kIosShadowOffset64 = 0x120200000; 133 static const u64 kIosSimShadowOffset32 = 1ULL << 30; 134 static const u64 kIosSimShadowOffset64 = kDefaultShadowOffset64; 135 static const u64 kAArch64_ShadowOffset64 = 1ULL << 36; 136 static const u64 kMIPS32_ShadowOffset32 = 0x0aaa0000; [all …]
|
/external/wpa_supplicant_8/src/utils/ |
D | common.h | 80 typedef UINT64 u64; typedef 92 typedef unsigned long long u64; typedef 109 typedef uint64_t u64; typedef 173 #define le_to_host64(n) ((__force u64) (le64) (n)) 174 #define host_to_le64(n) ((__force le64) (u64) (n)) 175 #define be_to_host64(n) bswap_64((__force u64) (be64) (n)) 263 static inline u64 WPA_GET_BE64(const u8 *a) in WPA_GET_BE64() 265 return (((u64) a[0]) << 56) | (((u64) a[1]) << 48) | in WPA_GET_BE64() 266 (((u64) a[2]) << 40) | (((u64) a[3]) << 32) | in WPA_GET_BE64() 267 (((u64) a[4]) << 24) | (((u64) a[5]) << 16) | in WPA_GET_BE64() [all …]
|
/external/llvm/test/CodeGen/NVPTX/ |
D | local-stack-frame.ll | 10 ; PTX64: mov.u64 %SPL, __local_depot{{[0-9]+}}; 11 ; PTX64: cvta.local.u64 %SP, %SPL; 25 ; PTX64: mov.u64 %SPL, __local_depot{{[0-9]+}}; 26 ; PTX64: cvta.local.u64 %SP, %SPL; 28 ; PTX64: add.u64 %rd[[SP_REG:[0-9]+]], %SPL, 0; 47 ; PTX64: mov.u64 %SPL, __local_depot{{[0-9]+}}; 48 ; PTX64-NOT: cvta.local.u64 %SP, %SPL; 50 ; PTX64: add.u64 %rd{{[0-9]+}}, %SPL, 0; 67 ; PTX64: cvta.local.u64 %SP, %SPL; 68 ; PTX64: add.u64 {{%rd[0-9]+}}, %SP, 0; [all …]
|
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
D | ebb.c | 31 u64 sample_period = 0x40000000ull; 35 u64 val; in reset_ebb_with_clear_mask() 59 u64 val; in ebb_check_mmcr0() 71 bool ebb_check_count(int pmc, u64 sample_period, int fudge) in ebb_check_count() 73 u64 count, upper, lower; in ebb_check_count() 102 u64 val; in standard_ebb_callee() 133 u64 entry; in setup_ebb_handler() 136 entry = (u64)ebb_handler; in setup_ebb_handler() 140 u64 entry; in setup_ebb_handler() 141 u64 toc; in setup_ebb_handler() [all …]
|
D | trace.c | 15 struct trace_buffer *trace_buffer_allocate(u64 size) in trace_buffer_allocate() 87 int trace_log_reg(struct trace_buffer *tb, u64 reg, u64 value) in trace_log_reg() 90 u64 *p; in trace_log_reg() 97 p = (u64 *)e->data; in trace_log_reg() 104 int trace_log_counter(struct trace_buffer *tb, u64 value) in trace_log_counter() 107 u64 *p; in trace_log_counter() 114 p = (u64 *)e->data; in trace_log_counter() 202 u64 *p, *reg, *value; in trace_print_reg() 205 p = (u64 *)e->data; in trace_print_reg() 218 u64 *value; in trace_print_counter() [all …]
|
/external/compiler-rt/lib/esan/ |
D | cache_frag.cpp | 34 u64 *FieldCounters; 35 u64 *ArrayCounter; 49 u64 Count; // The total access count of the struct. 50 u64 Ratio; // Difference ratio for the struct layout access. 58 u64 TotalCount; // The total access count of all structs. 71 static inline u64 computeDifferenceRatio(u64 Val1, u64 Val2) { in computeDifferenceRatio() 126 if (Handle->Ratio >= (u64)getFlags()->report_threshold || in computeStructRatio() 192 static u64 CtxMem[sizeof(Context) / sizeof(u64) + 1]; in initializeCacheFrag()
|
/external/f2fs-tools/fsck/ |
D | defrag.c | 12 static int migrate_block(struct f2fs_sb_info *sbi, u64 from, u64 to) in migrate_block() 17 u64 offset; in migrate_block() 63 int f2fs_defragment(struct f2fs_sb_info *sbi, u64 from, u64 len, u64 to, int left) in f2fs_defragment() 66 u64 idx, offset; in f2fs_defragment() 72 u64 target = to; in f2fs_defragment()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ |
D | event.h | 21 u64 value; 22 u64 running; 23 u64 enabled; 27 void event_init(struct event *e, u64 config); 28 void event_init_named(struct event *e, u64 config, char *name); 29 void event_init_opts(struct event *e, u64 config, int type, char *name);
|
/external/llvm/test/MC/ARM/ |
D | neon-shift-encoding.s | 7 vshl.u64 d16, d17, d16 15 vshl.u64 q8, q9, q8 24 @ CHECK: vshl.u64 d16, d17, d16 @ encoding: [0xa1,0x04,0x70,0xf3] 32 @ CHECK: vshl.u64 q8, q9, q8 @ encoding: [0xe2,0x04,0x70,0xf3] 42 vshr.u64 d16, d16, #63 46 vshr.u64 q8, q8, #63 59 @ CHECK: vshr.u64 d16, d16, #63 @ encoding: [0xb0,0x00,0xc1,0xf3] 63 @ CHECK: vshr.u64 q8, q8, #63 @ encoding: [0xf0,0x00,0xc1,0xf3] 77 vshr.u64 d16, #63 81 vshr.u64 q8, #63 [all …]
|
/external/syslinux/gpxe/src/drivers/net/ |
D | etherfabric.h | 112 uint64_t u64[1]; member 123 uint64_t u64[2]; member 190 ( EFAB_EXTRACT64 ( (oword).u64[0], 0, 63, low, high ) | \ 191 EFAB_EXTRACT64 ( (oword).u64[1], 64, 127, low, high ) ) 194 ( EFAB_EXTRACT64 ( (qword).u64[0], 0, 63, low, high ) ) 235 ( ! ( (oword).u64[0] || (oword).u64[1] ) ) 238 ( ! ( (qword).u64[0] ) ) 251 ( ( (oword).u64[0] & (oword).u64[1] ) == ~( ( uint64_t ) 0 ) ) 254 ( (qword).u64[0] == ~( ( uint64_t ) 0 ) ) 351 (oword).u64[0] = EFAB_INSERT_FIELDS64 ( 0, 63, __VA_ARGS__ );\ [all …]
|