/external/llvm/cmake/modules/ |
CheckAtomic.cmake | 19 __sync_val_compare_and_swap(&val, 1, 0);
|
/bionic/libc/private/ |
bionic_atomic_gcc_builtin.h | 34 return __sync_val_compare_and_swap(ptr, old_value, new_value) != old_value; 43 } while (__sync_val_compare_and_swap(ptr, old_value, new_value) != old_value);
|
/external/clang/test/CodeGen/ |
2008-03-05-syncPtr.c | 4 return __sync_val_compare_and_swap (a, b, c);
|
atomic.c | 37 old = __sync_val_compare_and_swap(&val, 4, 1976); 67 __sync_val_compare_and_swap((void **)0, (void *)0, (void *)0); 70 if ( __sync_val_compare_and_swap(&valb, 0, 1)) { 104 __sync_val_compare_and_swap(P, 0, 1);
|
Atomics.c | 163 sc = __sync_val_compare_and_swap (&sc, uc, sc); // CHECK: cmpxchg i8 164 uc = __sync_val_compare_and_swap (&uc, uc, sc); // CHECK: cmpxchg i8 165 ss = __sync_val_compare_and_swap (&ss, uc, sc); // CHECK: cmpxchg i16 166 us = __sync_val_compare_and_swap (&us, uc, sc); // CHECK: cmpxchg i16 167 si = __sync_val_compare_and_swap (&si, uc, sc); // CHECK: cmpxchg i32 168 ui = __sync_val_compare_and_swap (&ui, uc, sc); // CHECK: cmpxchg i32 169 sll = __sync_val_compare_and_swap (&sll, uc, sc); // CHECK: cmpxchg i64 170 ull = __sync_val_compare_and_swap (&ull, uc, sc); // CHECK: cmpxchg i64
|
/external/valgrind/main/drd/tests/ |
annotate_rwlock.c | 59 while (__sync_val_compare_and_swap(&p->locked, 0, 1) == 1) 83 while (__sync_val_compare_and_swap(&p->locked, 0, 1) == 1) 105 while (__sync_val_compare_and_swap(&p->locked, 0, 1) == 1)
|
/external/valgrind/main/helgrind/tests/ |
annotate_rwlock.c | 69 while (__sync_val_compare_and_swap(&p->locked, 0, 1) == 1) 94 while (__sync_val_compare_and_swap(&p->locked, 0, 1) == 1) 117 while (__sync_val_compare_and_swap(&p->locked, 0, 1) == 1)
|
/bionic/libc/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old_value, new_value) != old_value; 62 } while (__sync_val_compare_and_swap(ptr, old_value, new_value) != old_value);
|
/development/ndk/platforms/android-3/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev);
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev);
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev);
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev);
|
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev);
|
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev);
|
/prebuilts/ndk/7/platforms/android-4/arch-x86/usr/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev);
|
/prebuilts/ndk/7/platforms/android-5/arch-arm/usr/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev);
|
/prebuilts/ndk/7/platforms/android-5/arch-x86/usr/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev);
|
/prebuilts/ndk/7/platforms/android-8/arch-arm/usr/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev);
|
/prebuilts/ndk/7/platforms/android-8/arch-x86/usr/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev);
|
/prebuilts/ndk/7/platforms/android-9/arch-arm/usr/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev);
|
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev);
|
/prebuilts/ndk/8/platforms/android-14/arch-arm/usr/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev);
|
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev);
|
/prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev);
|
/prebuilts/ndk/8/platforms/android-3/arch-arm/usr/include/sys/ |
atomics.h | 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev);
|