/glibc-2.36/sysdeps/pthread/ |
D | tst-cancel19.c | 60 int old, rc; in do_test() local 64 rc = pipe (fd); in do_test() 65 if (rc < 0) in do_test() 68 rc = pthread_create (&th, NULL, tf, NULL); in do_test() 69 if (rc) in do_test() 70 error (EXIT_FAILURE, rc, "couldn't create thread"); in do_test() 72 rc = pthread_setcanceltype (PTHREAD_CANCEL_DEFERRED, &old); in do_test() 73 if (rc) in do_test() 75 error (0, rc, "1st pthread_setcanceltype failed"); in do_test() 88 rc = pthread_setcanceltype (PTHREAD_CANCEL_ASYNCHRONOUS, &old); in do_test() [all …]
|
/glibc-2.36/elf/ |
D | tst-rtld-load-self.sh | 29 ${test_wrapper} $rtld $rtld 2>&1 && rc=0 || rc=$? 30 echo "# exit status $rc" 31 test $rc -le 127 || result=1 34 ${test_wrapper} $rtld --list $rtld 2>&1 && rc=0 || rc=$? 35 echo "# exit status $rc" 36 test $rc -eq 0 || result=1 39 ${test_wrapper} $rtld --verify $rtld 2>&1 && rc=0 || rc=$? 40 echo "# exit status $rc" 41 test $rc -eq 2 || result=1 45 $rtld $rtld 2>&1 && rc=0 || rc=$? [all …]
|
D | tst-unwind-main.c | 51 int rc = pthread_create (&thr, NULL, &func, NULL); in main() local 52 if (rc) in main() 53 error (1, rc, "pthread_create"); in main() 54 rc = pthread_join (thr, NULL); in main() 55 if (rc) in main() 56 error (1, rc, "pthread_join"); in main()
|
D | tst-execstack.c | 98 int rc = pthread_create (&thr[i], NULL, &waiter_thread, &f); in do_test() local 99 if (rc) in do_test() 100 error (1, rc, "pthread_create"); in do_test() 210 int rc = pthread_create (&th, NULL, &tryme_thread, f); in do_test() local 211 if (rc) in do_test() 212 error (1, rc, "pthread_create"); in do_test()
|
D | tst-rtld-argv0.sh | 34 --argv0 "$argv0" $test_program 2>&1 && rc=0 || rc=$? 35 echo "# exit status $rc" 37 exit $rc
|
D | tst-rtld-preload.sh | 34 --preload "$preload" $test_program 2>&1 && rc=0 || rc=$? 35 echo "# exit status $rc" 37 exit $rc
|
D | ldd.bash.in | 116 output=$(eval $add_env '"$@"' 2>&1; rc=$?; printf 'x'; exit $rc) 117 rc=$? 119 return $rc
|
/glibc-2.36/sysdeps/unix/sysv/linux/powerpc/ |
D | test-powerpc-linux-sysconf.c | 34 int rc = 0; in do_sysconf() local 44 rc = 1; in do_sysconf() 47 return rc; in do_sysconf() 53 int rc = 0; in do_test() local 55 rc += call_str (do_sysconf, _SC_LEVEL1_ICACHE_SIZE); in do_test() 56 rc += call_str (do_sysconf, _SC_LEVEL1_ICACHE_ASSOC); in do_test() 57 rc += call_str (do_sysconf, _SC_LEVEL1_ICACHE_LINESIZE); in do_test() 58 rc += call_str (do_sysconf, _SC_LEVEL1_DCACHE_SIZE); in do_test() 59 rc += call_str (do_sysconf, _SC_LEVEL1_DCACHE_ASSOC); in do_test() 60 rc += call_str (do_sysconf, _SC_LEVEL1_DCACHE_LINESIZE); in do_test() [all …]
|
/glibc-2.36/stdlib/ |
D | tst-strfrom.h | 55 int rc; member 58 #define TEST(s, fmt, size, rc, val) \ argument 60 s, fmt, size, rc, { GEN_TEST_STRTOD_FOREACH (ENTRY, val) } \ 80 int i, rc = 0, rc1 = 0; \ 83 rc = FTOSTR (sbuf, stest[i].size, stest[i].fmt, stest[i].t.FSUF); \ 84 rc1 = (strcmp (sbuf, stest[i].s) != 0) || (rc != stest[i].rc); \ 88 sbuf, rc, stest[i].s, stest[i].rc); \ 94 rc = FTOSTR (buf, tests[i].size, tests[i].fmt, tests[i].t.FSUF); \ 95 rc1 = (strcmp (buf, tests[i].s) != 0) || (rc != tests[i].rc); \ 99 buf, rc, tests[i].s, tests[i].rc); \ [all …]
|
/glibc-2.36/posix/ |
D | bug-regex33.c | 31 int e, rc = 0; in do_test() local 53 rc = 1; in do_test() 63 rc = 1; in do_test() 73 rc = 1; in do_test() 82 rc = 1; in do_test() 91 rc = 1; in do_test() 101 rc = 1; in do_test() 111 rc = 1; in do_test() 114 return rc; in do_test()
|
D | bug-regex31.c | 24 int rc = regcomp (®ex, buf, REG_EXTENDED); in main() local 25 if (rc != 0) in main() 26 printf ("%s: Error %d (expected)\n", buf, rc); in main()
|
/glibc-2.36/scripts/ |
D | evaluate-test.sh | 23 rc=$2 24 orig_rc=$rc 28 if [ $rc -eq 77 ]; then 30 rc=0 32 if [ $rc -eq 0 ]; then 40 rc=0 47 exit $rc
|
/glibc-2.36/sysdeps/powerpc/ |
D | tst-set_ppr.c | 84 uint8_t rc = 0; in do_test() local 88 rc |= check_thread_priority (1); in do_test() 92 rc |= check_thread_priority (2); in do_test() 95 rc |= check_thread_priority (3); in do_test() 98 rc |= check_thread_priority (4); in do_test() 100 return rc; in do_test()
|
/glibc-2.36/resolv/ |
D | tst-res_hconf_reorder.c | 80 int rc = pthread_create (&thr[i], NULL, resolve, NULL); in do_test() local 82 if (rc) in do_test() 84 printf ("pthread_create: %s\n", strerror(rc)); in do_test() 92 int rc = pthread_join (thr[i], &retval); in do_test() local 94 if (rc) in do_test() 96 printf ("pthread_join: %s\n", strerror(rc)); in do_test()
|
/glibc-2.36/time/ |
D | tst-strftime.c | 12 int rc, ret = 0; in do_bz18985() local 16 rc = strftime (buf, sizeof (buf), "%a %A %b %B %c %z %Z", &ttm); in do_bz18985() 18 if (rc == 66) in do_bz18985() 30 printf ("expected 66, got %d\n", rc); in do_bz18985() 37 rc = strftime (buf, sizeof (buf), "%a %A %b %B %c %z %Z", &ttm); in do_bz18985() 39 if (rc == 30) in do_bz18985() 50 printf ("expected 30, got %d\n", rc); in do_bz18985()
|
/glibc-2.36/stdio-common/ |
D | bug-vfprintf-nargs.c | 49 int rc = 0; in do_test() local 54 rc = 1; in do_test() 58 rc = 1; in do_test() 70 rc = 1; in do_test() 73 return rc; in do_test()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | tst-rseq.h | 42 int rc; in rseq_available() local 44 rc = sys_rseq (NULL, 0, 0, 0); in rseq_available() 45 if (rc != -1) in rseq_available() 46 FAIL_EXIT1 ("Unexpected rseq return value %d", rc); in rseq_available()
|
D | tst-personality.c | 26 int rc = 0; in do_test() local 38 rc = 1; in do_test() 41 return rc; in do_test()
|
D | fstatfs.c | 31 int rc = INLINE_SYSCALL_CALL (fstatfs64, fd, sizeof (buf64), &buf64); in __fstatfs() local 32 if (rc != 0) in __fstatfs() 33 return rc; in __fstatfs()
|
D | statfs.c | 30 int rc = INLINE_SYSCALL_CALL (statfs64, file, sizeof (buf64), &buf64); in __statfs() local 31 if (rc == 0) in __statfs() 56 return rc; in __statfs()
|
/glibc-2.36/nptl/ |
D | tst-once5.cc | 52 int rc = pthread_once (&once, init_routine); in do_test() local 53 if (rc) in do_test() 55 rc, strerror (rc)); in do_test()
|
/glibc-2.36/conform/ |
D | check-header-lists.sh | 41 rc=0 49 rc=1 60 rc=1 65 exit $rc
|
/glibc-2.36/nscd/ |
D | selinux.c | 264 int rc; in avc_create_thread() local 266 rc = in avc_create_thread() 268 if (rc != 0) in avc_create_thread() 269 do_exit (EXIT_FAILURE, rc, _("Failed to start AVC thread")); in avc_create_thread() 372 int rc = -1; in nscd_request_avc_has_perm() local 424 rc = avc_has_perm (ssid, tsid, sc_nscd, perm, &aeref, NULL) < 0; in nscd_request_avc_has_perm() 436 return rc; in nscd_request_avc_has_perm()
|
/glibc-2.36/sysdeps/ieee754/ldbl-96/ |
D | s_erfl.c | 236 rc[] = { variable 419 R = rc[0] + s * (rc[1] + s * (rc[2] + s * (rc[3] + in libm_alias_ldouble() 420 s * (rc[4] + s * rc[5])))); in libm_alias_ldouble()
|
/glibc-2.36/sysdeps/unix/sysv/linux/generic/wordsize-32/ |
D | sendfile.c | 29 int rc; in sendfile() local 41 rc = INLINE_SYSCALL (sendfile64, 4, out_fd, in_fd, in sendfile() 45 return rc; in sendfile()
|