/external/clang/test/CodeGen/ |
D | atomic.c | 5 int old; in atomic() local 13 old = __sync_fetch_and_add(&val, 1); in atomic() 16 old = __sync_fetch_and_sub(&valc, 2); in atomic() 19 old = __sync_fetch_and_min(&val, 3); in atomic() 22 old = __sync_fetch_and_max(&val, 4); in atomic() 25 old = __sync_fetch_and_umin(&uval, 5u); in atomic() 28 old = __sync_fetch_and_umax(&uval, 6u); in atomic() 31 old = __sync_lock_test_and_set(&val, 7); in atomic() 34 old = __sync_swap(&val, 8); in atomic() 37 old = __sync_val_compare_and_swap(&val, 4, 1976); in atomic() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | irel_ma.c | 27 static errcode_t ima_put(ext2_irel irel, ext2_ino_t old, 29 static errcode_t ima_get(ext2_irel irel, ext2_ino_t old, 31 static errcode_t ima_get_by_orig(ext2_irel irel, ext2_ino_t orig, ext2_ino_t *old, 34 static errcode_t ima_next(ext2_irel irel, ext2_ino_t *old, 40 static errcode_t ima_move(ext2_irel irel, ext2_ino_t old, ext2_ino_t new); 41 static errcode_t ima_delete(ext2_irel irel, ext2_ino_t old); 140 static errcode_t ima_put(ext2_irel irel, ext2_ino_t old, 149 if (old > ma->max_inode) 156 if (ma->entries[(unsigned) old].new == 0) 157 ent->orig = old; [all …]
|
D | brel_ma.c | 30 static errcode_t bma_put(ext2_brel brel, blk64_t old, 32 static errcode_t bma_get(ext2_brel brel, blk64_t old, 35 static errcode_t bma_next(ext2_brel brel, blk64_t *old, 37 static errcode_t bma_move(ext2_brel brel, blk64_t old, blk64_t new); 38 static errcode_t bma_delete(ext2_brel brel, blk64_t old); 105 static errcode_t bma_put(ext2_brel brel, blk64_t old, in bma_put() argument 111 if (old > ma->max_block) in bma_put() 113 ma->entries[(unsigned)old] = *ent; in bma_put() 117 static errcode_t bma_get(ext2_brel brel, blk64_t old, in bma_get() argument 123 if (old > ma->max_block) in bma_get() [all …]
|
D | irel.h | 35 errcode_t (*put)(ext2_irel irel, ext2_ino_t old, 40 errcode_t (*get)(ext2_irel irel, ext2_ino_t old, 46 errcode_t (*get_by_orig)(ext2_irel irel, ext2_ino_t orig, ext2_ino_t *old, 58 errcode_t (*next)(ext2_irel irel, ext2_ino_t *old, 86 errcode_t (*move)(ext2_irel irel, ext2_ino_t old, ext2_ino_t new); 92 errcode_t (*delete)(ext2_irel irel, ext2_ino_t old); 103 #define ext2fs_irel_put(irel, old, ent) ((irel)->put((irel), old, ent)) argument 104 #define ext2fs_irel_get(irel, old, ent) ((irel)->get((irel), old, ent)) argument 105 #define ext2fs_irel_get_by_orig(irel, orig, old, ent) \ argument 106 ((irel)->get_by_orig((irel), orig, old, ent)) [all …]
|
D | brel.h | 37 errcode_t (*put)(ext2_brel brel, blk64_t old, 43 errcode_t (*get)(ext2_brel brel, blk64_t old, 55 errcode_t (*next)(ext2_brel brel, blk64_t *old, 62 errcode_t (*move)(ext2_brel brel, blk64_t old, blk_t new); 67 errcode_t (*delete)(ext2_brel brel, blk64_t old); 79 #define ext2fs_brel_put(brel, old, ent) ((brel)->put((brel), old, ent)) argument 80 #define ext2fs_brel_get(brel, old, ent) ((brel)->get((brel), old, ent)) argument 82 #define ext2fs_brel_next(brel, old, ent) ((brel)->next((brel), old, ent)) argument 83 #define ext2fs_brel_move(brel, old, new) ((brel)->move((brel), old, new)) argument 84 #define ext2fs_brel_delete(brel, old) ((brel)->delete((brel), old)) argument
|
/external/clang/test/SemaCXX/ |
D | constexpr-turing.cpp | 19 constexpr Tape(const Tape &old, bool write) : in Tape() 20 l(old.l), val(write), r(old.r) {} in Tape() 21 constexpr Tape(const Tape &old, Dir dir) : in Tape() 22 l(dir == L ? old.l ? old.l->l : 0 : &old), in Tape() 23 val(dir == L ? old.l ? old.l->val : false in Tape() 24 : old.r ? old.r->val : false), in Tape() 25 r(dir == R ? old.r ? old.r->r : 0 : &old) {} in Tape() 30 constexpr Tape update(const Tape &old, bool write) { return Tape(old, write); } in update() argument 31 constexpr Tape move(const Tape &old, Dir dir) { return Tape(old, dir); } in move() argument
|
/external/ltp/ |
D | gen.bp | 21 local_include_dirs: ["include/old"], 30 local_include_dirs: ["include/old"], 39 local_include_dirs: ["include/old"], 48 local_include_dirs: ["include/old"], 59 "include/old", 69 local_include_dirs: ["include/old"], 79 "include/old", 92 "include/old", 104 "include/old", 116 "include/old", [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_update_shadow_word_inl.h | 20 old = LoadShadow(sp); 21 if (old.IsZero()) { 30 if (Shadow::Addr0AndSizeAreEqual(cur, old)) { 33 if (Shadow::TidsAreEqual(old, cur)) { 35 if (old.IsRWWeakerOrEqual(kAccessIsWrite, kIsAtomic)) 40 if (HappensBefore(old, thr)) { 41 if (old.IsRWWeakerOrEqual(kAccessIsWrite, kIsAtomic)) 45 if (old.IsBothReadsOrAtomic(kAccessIsWrite, kIsAtomic)) 50 if (Shadow::TwoRangesIntersect(old, cur, kAccessSize)) { 52 if (Shadow::TidsAreEqual(old, cur)) { [all …]
|
/external/strace/tests/ |
D | xetitimer.c | 39 } old = { in main() local 49 if (setitimer(ITIMER_REAL, &new.itv, &old.itv)) in main() 60 (intmax_t) old.itv.it_interval.tv_sec, in main() 61 (intmax_t) old.itv.it_interval.tv_usec, in main() 62 (intmax_t) old.itv.it_value.tv_sec, in main() 63 (intmax_t) old.itv.it_value.tv_usec); in main() 65 if (getitimer(ITIMER_REAL, &old.itv)) in main() 70 (intmax_t) old.itv.it_interval.tv_sec, in main() 71 (intmax_t) old.itv.it_interval.tv_usec, in main() 72 (intmax_t) old.itv.it_value.tv_sec, in main() [all …]
|
D | timerfd_xettime.c | 53 } old = { in main() local 67 if (syscall(__NR_timerfd_settime, 0, 0, &new.its, &old.its)) in main() 79 (intmax_t) old.its.it_interval.tv_sec, in main() 80 (intmax_t) old.its.it_interval.tv_nsec, in main() 81 (intmax_t) old.its.it_value.tv_sec, in main() 82 (intmax_t) old.its.it_value.tv_nsec); in main() 84 if (syscall(__NR_timerfd_gettime, 0, &old.its)) in main() 89 (intmax_t) old.its.it_interval.tv_sec, in main() 90 (intmax_t) old.its.it_interval.tv_nsec, in main() 91 (intmax_t) old.its.it_value.tv_sec, in main() [all …]
|
D | timer_xettime.c | 61 } old = { in main() local 75 if (syscall(__NR_timer_settime, tid, 0, &new.its, &old.its)) in main() 88 (intmax_t) old.its.it_interval.tv_sec, in main() 89 (intmax_t) old.its.it_interval.tv_nsec, in main() 90 (intmax_t) old.its.it_value.tv_sec, in main() 91 (intmax_t) old.its.it_value.tv_nsec); in main() 93 if (syscall(__NR_timer_gettime, tid, &old.its)) in main() 99 (intmax_t) old.its.it_interval.tv_sec, in main() 100 (intmax_t) old.its.it_interval.tv_nsec, in main() 101 (intmax_t) old.its.it_value.tv_sec, in main() [all …]
|
/external/strace/tests-mx32/ |
D | xetitimer.c | 39 } old = { in main() local 49 if (setitimer(ITIMER_REAL, &new.itv, &old.itv)) in main() 60 (intmax_t) old.itv.it_interval.tv_sec, in main() 61 (intmax_t) old.itv.it_interval.tv_usec, in main() 62 (intmax_t) old.itv.it_value.tv_sec, in main() 63 (intmax_t) old.itv.it_value.tv_usec); in main() 65 if (getitimer(ITIMER_REAL, &old.itv)) in main() 70 (intmax_t) old.itv.it_interval.tv_sec, in main() 71 (intmax_t) old.itv.it_interval.tv_usec, in main() 72 (intmax_t) old.itv.it_value.tv_sec, in main() [all …]
|
D | timerfd_xettime.c | 53 } old = { in main() local 67 if (syscall(__NR_timerfd_settime, 0, 0, &new.its, &old.its)) in main() 79 (intmax_t) old.its.it_interval.tv_sec, in main() 80 (intmax_t) old.its.it_interval.tv_nsec, in main() 81 (intmax_t) old.its.it_value.tv_sec, in main() 82 (intmax_t) old.its.it_value.tv_nsec); in main() 84 if (syscall(__NR_timerfd_gettime, 0, &old.its)) in main() 89 (intmax_t) old.its.it_interval.tv_sec, in main() 90 (intmax_t) old.its.it_interval.tv_nsec, in main() 91 (intmax_t) old.its.it_value.tv_sec, in main() [all …]
|
D | timer_xettime.c | 61 } old = { in main() local 75 if (syscall(__NR_timer_settime, tid, 0, &new.its, &old.its)) in main() 88 (intmax_t) old.its.it_interval.tv_sec, in main() 89 (intmax_t) old.its.it_interval.tv_nsec, in main() 90 (intmax_t) old.its.it_value.tv_sec, in main() 91 (intmax_t) old.its.it_value.tv_nsec); in main() 93 if (syscall(__NR_timer_gettime, tid, &old.its)) in main() 99 (intmax_t) old.its.it_interval.tv_sec, in main() 100 (intmax_t) old.its.it_interval.tv_nsec, in main() 101 (intmax_t) old.its.it_value.tv_sec, in main() [all …]
|
/external/strace/tests-m32/ |
D | xetitimer.c | 39 } old = { in main() local 49 if (setitimer(ITIMER_REAL, &new.itv, &old.itv)) in main() 60 (intmax_t) old.itv.it_interval.tv_sec, in main() 61 (intmax_t) old.itv.it_interval.tv_usec, in main() 62 (intmax_t) old.itv.it_value.tv_sec, in main() 63 (intmax_t) old.itv.it_value.tv_usec); in main() 65 if (getitimer(ITIMER_REAL, &old.itv)) in main() 70 (intmax_t) old.itv.it_interval.tv_sec, in main() 71 (intmax_t) old.itv.it_interval.tv_usec, in main() 72 (intmax_t) old.itv.it_value.tv_sec, in main() [all …]
|
D | timerfd_xettime.c | 53 } old = { in main() local 67 if (syscall(__NR_timerfd_settime, 0, 0, &new.its, &old.its)) in main() 79 (intmax_t) old.its.it_interval.tv_sec, in main() 80 (intmax_t) old.its.it_interval.tv_nsec, in main() 81 (intmax_t) old.its.it_value.tv_sec, in main() 82 (intmax_t) old.its.it_value.tv_nsec); in main() 84 if (syscall(__NR_timerfd_gettime, 0, &old.its)) in main() 89 (intmax_t) old.its.it_interval.tv_sec, in main() 90 (intmax_t) old.its.it_interval.tv_nsec, in main() 91 (intmax_t) old.its.it_value.tv_sec, in main() [all …]
|
D | timer_xettime.c | 61 } old = { in main() local 75 if (syscall(__NR_timer_settime, tid, 0, &new.its, &old.its)) in main() 88 (intmax_t) old.its.it_interval.tv_sec, in main() 89 (intmax_t) old.its.it_interval.tv_nsec, in main() 90 (intmax_t) old.its.it_value.tv_sec, in main() 91 (intmax_t) old.its.it_value.tv_nsec); in main() 93 if (syscall(__NR_timer_gettime, tid, &old.its)) in main() 99 (intmax_t) old.its.it_interval.tv_sec, in main() 100 (intmax_t) old.its.it_interval.tv_nsec, in main() 101 (intmax_t) old.its.it_value.tv_sec, in main() [all …]
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_fence.c | 161 uint32_t old; in vmw_fence_signalled() local 167 old = p_atomic_read(&vfence->signalled); in vmw_fence_signalled() 171 if ((old & vflags) == vflags) in vmw_fence_signalled() 177 int32_t prev = old; in vmw_fence_signalled() 180 old = prev; in vmw_fence_signalled() 181 prev = p_atomic_cmpxchg(&vfence->signalled, old, old | vflags); in vmw_fence_signalled() 182 } while (prev != old); in vmw_fence_signalled() 206 uint32_t old; in vmw_fence_finish() local 212 old = p_atomic_read(&vfence->signalled); in vmw_fence_finish() 215 if ((old & vflags) == vflags) in vmw_fence_finish() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | atomic-ops-ancient-64.ll | 7 %old = atomicrmw add i64* %addr, i64 %inc seq_cst 8 ret i64 %old 14 %old = atomicrmw sub i64* %addr, i64 %inc seq_cst 15 ret i64 %old 21 %old = atomicrmw and i64* %andr, i64 %inc seq_cst 22 ret i64 %old 28 %old = atomicrmw or i64* %orr, i64 %inc seq_cst 29 ret i64 %old 35 %old = atomicrmw xor i64* %xorr, i64 %inc seq_cst 36 ret i64 %old [all …]
|
D | atomic_op.ll | 14 %old = alloca i32 ; <i32*> [#uses=18] 29 store i32 %0, i32* %old 33 store i32 %1, i32* %old 37 store i32 %2, i32* %old 41 store i32 %3, i32* %old 46 store i32 %4, i32* %old 51 store i32 %5, i32* %old 56 store i32 %6, i32* %old 61 store i32 %7, i32* %old 67 store i32 %8, i32* %old [all …]
|
/external/llvm/test/CodeGen/SystemZ/ |
D | and-08.ll | 17 %old = load i8 , i8 *%ptr2 18 %and = and i8 %val, %old 30 %old = load i8 , i8 *%ptr2 31 %and = and i8 %old, %val 45 %old = load i8 , i8 *%ptr2 46 %extold = sext i8 %old to i32 61 %old = load i8 , i8 *%ptr2 62 %extold = zext i8 %old to i32 77 %old = load i8 , i8 *%ptr2 78 %extold = sext i8 %old to i32 [all …]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
D | atomic_op.ll | 14 %old = alloca i32 ; <i32*> [#uses=18] 28 store i32 %0, i32* %old 32 store i32 %1, i32* %old 36 store i32 %2, i32* %old 40 store i32 %3, i32* %old 45 store i32 %4, i32* %old 50 store i32 %5, i32* %old 55 store i32 %6, i32* %old 60 store i32 %7, i32* %old 66 store i32 %8, i32* %old [all …]
|
/external/libcxx/utils/libcxx/sym_check/ |
D | diff.py | 31 def added_symbols(old, new): argument 32 return _symbol_difference(new, old) 35 def removed_symbols(old, new): argument 36 return _symbol_difference(old, new) 39 def changed_symbols(old, new): argument 41 for old_sym in old: 45 if (new_sym is not None and not new_sym in old 51 def diff(old, new): argument 52 added = added_symbols(old, new) 53 removed = removed_symbols(old, new) [all …]
|
/external/e2fsprogs/tests/progs/ |
D | test_rel.c | 93 static void display_brel_entry(blk_t old, in display_brel_entry() argument 96 printf("Old= %u, New= %u, Owner= %u:%u\n", old, ent->new, in display_brel_entry() 103 static void display_irel_entry(ext2_ino_t old, in display_irel_entry() argument 111 printf("Old= %lu, New= %lu, Original=%lu, Max_refs=%u\n", old, in display_irel_entry() 116 retval = ext2fs_irel_start_iter_ref(irel, old); in display_irel_entry() 178 blk_t old, new, offset=0, owner=0; in do_brel_put() local 187 if (parse_block(argv[0], "old block", argv[1], &old)) in do_brel_put() 206 retval = ext2fs_brel_put(brel, old, &ent); in do_brel_put() 308 blk_t old, new; in do_brel_move() local 316 if (parse_block(argv[0], "old block", argv[1], &old)) in do_brel_move() [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | atomicrmw_minmax.ll | 7 ; CHECK: cmp [[old:r[0-9]*]], [[val:r[0-9]*]] 8 ; CHECK: movhi {{r[0-9]*}}, [[old]] 9 %old = atomicrmw umax i32* %ptr, i32 %val monotonic 10 ret i32 %old 17 ; CHECK: cmp [[old:r[0-9]*]], [[val:r[0-9]*]] 18 ; CHECK: movls {{r[0-9]*}}, [[old]] 19 %old = atomicrmw umin i32* %ptr, i32 %val monotonic 20 ret i32 %old
|