Lines Matching refs:s

77 	  int s;  in do_test()  local
78 if (pthread_attr_getdetachstate (&a, &s) != 0) in do_test()
84 if (s != PTHREAD_CREATE_JOINABLE) in do_test()
87 detach state changed to %d by invalid setdetachstate call\n", s); in do_test()
107 int s; in do_test() local
108 if (pthread_attr_getinheritsched (&a, &s) != 0) in do_test()
114 if (s != PTHREAD_INHERIT_SCHED) in do_test()
117 inheritsched changed to %d by invalid setinheritsched call\n", s); in do_test()
137 int s; in do_test() local
138 if (pthread_attr_getschedpolicy (&a, &s) != 0) in do_test()
144 if (s != SCHED_OTHER) in do_test()
147 schedpolicy changed to %d by invalid setschedpolicy call\n", s); in do_test()
167 int s; in do_test() local
168 if (pthread_attr_getscope (&a, &s) != 0) in do_test()
174 if (s != PTHREAD_SCOPE_SYSTEM) in do_test()
177 contentionscope changed to %d by invalid setscope call\n", s); in do_test()
197 int s; in do_test() local
198 if (pthread_mutexattr_getpshared (&ma, &s) != 0) in do_test()
204 if (s != PTHREAD_PROCESS_PRIVATE) in do_test()
207 pshared changed to %d by invalid mutexattr_setpshared call\n", s); in do_test()
224 if (pthread_rwlockattr_getpshared (&rwa, &s) != 0) in do_test()
230 if (s != PTHREAD_PROCESS_PRIVATE) in do_test()
233 pshared changed to %d by invalid rwlockattr_setpshared call\n", s); in do_test()
254 int s; in do_test() local
255 if (pthread_setcancelstate (PTHREAD_CANCEL_ENABLE, &s) != 0) in do_test()
261 if (s != PTHREAD_CANCEL_ENABLE) in do_test()
284 int s; in do_test() local
285 if (pthread_setcanceltype (PTHREAD_CANCEL_DEFERRED, &s) != 0) in do_test()
291 if (s != PTHREAD_CANCEL_DEFERRED) in do_test()