Home
last modified time | relevance | path

Searched refs:a_cas (Results 1 – 25 of 257) sorted by relevance

1234567891011

/dports/devel/emscripten/emscripten-2.0.3/system/lib/libc/musl/src/internal/
H A Datomic.h18 #ifndef a_cas
19 #define a_cas a_cas macro
20 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
102 #ifndef a_cas
103 #error missing definition of a_cas
112 while (a_cas(p, old, v) != old); in a_swap()
123 while (a_cas(p, old, (unsigned)old+v) != old); in a_fetch_add()
134 while (a_cas(p, old, old&v) != old); in a_fetch_and()
144 while (a_cas(p, old, old|v) != old); in a_fetch_or()
200 a_cas(&tmp, 0, 0); in a_barrier()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/lib/wasi-libc/libc-top-half/musl/src/internal/
H A Datomic.h18 #ifndef a_cas
19 #define a_cas a_cas macro
20 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
102 #ifndef a_cas
103 #error missing definition of a_cas
112 while (a_cas(p, old, v) != old); in a_swap()
123 while (a_cas(p, old, (unsigned)old+v) != old); in a_fetch_add()
134 while (a_cas(p, old, old&v) != old); in a_fetch_and()
144 while (a_cas(p, old, old|v) != old); in a_fetch_or()
200 a_cas(&tmp, 0, 0); in a_barrier()
[all …]
/dports/lang/zig-devel/zig-0.9.0/lib/libc/musl/src/internal/
H A Datomic.h18 #ifndef a_cas
19 #define a_cas a_cas macro
20 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
102 #ifndef a_cas
103 #error missing definition of a_cas
112 while (a_cas(p, old, v) != old); in a_swap()
123 while (a_cas(p, old, (unsigned)old+v) != old); in a_fetch_add()
134 while (a_cas(p, old, old&v) != old); in a_fetch_and()
144 while (a_cas(p, old, old|v) != old); in a_fetch_or()
200 a_cas(&tmp, 0, 0); in a_barrier()
[all …]
/dports/lang/zig-devel/zig-0.9.0/lib/libc/wasi/libc-top-half/musl/src/internal/
H A Datomic.h18 #ifndef a_cas
19 #define a_cas a_cas macro
20 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
102 #ifndef a_cas
103 #error missing definition of a_cas
112 while (a_cas(p, old, v) != old); in a_swap()
123 while (a_cas(p, old, (unsigned)old+v) != old); in a_fetch_add()
134 while (a_cas(p, old, old&v) != old); in a_fetch_and()
144 while (a_cas(p, old, old|v) != old); in a_fetch_or()
200 a_cas(&tmp, 0, 0); in a_barrier()
[all …]
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-top-half/musl/src/internal/
H A Datomic.h18 #ifndef a_cas
19 #define a_cas a_cas macro
20 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
102 #ifndef a_cas
103 #error missing definition of a_cas
112 while (a_cas(p, old, v) != old); in a_swap()
123 while (a_cas(p, old, (unsigned)old+v) != old); in a_fetch_add()
134 while (a_cas(p, old, old&v) != old); in a_fetch_and()
144 while (a_cas(p, old, old|v) != old); in a_fetch_or()
200 a_cas(&tmp, 0, 0); in a_barrier()
[all …]
/dports/lang/zig/zig-0.9.0/lib/libc/wasi/libc-top-half/musl/src/internal/
H A Datomic.h18 #ifndef a_cas
19 #define a_cas a_cas macro
20 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
102 #ifndef a_cas
103 #error missing definition of a_cas
112 while (a_cas(p, old, v) != old); in a_swap()
123 while (a_cas(p, old, (unsigned)old+v) != old); in a_fetch_add()
134 while (a_cas(p, old, old&v) != old); in a_fetch_and()
144 while (a_cas(p, old, old|v) != old); in a_fetch_or()
200 a_cas(&tmp, 0, 0); in a_barrier()
[all …]
/dports/lang/zig/zig-0.9.0/lib/libc/musl/src/internal/
H A Datomic.h18 #ifndef a_cas
19 #define a_cas a_cas macro
20 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
102 #ifndef a_cas
103 #error missing definition of a_cas
112 while (a_cas(p, old, v) != old); in a_swap()
123 while (a_cas(p, old, (unsigned)old+v) != old); in a_fetch_add()
134 while (a_cas(p, old, old&v) != old); in a_fetch_and()
144 while (a_cas(p, old, old|v) != old); in a_fetch_or()
200 a_cas(&tmp, 0, 0); in a_barrier()
[all …]
/dports/devel/emscripten/emscripten-2.0.3/system/lib/libc/musl/arch/emscripten/
H A Datomic_arch.h77 #define a_cas a_cas macro
78 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
156 #define a_cas a_cas macro
157 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
235 #define a_cas a_cas macro
236 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/dports/devel/tinygo/tinygo-0.14.1/lib/wasi-libc/libc-top-half/musl/arch/m68k/
H A Datomic_arch.h1 #define a_cas a_cas macro
2 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/dports/devel/tinygo/tinygo-0.14.1/lib/wasi-libc/libc-top-half/musl/arch/or1k/
H A Datomic_arch.h1 #define a_cas a_cas macro
2 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-top-half/musl/arch/m68k/
H A Datomic_arch.h1 #define a_cas a_cas macro
2 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-top-half/musl/arch/or1k/
H A Datomic_arch.h1 #define a_cas a_cas macro
2 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/dports/lang/zig-devel/zig-0.9.0/lib/libc/musl/src/thread/
H A Dpthread_cond_timedwait.c35 if (a_cas(l, 0, 1)) { in lock()
36 a_cas(l, 1, 2); in lock()
38 while (a_cas(l, 0, 2)); in lock()
115 oldstate = a_cas(&node.state, WAITING, LEAVING); in __pthread_cond_timedwait()
156 if (val>0) a_cas(&m->_m_lock, val, val|0x80000000); in __pthread_cond_timedwait()
184 if (a_cas(&p->state, WAITING, SIGNALED) != WAITING) { in __private_cond_signal()
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-top-half/musl/src/thread/
H A Dpthread_cond_timedwait.c35 if (a_cas(l, 0, 1)) { in lock()
36 a_cas(l, 1, 2); in lock()
38 while (a_cas(l, 0, 2)); in lock()
115 oldstate = a_cas(&node.state, WAITING, LEAVING); in __pthread_cond_timedwait()
156 if (val>0) a_cas(&m->_m_lock, val, val|0x80000000); in __pthread_cond_timedwait()
184 if (a_cas(&p->state, WAITING, SIGNALED) != WAITING) { in __private_cond_signal()
/dports/lang/zig/zig-0.9.0/lib/libc/wasi/libc-top-half/musl/src/thread/
H A Dpthread_cond_timedwait.c35 if (a_cas(l, 0, 1)) { in lock()
36 a_cas(l, 1, 2); in lock()
38 while (a_cas(l, 0, 2)); in lock()
115 oldstate = a_cas(&node.state, WAITING, LEAVING); in __pthread_cond_timedwait()
156 if (val>0) a_cas(&m->_m_lock, val, val|0x80000000); in __pthread_cond_timedwait()
184 if (a_cas(&p->state, WAITING, SIGNALED) != WAITING) { in __private_cond_signal()
/dports/lang/zig/zig-0.9.0/lib/libc/musl/src/thread/
H A Dpthread_cond_timedwait.c35 if (a_cas(l, 0, 1)) { in lock()
36 a_cas(l, 1, 2); in lock()
38 while (a_cas(l, 0, 2)); in lock()
115 oldstate = a_cas(&node.state, WAITING, LEAVING); in __pthread_cond_timedwait()
156 if (val>0) a_cas(&m->_m_lock, val, val|0x80000000); in __pthread_cond_timedwait()
184 if (a_cas(&p->state, WAITING, SIGNALED) != WAITING) { in __private_cond_signal()
/dports/lang/zig-devel/zig-0.9.0/lib/libc/wasi/libc-top-half/musl/src/thread/
H A Dpthread_cond_timedwait.c35 if (a_cas(l, 0, 1)) { in lock()
36 a_cas(l, 1, 2); in lock()
38 while (a_cas(l, 0, 2)); in lock()
115 oldstate = a_cas(&node.state, WAITING, LEAVING); in __pthread_cond_timedwait()
156 if (val>0) a_cas(&m->_m_lock, val, val|0x80000000); in __pthread_cond_timedwait()
184 if (a_cas(&p->state, WAITING, SIGNALED) != WAITING) { in __private_cond_signal()
/dports/lang/zig-devel/zig-0.9.0/lib/libc/musl/arch/s390x/
H A Datomic_arch.h1 #define a_cas a_cas macro
2 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-top-half/musl/arch/s390x/
H A Datomic_arch.h1 #define a_cas a_cas macro
2 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/dports/lang/zig/zig-0.9.0/lib/libc/musl/arch/s390x/
H A Datomic_arch.h1 #define a_cas a_cas macro
2 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/dports/devel/tinygo/tinygo-0.14.1/lib/wasi-libc/libc-top-half/musl/arch/s390x/
H A Datomic_arch.h1 #define a_cas a_cas macro
2 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/dports/devel/tinygo/tinygo-0.14.1/lib/wasi-libc/libc-top-half/musl/arch/riscv64/
H A Datomic_arch.h7 #define a_cas a_cas macro
8 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/dports/lang/zig-devel/zig-0.9.0/lib/libc/musl/arch/riscv64/
H A Datomic_arch.h7 #define a_cas a_cas macro
8 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-top-half/musl/arch/riscv64/
H A Datomic_arch.h7 #define a_cas a_cas macro
8 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/dports/lang/zig/zig-0.9.0/lib/libc/musl/arch/riscv64/
H A Datomic_arch.h7 #define a_cas a_cas macro
8 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function

1234567891011