Home
last modified time | relevance | path

Searched refs:oldstate (Results 1 – 10 of 10) sorted by relevance

/glibc-2.36/stdlib/
Dtst-random.c53 char* oldstate[nseq]; /* old PRNG state */ in do_test() local
86 oldstate[s] = initstate (seed[s], state[s], degree); in do_test()
88 state[0] = oldstate[1]; in do_test()
92 if (state[s] != oldstate[s + 1]) in do_test()
101 char *oldstate = (char *) setstate (state[s]); in do_test() local
102 if (oldstate != state[(s + nseq - 1) % nseq]) in do_test()
/glibc-2.36/htl/
Dpt-exit.c37 int oldstate; in __pthread_exit() local
42 __pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &oldstate); in __pthread_exit()
49 __pthread_setcancelstate (oldstate, &oldstate); in __pthread_exit()
Dpt-setcancelstate.c24 __pthread_setcancelstate (int state, int *oldstate) in __pthread_setcancelstate() argument
38 if (oldstate != NULL) in __pthread_setcancelstate()
39 *oldstate = p->cancel_state; in __pthread_setcancelstate()
Dforward.c137 FORWARD (__pthread_setcancelstate, (int state, int *oldstate),
138 (state, oldstate), 0)
/glibc-2.36/nptl/
Dpthread_setcancelstate.c24 __pthread_setcancelstate (int state, int *oldstate) in __pthread_setcancelstate() argument
40 if (oldstate != NULL) in __pthread_setcancelstate()
41 *oldstate = ((oldval & CANCELSTATE_BITMASK) in __pthread_setcancelstate()
/glibc-2.36/resolv/
Dgetaddrinfo_a.c101 int oldstate; in __getaddrinfo_a() local
121 __pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &oldstate); in __getaddrinfo_a()
134 __pthread_setcancelstate (oldstate, NULL); in __getaddrinfo_a()
Dgai_suspend.c88 int oldstate; in ___gai_suspend_time64() local
93 __pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &oldstate); in ___gai_suspend_time64()
123 __pthread_setcancelstate (oldstate, NULL); in ___gai_suspend_time64()
/glibc-2.36/rt/
Dlio_listio-common.c134 int oldstate; in lio_listio_internal() local
163 pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &oldstate); in lio_listio_internal()
169 pthread_setcancelstate (oldstate, NULL); in lio_listio_internal()
/glibc-2.36/sysdeps/htl/
DpthreadP.h81 int __pthread_setcancelstate (int state, int *oldstate);
/glibc-2.36/sysdeps/nptl/
Dlibc-lockP.h231 extern int __pthread_setcancelstate (int state, int *oldstate);