Home
last modified time | relevance | path

Searched refs:old (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/bionic/
Dsemaphore.c163 unsigned int old, new; in __sem_dec() local
167 old = (*pvalue & SEMCOUNT_VALUE_MASK); in __sem_dec()
168 ret = SEMCOUNT_TO_VALUE(old); in __sem_dec()
172 new = SEMCOUNT_DECREMENT(old); in __sem_dec()
174 while (__bionic_cmpxchg((int)(old|shared), in __sem_dec()
187 unsigned int old, new; in __sem_trydec() local
191 old = (*pvalue & SEMCOUNT_VALUE_MASK); in __sem_trydec()
192 ret = SEMCOUNT_TO_VALUE(old); in __sem_trydec()
196 new = SEMCOUNT_DECREMENT(old); in __sem_trydec()
198 while (__bionic_cmpxchg((int)(old|shared), in __sem_trydec()
[all …]
/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_streams.c158 evStream *old = id.opaque; in evCancelRW() local
169 if (old->prev != NULL) in evCancelRW()
170 old->prev->next = old->next; in evCancelRW()
172 ctx->streams = old->next; in evCancelRW()
173 if (old->next != NULL) in evCancelRW()
174 old->next->prev = old->prev; in evCancelRW()
180 if (old->prevDone == NULL && old->nextDone == NULL) { in evCancelRW()
186 if (ctx->strDone == old) { in evCancelRW()
191 if (old->prevDone != NULL) in evCancelRW()
192 old->prevDone->nextDone = old->nextDone; in evCancelRW()
[all …]
Deventlib_p.h278 evWait *evFreeWait(evContext_p *ctx, evWait *old);
/bionic/libc/arch-arm/bionic/
Datomics_arm.c61 __atomic_cmpxchg(int old, int _new, volatile int *ptr) in __atomic_cmpxchg() argument
64 return __sync_val_compare_and_swap(ptr, old, _new) != old; in __atomic_cmpxchg()
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dpopen.c83 struct pid *cur, *old; in popen() local
131 for (old = pidlist; old; old = old->next) in popen()
133 close(old->fd); /* don't allow a flush */ in popen()
135 close(fileno(old->fp)); /* don't allow a flush */ in popen()
/bionic/tests/
Dlocale_test.cpp103 locale_t old = uselocale(n); in TEST() local
104 EXPECT_TRUE(old == original); in TEST()
/bionic/libc/kernel/uapi/linux/
Duinput.h30 struct ff_effect old; member
/bionic/libc/tzcode/
Dprivate.h307 char * icatalloc(char * old, const char * new);