/bionic/libc/dns/resolv/ |
D | res_init.c | 288 (!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/ |
D | strncmp.c | 35 strncmp(const char *s1, const char *s2, size_t n) in strncmp() function 48 DEF_STRONG(strncmp);
|
/bionic/tests/ |
D | malloc_iterate_test.cpp | 99 if (strcmp(name, "[anon:libc_malloc]") == 0 || strncmp(name, "[anon:scudo:", 12) == 0 || in VerifyPtrs() 100 strncmp(name, "[anon:GWP-ASan", 14) == 0) { in VerifyPtrs() 196 if (strcmp(name, "[anon:libc_malloc]") != 0 && strncmp(name, "[anon:scudo:", 12) != 0 && in TEST() 197 strncmp(name, "[anon:GWP-ASan", 14) != 0) { in TEST()
|
D | dlfcn_test.cpp | 290 ASSERT_EQ(strncmp("set", *foo_ptr, 3), 0); in TEST() 291 ASSERT_EQ(strncmp("set", foo_library_ptr(), 3), 0); in TEST() 304 ASSERT_EQ(strncmp("unset", *foo_ptr, 5), 0); in TEST() 305 ASSERT_EQ(strncmp("unset", foo_library_ptr(), 5), 0); in TEST() 322 ASSERT_EQ(strncmp("set", foo_ptr(), 3), 0); in TEST() 323 ASSERT_EQ(strncmp("set", foo_library_ptr(), 3), 0); in TEST() 334 ASSERT_EQ(strncmp("unset", foo_ptr(), 5), 0); in TEST() 335 ASSERT_EQ(strncmp("unset", foo_library_ptr(), 5), 0); in TEST() 1008 if (strncmp(ALTERNATE_PATH_TO_SYSTEM_LIB, in TEST() 1013 } else if (strncmp(PATH_TO_BOOTSTRAP_LIBC, info.dli_fname, in TEST()
|
/bionic/libc/arch-x86_64/string/ |
D | ssse3-strncmp-slm.S | 32 #define STRCMP strncmp
|
/bionic/libc/bionic/ |
D | __bionic_get_shell_path.cpp | 49 if (len != -1 && !strncmp(exe_path, VENDOR_PREFIX, strlen(VENDOR_PREFIX))) { in init_sh_path()
|
D | pututline.c | 44 if (!strncmp(utmp->ut_line, u.ut_line, sizeof(u.ut_line) -1)) in pututline()
|
D | gwp_asan_wrappers.cpp | 220 if (progname && strncmp(progname, "app_process", 11) == 0) { in MaybeInitGwpAsanFromLibc()
|
D | system_property_set.cpp | 270 if (strlen(value) >= PROP_VALUE_MAX && strncmp(key, "ro.", 3) != 0) return -1; in __system_property_set()
|
D | grp_pwd_file.cpp | 274 if (strncmp(line->fields[0], required_prefix_, strlen(required_prefix_)) != 0) { in Find()
|
/bionic/libc/arch-arm64/ |
D | static_function_dispatch.S | 44 FUNCTION_DELEGATE(strncmp, __strncmp_aarch64_mte)
|
D | dynamic_function_dispatch.cpp | 109 DEFINE_IFUNC_FOR(strncmp) { in DEFINE_IFUNC_FOR() argument
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_009.S | 19 CALL(strncmp)
|
D | liblinker_reloc_bench_032.S | 180 CALL(strncmp)
|
/bionic/libc/arch-x86/ |
D | static_function_dispatch.S | 45 FUNCTION_DELEGATE(strncmp, strncmp_generic)
|
D | dynamic_function_dispatch.cpp | 113 DEFINE_IFUNC_FOR(strncmp) { in DEFINE_IFUNC_FOR() argument
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | fnmatch.c | 120 if (foldcase && strncmp(pattern, "upper:]", 7) == 0) in classmatch() 123 if (!strncmp(pattern, cc->name, len) && cc->name[len] == '\0') { in classmatch()
|
/bionic/linker/ |
D | linker_utils.cpp | 124 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/private/ |
D | CachedProperty.h | 46 is_read_only_(strncmp(property_name, "ro.", 3) == 0), in CachedProperty()
|
/bionic/libc/system_properties/ |
D | contexts_split.cpp | 235 if (!strncmp(prop_prefix, "ctl.", 4)) { in InitializePropertiesFromFile() 329 return l->prefix[0] == '*' || !strncmp(l->prefix, name, l->prefix_len); in GetPropAreaForName()
|
D | system_properties.cpp | 140 return strncmp(name, "ro.", 3) == 0; in is_read_only()
|
/bionic/tests/headers/posix/ |
D | string_h.c | 59 FUNCTION(strncmp, int (*f)(const char*, const char*, size_t)); in string_h()
|
/bionic/libc/tzcode/ |
D | bionic.cpp | 131 if (strncmp(header.tzdata_version, "tzdata", 6) != 0 || header.tzdata_version[11] != 0) { in __bionic_open_tzdata_path()
|
/bionic/libc/include/ |
D | string.h | 105 int strncmp(const char* __lhs, const char* __rhs, size_t __n) __attribute_pure__;
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | getopt_long.c | 234 if (strncmp(current_argv, long_options[i].name, in parse_long_options()
|