Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 505) sorted by relevance

12345678910>>...21

/glibc-2.36/support/
Dtst-support_capture_subprocess.c82 struct test struct
92 test_common (const struct test *test) in test_common() argument
95 switch (test->write_mode) in test_common()
98 TEST_VERIFY (fputs (test->out, stdout) >= 0); in test_common()
100 TEST_VERIFY (fputs (test->err, stderr) >= 0); in test_common()
105 TEST_VERIFY (fputs (test->err, stderr) >= 0); in test_common()
107 TEST_VERIFY (fputs (test->out, stdout) >= 0); in test_common()
113 const unsigned char *pout = (const unsigned char *) test->out; in test_common()
114 const unsigned char *perr = (const unsigned char *) test->err; in test_common()
127 if (test->signal != 0) in test_common()
[all …]
/glibc-2.36/sysdeps/i386/i686/multiarch/
Dstrchr-sse2.S69 test %eax, %eax
74 test %edx, %edx
80 test %edx, %edx
94 test %eax, %eax
96 test %edx, %edx
105 test %eax, %eax
107 test %edx, %edx
116 test %eax, %eax
118 test %edx, %edx
127 test %eax, %eax
[all …]
Dmemrchr-sse2.S56 test %eax, %eax
78 test %eax, %eax
84 test %eax, %eax
90 test %eax, %eax
96 test %eax, %eax
106 test %eax, %eax
112 test %eax, %eax
118 test %eax, %eax
124 test %eax, %eax
129 test %eax, %eax
[all …]
Dstrlen-sse2.S127 test %edx, %edx
134 test %edx, %edx
141 test %edx, %edx
147 test %edx, %edx
158 test %edx, %edx
164 test %edx, %edx
170 test %edx, %edx
176 test %edx, %edx
187 test %edx, %edx
193 test %edx, %edx
[all …]
Dstrrchr-sse2.S68 test %eax, %eax
71 test %ecx, %ecx
87 test %ecx, %ecx
119 test %eax, %eax
122 test %edx, %edx
136 test %edx, %edx
185 test %eax, %eax
188 test %ebx, %ebx
215 test %ecx, %ecx
223 test %cl, %cl
[all …]
Dmemchr-sse2.S61 test %edx, %edx
85 test %eax, %eax
115 test %eax, %eax
144 test %eax, %eax
155 test %eax, %eax
166 test %eax, %eax
177 test %eax, %eax
193 test %eax, %eax
204 test %eax, %eax
215 test %eax, %eax
[all …]
Dwcsrchr-sse2.S65 test %eax, %eax
68 test %ecx, %ecx
82 test %ecx, %ecx
113 test %eax, %eax
116 test %edx, %edx
128 test %edx, %edx
177 test %eax, %eax
180 test %edx, %edx
187 test %ah, %ah
189 test $15 << 4, %al
[all …]
Dwcschr-sse2.S77 test %eax, %eax
83 test %edx, %edx
85 test %al, %al
87 test $15, %al
89 test $15, %dl
101 test %edx, %edx
148 test %eax, %eax
150 test %edx, %edx
155 test %al, %al
157 test $15, %al
[all …]
/glibc-2.36/posix/
Dbug-regex19.c255 do_one_test (const struct test_s *test, const char *fail) in do_one_test() argument
261 re_set_syntax (test->syntax); in do_one_test()
263 err = re_compile_pattern (test->pattern, strlen (test->pattern), in do_one_test()
267 printf ("%sre_compile_pattern \"%s\" failed: %s\n", fail, test->pattern, in do_one_test()
278 res = re_search (&regbuf, test->string, strlen (test->string), in do_one_test()
279 test->start, strlen (test->string) - test->start, NULL); in do_one_test()
283 if (res != test->res) in do_one_test()
286 fail, test->pattern, test->string, res, test->res); in do_one_test()
291 if (test->res > 0 && test->start == 0) in do_one_test()
299 res = re_search (&regbuf, test->string, strlen (test->string), in do_one_test()
[all …]
/glibc-2.36/sysdeps/x86_64/multiarch/
Dstrchr-sse2-no-bsf.S49 test %eax, %eax
51 test %edx, %edx
66 test %eax, %eax
78 test %edx, %edx
83 test %al, %al
94 test $0x10, %al
96 test $0x10, %dl
98 test $0x20, %al
100 test $0x20, %dl
102 test $0x40, %al
[all …]
Dstrcat-sse2-unaligned.S53 test %edx, %edx
76 test %edx, %edx
81 test %edx, %edx
86 test %edx, %edx
91 test %edx, %edx
97 test %edx, %edx
102 test %edx, %edx
107 test %edx, %edx
112 test %edx, %edx
118 test %edx, %edx
[all …]
Dstrcat-avx2.S54 test %edx, %edx
73 test %edx, %edx
78 test %edx, %edx
83 test %edx, %edx
88 test %edx, %edx
94 test %edx, %edx
99 test %edx, %edx
104 test %edx, %edx
109 test %edx, %edx
115 test %edx, %edx
[all …]
Dstrcat-evex.S59 test %edx, %edx
78 test %edx, %edx
83 test %edx, %edx
88 test %edx, %edx
93 test %edx, %edx
99 test %edx, %edx
104 test %edx, %edx
109 test %edx, %edx
114 test %edx, %edx
120 test %edx, %edx
[all …]
Dwcslen-sse2.S59 test %edx, %edx
66 test %edx, %edx
73 test %edx, %edx
79 test %edx, %edx
85 test %edx, %edx
91 test %edx, %edx
97 test %edx, %edx
103 test %edx, %edx
109 test %edx, %edx
115 test %edx, %edx
[all …]
Dmemchr-sse2.S49 test %RDX_LP, %RDX_LP
53 test %RDX_LP, %RDX_LP
67 test %eax, %eax
94 test %eax, %eax
131 test %eax, %eax
137 test %eax, %eax
143 test %eax, %eax
150 test %eax, %eax
153 test $0x3f, %rdi
162 test %eax, %eax
[all …]
/glibc-2.36/math/
Dtest-narrow-macros.c26 #define f test macro
27 #define d test macro
28 #define l test macro
29 #define f16 test macro
30 #define f32 test macro
31 #define f64 test macro
32 #define f128 test macro
33 #define f32x test macro
34 #define f64x test macro
35 #define f128x test macro
[all …]
DREADME.libm-test1 README for libm-test math test suite
4 The libm-test math test suite tests a number of function points of
6 brief overview. Please note that the test drivers and the Python
7 script "gen-libm-test.py" have some options. A full list of options
8 is available with --help (for the test drivers) and -h for
9 "gen-libm-test.py".
21 Files that are part of libm-test
24 The main files are "libm-test-<func>.inc". They are independent of
26 contain placeholder test "templates" for math functions defined in
28 "auto-libm-test-out-<func>", are preprocessed by the Python script
[all …]
/glibc-2.36/misc/
Dtst-dirname.c26 test (const char *input, const char *result) in test() function
45 result |= test ("/usr/lib", "/usr"); in do_test()
46 result |= test ("/usr/", "/"); in do_test()
47 result |= test ("usr", "."); in do_test()
48 result |= test ("/", "/"); in do_test()
49 result |= test (".", "."); in do_test()
50 result |= test ("..", "."); in do_test()
53 result |= test ("/usr/lib/", "/usr"); in do_test()
54 result |= test ("/usr", "/"); in do_test()
55 result |= test ("a//", "."); in do_test()
[all …]
/glibc-2.36/resolv/
Dtst-ns_name_pton.c144 for (const struct test_case *test = tests; test < array_end (tests); ++test) in do_test() local
147 printf ("info: testing domain name [[[%s]]]\n", test->dn); in do_test()
148 int ret = ns_name_pton (test->dn, wire, NS_MAXCDNAME); in do_test()
151 if (test->back != NULL) in do_test()
155 test->dn); in do_test()
165 ret, test->dn); in do_test()
174 printf ("error: failure to convert back [[%s]]\n", test->dn); in do_test()
177 if (test->back == NULL) in do_test()
180 printf ("error: unexpected success converting [[%s]]\n", test->dn); in do_test()
182 printf ("error: result converts back to [[%s]]\n", test->dn); in do_test()
[all …]
Dtst-res_hnok.c96 one_test (const struct test_case *test, const char *funcname, in one_test() argument
99 int expected = (test->result & bit) != 0; in one_test()
100 int actual = func (test->dn); in one_test()
105 funcname, test->dn, expected, actual); in one_test()
140 for (const struct test_case *test = tests; test < array_end (tests); ++test) in do_test() local
144 test->dn, test->result); in do_test()
145 one_test (test, "res_hnok", res_hnok, hnok); in do_test()
146 one_test (test, "res_dnok", res_dnok, dnok); in do_test()
147 one_test (test, "res_mailok", res_mailok, mailok); in do_test()
148 one_test (test, "res_ownok", res_ownok, ownok); in do_test()
/glibc-2.36/scripts/
Dtest_printers_common.py108 def test(command, pattern=None): function
171 test('set debuginfod enabled off')
177 test('source {0}'.format(printer_file))
180 test('disable pretty-printer', r'0 of [0-9]+ printers enabled')
184 test('enable pretty-printer {0}'.format(printer),
188 test('file {0}'.format(test_bin))
191 test('set environment GLIBC_TUNABLES glibc.elision.enable=0')
196 test('start', r'main')
266 test('{0} {1}:{2} {3}'.format(command, file_name, line_number, thread_str),
287 test(command)
[all …]
/glibc-2.36/libio/
Dtst-freopen.c43 const char * const test = "Let's test freopen.\n"; in do_test_basic() local
44 char temp[strlen (test) + 1]; in do_test_basic()
50 fputs (test, f); in do_test_basic()
57 if (fread (temp, 1, strlen (test), f) != strlen (test)) in do_test_basic()
59 temp [strlen (test)] = '\0'; in do_test_basic()
61 if (strcmp (test, temp)) in do_test_basic()
63 test, temp); in do_test_basic()
72 if (fread (temp, 1, strlen (test), f) != strlen (test)) in do_test_basic()
74 temp [strlen (test)] = '\0'; in do_test_basic()
76 if (strcmp (test, temp)) in do_test_basic()
[all …]
/glibc-2.36/stdlib/
Dtst-qsort2.c29 test (size_t nmemb, size_t size) in test() function
74 ret |= test (atoi (argv[1]), atoi (argv[2])); in main()
77 ret |= test (10000, 1); in main()
78 ret |= test (200000, 2); in main()
79 ret |= test (2000000, 3); in main()
80 ret |= test (2132310, 4); in main()
81 ret |= test (1202730, 7); in main()
82 ret |= test (1184710, 8); in main()
83 ret |= test (272710, 12); in main()
84 ret |= test (14170, 32); in main()
[all …]
/glibc-2.36/stdio-common/
Dtst-fmemopen4.c38 const char test[] = "test"; in do_test() local
40 size_t r = fwrite (test, sizeof (char), sizeof (test), stream); in do_test()
41 if (r != sizeof (test)) in do_test()
43 printf ("error: fwrite returned %zu, expected %zu\n", r, sizeof (test)); in do_test()
48 if (r != sizeof (test)) in do_test()
50 printf ("error: ftell return %zu, expected %zu\n", r, sizeof (test)); in do_test()
61 if (r != sizeof (test)) in do_test()
63 printf ("error: ftell return %zu, expected %zu\n", r, sizeof (test)); in do_test()
/glibc-2.36/sysdeps/x86_64/fpu/
DMakeconfig98 $(addprefix test-double-libmvec-,$(libmvec-funcs)) \
99 $(addsuffix f,$(addprefix test-float-libmvec-,$(libmvec-funcs)))
116 echo "extra-test-objs += \\"; \
118 echo " test-libmvec$$i.o \\"; \
120 echo "# extra-test-objs"; \
126 echo " \$$(objpfx)test-libmvec$$i.o \$$(libmvec)"; \
131 echo "CFLAGS-test-double-libmvec-$$t.c = \\"; \
132 echo " \$$(libmvec-abi-test-cflags)"; \
133 echo "CFLAGS-test-double-libmvec-$$t-avx.c = \\"; \
134 echo " \$$(libmvec-abi-test-cflags) \\"; \
[all …]

12345678910>>...21