/external/clang/test/CodeGen/ |
H A D | atomic.c | 5 int old; local 13 old = __sync_fetch_and_add(&val, 1); 16 old = __sync_fetch_and_sub(&valc, 2); 19 old = __sync_fetch_and_min(&val, 3); 22 old = __sync_fetch_and_max(&val, 4); 25 old = __sync_fetch_and_umin(&uval, 5u); 28 old = __sync_fetch_and_umax(&uval, 6u); 31 old = __sync_lock_test_and_set(&val, 7); 34 old = __sync_swap(&val, 8); 37 old [all...] |
/external/clang/test/SemaCXX/ |
H A D | constexpr-turing.cpp | 18 constexpr Tape(const Tape &old, bool write) : argument 19 l(old.l), val(write), r(old.r) {} 20 constexpr Tape(const Tape &old, Dir dir) : argument 21 l(dir == L ? old.l ? old.l->l : 0 : &old), 22 val(dir == L ? old.l ? old.l->val : false 23 : old 29 update(const Tape &old, bool write) argument 30 move(const Tape &old, Dir dir) argument [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_update_shadow_word_inl.h | 21 old = LoadShadow(sp); 22 if (old.IsZero()) { 31 if (Shadow::Addr0AndSizeAreEqual(cur, old)) { 34 if (Shadow::TidsAreEqual(old, cur)) { 36 if (OldIsInSameSynchEpoch(old, thr)) { 37 if (OldIsRWStronger(old, kAccessIsWrite)) { 46 if (OldIsRWWeaker(old, kAccessIsWrite)) 51 if (HappensBefore(old, thr)) { 55 if (BothReads(old, kAccessIsWrite)) 61 if (Shadow::TwoRangesIntersect(old, cu [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A 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)) 80 #define ext2fs_brel_get(brel, old, ent) ((brel)->get((brel), old, ent)) 82 #define ext2fs_brel_next(brel, old, en [all...] |
H A 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)) 104 #define ext2fs_irel_get(irel, old, ent) ((irel)->get((irel), old, en [all...] |
H A 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, argument 110 if (old > ma->max_block) 112 ma->entries[(unsigned)old] = *ent; 116 static errcode_t bma_get(ext2_brel brel, blk_t old, argument 122 if (old > m 136 bma_next(ext2_brel brel, blk_t *old, struct ext2_block_relocate_entry *ent) argument 153 bma_move(ext2_brel brel, blk_t old, blk_t new) argument 167 bma_delete(ext2_brel brel, blk_t old) argument [all...] |
H A 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...] |
/external/skia/bench/ |
H A D | bench_compare.py | 13 print '-o <file> the old bench output file.' 21 print ' o: old time' 30 def __init__(self, old, new): 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 [all...] |
/external/webkit/Source/WebCore/svg/properties/ |
H A D | SVGAnimatedPropertySynchronizer.h | 39 Attribute* old = namedAttrMap->getAttributeItem(attrName); local 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/kernel-headers/original/asm-generic/bitops/ |
H A D | non-atomic.h | 52 * __test_and_set_bit - Set a bit and return its old value 64 unsigned long old = *p; local 66 *p = old | mask; 67 return (old & mask) != 0; 71 * __test_and_clear_bit - Clear a bit and return its old value 83 unsigned long old = *p; local 85 *p = old & ~mask; 86 return (old & mask) != 0; 95 unsigned long old = *p; local 97 *p = old [all...] |
H A D | atomic.h | 121 * test_and_set_bit - Set a bit and return its old value 133 unsigned long old; local 137 old = *p; 138 *p = old | mask; 141 return (old & mask) != 0; 145 * test_and_clear_bit - Clear a bit and return its old value 157 unsigned long old; local 161 old = *p; 162 *p = old & ~mask; 165 return (old 180 unsigned long old; local [all...] |
/external/kernel-headers/original/asm-mips/ |
H A D | cmpxchg.h | 15 #define __cmpxchg_asm(ld, st, m, old, new) \ 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) \ 78 __typeof__(*(ptr)) __old = (old); \ 104 #define cmpxchg(ptr, old, new) __cmpxchg(ptr, old, new, smp_llsc_mb()) 105 #define cmpxchg_local(ptr, old, new) __cmpxchg(ptr, old, ne [all...] |
/external/tcpdump/ |
H A D | setsignal.c | 77 struct sigaction old, new; local 81 if (sigaction(sig, &new, &old) < 0) 83 return (old.sa_handler);
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
H A D | LabeledList.java | 39 * Constructs a new instance that is a copy of the old instance. 41 * @param old instance to copy 43 public LabeledList(LabeledList old) { argument 44 super(old.size()); 45 labelToIndex = old.labelToIndex.mutableCopy(); 47 int sz = old.size(); 50 Object one = old.get0(i); 175 LabeledItem old = (LabeledItem) getOrNull0(n); 179 if (old != null) { 180 removeLabel(old [all...] |
/external/ipsec-tools/src/racoon/ |
H A D | debugrm.h | 47 #define racoon_realloc(old, sz) realloc((old), (sz)) 65 #define racoon_realloc(old, sz) \ 66 DRM_realloc(__FILE__, __LINE__, __func__, (old), (sz)) 89 #define vdup(old) \ 90 DRM_vdup(__FILE__, __LINE__, __func__, (old)) 91 #define vrealloc(old, sz) \ 92 DRM_vrealloc(__FILE__, __LINE__, __func__, (old), (sz))
|
H A D | gcmalloc.h | 93 #define racoon_realloc(old, sz) GC_debug_realloc(old, sz, GC_EXTRAS) 117 #define racoon_realloc(old, sz) realloc((old), (sz))
|
/external/icu4c/tools/tzcode/ |
H A D | ialloc.c | 46 icatalloc(old, new) 47 char * const old; 54 if (old == NULL) 57 return old; 58 else oldsize = strlen(old); 59 if ((result = irealloc(old, oldsize + newsize + 1)) != NULL)
|
/external/kernel-headers/original/asm-x86/ |
H A D | cmpxchg_32.h | 119 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, argument 127 : "q"(new), "m"(*__xg(ptr)), "0"(old) 133 : "r"(new), "m"(*__xg(ptr)), "0"(old) 139 : "r"(new), "m"(*__xg(ptr)), "0"(old) 143 return old; 152 unsigned long old, 160 : "q"(new), "m"(*__xg(ptr)), "0"(old) 166 : "r"(new), "m"(*__xg(ptr)), "0"(old) 172 : "r"(new), "m"(*__xg(ptr)), "0"(old) 176 return old; 151 __sync_cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) argument 179 __cmpxchg_local(volatile void *ptr, unsigned long old, unsigned long new, int size) argument 217 cmpxchg_386(volatile void *ptr, unsigned long old, unsigned long new, int size) argument 255 __cmpxchg64(volatile void *ptr, unsigned long long old, unsigned long long new) argument 269 __cmpxchg64_local(volatile void *ptr, unsigned long long old, unsigned long long new) argument [all...] |
/external/clang/test/Sema/ |
H A D | builtins.c | 39 unsigned i, old; local 41 old = __sync_fetch_and_add(); // expected-error {{too few arguments to function call}} 42 old = __sync_fetch_and_add(&old); // expected-error {{too few arguments to function call}} 43 old = __sync_fetch_and_add((unsigned*)0, 42i); // expected-warning {{imaginary constants are an extension}} 50 if (__sync_fetch_and_add(&old, 1) == 1) { 91 int old; local 92 old = __sync_fetch_and_min((volatile int *)&old, 1);
|
/external/linux-tools-perf/util/ |
H A D | sigchain.c | 7 sigchain_fun *old; member in struct:sigchain_signal 24 ALLOC_GROW(s->old, s->n + 1, s->alloc); 25 s->old[s->n] = signal(sig, f); 26 if (s->old[s->n] == SIG_ERR) 39 if (signal(sig, s->old[s->n - 1]) == SIG_ERR)
|
/external/valgrind/main/helgrind/tests/ |
H A D | annotate_hbefore.c | 29 UWord old, success; local 31 /* Fetch the old value, and set the reservation */ 34 : /*out*/ "=b"(old) 39 /* If the old value isn't as expected, we've had it */ 40 if (old != expected) return 0; 62 UWord old, success; local 64 /* Fetch the old value, and set the reservation */ 67 : /*out*/ "=b"(old) 72 /* If the old value isn't as expected, we've had it */ 73 if (old ! 143 UWord old, success; local 194 UWord old = *w; local [all...] |
/external/chromium/chrome/browser/resources/shared/js/ |
H A D | util.js | 31 var old = global[callbackName]; 34 global[callbackName] = old;
|
/external/dbus/dbus/ |
H A D | dbus-resources.c | 151 long old = counter->size_value; local 157 old, delta, counter->size_value); 161 ((old < counter->notify_size_guard_value && 163 (old >= counter->notify_size_guard_value && 181 long old = counter->unix_fd_value; local 187 old, delta, counter->unix_fd_value); 191 ((old < counter->notify_unix_fd_guard_value && 193 (old >= counter->notify_unix_fd_guard_value &&
|
/external/dnsmasq/contrib/wrt/ |
H A D | lease_update.sh | 15 # if $1 is add del or old, this is a dnsmasq-called lease-change 24 # $1 is action (add, del, old) 45 if [ ${1} = old ] || [ ${1} = add ] ; then
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/ |
H A D | memory.h | 53 extern void *mem_Realloc(MemoryPool *p, void *old, size_t oldsize, size_t newsize);
|