| /freebsd-13.1/contrib/ncurses/ncurses/tinfo/ |
| H A D | strings.c | 49 _nc_strstr(const char *haystack, const char *needle) in NCURSES_EXPORT() 51 size_t len1 = strlen(haystack); in NCURSES_EXPORT() 56 if (!strncmp(haystack, needle, len2)) { in NCURSES_EXPORT() 57 result = (char *) haystack; in NCURSES_EXPORT() 60 haystack++; in NCURSES_EXPORT()
|
| /freebsd-13.1/contrib/wpa/src/utils/ |
| H A D | os_internal.c | 478 char * os_strstr(const char *haystack, const char *needle) in os_strstr() argument 481 while (*haystack) { in os_strstr() 482 if (os_strncmp(haystack, needle, len) == 0) in os_strstr() 483 return (char *) haystack; in os_strstr() 484 haystack++; in os_strstr()
|
| H A D | os_none.c | 232 char * os_strstr(const char *haystack, const char *needle) in os_strstr() argument
|
| H A D | os.h | 451 char * os_strstr(const char *haystack, const char *needle);
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerInterceptors.cpp | 107 static char *internal_strstr(const char *haystack, const char *needle) { in internal_strstr() argument 109 size_t len1 = internal_strlen(haystack); in internal_strstr() 114 if (internal_memcmp(haystack + pos, needle, len2) == 0) in internal_strstr() 115 return const_cast<char *>(haystack) + pos; in internal_strstr()
|
| H A D | FuzzerUtil.h | 66 const void *SearchMemory(const void *haystack, size_t haystacklen,
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_libc.cpp | 218 char *internal_strstr(const char *haystack, const char *needle) { in internal_strstr() argument 220 uptr len1 = internal_strlen(haystack); in internal_strstr() 224 if (internal_memcmp(haystack + pos, needle, len2) == 0) in internal_strstr() 225 return const_cast<char *>(haystack) + pos; in internal_strstr()
|
| H A D | sanitizer_libc.h | 49 char *internal_strstr(const char *haystack, const char *needle);
|
| /freebsd-13.1/contrib/llvm-project/openmp/runtime/src/ |
| H A D | ompt-specific.h | 69 #define OMPT_STR_MATCH(haystack, needle) __kmp_str_match(haystack, 0, needle) argument
|
| H A D | ompt-general.cpp | 45 #define OMPT_STR_MATCH(haystack, needle) (!strcasecmp(haystack, needle)) argument
|
| /freebsd-13.1/contrib/pam_modules/pam_passwdqc/ |
| H A D | passwdqc_check.c | 196 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() 219 for (p = haystack; *p; p++) in is_based()
|
| /freebsd-13.1/contrib/googletest/googletest/src/ |
| H A D | gtest.cc | 1608 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1609 return needle == haystack; in IsSubstringPred() 1611 return strstr(haystack, needle) != NULL; in IsSubstringPred() 1615 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1616 return needle == haystack; in IsSubstringPred() 1618 return wcsstr(haystack, needle) != NULL; in IsSubstringPred() 1624 const StringType& haystack) { in IsSubstringPred() argument 1625 return haystack.find(needle) != StringType::npos; in IsSubstringPred() 1658 const char* needle, const char* haystack) { in IsSubstring() argument 1664 const wchar_t* needle, const wchar_t* haystack) { in IsSubstring() argument [all …]
|
| /freebsd-13.1/contrib/googletest/googletest/include/gtest/ |
| H A D | gtest.h | 1663 const char* needle, const char* haystack); 1666 const wchar_t* needle, const wchar_t* haystack); 1669 const char* needle, const char* haystack); 1672 const wchar_t* needle, const wchar_t* haystack); 1675 const ::std::string& needle, const ::std::string& haystack); 1678 const ::std::string& needle, const ::std::string& haystack); 1683 const ::std::wstring& needle, const ::std::wstring& haystack); 1686 const ::std::wstring& needle, const ::std::wstring& haystack);
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | cmdline.c | 845 const char **haystack, in most_similar() argument 860 svn_string_t *hay = svn_string_create(haystack[i], scratch_pool); in most_similar() 870 max_similar = haystack[i]; in most_similar() 880 const char **haystack, in string_in_array() argument 888 if (!strcmp(needle, haystack[i])) in string_in_array() 893 next_of_kin = most_similar(needle, haystack, haystack_len, scratch_pool); in string_in_array()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_custom.cpp | 1845 SANITIZER_INTERFACE_ATTRIBUTE char *__dfsw_strstr(char *haystack, char *needle, in __dfsw_strstr() argument 1849 char *ret = strstr(haystack, needle); in __dfsw_strstr() 1853 size_t len = ret ? ret + strlen(needle) - haystack : strlen(haystack) + 1; in __dfsw_strstr() 1855 dfsan_union(dfsan_read_label(haystack, len), in __dfsw_strstr() 1863 SANITIZER_INTERFACE_ATTRIBUTE char *__dfso_strstr(char *haystack, char *needle, in __dfso_strstr() argument 1871 __dfsw_strstr(haystack, needle, haystack_label, needle_label, ret_label); in __dfso_strstr() 1877 size_t len = ret ? ret + needle_len - haystack : strlen(haystack) + 1; in __dfso_strstr() 1878 dfsan_origin o = dfsan_read_origin_of_first_taint(haystack, len); in __dfso_strstr()
|
| /freebsd-13.1/contrib/wpa/wpa_supplicant/ |
| H A D | p2p_supplicant_sd.c | 535 const u8 *haystack = (const u8 *) adv_data->svc_info; in find_p2ps_substr() local 542 if (!haystack) in find_p2ps_substr() 549 if (os_memcmp(haystack + i, needle, needle_len) == 0) in find_p2ps_substr()
|
| /freebsd-13.1/usr.bin/top/ |
| H A D | machine.c | 226 static int find_uid(uid_t needle, int *haystack); 230 find_uid(uid_t needle, int *haystack) in find_uid() argument 235 if ((uid_t)haystack[i] == needle) in find_uid()
|
| /freebsd-13.1/contrib/bmake/ |
| H A D | var.c | 1476 Substring_Find(Substring haystack, Substring needle) in Substring_Find() argument 1480 len = Substring_Length(haystack); in Substring_Find() 1483 if (memcmp(haystack.start + i, needle.start, needleLen) == 0) in Substring_Find() 1484 return haystack.start + i; in Substring_Find()
|
| /freebsd-13.1/contrib/ncurses/progs/ |
| H A D | tic.c | 553 matches(char **needle, const char *haystack) in matches() argument 561 if (_nc_name_match(haystack, needle[n], "|")) { in matches()
|
| /freebsd-13.1/share/dict/ |
| H A D | web2a | 27865 haystack thorn
|
| H A D | web2 | 82953 haystack
|