Home
last modified time | relevance | path

Searched refs:needle (Results 1 – 17 of 17) sorted by relevance

/NextBSD/contrib/pam_modules/pam_passwdqc/
HDpasswdqc_check.c196 const char *haystack, const char *needle, const char *original) in is_based() argument
210 if (strstr(haystack, needle)) /* based on haystack entirely */ in is_based()
215 length = strlen(needle); in is_based()
220 if (*p == needle[i] && !strncmp(p, &needle[i], j)) { in is_based()
255 const char *needle, const char *original) in is_word_based() argument
266 if (is_based(params, unified, needle, original)) { in is_word_based()
/NextBSD/contrib/ncurses/ncurses/tinfo/
HDstrings.c47 _nc_strstr(const char *haystack, const char *needle) in NCURSES_EXPORT()
50 size_t len2 = strlen(needle); in NCURSES_EXPORT()
54 if (!strncmp(haystack, needle, len2)) { in NCURSES_EXPORT()
/NextBSD/contrib/compiler-rt/lib/sanitizer_common/
HDsanitizer_libc.cc199 char *internal_strstr(const char *haystack, const char *needle) { in internal_strstr() argument
202 uptr len2 = internal_strlen(needle); in internal_strstr()
205 if (internal_memcmp(haystack + pos, needle, len2) == 0) in internal_strstr()
HDsanitizer_libc.h51 char *internal_strstr(const char *haystack, const char *needle);
/NextBSD/contrib/wpa/src/utils/
HDos_internal.c488 char * os_strstr(const char *haystack, const char *needle) in os_strstr() argument
490 size_t len = os_strlen(needle); in os_strstr()
492 if (os_strncmp(haystack, needle, len) == 0) in os_strstr()
HDos_none.c232 char * os_strstr(const char *haystack, const char *needle) in os_strstr() argument
HDos.h451 char * os_strstr(const char *haystack, const char *needle);
/NextBSD/contrib/subversion/subversion/libsvn_subr/
HDcmdline.c857 string_in_array(const char *needle, in string_in_array() argument
866 if (!strcmp(needle, haystack[i])) in string_in_array()
871 next_of_kin = most_similar(needle, haystack, haystack_len, scratch_pool); in string_in_array()
876 needle, next_of_kin); in string_in_array()
880 needle); in string_in_array()
/NextBSD/contrib/compiler-rt/lib/dfsan/
HDdfsan_custom.cc776 SANITIZER_INTERFACE_ATTRIBUTE char *__dfsw_strstr(char *haystack, char *needle, in __dfsw_strstr() argument
780 char *ret = strstr(haystack, needle); in __dfsw_strstr()
784 size_t len = ret ? ret + strlen(needle) - haystack : strlen(haystack) + 1; in __dfsw_strstr()
787 dfsan_union(dfsan_read_label(needle, strlen(needle) + 1), in __dfsw_strstr()
/NextBSD/contrib/gcclibs/libmudflap/
HDmf-hooks2.c382 WRAPPER2(char *, strstr, const char *haystack, const char *needle) in WRAPPER2() argument
388 needle_sz = strlen (needle); in WRAPPER2()
390 MF_VALIDATE_EXTENT(needle, CLAMPADD(needle_sz, 1), __MF_CHECK_READ, "strstr needle"); in WRAPPER2()
391 return strstr (haystack, needle); in WRAPPER2()
398 const void *needle, size_t needlelen) in WRAPPER2() argument
402 MF_VALIDATE_EXTENT(needle, needlelen, __MF_CHECK_READ, "memmem needle"); in WRAPPER2()
403 return memmem (haystack, haystacklen, needle, needlelen); in WRAPPER2()
/NextBSD/contrib/ncurses/progs/
HDtic.c541 matches(char **needle, const char *haystack) in matches() argument
547 if (needle != 0) { in matches()
548 for (n = 0; needle[n] != 0; n++) { in matches()
549 if (_nc_name_match(haystack, needle[n], "|")) { in matches()
/NextBSD/contrib/wpa/wpa_supplicant/
HDp2p_supplicant_sd.c533 const u8 *needle, size_t needle_len) in find_p2ps_substr() argument
539 if (!needle || !needle_len) in find_p2ps_substr()
549 if (os_memcmp(haystack + i, needle, needle_len) == 0) in find_p2ps_substr()
/NextBSD/share/dict/
HDweb2a6095 blasting needle
7129 boot needle
10008 carpet needle
14379 crape needle
14497 crewel needle
14859 crow needle
15673 darning needle
16790 dip needle
16810 dipping needle
20303 fashioning needle
[all …]
HDweb2123131 needle
/NextBSD/contrib/binutils/ld/
HDldlang.c2607 strcut (char *haystack, char *needle) in strcut() argument
2609 haystack = strstr (haystack, needle); in strcut()
2615 for (src = haystack + strlen (needle); *src;) in strcut()
/NextBSD/usr.bin/fortune/datfiles/
HDlimerick2327 He must hunt needle in stack.
HDfortunes10937 As well look for a needle in a bottle of hay.
28382 It is easier for a camel to pass through the eye of a needle if it is
57414 You can always pick up your needle and move to another groove.