/third_party/ltp/testcases/realtime/func/pi-tests/ |
D | testpi-2.c | 175 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()
|
D | testpi-1.c | 173 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()
|
D | testpi-4.c | 174 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()
|
D | testpi-6.c | 71 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()
|
D | testpi-5.c | 70 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/ |
D | testpi-3.c | 253 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/ |
D | test_proxies.c | 186 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/ |
D | ssltestlib.c | 835 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()
|