/bionic/libc/bionic/ |
atomics_x86.c | 63 int __atomic_cmpxchg(int old, int new, volatile int* addr) { 70 : "a" (old), 78 int old; local 82 : "=c" (old) 86 return old; 90 int old; local 92 old = *addr; 93 } while (atomic_cmpxchg(old, old-1, addr)); 94 return old; [all...] |
/external/clang/test/CodeGen/ |
atomic.c | 5 int old; local 12 old = __sync_fetch_and_add(&val, 1); 15 old = __sync_fetch_and_sub(&valc, 2); 18 old = __sync_fetch_and_min(&val, 3); 21 old = __sync_fetch_and_max(&val, 4); 24 old = __sync_fetch_and_umin(&uval, 5u); 27 old = __sync_fetch_and_umax(&uval, 6u); 30 old = __sync_lock_test_and_set(&val, 7); 33 old = __sync_swap(&val, 8); 36 old = __sync_val_compare_and_swap(&val, 4, 1976) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
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, ent) ((brel)->next((brel), old, ent) [all...] |
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, ent) [all...] |
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, 110 if (old > ma->max_block) 112 ma->entries[(unsigned)old] = *ent; 116 static errcode_t bma_get(ext2_brel brel, blk_t old, 122 if (old > ma->max_block [all...] |
/external/webkit/Source/WebCore/svg/properties/ |
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/tcpdump/ |
setsignal.c | 77 struct sigaction old, new; local 81 if (sigaction(sig, &new, &old) < 0) 83 return (old.sa_handler);
|
/external/clang/test/Sema/ |
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) { 90 int old; local 91 old = __sync_fetch_and_min((volatile int *)&old, 1);
|
/external/kernel-headers/original/asm-generic/bitops/ |
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 ^ mask [all...] |
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 & mask) != 0 180 unsigned long old; local [all...] |
/prebuilt/ndk/android-ndk-r7/platforms/android-14/arch-arm/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old;
|
/prebuilt/ndk/android-ndk-r7/platforms/android-14/arch-x86/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old;
|
/prebuilt/ndk/android-ndk-r7/platforms/android-3/arch-arm/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old;
|
/prebuilt/ndk/android-ndk-r7/platforms/android-3/arch-x86/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old;
|
/prebuilt/ndk/android-ndk-r7/platforms/android-4/arch-arm/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old;
|
/prebuilt/ndk/android-ndk-r7/platforms/android-4/arch-x86/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old;
|
/prebuilt/ndk/android-ndk-r7/platforms/android-5/arch-arm/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old;
|
/prebuilt/ndk/android-ndk-r7/platforms/android-5/arch-x86/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old;
|
/prebuilt/ndk/android-ndk-r7/platforms/android-8/arch-arm/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old;
|
/prebuilt/ndk/android-ndk-r7/platforms/android-8/arch-x86/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old;
|
/prebuilt/ndk/android-ndk-r7/platforms/android-9/arch-arm/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old;
|
/prebuilt/ndk/android-ndk-r7/platforms/android-9/arch-x86/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old;
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
LabeledList.java | 40 * Constructs a new instance that is a copy of the old instance. 42 * @param old instance to copy 44 protected LabeledList(LabeledList old) { 45 super(old.size()); 46 labelToIndex = old.labelToIndex.mutableCopy(); 48 int sz = old.size(); 51 Object one = old.get0(i); 149 LabeledItem old = (LabeledItem) getOrNull0(n); local 153 if (old != null) { 154 removeLabel(old.getLabel()) [all...] |
/dalvik/dx/src/com/android/dx/util/ |
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) { 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); local 179 if (old != null) { 180 removeLabel(old.getLabel()) [all...] |
/external/ipsec-tools/src/racoon/ |
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))
|