Home
last modified time | relevance | path

Searched refs:rc (Results 1 – 25 of 41) sorted by relevance

12

/glibc-2.36/sysdeps/pthread/
Dtst-cancel19.c60 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/
Dtst-rtld-load-self.sh29 ${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 …]
Dtst-unwind-main.c51 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()
Dtst-execstack.c98 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()
Dtst-rtld-argv0.sh34 --argv0 "$argv0" $test_program 2>&1 && rc=0 || rc=$?
35 echo "# exit status $rc"
37 exit $rc
Dtst-rtld-preload.sh34 --preload "$preload" $test_program 2>&1 && rc=0 || rc=$?
35 echo "# exit status $rc"
37 exit $rc
Dldd.bash.in116 output=$(eval $add_env '"$@"' 2>&1; rc=$?; printf 'x'; exit $rc)
117 rc=$?
119 return $rc
/glibc-2.36/sysdeps/unix/sysv/linux/powerpc/
Dtest-powerpc-linux-sysconf.c34 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/
Dtst-strfrom.h55 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/
Dbug-regex33.c31 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()
Dbug-regex31.c24 int rc = regcomp (&regex, 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/
Devaluate-test.sh23 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/
Dtst-set_ppr.c84 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/
Dtst-res_hconf_reorder.c80 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/
Dtst-strftime.c12 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/
Dbug-vfprintf-nargs.c49 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/
Dtst-rseq.h42 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()
Dtst-personality.c26 int rc = 0; in do_test() local
38 rc = 1; in do_test()
41 return rc; in do_test()
Dfstatfs.c31 int rc = INLINE_SYSCALL_CALL (fstatfs64, fd, sizeof (buf64), &buf64); in __fstatfs() local
32 if (rc != 0) in __fstatfs()
33 return rc; in __fstatfs()
Dstatfs.c30 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/
Dtst-once5.cc52 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/
Dcheck-header-lists.sh41 rc=0
49 rc=1
60 rc=1
65 exit $rc
/glibc-2.36/nscd/
Dselinux.c264 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/
Ds_erfl.c236 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/
Dsendfile.c29 int rc; in sendfile() local
41 rc = INLINE_SYSCALL (sendfile64, 4, out_fd, in_fd, in sendfile()
45 return rc; in sendfile()

12