Searched defs:counter (Results 1 - 7 of 7) sorted by relevance
/bionic/libc/kernel/arch-arm/asm/ |
H A D | atomic.h | 22 typedef struct { volatile int counter; } atomic_t; member in struct:__anon63
|
/bionic/libc/bionic/ |
H A D | md5.h | 42 u_int32_t counter[4]; member in struct:md5
|
H A D | pthread.c | 760 * 12-2 counter counter of recursive mutexes 811 /* Mutex counter: 814 * detect when the counter is 0 823 /* Used to increment the counter directly after overflow has been checked */ 826 /* Returns true iff the counter is 0 */ 1036 * Non-recursive mutexes don't use the thread-id or counter fields, and the 1132 /* This common inlined function is used to increment the counter of an 1136 * If the counter overflows, it will return EAGAIN 1137 * Otherwise, it atomically increments the counter an 1661 __pthread_cond_pulse(pthread_cond_t *cond, int counter) argument [all...] |
/bionic/libc/unistd/ |
H A D | eventfd.c | 35 int eventfd_read(int fd, eventfd_t *counter) argument 37 int ret = read(fd, counter, sizeof(*counter)); 39 if (ret == sizeof(*counter)) 45 int eventfd_write(int fd, eventfd_t counter) argument 47 int ret = write(fd, &counter, sizeof(counter)); 49 if (ret == sizeof(counter))
|
/bionic/libc/kernel/arch-x86/asm/ |
H A D | atomic_32.h | 25 typedef struct { int counter; } atomic_t; member in struct:__anon184 27 #define atomic_read(v) ((v)->counter) 29 #define atomic_set(v,i) (((v)->counter) = (i)) 30 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new))) 31 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
|
/bionic/libc/kernel/arch-mips/asm/ |
H A D | atomic.h | 27 typedef struct { volatile int counter; } atomic_t; member in struct:__anon69 30 #define atomic_read(v) ((v)->counter) 31 #define atomic_set(v, i) ((v)->counter = (i)) 32 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) 34 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
|
/bionic/libc/private/ |
H A D | arpa_nameser.h | 229 int counter; member in struct:ns_tcp_tsig_state
|
Completed in 117 milliseconds