Searched refs:needle (Results 1 - 9 of 9) sorted by relevance
/freebsd-10.1-release/contrib/ncurses/ncurses/tinfo/ |
H A D | strings.c | 47 _nc_strstr(const char *haystack, const char *needle) argument 50 size_t len2 = strlen(needle); 54 if (!strncmp(haystack, needle, len2)) {
|
/freebsd-10.1-release/contrib/pam_modules/pam_passwdqc/ |
H A D | passwdqc_check.c | 192 * substring and needle would be too simple for a password with the 196 const char *haystack, const char *needle, const char *original) 210 if (strstr(haystack, needle)) /* based on haystack entirely */ 215 length = strlen(needle); 220 if (*p == needle[i] && !strncmp(p, &needle[i], j)) { 255 const char *needle, const char *original) 266 if (is_based(params, unified, needle, original)) { 195 is_based(passwdqc_params_t *params, const char *haystack, const char *needle, const char *original) argument 254 is_word_based(passwdqc_params_t *params, const char *needle, const char *original) argument
|
/freebsd-10.1-release/contrib/wpa/src/utils/ |
H A D | os_none.c | 215 char * os_strstr(const char *haystack, const char *needle) argument
|
H A D | os_internal.c | 455 char * os_strstr(const char *haystack, const char *needle) argument 457 size_t len = os_strlen(needle); 459 if (os_strncmp(haystack, needle, len) == 0)
|
H A D | os.h | 375 * @needle: Needle to search from haystack 378 char * os_strstr(const char *haystack, const char *needle);
|
/freebsd-10.1-release/contrib/ncurses/progs/ |
H A D | tic.c | 434 matches(char **needle, const char *haystack) argument 435 /* does entry in needle list match |-separated field in haystack? */ 440 if (needle != 0) { 441 for (n = 0; needle[n] != 0; n++) { 442 if (_nc_name_match(haystack, needle[n], "|")) {
|
/freebsd-10.1-release/contrib/gcclibs/libmudflap/ |
H A D | mf-hooks2.c | 382 WRAPPER2(char *, strstr, const char *haystack, const char *needle) argument 388 needle_sz = strlen (needle); 390 MF_VALIDATE_EXTENT(needle, CLAMPADD(needle_sz, 1), __MF_CHECK_READ, "strstr needle"); 391 return strstr (haystack, needle); 398 const void *needle, size_t needlelen) 402 MF_VALIDATE_EXTENT(needle, needlelen, __MF_CHECK_READ, "memmem needle"); 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-10.1-release/contrib/sendmail/src/ |
H A D | usersmtp.c | 1497 char *needle; local 1509 if ((needle = iteminlist(rem, list, " ")) == NULL) 1527 memcpy(ret, list, needle - list); 1530 len = strlen(needle) - strlen(rem) - 1; 1534 memcpy(ret + (needle - list), 1535 list + (needle - list) + strlen(rem) + 1, 1539 ret[(needle - list) - 1] = '\0';
|
/freebsd-10.1-release/contrib/binutils/ld/ |
H A D | ldlang.c | 2605 /* Remove the first occurrence of needle (if any) in haystack 2609 strcut (char *haystack, char *needle) 2611 haystack = strstr (haystack, needle); 2617 for (src = haystack + strlen (needle); *src;) 2607 strcut(char *haystack, char *needle) argument
|
Completed in 96 milliseconds