/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/clang/test/SemaCXX/ |
D | constexpr-turing.cpp | 18 constexpr Tape(const Tape &old, bool write) : in Tape() 19 l(old.l), val(write), r(old.r) {} in Tape() 20 constexpr Tape(const Tape &old, Dir dir) : in Tape() 21 l(dir == L ? old.l ? old.l->l : 0 : &old), in Tape() 22 val(dir == L ? old.l ? old.l->val : false in Tape() 23 : old.r ? old.r->val : false), in Tape() 24 r(dir == R ? old.r ? old.r->r : 0 : &old) {} in Tape() 29 constexpr Tape update(const Tape &old, bool write) { return Tape(old, write); } in update() argument 30 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, blk_t old, 31 static errcode_t bma_get(ext2_brel brel, blk_t old, 34 static errcode_t bma_next(ext2_brel brel, blk_t *old, 36 static errcode_t bma_move(ext2_brel brel, blk_t old, blk_t new); 37 static errcode_t bma_delete(ext2_brel brel, blk_t old); 104 static errcode_t bma_put(ext2_brel brel, blk_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, blk_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, blk_t old, 43 errcode_t (*get)(ext2_brel brel, blk_t old, 55 errcode_t (*next)(ext2_brel brel, blk_t *old, 62 errcode_t (*move)(ext2_brel brel, blk_t old, blk_t new); 67 errcode_t (*delete)(ext2_brel brel, blk_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 | 30 def __init__(self, old, new): argument 31 self.old = old 33 self.diff = old.time - new.time 35 if old.time != 0: 36 diffp = self.diff / old.time 42 str(self.old), 74 old = None 83 old = value 94 if old is None or new is None: 117 old_benches = bench_util.parse({}, open(old, 'r')) [all …]
|
/external/kernel-headers/original/asm-x86/ |
D | cmpxchg_32.h | 119 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() argument 127 : "q"(new), "m"(*__xg(ptr)), "0"(old) in __cmpxchg() 133 : "r"(new), "m"(*__xg(ptr)), "0"(old) in __cmpxchg() 139 : "r"(new), "m"(*__xg(ptr)), "0"(old) in __cmpxchg() 143 return old; in __cmpxchg() 152 unsigned long old, in __sync_cmpxchg() argument 160 : "q"(new), "m"(*__xg(ptr)), "0"(old) in __sync_cmpxchg() 166 : "r"(new), "m"(*__xg(ptr)), "0"(old) in __sync_cmpxchg() 172 : "r"(new), "m"(*__xg(ptr)), "0"(old) in __sync_cmpxchg() 176 return old; in __sync_cmpxchg() [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | atomic-op.ll | 13 %old = alloca i32 ; <i32*> [#uses=18] 28 store i32 %0, i32* %old 33 store i32 %1, i32* %old 38 store i32 %2, i32* %old 43 store i32 %3, i32* %old 48 store i32 %4, i32* %old 53 store i32 %5, i32* %old 58 store i32 %6, i32* %old 63 store i32 %7, i32* %old 69 store i32 %8, i32* %old [all …]
|
/external/kernel-headers/original/asm-generic/bitops/ |
D | atomic.h | 133 unsigned long old; in test_and_set_bit() local 137 old = *p; in test_and_set_bit() 138 *p = old | mask; in test_and_set_bit() 141 return (old & mask) != 0; in test_and_set_bit() 157 unsigned long old; in test_and_clear_bit() local 161 old = *p; in test_and_clear_bit() 162 *p = old & ~mask; in test_and_clear_bit() 165 return (old & mask) != 0; in test_and_clear_bit() 180 unsigned long old; in test_and_change_bit() local 184 old = *p; in test_and_change_bit() [all …]
|
D | non-atomic.h | 64 unsigned long old = *p; in __test_and_set_bit() local 66 *p = old | mask; in __test_and_set_bit() 67 return (old & mask) != 0; in __test_and_set_bit() 83 unsigned long old = *p; in __test_and_clear_bit() local 85 *p = old & ~mask; in __test_and_clear_bit() 86 return (old & mask) != 0; in __test_and_clear_bit() 95 unsigned long old = *p; in __test_and_change_bit() local 97 *p = old ^ mask; in __test_and_change_bit() 98 return (old & mask) != 0; in __test_and_change_bit()
|
/external/kernel-headers/original/asm-mips/ |
D | cmpxchg.h | 15 #define __cmpxchg_asm(ld, st, m, old, new) \ argument 34 : "R" (*m), "Jr" (old), "Jr" (new) \ 54 : "R" (*m), "Jr" (old), "Jr" (new) \ 61 if (__ret == old) \ 75 #define __cmpxchg(ptr, old, new, barrier) \ argument 78 __typeof__(*(ptr)) __old = (old); \ 104 #define cmpxchg(ptr, old, new) __cmpxchg(ptr, old, new, smp_llsc_mb()) argument 105 #define cmpxchg_local(ptr, old, new) __cmpxchg(ptr, old, new, ) argument
|
/external/llvm/test/CodeGen/X86/ |
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/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/valgrind/main/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() 194 UWord old = *w; in atomic_incW() local [all …]
|
/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/main/memcheck/tests/darwin/ |
D | scalar.stderr.exp | 91 (8): old creat 121 (11): old execv 185 (17): old break 204 (19): old lseek 207 (21): old mount 210 (22): old umount 213 (38): old stat 216 (40): old lstat 219 (45): old ktrace 222 (62): old fstat [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))
|
/external/clang/test/Sema/ |
D | builtins.c | 39 unsigned i, old; in test9() local 41 old = __sync_fetch_and_add(); // expected-error {{too few arguments to function call}} in test9() 42 old = __sync_fetch_and_add(&old); // expected-error {{too few arguments to function call}} in test9() 43 …old = __sync_fetch_and_add((unsigned*)0, 42i); // expected-warning {{imaginary constants are an ex… in test9() 50 if (__sync_fetch_and_add(&old, 1) == 1) { in test9() 91 int old; in test14() local 92 old = __sync_fetch_and_min((volatile int *)&old, 1); in test14()
|
/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/webkit/Source/WebCore/svg/properties/ |
D | SVGAnimatedPropertySynchronizer.h | 39 Attribute* old = namedAttrMap->getAttributeItem(attrName); 40 if (old && value.isNull()) 41 namedAttrMap->removeAttribute(old->name()); 42 else if (!old && !value.isNull()) 44 else if (old && !value.isNull()) 45 old->setValue(value);
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
D | LabeledList.java | 43 public LabeledList(LabeledList old) { in LabeledList() argument 44 super(old.size()); in LabeledList() 45 labelToIndex = old.labelToIndex.mutableCopy(); in LabeledList() 47 int sz = old.size(); in LabeledList() 50 Object one = old.get0(i); in LabeledList() 175 LabeledItem old = (LabeledItem) getOrNull0(n); in set() local 179 if (old != null) { in set() 180 removeLabel(old.getLabel()); in set()
|
/external/dbus/dbus/ |
D | dbus-resources.c | 151 long old = counter->size_value; in _dbus_counter_adjust_size() local 157 old, delta, counter->size_value); in _dbus_counter_adjust_size() 161 ((old < counter->notify_size_guard_value && in _dbus_counter_adjust_size() 163 (old >= counter->notify_size_guard_value && in _dbus_counter_adjust_size() 181 long old = counter->unix_fd_value; in _dbus_counter_adjust_unix_fd() local 187 old, delta, counter->unix_fd_value); in _dbus_counter_adjust_unix_fd() 191 ((old < counter->notify_unix_fd_guard_value && in _dbus_counter_adjust_unix_fd() 193 (old >= counter->notify_unix_fd_guard_value && in _dbus_counter_adjust_unix_fd()
|
/external/bsdiff/ |
D | bsdiff.c | 104 static void qsufsort(off_t *I,off_t *V,u_char *old,off_t oldsize) in qsufsort() argument 110 for(i=0;i<oldsize;i++) buckets[old[i]]++; in qsufsort() 115 for(i=0;i<oldsize;i++) I[++buckets[old[i]]]=i; in qsufsort() 117 for(i=0;i<oldsize;i++) V[i]=buckets[old[i]]; in qsufsort() 142 static off_t matchlen(u_char *old,off_t oldsize,u_char *new,off_t newsize) in matchlen() argument 147 if(old[i]!=new[i]) break; in matchlen() 152 static off_t search(off_t *I,u_char *old,off_t oldsize, in search() argument 158 x=matchlen(old+I[st],oldsize-I[st],new,newsize); in search() 159 y=matchlen(old+I[en],oldsize-I[en],new,newsize); in search() 171 if(memcmp(old+I[x],new,MIN(oldsize-I[x],newsize))<0) { in search() [all …]
|
/external/icu4c/tools/tzcode/ |
D | ialloc.c | 46 icatalloc(old, new) in icatalloc() argument 47 char * const old; in icatalloc() 54 if (old == NULL) 57 return old; 58 else oldsize = strlen(old); 59 if ((result = irealloc(old, oldsize + newsize + 1)) != NULL)
|