Home
last modified time | relevance | path

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

/third_party/ltp/testcases/realtime/func/pi-tests/
Dtestpi-2.c175 int i, retc, nopi = 0; in main() local
182 retc = pthread_barrier_init(&barrier, NULL, 5); in main()
183 if (retc) { in main()
184 printf("pthread_barrier_init failed: %s\n", strerror(retc)); in main()
185 exit(retc); in main()
188 retc = sched_setaffinity(0, sizeof(mask), &mask); in main()
189 if (retc < 0) { in main()
190 printf("Main Thread: Can't set affinity: %d %s\n", retc, in main()
191 strerror(retc)); in main()
Dtestpi-1.c173 int i, retc, nopi = 0; in main() local
181 retc = pthread_barrier_init(&barrier, NULL, 5); in main()
182 if (retc) { in main()
183 printf("pthread_barrier_init failed: %s\n", strerror(retc)); in main()
184 exit(retc); in main()
187 retc = sched_setaffinity(0, sizeof(mask), &mask); in main()
188 if (retc < 0) { in main()
189 printf("Main Thread: Can't set affinity: %d %s\n", retc, in main()
190 strerror(retc)); in main()
Dtestpi-4.c174 int i, retc, nopi = 0; in main() local
182 retc = pthread_barrier_init(&barrier, NULL, 5); in main()
183 if (retc) { in main()
184 printf("pthread_barrier_init failed: %s\n", strerror(retc)); in main()
185 exit(retc); in main()
188 retc = sched_setaffinity(0, sizeof(mask), &mask); in main()
189 if (retc < 0) { in main()
190 printf("Main Thread: Can't set affinity: %d %s\n", retc, in main()
191 strerror(retc)); in main()
Dtestpi-6.c71 int retc, robust; in do_test() local
85 retc = pthread_mutex_init(&child_mutex, &mutexattr); in do_test()
86 if (retc != 0) in do_test()
87 printf("Failed to init mutex: %d\n", retc); in do_test()
Dtestpi-5.c70 int retc, protocol; in do_test() local
86 retc = pthread_mutex_init(&child_mutex, &mutexattr); in do_test()
87 if (retc != 0) in do_test()
88 printf("Failed to init mutex: %d\n", retc); in do_test()
/third_party/ltp/testcases/realtime/stress/pi-tests/
Dtestpi-3.c253 int retc, policy, inherit; in startThread() local
290 if ((retc = pthread_mutex_init(&(thrd->mutex), NULL)) != 0) { in startThread()
291 printf("Failed to init mutex: %d\n", retc); in startThread()
299 retc = in startThread()
301 printf("Create returns %d\n\n", retc); in startThread()
302 return retc; in startThread()
325 int i, retc, nopi = 0; in main() local
333 retc = sched_setaffinity(0, sizeof(mask), &mask); in main()
334 if (retc < 0) { in main()
335 printf("Main Thread: Can't set affinity: %d %s\n", retc, in main()
[all …]
/third_party/skia/third_party/externals/microhttpd/src/testspdy/
Dtest_proxies.c186 int retc; in main() local
206 retc = fgetc (p); in main()
207 if (EOF == retc) in main()
209 buf[i] = (char) retc; in main()
/third_party/openssl/test/
Dssltestlib.c835 int retc = -1, rets = -1, err, abortctr = 0; in create_bare_ssl_connection() local
841 while (!clienterr && retc <= 0 && err == SSL_ERROR_WANT_WRITE) { in create_bare_ssl_connection()
842 retc = SSL_connect(clientssl); in create_bare_ssl_connection()
843 if (retc <= 0) in create_bare_ssl_connection()
844 err = SSL_get_error(clientssl, retc); in create_bare_ssl_connection()
847 if (!clienterr && retc <= 0 && err != SSL_ERROR_WANT_READ) { in create_bare_ssl_connection()
848 TEST_info("SSL_connect() failed %d, %d", retc, err); in create_bare_ssl_connection()
875 if (rets > 0 && retc <= 0) { in create_bare_ssl_connection()
882 if (retc > 0 && rets <= 0) { in create_bare_ssl_connection()
902 } while (retc <=0 || rets <= 0); in create_bare_ssl_connection()