Home
last modified time | relevance | path

Searched refs:strcmp (Results 1 – 25 of 549) sorted by relevance

12345678910>>...22

/glibc-2.36/nscd/
Dnscd_conf.c50 if (strcmp (name, dbnames[cnt]) == 0) in find_db()
123 if (strcmp (entry, "positive-time-to-live") == 0) in nscd_parse_file()
129 else if (strcmp (entry, "negative-time-to-live") == 0) in nscd_parse_file()
135 else if (strcmp (entry, "suggested-size") == 0) in nscd_parse_file()
142 else if (strcmp (entry, "enable-cache") == 0) in nscd_parse_file()
147 if (strcmp (arg2, "no") == 0) in nscd_parse_file()
149 else if (strcmp (arg2, "yes") == 0) in nscd_parse_file()
153 else if (strcmp (entry, "check-files") == 0) in nscd_parse_file()
158 if (strcmp (arg2, "no") == 0) in nscd_parse_file()
160 else if (strcmp (arg2, "yes") == 0) in nscd_parse_file()
[all …]
/glibc-2.36/stdio-common/
Dtst-printf.c231 result |= strcmp (buf, in do_test()
243 if (strcmp (buf, "40000000000") != 0) in do_test()
296 if (strcmp (buf, " ") != 0) in rfg1()
299 if (strcmp (buf, " 33") != 0) in rfg1()
302 if (strcmp (buf, " 33") != 0) in rfg1()
305 if (strcmp (buf, " 3e+08") != 0) in rfg1()
308 if (strcmp (buf, " 3E+08") != 0) in rfg1()
311 if (strcmp (buf, "3e+01") != 0) in rfg1()
314 if (strcmp (buf, "3e+01") != 0) in rfg1()
317 if (strcmp (buf, "3E+01") != 0) in rfg1()
[all …]
Dtst-vfprintf-mbs-prec.c107 TEST_VERIFY (strcmp (buf, "xyz") == 0); in test_mbs_result()
112 TEST_VERIFY (strcmp (buf, "x\xC3\x9Fz") == 0); in test_mbs_result()
117 TEST_VERIFY (strcmp (buf, "x") == 0); in test_mbs_result()
120 TEST_VERIFY (strcmp (buf, "x") == 0); in test_mbs_result()
123 TEST_VERIFY (strcmp (buf, "x\xC3\x9F") == 0); in test_mbs_result()
126 TEST_VERIFY (strcmp (buf, "x\xC3\x9Fz") == 0); in test_mbs_result()
129 TEST_VERIFY (strcmp (buf, "x\xC3\x9Fz") == 0); in test_mbs_result()
134 TEST_VERIFY (strcmp (buf, " x") == 0); in test_mbs_result()
137 TEST_VERIFY (strcmp (buf, " x") == 0); in test_mbs_result()
140 TEST_VERIFY (strcmp (buf, "x\xC3\x9F") == 0); in test_mbs_result()
[all …]
Dtst-grouping.c21 if (strcmp (buf1, buf2) != 0) in do_test()
27 if (strcmp (buf1, buf2) != 0) in do_test()
33 if (strcmp (buf1, buf2) != 0) in do_test()
39 if (strcmp (buf1, buf2) != 0) in do_test()
45 if (strcmp (buf1, buf2) != 0) in do_test()
51 if (strcmp (buf1, buf2) != 0) in do_test()
57 if (strcmp (buf1, buf2) != 0) in do_test()
63 if (strcmp (buf1, buf2) != 0) in do_test()
69 if (strcmp (buf1, buf2) != 0) in do_test()
75 if (strcmp (buf1, buf2) != 0) in do_test()
Dtstscanf.c44 || strcmp (buf, "08905") != 0) in main()
57 if (strcmp (buf, "] Zero flag Ze]ro") != 0) in main()
63 if (argc == 2 && !strcmp (argv[1], "-opipe")) in main()
72 else if (argc == 3 && !strcmp (argv[1], "-ipipe")) in main()
89 if (strcmp (name, "thompson") != 0) in main()
106 if (n != 3 || i != 25 || x != 5.432F || strcmp (name, "thompson")) in main()
113 if (strcmp (buf, "\n")) in main()
125 if (i != 56 || x != 789.0F || strcmp (name, "56")) in main()
132 if (strcmp (buf, "a72\n")) in main()
171 || strcmp (item, ok[rounds-1].item) in main()
[all …]
Dtstdiomisc.c68 result |= retval != 5 || strcmp (buf, "(nil)") != 0; in t3()
108 result |= strcmp (buf, "nan NAN nan NAN nan NAN nan NAN") != 0; in F()
114 result |= strcmp (buf, "-nan -NAN -nan -NAN -nan -NAN -nan -NAN") != 0; in F()
121 result |= strcmp (buf, "nan NAN nan NAN nan NAN nan NAN") != 0; in F()
127 result |= strcmp (buf, "-nan -NAN -nan -NAN -nan -NAN -nan -NAN") != 0; in F()
135 result |= strcmp (buf, "inf INF inf INF inf INF inf INF") != 0; in F()
141 result |= strcmp (buf, "-inf -INF -inf -INF -inf -INF -inf -INF") != 0; in F()
188 result |= strcmp (buf, "nan NAN nan NAN nan NAN nan NAN") != 0; in F()
194 result |= strcmp (buf, "-nan -NAN -nan -NAN -nan -NAN -nan -NAN") != 0; in F()
201 result |= strcmp (buf, "nan NAN nan NAN nan NAN nan NAN") != 0; in F()
[all …]
/glibc-2.36/sysdeps/s390/s390-64/
Dtst-glibc-hwcaps.c41 if (strcmp (platform, "z900") == 0) in compute_level()
43 if (strcmp (platform, "z990") == 0) in compute_level()
45 if (strcmp (platform, "z9-109") == 0) in compute_level()
47 if (strcmp (platform, "z10") == 0) in compute_level()
49 if (strcmp (platform, "z196") == 0) in compute_level()
51 if (strcmp (platform, "zEC12") == 0) in compute_level()
61 if (strcmp (platform, "z13") == 0) in compute_level()
63 if (strcmp (platform, "z14") == 0) in compute_level()
65 if (strcmp (platform, "z15") == 0) in compute_level()
67 if (strcmp (platform, "z16") == 0) in compute_level()
/glibc-2.36/elf/
Dtst-auditmod24d.c44 if (strcmp (l_name, "tst-audit24dmod1.so") == 0) in la_objopen()
46 else if (strcmp (l_name, "tst-audit24dmod2.so") == 0) in la_objopen()
48 else if (strcmp (l_name, "tst-audit24dmod3.so") == 0) in la_objopen()
50 else if (strcmp (l_name, "tst-audit24dmod.so") == 0) in la_objopen()
52 else if (strcmp (l_name, "tst-audit24d") == 0) in la_objopen()
95 if (strcmp (symname, "tst_audit24dmod1_func1") == 0) in la_symbind64()
97 else if (strcmp (symname, "tst_audit24dmod1_func2") == 0) in la_symbind64()
102 && (strcmp (symname, "tst_audit24dmod2_func1") == 0)) in la_symbind64()
111 && strcmp (symname, "tst_audit24dmod3_func1") == 0) in la_symbind64()
Dvismain.c173 if (strcmp (protvarlocal, __FILE__) != 0) in do_test()
178 if (strcmp (*getvarlocal1 (), "vismod1.c") != 0) in do_test()
183 if (strcmp (*getvarlocal2 (), "vismod2.c") != 0) in do_test()
202 if (strcmp (*getvarinmod1 (), "vismod1.c") != 0) in do_test()
207 if (strcmp (*getvarinmod2 (), "vismod2.c") != 0) in do_test()
236 if (strcmp (protvaritcpt, "vismod3.c") != 0) in do_test()
241 if (strcmp (*getvaritcpt1 (), "vismod1.c") != 0) in do_test()
246 if (strcmp (*getvaritcpt2 (), "vismod2.c") != 0) in do_test()
Dtst-auditmod24b.c45 if (strcmp (l_name, TEST_NAME "mod1.so") == 0) in la_objopen()
47 else if (strcmp (l_name, TEST_NAME "mod2.so") == 0) in la_objopen()
49 else if (strcmp (l_name, TEST_NAME) == 0) in la_objopen()
84 if (strcmp (symname, TEST_FUNC "mod1_func1") == 0) in la_symbind64()
86 else if (strcmp (symname, TEST_FUNC "mod1_func2") == 0) in la_symbind64()
96 && (strcmp (symname, TEST_FUNC "mod2_func1") == 0)) in la_symbind64()
Dtst-auditmod24a.c52 if (strcmp (l_name, TEST_MOD "mod1.so") == 0) in la_objopen()
54 else if (strcmp (l_name, TEST_MOD "mod2.so") == 0) in la_objopen()
56 else if (strcmp (l_name, TEST_NAME) == 0) in la_objopen()
95 if (strcmp (symname, TEST_FUNC "mod1_func1") == 0) in la_symbind64()
97 else if (strcmp (symname, TEST_FUNC "mod1_func2") == 0) in la_symbind64()
102 && (strcmp (symname, TEST_FUNC "mod2_func1") == 0)) in la_symbind64()
/glibc-2.36/sysdeps/powerpc/powerpc64/multiarch/
Dstrcmp.c20 # define strcmp __redirect_strcmp macro
27 extern __typeof (strcmp) __strcmp_ppc attribute_hidden;
28 extern __typeof (strcmp) __strcmp_power7 attribute_hidden;
29 extern __typeof (strcmp) __strcmp_power8 attribute_hidden;
31 extern __typeof (strcmp) __strcmp_power9 attribute_hidden;
34 # undef strcmp
36 libc_ifunc_redirected (__redirect_strcmp, strcmp,
/glibc-2.36/stdlib/
Dtst-environ.c53 if (valp == NULL || strcmp (valp, "one") != 0) in do_test()
68 if (valp == NULL || strcmp (valp, "one") != 0) in do_test()
83 if (valp == NULL || strcmp (valp, "some longer value") != 0) in do_test()
95 if (valp == NULL || strcmp (valp, "a short one") != 0) in do_test()
113 if (valp == NULL || strcmp (valp, "some other value") != 0) in do_test()
128 if (valp == NULL || strcmp (valp, "a new value") != 0) in do_test()
141 || (strcmp (valp, "a new value") != 0 in do_test()
142 && strcmp (valp, "old name new value") != 0)) in do_test()
170 if (valp == NULL || strcmp (valp, "one character test") != 0) in do_test()
/glibc-2.36/dirent/
Dtst-scandir.c76 if (strcmp (d->d_name, ".") != 0 && strcmp (d->d_name, "..") != 0) in verify_empty()
180 if (!strcmp (list[i]->d_name, expected[j].name)) in do_test()
220 if (strcmp (list[i]->d_name, expected[i].name)) in do_test()
245 if (strcmp (list[0]->d_name, "a") && strcmp (list[0]->d_name, "aa")) in do_test()
251 if (strcmp (list[1]->d_name, "a") && strcmp (list[1]->d_name, "aa")) in do_test()
257 if (!strcmp (list[0]->d_name, list[1]->d_name)) in do_test()
281 if (strcmp (list[0]->d_name, "a") || strcmp (list[1]->d_name, "aa")) in do_test()
/glibc-2.36/io/
Dtst-unlinkat.c77 if (strcmp (d->d_name, ".") != 0 && strcmp (d->d_name, "..") != 0) in do_test()
123 if (strcmp (d->d_name, ".") != 0 && strcmp (d->d_name, "..") != 0) in do_test()
125 if (strcmp (d->d_name, "some-file") != 0) in do_test()
163 if (strcmp (d->d_name, ".") != 0 && strcmp (d->d_name, "..") != 0) in do_test()
165 if (strcmp (d->d_name, "some-file") == 0) in do_test()
Dtst-ftw-lnk.c100 if (strcmp (fpath, "./link1-bad") == 0) in callback_phys()
111 if (strcmp (fpath, "./link2-ok") == 0) in callback_phys()
122 if (strcmp (fpath, "./link2-tgt") == 0) in callback_phys()
148 if (strcmp (fpath, "./link1-bad") == 0) in callback_log()
160 if (strcmp (fpath, "./link2-ok") == 0) in callback_log()
171 if (strcmp (fpath, "./link2-tgt") == 0) in callback_log()
/glibc-2.36/sysdeps/powerpc/
Ddl-procinfo.h77 if (strcmp (str, _dl_hwcap_string (i)) == 0) in _dl_string_hwcap()
140 if (strcmp (str + 3, "970") == 0) in _dl_string_platform()
142 else if (strcmp (str + 3, "-cell-be") == 0) in _dl_string_platform()
144 else if (strcmp (str + 3, "a2") == 0) in _dl_string_platform()
146 else if (strcmp (str + 3, "405") == 0) in _dl_string_platform()
148 else if (strcmp (str + 3, "440") == 0) in _dl_string_platform()
150 else if (strcmp (str + 3, "464") == 0) in _dl_string_platform()
152 else if (strcmp (str + 3, "476") == 0) in _dl_string_platform()
/glibc-2.36/time/
Dtst-posixtz.c59 if (strcmp (buf, tests[cnt].result) == 0) in do_test()
85 && strcmp (tzname[0], "AEST") == 0 && strcmp (tzname[1], "AEDST") == 0) in do_test()
98 && strcmp (tzname[0], "AB1") == 0 && strcmp (tzname[1], "AB2") == 0) in do_test()
111 && strcmp (tzname[0], "BB1") == 0 && strcmp (tzname[1], "BB1") == 0) in do_test()
/glibc-2.36/nss/
Dtst-reload1.c124 TEST_VERIFY (strcmp (p->pw_name, pt[i].pw_name) == 0); in must_be_tests()
135 TEST_VERIFY (strcmp (p->pw_name, pt[i].pw_name) == 0); in must_be_tests()
147 TEST_VERIFY (strcmp (h->h_name, ht[i].h_name) == 0); in must_be_tests()
150 TEST_VERIFY (strcmp (h->h_addr_list[0], ht[i].h_addr_list[0]) == 0); in must_be_tests()
165 TEST_VERIFY (strcmp (r.h_name, ht[i].h_name) == 0); in must_be_tests()
168 TEST_VERIFY (strcmp (r.h_addr_list[0], ht[i].h_addr_list[0]) == 0); in must_be_tests()
178 TEST_VERIFY (strcmp (h->h_name, ht[i].h_name) == 0); in must_be_tests()
181 TEST_VERIFY (strcmp (h->h_addr_list[0], ht[i].h_addr_list[0]) == 0); in must_be_tests()
238 TEST_VERIFY (strcmp (ht[i].h_name, host_buf) == 0); in must_be_tests()
288 TEST_VERIFY (strcmp (p->pw_name, pwd_table_1[i].pw_name) == 0); in test_cross_switch_consistency()
[all …]
/glibc-2.36/localedata/
Dbug-setlocale1.c31 if (strcmp (a, c) != 0) in do_test()
42 if (strcmp (d, "C") != 0) in do_test()
53 if (strcmp (a, e) != 0) in do_test()
64 if (strcmp (f, "C") != 0) in do_test()
75 if (strcmp (g, "C") != 0) in do_test()
86 if (strcmp (h, "C") != 0) in do_test()
/glibc-2.36/sysdeps/x86_64/multiarch/
Dstrcmp.c22 # define strcmp __redirect_strcmp macro
24 # undef strcmp
26 # define SYMBOL_NAME strcmp
79 libc_ifunc_redirected (__redirect_strcmp, strcmp, IFUNC_SELECTOR ());
82 __hidden_ver1 (strcmp, __GI_strcmp, __redirect_strcmp)
83 __attribute__ ((visibility ("hidden"))) __attribute_copy__ (strcmp);
/glibc-2.36/support/
Dtest-container.c489 rv = strcmp (al, bl); in need_sync()
538 if (strcmp (de->d_name, ".") == 0 in rsync_1()
539 || strcmp (de->d_name, "..") == 0) in rsync_1()
631 if (strcmp (de->d_name, ".") == 0 in rsync_1()
632 || strcmp (de->d_name, "..") == 0) in rsync_1()
792 if (strcmp (argv[1], "-v") == 0) in main()
799 if (strcmp (argv[1], "env") == 0) in main()
817 if (strcmp (argv[1], support_objdir_elf_ldso) == 0) in main()
823 if (strcmp (argv[1], "--library-path") == 0) in main()
965 else if (strcmp (the_words[0], "exec") != 0 in main()
[all …]
/glibc-2.36/misc/
Dtst-mntent.c52 if (strcmp (buf, "/dev/hda1 /some\\040dir ext2 defaults 1 2\n") != 0) in do_test()
64 if (strcmp (mnt->mnt_fsname, "/dev/hda1") != 0 in do_test()
65 || strcmp (mnt->mnt_dir, "/some dir") != 0 in do_test()
66 || strcmp (mnt->mnt_type, "ext2") != 0 in do_test()
67 || strcmp (mnt->mnt_opts, "defaults") != 0 in do_test()
/glibc-2.36/sysdeps/i386/
Dtst-auditmod3b.c139 if (strcmp (symname, "audit1_test") == 0 in pltenter()
140 || strcmp (symname, "audit2_test") == 0) in pltenter()
162 if (strcmp (symname, "audit1_test") == 0 in pltexit()
163 || strcmp (symname, "audit2_test") == 0) in pltexit()
170 if (strcmp (symname, "audit1_test") == 0) in pltexit()
178 else if (strcmp (symname, "audit2_test") == 0) in pltexit()
/glibc-2.36/sysdeps/i386/i686/multiarch/
Dstrcmp.c22 # define strcmp __redirect_strcmp macro
24 # undef strcmp
26 # define SYMBOL_NAME strcmp
29 libc_ifunc_redirected (__redirect_strcmp, strcmp, IFUNC_SELECTOR ());

12345678910>>...22