Home
last modified time | relevance | path

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

12

/bionic/libc/arch-x86/atom/string/
Dssse3-strncmp-atom.S33 #define STRCMP strncmp
/bionic/libc/arch-x86_64/string/
Dssse3-strncmp-slm.S32 #define STRCMP strncmp
/bionic/libc/dns/resolv/
Dres_init.c288 (!strncmp(line, name, sizeof(name) - 1) && \ in __res_vinit()
509 if (!strncmp(cp, "ndots:", sizeof("ndots:") - 1)) { in res_setoptions()
519 } else if (!strncmp(cp, "timeout:", sizeof("timeout:") - 1)) { in res_setoptions()
529 } else if (!strncmp(cp, "attempts:", sizeof("attempts:") - 1)){ in res_setoptions()
539 } else if (!strncmp(cp, "debug", sizeof("debug") - 1)) { in res_setoptions()
548 } else if (!strncmp(cp, "no_tld_query", in res_setoptions()
550 !strncmp(cp, "no-tld-query", in res_setoptions()
553 } else if (!strncmp(cp, "inet6", sizeof("inet6") - 1)) { in res_setoptions()
555 } else if (!strncmp(cp, "rotate", sizeof("rotate") - 1)) { in res_setoptions()
557 } else if (!strncmp(cp, "no-check-names", in res_setoptions()
[all …]
/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrncmp.c35 strncmp(const char *s1, const char *s2, size_t n) in strncmp() function
Dstrstr.c52 } while (strncmp(s, find, len) != 0); in strstr()
/bionic/libc/bionic/
Dicu.cpp55 return !strncmp(name, "icudt", 5) && !strncmp(&name[len - 5], "l.dat", 5); in __icu_dat_file_filter()
Dpututline.c44 if (!strncmp(utmp->ut_line, u.ut_line, sizeof(u.ut_line) -1)) in pututline()
Dsystem_properties.cpp368 return strncmp(one, two, one_len); in cmp_prop_name()
884 return l->prefix[0] == '*' || !strncmp(l->prefix, name, l->prefix_len); in get_prop_area_for_name()
1013 if (!strncmp(prop_prefix, "ctl.", 4)) { in initialize_properties_from_file()
/bionic/libc/arch-x86/generic/string/
Dstrncmp.S15 ENTRY(strncmp)
114 END(strncmp)
/bionic/libc/arch-arm64/generic/bionic/
Dstrncmp.S67 ENTRY(strncmp)
217 END(strncmp)
/bionic/linker/
Dlinker_utils.cpp124 return strncmp(haystack, needle, needle_len) == 0 && in file_is_in_dir()
134 return strncmp(haystack, needle, needle_len) == 0 && in file_is_under_dir()
/bionic/libc/upstream-openbsd/lib/libc/gen/
Dfnmatch.c121 if (foldcase && strncmp(pattern, "upper:]", 7) == 0) in classmatch()
124 if (!strncmp(pattern, cc->name, len) && cc->name[len] == '\0') { in classmatch()
/bionic/tests/
Dgtest_main.cpp1007 if (strncmp(args[i], "--gtest-filter", strlen("--gtest-filter")) == 0) { in AddGtestFilterSynonym()
1055 if (strncmp(args[i], "--gtest_filter=", strlen("--gtest_filter=")) == 0) { in PickOptions()
1104 if (strncmp(args[i], "-j", strlen("-j")) == 0) { in PickOptions()
1120 } else if (strncmp(args[i], "--deadline=", strlen("--deadline=")) == 0) { in PickOptions()
1127 } else if (strncmp(args[i], "--slow-threshold=", strlen("--slow-threshold=")) == 0) { in PickOptions()
1134 } else if (strncmp(args[i], "--gtest_color=", strlen("--gtest_color=")) == 0) { in PickOptions()
1138 } else if (strncmp(args[i], "--gtest_repeat=", strlen("--gtest_repeat=")) == 0) { in PickOptions()
1145 } else if (strncmp(args[i], "--gtest_output=", strlen("--gtest_output=")) == 0) { in PickOptions()
1149 if (strncmp(output.c_str(), "xml:", strlen("xml:")) == 0) { in PickOptions()
Ddlfcn_test.cpp262 ASSERT_EQ(strncmp("set", foo_ptr(), 3), 0); in TEST()
263 ASSERT_EQ(strncmp("set", foo_library_ptr(), 3), 0); in TEST()
274 ASSERT_EQ(strncmp("unset", foo_ptr(), 5), 0); in TEST()
275 ASSERT_EQ(strncmp("unset", foo_library_ptr(), 3), 0); in TEST()
948 if (strncmp(ALTERNATE_PATH_TO_SYSTEM_LIB,
Dstring_test.cpp641 TEST(STRING_TEST, strncmp) { in TEST() argument
656 actual = strncmp(state.ptr1, state.ptr2, state.len[i]); in TEST()
668 actual = strncmp(state.ptr1, state.ptr2, state.len[i]); in TEST()
Dunistd_test.cpp651 ASSERT_EQ(0, strncmp(hostname, buf.nodename, SYS_NMLN)); in TEST()
/bionic/libc/
DAndroid.bp560 "upstream-openbsd/lib/libc/string/strncmp.c",
632 "upstream-openbsd/lib/libc/string/strncmp.c",
640 "upstream-openbsd/lib/libc/string/strncmp.c",
648 "upstream-openbsd/lib/libc/string/strncmp.c",
660 "upstream-openbsd/lib/libc/string/strncmp.c",
682 "upstream-openbsd/lib/libc/string/strncmp.c",
1025 "arch-arm64/generic/bionic/strncmp.S",
1066 "arch-mips/string/strncmp.S",
1093 "arch-mips/string/strncmp.S",
1118 "arch-x86/generic/string/strncmp.S",
[all …]
Dlibc.mips64.map934 strncmp;
Dlibc.x86_64.map934 strncmp;
Dlibc.arm64.map934 strncmp;
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Dgetopt_long.c234 if (strncmp(current_argv, long_options[i].name, in parse_long_options()
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregcomp.c770 if (p->next + 5 < p->end && strncmp(p->next, "[:<:]]", in p_bracket()
776 if (p->next + 5 < p->end && strncmp(p->next, "[:>:]]", in p_bracket()
928 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0') in p_b_cclass()
1010 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0') in p_b_coll_elem()
/bionic/libc/arch-mips/string/
Dstrncmp.S120 # define STRNCMP_NAME strncmp
/bionic/libc/include/
Dstring.h111 int strncmp(const char* _Nonnull, const char* _Nonnull, size_t) __attribute_pure__;
/bionic/libc/tools/
Dposix-2013.txt1011 strncmp

12