Searched refs:needle (Results 1 - 11 of 11) sorted by relevance

/freebsd-9.3-release/crypto/openssl/demos/tunala/
H A Dbreakage.c43 char *int_strstr(const char *haystack, const char *needle) argument
45 const char *sub_haystack = haystack, *sub_needle = needle;
47 if (!needle)
60 sub_needle = needle;
H A Dtunala.h241 char *int_strstr(const char *haystack, const char *needle);
/freebsd-9.3-release/contrib/ncurses/ncurses/tinfo/
H A Dstrings.c47 _nc_strstr(const char *haystack, const char *needle) argument
50 size_t len2 = strlen(needle);
54 if (!strncmp(haystack, needle, len2)) {
/freebsd-9.3-release/contrib/pam_modules/pam_passwdqc/
H A Dpasswdqc_check.c192 * 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-9.3-release/contrib/wpa/src/utils/
H A Dos_none.c216 char * os_strstr(const char *haystack, const char *needle) argument
H A Dos_internal.c443 char * os_strstr(const char *haystack, const char *needle) argument
445 size_t len = os_strlen(needle);
447 if (os_strncmp(haystack, needle, len) == 0)
H A Dos.h352 * @needle: Needle to search from haystack
355 char * os_strstr(const char *haystack, const char *needle);
/freebsd-9.3-release/contrib/ncurses/progs/
H A Dtic.c434 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-9.3-release/contrib/gcclibs/libmudflap/
H A Dmf-hooks2.c382 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-9.3-release/contrib/sendmail/src/
H A Dusersmtp.c1497 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-9.3-release/contrib/binutils/ld/
H A Dldlang.c2605 /* 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 204 milliseconds