Home
last modified time | relevance | path

Searched refs:strncmp (Results 1 – 25 of 198) sorted by relevance

12345678

/glibc-2.36/sysdeps/powerpc/powerpc64/multiarch/
Dstrncmp.c21 # define strncmp __redirect_strncmp macro
28 extern __typeof (strncmp) __strncmp_ppc attribute_hidden;
29 extern __typeof (strncmp) __strncmp_power4 attribute_hidden;
30 extern __typeof (strncmp) __strncmp_power7 attribute_hidden;
31 extern __typeof (strncmp) __strncmp_power8 attribute_hidden;
33 extern __typeof (strncmp) __strncmp_power9 attribute_hidden;
35 # undef strncmp
39 libc_ifunc_redirected (__redirect_strncmp, strncmp,
DMakefile15 strncmp-power8 strncmp-power7 \
16 strncmp-power4 strncmp-ppc64 \
37 strcmp-power9 strncmp-power9 strcpy-power9 stpcpy-power9 \
Difunc-impl-list.c164 IFUNC_IMPL (i, name, strncmp, in __libc_ifunc_impl_list()
166 IFUNC_IMPL_ADD (array, i, strncmp, hwcap2 & PPC_FEATURE2_ARCH_3_00 in __libc_ifunc_impl_list()
170 IFUNC_IMPL_ADD (array, i, strncmp, hwcap2 & PPC_FEATURE2_ARCH_2_07, in __libc_ifunc_impl_list()
172 IFUNC_IMPL_ADD (array, i, strncmp, hwcap & PPC_FEATURE_ARCH_2_06, in __libc_ifunc_impl_list()
174 IFUNC_IMPL_ADD (array, i, strncmp, hwcap & PPC_FEATURE_POWER4, in __libc_ifunc_impl_list()
176 IFUNC_IMPL_ADD (array, i, strncmp, 1, in __libc_ifunc_impl_list()
/glibc-2.36/sysdeps/powerpc/powerpc32/power4/multiarch/
Dstrncmp.c21 # define strncmp __redirect_strncmp macro
28 extern __typeof (strncmp) __strncmp_ppc attribute_hidden;
29 extern __typeof (strncmp) __strncmp_power4 attribute_hidden;
30 extern __typeof (strncmp) __strncmp_power7 attribute_hidden;
31 # undef strncmp
35 libc_ifunc_redirected (__redirect_strncmp, strncmp,
/glibc-2.36/sysdeps/x86_64/multiarch/
Dstrncmp.c22 # define strncmp __redirect_strncmp macro
24 # undef strncmp
26 # define SYMBOL_NAME strncmp
67 libc_ifunc_redirected (__redirect_strncmp, strncmp, IFUNC_SELECTOR ());
70 __hidden_ver1 (strncmp, __GI_strncmp, __redirect_strncmp)
71 __attribute__ ((visibility ("hidden"))) __attribute_copy__ (strncmp);
DMakefile95 strncmp-avx2 \
96 strncmp-avx2-rtm \
97 strncmp-evex \
98 strncmp-sse2 \
99 strncmp-sse4_2 \
/glibc-2.36/libio/
Dtst_wprintf2.c71 strncmp (buf, "test start int 3", len) == 0 ? "OK" : "FAIL"); in main()
72 res |= strncmp (buf, "test start int 3", len) != 0; in main()
85 strncmp (buf, "1[ Som]", len) == 0 ? "OK" : "FAIL"); in main()
86 res |= strncmp (buf, "1[ Som]", len) != 0; in main()
99 strncmp (buf, "hello.", len) == 0 ? "OK" : "FAIL"); in main()
100 res |= strncmp (buf, "hello.", len) != 0; in main()
/glibc-2.36/crypt/
Dcrypt-entry.c84 if (strncmp (md5_salt_prefix, salt, sizeof (md5_salt_prefix) - 1) == 0) in __crypt_r()
97 if (strncmp (sha256_salt_prefix, salt, sizeof (sha256_salt_prefix) - 1) == 0) in __crypt_r()
102 if (strncmp (sha512_salt_prefix, salt, sizeof (sha512_salt_prefix) - 1) == 0) in __crypt_r()
163 if (strncmp (md5_salt_prefix, salt, sizeof (md5_salt_prefix) - 1) == 0 in weak_alias()
169 if (strncmp (sha256_salt_prefix, salt, sizeof (sha256_salt_prefix) - 1) == 0) in weak_alias()
173 if (strncmp (sha512_salt_prefix, salt, sizeof (sha512_salt_prefix) - 1) == 0) in weak_alias()
/glibc-2.36/elf/
Ddl-is_dso.h29 return (((strncmp (name, "lib", 3) == 0 || strncmp (name, "ld-", 3) == 0) in _dl_is_dso()
31 || strncmp (name, "ld.so.", 6) == 0 in _dl_is_dso()
32 || strncmp (name, "ld64.so.", 8) == 0); in _dl_is_dso()
/glibc-2.36/sysdeps/i386/i686/multiarch/
Dstrncmp.c22 # define strncmp __redirect_strncmp macro
24 # undef strncmp
26 # define SYMBOL_NAME strncmp
29 libc_ifunc_redirected (__redirect_strncmp, strncmp, IFUNC_SELECTOR ());
DMakefile7 strcmp-sse4 strncmp-c strncmp-ssse3 strncmp-sse4 \
/glibc-2.36/nptl/
Dtst-setgetname.c99 if (strncmp (name, name_check, strlen (BIG_NAME)) == 0) in do_test()
129 if (strncmp (NEW_NAME, name_check, strlen (BIG_NAME)) == 0) in do_test()
169 if (strncmp (name, name_check, strlen (BIG_NAME)) == 0) in do_test()
215 if (strncmp (LONGEST_NAME, name_check, strlen (BIG_NAME)) == 0) in do_test()
249 if (strncmp (CANARY_NAME, name, strlen (BIG_NAME)) == 0) in do_test()
276 if (strncmp (LONGEST_NAME, name, strlen (BIG_NAME)) == 0) in do_test()
/glibc-2.36/sysdeps/s390/
Dstrncmp.c22 # define strncmp __redirect_strncmp macro
26 # undef strncmp
37 s390_libc_ifunc_expr (__redirect_strncmp, strncmp,
/glibc-2.36/string/
Dtst-cmp.c60 return strncmp (left, right, max_size_t (left_len, right_len)); in strncmp_no_terminator()
76 return strncmp (left, right, max_size_t (left_len, right_len)); in strncmp_terminator()
90 return strncmp (left, right, 64); in strncmp_64()
112 return strncmp (left, right, SIZE_MAX); in strncmp_max()
Dtester.c460 check (strncmp ("", "", 99) == 0, 1); /* Trivial case. */ in test_strncmp()
461 check (strncmp ("a", "a", 99) == 0, 2); /* Identity. */ in test_strncmp()
462 check (strncmp ("abc", "abc", 99) == 0, 3); /* Multicharacter. */ in test_strncmp()
463 check (strncmp ("abc", "abcd", 99) < 0, 4); /* Length unequal. */ in test_strncmp()
464 check (strncmp ("abcd", "abc", 99) > 0, 5); in test_strncmp()
465 check (strncmp ("abcd", "abce", 99) < 0, 6); /* Honestly unequal. */ in test_strncmp()
466 check (strncmp ("abce", "abcd", 99) > 0, 7); in test_strncmp()
467 check (strncmp ("a\203", "a", 2) > 0, 8); /* Tricky if '\203' < 0 */ in test_strncmp()
468 check (strncmp ("a\203", "a\003", 2) > 0, 9); in test_strncmp()
469 check (strncmp ("abce", "abcd", 3) == 0, 10); /* Count limited. */ in test_strncmp()
[all …]
/glibc-2.36/sysdeps/ia64/
Dstrncmp.S40 ENTRY(strncmp)
59 END(strncmp)
60 libc_hidden_builtin_def (strncmp)
/glibc-2.36/stdlib/
Disomac.c394 if (!strncmp (line+8, prefix[i], strlen (prefix[i]))) { in check_header()
403 if (!strncmp (line + 8, macros[i], strlen (macros[i]))) in check_header()
424 if (!strncmp (line + 8 + endmac - len, suffix[i], len)) in check_header()
436 if (!strncmp (line + 8, *cpp, len) && isspace (line[8 + len])) in check_header()
/glibc-2.36/sysdeps/unix/sysv/linux/alpha/
Dioperm.c606 if (strncmp (data.cpumodel, "EV4", 3) == 0) in init_iosys()
608 else if (strncmp (data.cpumodel, "EV5", 3) == 0) in init_iosys()
614 if (strncmp (data.cpumodel, "EV4", 3) == 0) in init_iosys()
616 else if (strncmp (data.cpumodel, "EV5", 3) == 0) in init_iosys()
634 if (strncmp (data.sysvari, "RX164", 5) == 0) in init_iosys()
636 else if (strncmp (data.sysvari, "LX164", 5) == 0 in init_iosys()
637 || strncmp (data.sysvari, "SX164", 5) == 0) in init_iosys()
/glibc-2.36/sysdeps/powerpc/powerpc32/405/
Dstrncmp.S40 EALIGN (strncmp,5,0)
127 END (strncmp)
128 libc_hidden_builtin_def (strncmp)
/glibc-2.36/stdio-common/
Dtst-tmpnam.c36 if (strncmp (name, "/usr", 4) == 0) in do_test()
43 if (strncmp (name, P_tmpdir, sizeof (P_tmpdir) - 1) != 0) in do_test()
Dbug1.c18 lose |= strncmp (bp, "hello", size); in main()
23 lose |= strncmp (bp, "hello, world", 12); in main()
/glibc-2.36/nss/
Dtst-nss-files-hosts-multi.c113 && strncmp (params->name, "www6", 4) != 0; in expected_ghbn()
115 && strncmp (params->name, "www4", 4) != 0; in expected_ghbn()
167 if (strncmp (params->name, "www4", 4) == 0) in expected_gai()
169 else if (strncmp (params->name, "www6", 4) == 0) in expected_gai()
/glibc-2.36/sysdeps/generic/
Dutmp-equal.h37 ? strncmp (entry->ut_id, match->ut_id, sizeof match->ut_id) == 0 in __utmp_equal()
38 : (strncmp (entry->ut_line, match->ut_line, sizeof match->ut_line) in __utmp_equal()
/glibc-2.36/posix/
Dtst-pcre.c57 || strncmp (line, "# PCRE", 6) != 0) in main()
130 if (strncmp (line, " ", 4) == 0) in main()
223 || strncmp (p + 2, string + rm[num].rm_so, in main()
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm-compat/
Dtest-obstack-ldbl-compat-template.c42 TEST_VERIFY (strncmp (expected, actual, 33) == 0); in do_test_call()
51 TEST_VERIFY (strncmp (expected, actual, 33) == 0); in do_test_call()

12345678