/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/tests/ |
H A D | test-simple-atomic.c | 62 if (atomic_compare_and_swap (&int_variable, 0, 10) == 0) in int_mutator_thread() 66 if (atomic_compare_and_swap (&int_variable, 14, 17) == 14) in int_mutator_thread() 70 if (atomic_compare_and_swap (&int_variable, 20, 0) == 20) in int_mutator_thread() 74 if (atomic_compare_and_swap (&int_variable, 10, 14) == 10) in int_mutator_thread() 78 if (atomic_compare_and_swap (&int_variable, 17, 20) == 17) in int_mutator_thread() 128 ASSERT (atomic_compare_and_swap (&x[1], 0, 17) == 11); in main() 131 ASSERT (atomic_compare_and_swap (&x[1], 4, 11) == 11); in main() 134 ASSERT (atomic_compare_and_swap (&x[1], 11, 15) == 11); in main()
|
/dports/devel/cmake-gui/cmake-3.22.1/Utilities/cmlibrhash/librhash/ |
H A D | util.h | 14 # define atomic_compare_and_swap(ptr, oldval, newval) __sync_val_compare_and_swap(ptr, oldval, newv… macro 17 # define atomic_compare_and_swap(ptr, oldval, newval) InterlockedCompareExchange(ptr, newval, oldva… 20 # define atomic_compare_and_swap(ptr, oldval, newval) atomic_cas_32(ptr, oldval, newval) 23 # define atomic_compare_and_swap(ptr, oldval, newval) { if (*(ptr) == (oldval)) *(ptr) = (newval); }
|
/dports/devel/cmake-doc/cmake-3.22.1/Utilities/cmlibrhash/librhash/ |
H A D | util.h | 14 # define atomic_compare_and_swap(ptr, oldval, newval) __sync_val_compare_and_swap(ptr, oldval, newv… macro 17 # define atomic_compare_and_swap(ptr, oldval, newval) InterlockedCompareExchange(ptr, newval, oldva… 20 # define atomic_compare_and_swap(ptr, oldval, newval) atomic_cas_32(ptr, oldval, newval) 23 # define atomic_compare_and_swap(ptr, oldval, newval) { if (*(ptr) == (oldval)) *(ptr) = (newval); }
|
/dports/devel/cmake/cmake-3.22.1/Utilities/cmlibrhash/librhash/ |
H A D | util.h | 14 # define atomic_compare_and_swap(ptr, oldval, newval) __sync_val_compare_and_swap(ptr, oldval, newv… macro 17 # define atomic_compare_and_swap(ptr, oldval, newval) InterlockedCompareExchange(ptr, newval, oldva… 20 # define atomic_compare_and_swap(ptr, oldval, newval) atomic_cas_32(ptr, oldval, newval) 23 # define atomic_compare_and_swap(ptr, oldval, newval) { if (*(ptr) == (oldval)) *(ptr) = (newval); }
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/lib/ |
H A D | simple-atomic.c | 42 atomic_compare_and_swap (unsigned int volatile *vp, in atomic_compare_and_swap() function 85 atomic_compare_and_swap (unsigned int volatile *vp, in atomic_compare_and_swap() function 112 atomic_compare_and_swap (unsigned int volatile *vp, in atomic_compare_and_swap() function 225 atomic_compare_and_swap (unsigned int volatile *vp, in atomic_compare_and_swap() function 311 atomic_compare_and_swap (unsigned int volatile *vp, in atomic_compare_and_swap() function 343 atomic_compare_and_swap (unsigned int volatile *vp, in atomic_compare_and_swap() function
|
H A D | asyncsafe-spin.c | 232 atomic_compare_and_swap (volatile unsigned int *vp, unsigned int cmp, in atomic_compare_and_swap() function 276 while (atomic_compare_and_swap (vp, 0, 1) != 0) in do_lock() 284 if (atomic_compare_and_swap (vp, 1, 0) != 1) in do_unlock()
|
H A D | simple-atomic.h | 35 extern unsigned int atomic_compare_and_swap (unsigned int volatile *vp,
|
/dports/security/rhash/RHash-1.4.2/librhash/ |
H A D | util.h | 14 # define atomic_compare_and_swap(ptr, oldval, newval) __sync_val_compare_and_swap(ptr, oldval, newv… macro 17 # define atomic_compare_and_swap(ptr, oldval, newval) InterlockedCompareExchange(ptr, newval, oldva… 20 # define atomic_compare_and_swap(ptr, oldval, newval) atomic_cas_32(ptr, oldval, newval) 23 # define atomic_compare_and_swap(ptr, oldval, newval) { if (*(ptr) == (oldval)) *(ptr) = (newval); }
|
/dports/security/p5-Crypt-RHash/Crypt-RHash-1.00/librhash/ |
H A D | util.h | 14 # define atomic_compare_and_swap(ptr, oldval, newval) __sync_val_compare_and_swap(ptr, oldval, newv… macro 17 # define atomic_compare_and_swap(ptr, oldval, newval) InterlockedCompareExchange(ptr, newval, oldva… 20 # define atomic_compare_and_swap(ptr, oldval, newval) atomic_cas_32(ptr, oldval, newval) 23 # define atomic_compare_and_swap(ptr, oldval, newval) { if (*(ptr) == (oldval)) *(ptr) = (newval); }
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/filter_core/ |
H A D | filter_queue.c | 32 #define atomic_compare_and_swap(_ptr, _comparand, _replacement) (InterlockedCompareExchange64((__in… macro 34 #define atomic_compare_and_swap(_ptr, _comparand, _replacement) (InterlockedCompareExchange((int *)… macro 39 #define atomic_compare_and_swap(_ptr, _comparand, _replacement) __sync_bool_compare_and_swap(_ptr, … macro 128 if (atomic_compare_and_swap(&tail->next, next, it)) { in gf_fq_lockfree_enqueue() 133 atomic_compare_and_swap(tail_ptr, tail, next); in gf_fq_lockfree_enqueue() 137 atomic_compare_and_swap(tail_ptr, tail, it); in gf_fq_lockfree_enqueue() 161 atomic_compare_and_swap(tail_ptr, tail, next); in gf_fq_lockfree_dequeue() 166 if (atomic_compare_and_swap(head_ptr, head, next)) in gf_fq_lockfree_dequeue()
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/filter_core/ |
H A D | filter_queue.c | 32 #define atomic_compare_and_swap(_ptr, _comparand, _replacement) (InterlockedCompareExchange64((__in… macro 34 #define atomic_compare_and_swap(_ptr, _comparand, _replacement) (InterlockedCompareExchange((int *)… macro 39 #define atomic_compare_and_swap(_ptr, _comparand, _replacement) __sync_bool_compare_and_swap(_ptr, … macro 128 if (atomic_compare_and_swap(&tail->next, next, it)) { in gf_fq_lockfree_enqueue() 133 atomic_compare_and_swap(tail_ptr, tail, next); in gf_fq_lockfree_enqueue() 137 atomic_compare_and_swap(tail_ptr, tail, it); in gf_fq_lockfree_enqueue() 161 atomic_compare_and_swap(tail_ptr, tail, next); in gf_fq_lockfree_dequeue() 166 if (atomic_compare_and_swap(head_ptr, head, next)) in gf_fq_lockfree_dequeue()
|
/dports/devel/gettext-tools/gettext-0.21/gettext-tools/gnulib-lib/ |
H A D | asyncsafe-spin.c | 216 atomic_compare_and_swap (volatile unsigned int *vp, unsigned int cmp, in atomic_compare_and_swap() function 260 while (atomic_compare_and_swap (vp, 0, 1) != 0) in do_lock() 268 if (atomic_compare_and_swap (vp, 1, 0) != 1) in do_unlock()
|
/dports/math/pspp/pspp-1.4.1/gl/ |
H A D | asyncsafe-spin.c | 216 atomic_compare_and_swap (volatile unsigned int *vp, unsigned int cmp, in atomic_compare_and_swap() function 260 while (atomic_compare_and_swap (vp, 0, 1) != 0) in do_lock() 268 if (atomic_compare_and_swap (vp, 1, 0) != 1) in do_unlock()
|
/dports/devel/gettext-po-mode/gettext-0.21/gettext-tools/gnulib-lib/ |
H A D | asyncsafe-spin.c | 216 atomic_compare_and_swap (volatile unsigned int *vp, unsigned int cmp, in atomic_compare_and_swap() function 260 while (atomic_compare_and_swap (vp, 0, 1) != 0) in do_lock() 268 if (atomic_compare_and_swap (vp, 1, 0) != 1) in do_unlock()
|
/dports/devel/gettext-runtime/gettext-0.21/gettext-tools/gnulib-lib/ |
H A D | asyncsafe-spin.c | 216 atomic_compare_and_swap (volatile unsigned int *vp, unsigned int cmp, in atomic_compare_and_swap() function 260 while (atomic_compare_and_swap (vp, 0, 1) != 0) in do_lock() 268 if (atomic_compare_and_swap (vp, 1, 0) != 1) in do_unlock()
|
/dports/devel/libtextstyle/gettext-0.21/gettext-tools/gnulib-lib/ |
H A D | asyncsafe-spin.c | 216 atomic_compare_and_swap (volatile unsigned int *vp, unsigned int cmp, in atomic_compare_and_swap() function 260 while (atomic_compare_and_swap (vp, 0, 1) != 0) in do_lock() 268 if (atomic_compare_and_swap (vp, 1, 0) != 1) in do_unlock()
|
/dports/devel/m4/m4-1.4.19/lib/ |
H A D | asyncsafe-spin.c | 228 atomic_compare_and_swap (volatile unsigned int *vp, unsigned int cmp, in atomic_compare_and_swap() function 272 while (atomic_compare_and_swap (vp, 0, 1) != 0) in do_lock() 280 if (atomic_compare_and_swap (vp, 1, 0) != 1) in do_unlock()
|
/dports/devel/libffcall/libffcall-2.4/gnulib-lib/ |
H A D | asyncsafe-spin.c | 228 atomic_compare_and_swap (volatile unsigned int *vp, unsigned int cmp, in atomic_compare_and_swap() function 272 while (atomic_compare_and_swap (vp, 0, 1) != 0) in do_lock() 280 if (atomic_compare_and_swap (vp, 1, 0) != 1) in do_unlock()
|
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/sql/ |
H A D | atomic_class.h | 70 bool atomic_compare_and_swap(TYPE *old, TYPE n) \ 115 ret= atomic_compare_and_swap(guess, n); \
|
/dports/databases/percona57-server/percona-server-5.7.36-39/sql/ |
H A D | atomic_class.h | 70 bool atomic_compare_and_swap(TYPE *old, TYPE n) \ 115 ret= atomic_compare_and_swap(guess, n); \
|
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/sql/ |
H A D | atomic_class.h | 70 bool atomic_compare_and_swap(TYPE *old, TYPE n) \ 115 ret= atomic_compare_and_swap(guess, n); \
|
/dports/databases/percona57-client/percona-server-5.7.36-39/sql/ |
H A D | atomic_class.h | 70 bool atomic_compare_and_swap(TYPE *old, TYPE n) \ 115 ret= atomic_compare_and_swap(guess, n); \
|
/dports/databases/mysql57-client/mysql-5.7.36/sql/ |
H A D | atomic_class.h | 70 bool atomic_compare_and_swap(TYPE *old, TYPE n) \ 115 ret= atomic_compare_and_swap(guess, n); \
|
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/sql/ |
H A D | atomic_class.h | 70 bool atomic_compare_and_swap(TYPE *old, TYPE n) \ 115 ret= atomic_compare_and_swap(guess, n); \
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/config/m68k/ |
H A D | sync.md | 21 (define_expand "atomic_compare_and_swap<mode>" 39 (define_insn "atomic_compare_and_swap<mode>_1"
|