/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | strings.c | 47 _nc_strstr(const char *haystack, const char *needle) argument 49 size_t len1 = strlen(haystack); 54 if (!strncmp(haystack, needle, len2)) { 55 result = (char *) haystack; 58 haystack++;
|
/freebsd-11-stable/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)
|
H A D | ompt-general.cpp | 45 #define OMPT_STR_MATCH(haystack, needle) (!strcasecmp(haystack, needle))
|
/freebsd-11-stable/contrib/wpa/src/utils/ |
H A D | os_internal.c | 472 char * os_strstr(const char *haystack, const char *needle) argument 475 while (*haystack) { 476 if (os_strncmp(haystack, needle, len) == 0) 477 return (char *) haystack; 478 haystack++;
|
H A D | os_none.c | 232 char * os_strstr(const char *haystack, const char *needle) argument
|
H A D | os.h | 447 * @haystack: String (haystack) to search from 448 * @needle: Needle to search from haystack 451 char * os_strstr(const char *haystack, const char *needle);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_libc.h | 49 char *internal_strstr(const char *haystack, const char *needle);
|
H A D | sanitizer_libc.cpp | 218 char *internal_strstr(const char *haystack, const char *needle) { argument 220 uptr len1 = internal_strlen(haystack); 224 if (internal_memcmp(haystack + pos, needle, len2) == 0) 225 return const_cast<char *>(haystack) + pos;
|
/freebsd-11-stable/contrib/pam_modules/pam_passwdqc/ |
H A D | passwdqc_check.c | 191 * Needle is based on haystack if both contain a long enough common 196 const char *haystack, const char *needle, const char *original) 210 if (strstr(haystack, needle)) /* based on haystack entirely */ 219 for (p = haystack; *p; p++) 195 is_based(passwdqc_params_t *params, const char *haystack, const char *needle, const char *original) argument
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerUtil.h | 63 const void *SearchMemory(const void *haystack, size_t haystacklen,
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | cmdline.c | 845 const char **haystack, 860 svn_string_t *hay = svn_string_create(haystack[i], scratch_pool); 870 max_similar = haystack[i]; 880 const char **haystack, 888 if (!strcmp(needle, haystack[i])) 893 next_of_kin = most_similar(needle, haystack, haystack_len, scratch_pool); 844 most_similar(const char *needle_cstr, const char **haystack, apr_size_t haystack_len, apr_pool_t *scratch_pool) argument 879 string_in_array(const char *needle, const char **haystack, apr_size_t haystack_len, apr_pool_t *scratch_pool) argument
|
/freebsd-11-stable/contrib/gcclibs/libmudflap/ |
H A D | mf-hooks2.c | 382 WRAPPER2(char *, strstr, const char *haystack, const char *needle) argument 387 haystack_sz = strlen (haystack); 389 MF_VALIDATE_EXTENT(haystack, CLAMPADD(haystack_sz, 1), __MF_CHECK_READ, "strstr haystack"); 391 return strstr (haystack, needle); 397 const void *haystack, size_t haystacklen, 401 MF_VALIDATE_EXTENT(haystack, haystacklen, __MF_CHECK_READ, "memmem haystack"); 403 return memmem (haystack, haystacklen, needle, needlelen); 396 WRAPPER2(void *, memmem, const void *haystack, size_t haystacklen, const void *needle, size_t needlelen) argument
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_custom.cpp | 795 SANITIZER_INTERFACE_ATTRIBUTE char *__dfsw_strstr(char *haystack, char *needle, argument 799 char *ret = strstr(haystack, needle); 803 size_t len = ret ? ret + strlen(needle) - haystack : strlen(haystack) + 1; 805 dfsan_union(dfsan_read_label(haystack, len),
|
/freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
H A D | p2p_supplicant_sd.c | 535 const u8 *haystack = (const u8 *) adv_data->svc_info; local 542 if (!haystack) 549 if (os_memcmp(haystack + i, needle, needle_len) == 0)
|
/freebsd-11-stable/usr.bin/top/ |
H A D | machine.c | 276 static int find_uid(uid_t needle, int *haystack); 279 find_uid(uid_t needle, int *haystack) argument 284 if ((uid_t)haystack[i] == needle)
|
/freebsd-11-stable/contrib/ncurses/progs/ |
H A D | tic.c | 541 matches(char **needle, const char *haystack) argument 542 /* does entry in needle list match |-separated field in haystack? */ 549 if (_nc_name_match(haystack, needle[n], "|")) {
|
/freebsd-11-stable/contrib/binutils/ld/ |
H A D | ldlang.c | 2605 /* Remove the first occurrence of needle (if any) in haystack 2606 from haystack. */ 2609 strcut (char *haystack, char *needle) 2611 haystack = strstr (haystack, needle); 2613 if (haystack) 2617 for (src = haystack + strlen (needle); *src;) 2618 *haystack++ = *src++; 2620 *haystack = 0; 2607 strcut(char *haystack, char *needle) argument
|