/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/opencv3/modules/cudev/include/opencv2/cudev/util/ |
D | atomic.hpp | 74 int old = *address_as_i, assumed; in atomicAdd() 76 assumed = old; in atomicAdd() 77 old = ::atomicCAS(address_as_i, assumed, in atomicAdd() 79 } while (assumed != old); in atomicAdd() 80 return __int_as_float(old); in atomicAdd() 88 unsigned long long int old = *address_as_ull, assumed; in atomicAdd() local 90 assumed = old; in atomicAdd() 91 old = ::atomicCAS(address_as_ull, assumed, in atomicAdd() 93 } while (assumed != old); in atomicAdd() 94 return __longlong_as_double(old); in atomicAdd() [all …]
|
/external/opencv3/modules/core/include/opencv2/core/cuda/ |
D | emulation.hpp | 159 int old = *address_as_i, assumed; in atomicAdd() 161 assumed = old; in atomicAdd() 162 old = ::atomicCAS(address_as_i, assumed, in atomicAdd() 164 } while (assumed != old); in atomicAdd() 165 return __int_as_float(old); in atomicAdd() 172 unsigned long long int old = *address_as_ull, assumed; in atomicAdd() local 174 assumed = old; in atomicAdd() 175 old = ::atomicCAS(address_as_ull, assumed, in atomicAdd() 177 } while (assumed != old); in atomicAdd() 178 return __longlong_as_double(old); in atomicAdd() [all …]
|
/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/e2fsprogs/lib/ext2fs/ |
D | irel_ma.c | 26 static errcode_t ima_put(ext2_irel irel, ext2_ino_t old, 28 static errcode_t ima_get(ext2_irel irel, ext2_ino_t old, 30 static errcode_t ima_get_by_orig(ext2_irel irel, ext2_ino_t orig, ext2_ino_t *old, 33 static errcode_t ima_next(ext2_irel irel, ext2_ino_t *old, 39 static errcode_t ima_move(ext2_irel irel, ext2_ino_t old, ext2_ino_t new); 40 static errcode_t ima_delete(ext2_irel irel, ext2_ino_t old); 139 static errcode_t ima_put(ext2_irel irel, ext2_ino_t old, 148 if (old > ma->max_inode) 155 if (ma->entries[(unsigned) old].new == 0) 156 ent->orig = old; [all …]
|
D | brel_ma.c | 29 static errcode_t bma_put(ext2_brel brel, blk64_t old, 31 static errcode_t bma_get(ext2_brel brel, blk64_t old, 34 static errcode_t bma_next(ext2_brel brel, blk64_t *old, 36 static errcode_t bma_move(ext2_brel brel, blk64_t old, blk64_t new); 37 static errcode_t bma_delete(ext2_brel brel, blk64_t old); 104 static errcode_t bma_put(ext2_brel brel, blk64_t old, in bma_put() argument 110 if (old > ma->max_block) in bma_put() 112 ma->entries[(unsigned)old] = *ent; in bma_put() 116 static errcode_t bma_get(ext2_brel brel, blk64_t old, in bma_get() argument 122 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/skia/bench/ |
D | bench_compare.py | 39 def __init__(self, old, new): argument 40 self.old = old 42 self.diff = old.time - new.time 44 if old.time != 0: 45 diffp = self.diff / old.time 51 str(self.old), 64 old = None 76 old = value 93 if old is None or new is None: 97 old_benches = bench_util.parse({}, open(old, 'r'), stat_type) [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 | 38 } old = { in main() local 48 if (setitimer(ITIMER_REAL, &new.itv, &old.itv)) in main() 58 (intmax_t) old.itv.it_interval.tv_sec, in main() 59 (intmax_t) old.itv.it_interval.tv_usec, in main() 60 (intmax_t) old.itv.it_value.tv_sec, in main() 61 (intmax_t) old.itv.it_value.tv_usec); in main() 63 if (getitimer(ITIMER_REAL, &old.itv)) in main() 68 (intmax_t) old.itv.it_interval.tv_sec, in main() 69 (intmax_t) old.itv.it_interval.tv_usec, in main() 70 (intmax_t) old.itv.it_value.tv_sec, in main() [all …]
|
D | timerfd_xettime.c | 55 } old = { in main() local 65 if (syscall(__NR_timerfd_settime, 0, 0, &new.its, &old.its)) in main() 75 (intmax_t) old.its.it_interval.tv_sec, in main() 76 (intmax_t) old.its.it_interval.tv_nsec, in main() 77 (intmax_t) old.its.it_value.tv_sec, in main() 78 (intmax_t) old.its.it_value.tv_nsec); in main() 80 if (syscall(__NR_timerfd_gettime, 0, &old.its)) in main() 85 (intmax_t) old.its.it_interval.tv_sec, in main() 86 (intmax_t) old.its.it_interval.tv_nsec, in main() 87 (intmax_t) old.its.it_value.tv_sec, in main() [all …]
|
D | timer_xettime.c | 57 } old = { in main() local 67 if (syscall(__NR_timer_settime, tid, 0, &new.its, &old.its)) in main() 78 (intmax_t) old.its.it_interval.tv_sec, in main() 79 (intmax_t) old.its.it_interval.tv_nsec, in main() 80 (intmax_t) old.its.it_value.tv_sec, in main() 81 (intmax_t) old.its.it_value.tv_nsec); in main() 83 if (syscall(__NR_timer_gettime, tid, &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 …]
|
/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/libcxx/utils/sym_check/sym_check/ |
D | diff.py | 23 def added_symbols(old, new): argument 24 return _symbol_difference(new, old) 27 def removed_symbols(old, new): argument 28 return _symbol_difference(old, new) 31 def changed_symbols(old, new): argument 33 for old_sym in old: 37 if (new_sym is not None and not new_sym in old 43 def diff(old, new): argument 44 added = added_symbols(old, new) 45 removed = removed_symbols(old, new) [all …]
|
/external/e2fsprogs/tests/progs/ |
D | test_rel.c | 92 static void display_brel_entry(blk_t old, in display_brel_entry() argument 95 printf("Old= %u, New= %u, Owner= %u:%u\n", old, ent->new, in display_brel_entry() 102 static void display_irel_entry(ext2_ino_t old, in display_irel_entry() argument 110 printf("Old= %lu, New= %lu, Original=%lu, Max_refs=%u\n", old, in display_irel_entry() 115 retval = ext2fs_irel_start_iter_ref(irel, old); in display_irel_entry() 177 blk_t old, new, offset=0, owner=0; in do_brel_put() local 186 if (parse_block(argv[0], "old block", argv[1], &old)) in do_brel_put() 205 retval = ext2fs_brel_put(brel, old, &ent); in do_brel_put() 307 blk_t old, new; in do_brel_move() local 315 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
|
/external/opencv/cvaux/src/ |
D | cvclique.cpp | 281 int* old = All[k]; 307 int p = old[i]; //current point 314 if ( !connected[p][old[j]] ) 352 int i, p = old[s[k]]; 353 old[s[k]] = old[ne[k]]; 354 int sel = old[ne[k]] = p; 360 if (connected[sel][old[i]]) 362 new_[newne] = old[i]; 375 if (connected[sel][old[i]]) 377 new_[newce] = old[i]; [all …]
|
/external/valgrind/helgrind/tests/ |
D | annotate_hbefore.c | 29 UWord old, success; in do_acasW() local 34 : /*out*/ "=b"(old) in do_acasW() 40 if (old != expected) return 0; in do_acasW() 62 UWord old, success; in do_acasW() local 67 : /*out*/ "=b"(old) in do_acasW() 73 if (old != expected) return 0; in do_acasW() 143 UWord old, success; in do_acasW() local 149 : /*out*/ "=r"(old) in do_acasW() 154 if (old != expected) return 0; in do_acasW() 176 UWord old, success; in do_acasW() local [all …]
|
/external/mesa3d/src/mesa/main/ |
D | shaderobj.c | 67 struct gl_shader *old = *ptr; in _mesa_reference_shader() local 69 ASSERT(old->RefCount > 0); in _mesa_reference_shader() 70 old->RefCount--; in _mesa_reference_shader() 73 deleteFlag = (old->RefCount == 0); in _mesa_reference_shader() 76 if (old->Name != 0) in _mesa_reference_shader() 77 _mesa_HashRemove(ctx->Shared->ShaderObjects, old->Name); in _mesa_reference_shader() 78 ctx->Driver.DeleteShader(ctx, old); in _mesa_reference_shader() 207 struct gl_shader_program *old = *ptr; in _mesa_reference_shader_program() local 209 ASSERT(old->RefCount > 0); in _mesa_reference_shader_program() 210 old->RefCount--; in _mesa_reference_shader_program() [all …]
|
/external/javassist/src/main/javassist/bytecode/analysis/ |
D | Analyzer.java | 277 Frame old = frames[target]; in merge() local 280 if (old == null) { in merge() 284 changed = old.merge(frame); in merge() 310 Frame old = frames[next]; in mergeJsr() local 313 if (old == null) { in mergeJsr() 314 old = frames[next] = frame.copy(); in mergeJsr() 320 Type oldType = old.getLocal(i); in mergeJsr() 323 old.setLocal(i, newType); in mergeJsr() 330 old.setLocal(i, newType); in mergeJsr() 337 if (! old.isJsrMerged()) { in mergeJsr() [all …]
|
/external/ipsec-tools/src/racoon/ |
D | debugrm.h | 47 #define racoon_realloc(old, sz) realloc((old), (sz)) argument 65 #define racoon_realloc(old, sz) \ argument 66 DRM_realloc(__FILE__, __LINE__, __func__, (old), (sz)) 89 #define vdup(old) \ argument 90 DRM_vdup(__FILE__, __LINE__, __func__, (old)) 91 #define vrealloc(old, sz) \ argument 92 DRM_vrealloc(__FILE__, __LINE__, __func__, (old), (sz))
|