Home
last modified time | relevance | path

Searched refs:actual (Results 1 – 25 of 89) sorted by relevance

1234

/glibc-2.36/elf/
Dtst-dl_find_object.c47 struct dl_find_object actual; in check() local
48 int ret = _dl_find_object (address, &actual); in check()
67 if (actual.dlfo_flags != expected->dlfo_flags) in check()
72 actual.dlfo_flags, expected->dlfo_flags); in check()
78 if (actual.dlfo_flags != expected->dlfo_flags) in check()
83 address, actual.dlfo_map_start, expected->dlfo_map_start); in check()
85 if (actual.dlfo_map_end != expected->dlfo_map_end) in check()
90 address, actual.dlfo_map_end, expected->dlfo_map_end); in check()
93 if (actual.dlfo_link_map != expected->dlfo_link_map) in check()
98 address, actual.dlfo_link_map, expected->dlfo_link_map); in check()
[all …]
Dtst-dl_find_object-threads.c66 struct dl_find_object actual; in check() local
67 int ret = _dl_find_object (address, &actual); in check()
86 if (actual.dlfo_flags != expected->dlfo_flags) in check()
91 actual.dlfo_flags, expected->dlfo_flags); in check()
93 if (actual.dlfo_flags != expected->dlfo_flags) in check()
98 address, actual.dlfo_map_start, expected->dlfo_map_start); in check()
100 if (actual.dlfo_map_end != expected->dlfo_map_end) in check()
105 address, actual.dlfo_map_end, expected->dlfo_map_end); in check()
107 if (actual.dlfo_link_map != expected->dlfo_link_map) in check()
112 address, actual.dlfo_link_map, expected->dlfo_link_map); in check()
[all …]
Dtst-tls-manydynamic.c131 struct value actual; in do_test() local
132 get_value_funcs[i] (&actual); in do_test()
135 if (actual.num[j] != values[i].num[j]) in do_test()
138 i, j, actual.num[j], values[i].num[j]); in do_test()
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm-compat/
Dtest-obstack-ldbl-compat-template.c34 char *actual = NULL; in do_test_call() local
41 actual = (char *) obstack_finish (&ob); in do_test_call()
42 TEST_VERIFY (strncmp (expected, actual, 33) == 0); in do_test_call()
44 actual = NULL; in do_test_call()
50 actual = (char *) obstack_finish (&ob); in do_test_call()
51 TEST_VERIFY (strncmp (expected, actual, 33) == 0); in do_test_call()
53 actual = NULL; in do_test_call()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dtst-ttyname.c102 eq_ttyname (struct result actual, struct result expected) in eq_ttyname() argument
106 if ((actual.err == expected.err) in eq_ttyname()
107 && (!actual.name == !expected.name) in eq_ttyname()
108 && (actual.name ? strcmp (actual.name, expected.name) == 0 : true)) in eq_ttyname()
122 if (actual.name) in eq_ttyname()
123 actual_name = xasprintf ("\"%s\"", actual.name); in eq_ttyname()
133 actual_name, actual.err, in eq_ttyname()
168 eq_ttyname_r (struct result_r actual, struct result_r expected) in eq_ttyname_r() argument
172 if ((actual.err == expected.err) in eq_ttyname_r()
173 && (actual.ret == expected.ret) in eq_ttyname_r()
[all …]
/glibc-2.36/gmon/
Dtst-gmon-gprof.sh29 actual=$(mktemp)
33 rm -f "$actual"
54 | sort > "$actual"
56 if cmp -s "$actual" "$expected_dot" \
57 || diff -u --label expected "$expected" --label actual "$actual" ; then
Dtst-gmon-static-gprof.sh29 actual=$(mktemp)
33 rm -f "$actual"
56 | sort > "$actual"
58 if cmp -s "$actual" "$expected_dot" \
59 || diff -u --label expected "$expected" --label actual "$actual" ; then
/glibc-2.36/math/
Dtest-math-issignaling.cc35 check (int actual, int expected, const char *actual_expr, int line) in check() argument
37 if (actual != expected) in check()
42 printf ("%s:%d: actual: %d\n", __FILE__, line, actual); in check()
46 #define CHECK(actual, expected) \ argument
47 check ((actual), (expected), #actual, __LINE__)
Dtest-math-iseqsig.cc35 check (int actual, int expected, const char *actual_expr, int line) in check() argument
37 if (actual != expected) in check()
42 printf ("%s:%d: actual: %d\n", __FILE__, line, actual); in check()
46 #define CHECK(actual, expected) \ argument
47 check ((actual), (expected), #actual, __LINE__)
Dtest-math-iszero.cc35 check (int actual, int expected, const char *actual_expr, int line) in check() argument
37 if (actual != expected) in check()
42 printf ("%s:%d: actual: %d\n", __FILE__, line, actual); in check()
46 #define CHECK(actual, expected) \ argument
47 check ((actual), (expected), #actual, __LINE__)
/glibc-2.36/resolv/
Dtst-res_hnok.c100 int actual = func (test->dn); in one_test() local
101 if (actual != expected) in one_test()
105 funcname, test->dn, expected, actual); in one_test()
121 int actual = func (dn); in one_char() local
122 if (actual != expected) in one_char()
126 funcname, dn, expected, actual); in one_char()
Dtst-resolv-basic.c261 char *actual = support_format_addrinfo (ai, ret); in test_bug_21295() local
262 if (!(strcmp (actual, expected_a) == 0 in test_bug_21295()
263 || strcmp (actual, expected_b) == 0)) in test_bug_21295()
267 __func__, do_tcp, actual); in test_bug_21295()
269 free (actual); in test_bug_21295()
/glibc-2.36/localedata/
Dtst-langinfo-setlocale.c28 char *actual; in test_locale() local
40 actual = nl_langinfo (param); in test_locale()
41 printf (" = \"%s\", ", actual); in test_locale()
43 if (strcmp (actual, expected) == 0) in test_locale()
Dtst-langinfo-newlocale.c28 char *actual; in test_locale() local
40 actual = nl_langinfo_l(param, loc); in test_locale()
41 printf (" = \"%s\", ", actual); in test_locale()
43 if (strcmp (actual, expected) == 0) in test_locale()
/glibc-2.36/support/
Dtst-support_format_dns_packet.c31 char *actual = support_format_dns_packet (buffer, length); in check_packet() local
32 if (strcmp (actual, expected) != 0) in check_packet()
37 "actual", actual); in check_packet()
39 free (actual); in check_packet()
/glibc-2.36/stdlib/
Dtst-strfmon_l.c76 static char actual[64], actualld[64]; in test_one() local
77 int result = strfmon_l (actual, sizeof (actual), loc, format, value); in test_one()
91 else if (strcmp (actual, expected) != 0) in test_one()
96 printf ("error: actual: \"%s\"\n", actual); in test_one()
/glibc-2.36/malloc/
Dtst-interpose-skeleton.c81 char *actual = NULL; in run_tests() local
86 ssize_t result = getline (&actual, &actual_size, fp); in run_tests()
120 if (strcmp (actual, expected) != 0) in run_tests()
124 printf ("error: actual: [[%s]]\n", actual); in run_tests()
/glibc-2.36/sysdeps/powerpc/
Dtst-set_ppr.c57 ppr_t actual = get_thread_priority (); in check_thread_priority() local
59 if (actual != expected) in check_thread_priority()
62 (uintmax_t) actual); in check_thread_priority()
Dtest-arith.c223 check_result(int line, const char *rm, tocheck_t expected, tocheck_t actual) in check_result() argument
225 if (memcmp (&expected, &actual, sizeof (tocheck_t)) != 0) in check_result()
233 ac = (unsigned char *)&actual; in check_result()
319 check_excepts(int line, const char *rm, int expected, int actual) in check_excepts() argument
323 if ((expected & all_exceptions) != actual) in check_excepts()
335 if (actual & excepts[i].except) in check_excepts()
337 if ((actual & all_exceptions) == 0) in check_excepts()
/glibc-2.36/inet/
Dtst-inet6_scopeid_pton.c160 uint32_t actual = expected + 1; in expect_success() local
161 if (__inet6_scopeid_pton (&addr, scope, &actual) != 0) in expect_success()
167 if (actual != expected) in expect_success()
173 printf (" actual: %" PRIu32 "\n", actual); in expect_success()
/glibc-2.36/gshadow/
Dtst-fgetsgent_r.c136 char * actual = format_ent (*result_pointer_storage); in run_test() local
137 TEST_COMPARE_STRING (inputs[i].expected, actual); in run_test()
138 free (actual); in run_test()
/glibc-2.36/string/
Dtst-memmove-overflow.c67 check_one_index (size_t index, unsigned char actual, unsigned char expected) in check_one_index() argument
69 if (actual != expected) in check_one_index()
72 index, actual, expected); in check_one_index()
Dtst-cmp.c208 int actual = functions[func].implementation in do_test() local
210 if (signum (actual) != signum (expected)) in do_test()
217 functions[func].name, actual, in do_test()
/glibc-2.36/nptl/
Dtst-thread_local1.cc101 std::string actual{all_counters ()}; in check_counters() local
102 if (actual != expected) in check_counters()
105 name, actual.c_str (), expected); in check_counters()
/glibc-2.36/misc/
Dtst-fd_to_filename.c34 char *actual = __fd_to_filename (value, &storage); in check() local
37 TEST_COMPARE_STRING (actual, expected); in check()

1234