/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/lib/ |
H A D | strstr.h | 30 extern char *strstr (const char *haystack, const char *needle);
|
H A D | strstr.c | 40 register const unsigned char *haystack, *needle; local 44 needle = (const unsigned char *) pneedle; 46 b = *needle; 58 c = *++needle; 61 ++needle; 90 rneedle = needle; 99 a = *++needle; 105 a = *++needle; 109 needle = rneedle; /* took the register-poor approach */
|
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/ |
H A D | strstr.h | 33 extern char *strstr (const char *haystack, const char *needle);
|
H A D | strstr.c | 34 strstr (const char *haystack, const char *needle) argument 36 /* Be careful not to look at the entire extent of haystack or needle 38 - haystack may be very long, and a match of needle found early, 39 - needle may be very long, and not even a short initial segment of 40 needle may be found in haystack. */ 46 mbui_init (iter_needle, needle); 67 mbui_init (rneedle, needle); 93 if (*needle != '\0') 95 /* Speed up the following searches of needle by caching its first 97 char b = *needle [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/libiberty/ |
H A D | memmem.c | 20 @deftypefn Supplemental void* memmem (const void *@var{haystack}, size_t @var{haystack_len} const void *@var{needle}, size_t @var{needle_len}) 22 Returns a pointer to the first occurrence of @var{needle} (length 45 memmem (const void *haystack, size_t haystack_len, const void *needle, argument 63 if (begin[0] == ((const char *) needle)[0] && 65 (const void *) ((const char *) needle + 1),
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libiberty/ |
H A D | memmem.c | 20 @deftypefn Supplemental void* memmem (const void *@var{haystack}, size_t @var{haystack_len} const void *@var{needle}, size_t @var{needle_len}) 22 Returns a pointer to the first occurrence of @var{needle} (length 45 memmem (const void *haystack, size_t haystack_len, const void *needle, argument 63 if (begin[0] == ((const char *) needle)[0] && 65 (const void *) ((const char *) needle + 1),
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/libiberty/ |
H A D | memmem.c | 21 size_t @var{haystack_len} const void *@var{needle}, size_t @var{needle_len}) 23 Returns a pointer to the first occurrence of @var{needle} (length 46 memmem (const void *haystack, size_t haystack_len, const void *needle, argument 64 if (begin[0] == ((const char *) needle)[0] && 66 (const void *) ((const char *) needle + 1),
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/demos/tunala/ |
H A D | breakage.c | 41 char *int_strstr(const char *haystack, const char *needle) argument 43 const char *sub_haystack = haystack, *sub_needle = needle; 45 if(!needle) 58 sub_needle = needle;
|
H A D | tunala.h | 212 char *int_strstr(const char *haystack, const char *needle);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/gnulib/ |
H A D | memmem.c | 46 const unsigned char *needle = (const unsigned char *) needle_start; local 64 haystack = memchr (haystack, *needle, haystack_len); 70 return two_way_short_needle (haystack, haystack_len, needle, needle_len); 73 return two_way_long_needle (haystack, haystack_len, needle, needle_len);
|
H A D | str-two-way.h | 61 needle, the better the potential performance gain. On the other 105 critical_factorization (const unsigned char *needle, size_t needle_len, argument 130 a = CANON_ELEMENT (needle[j + k]); 131 b = CANON_ELEMENT (needle[max_suffix + k]); 165 a = CANON_ELEMENT (needle[j + k]); 166 b = CANON_ELEMENT (needle[max_suffix_rev + k]); 213 const unsigned char *needle, size_t needle_len) 217 size_t period; /* The period of the right half of needle. */ 218 size_t suffix; /* The index of the right half of needle. */ 220 /* Factor the needle int 212 two_way_short_needle(const unsigned char *haystack, size_t haystack_len, const unsigned char *needle, size_t needle_len) argument 306 two_way_long_needle(const unsigned char *haystack, size_t haystack_len, const unsigned char *needle, size_t needle_len) argument [all...] |
H A D | string.in.h | 516 _GL_FUNCDECL_RPL (strstr, char *, (const char *haystack, const char *needle) 519 _GL_CXXALIAS_RPL (strstr, char *, (const char *haystack, const char *needle)); 525 char *, (const char *haystack, const char *needle), 526 const char *, (const char *haystack, const char *needle)); 530 _GL_CXXALIASWARN1 (strstr, char *, (char *haystack, const char *needle)); 532 (const char *haystack, const char *needle)); 558 (const char *haystack, const char *needle) 561 (const char *haystack, const char *needle)); 565 (const char *haystack, const char *needle) 572 char *, (const char *haystack, const char *needle), [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/utils/ |
H A D | os_none.c | 216 char * os_strstr(const char *haystack, const char *needle) argument
|
H A D | os_internal.c | 443 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 D | os.h | 352 * @needle: Needle to search from haystack 355 char * os_strstr(const char *haystack, const char *needle);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libmudflap/ |
H A D | mf-hooks2.c | 376 WRAPPER2(char *, strstr, const char *haystack, const char *needle) argument 382 needle_sz = strlen (needle); 384 MF_VALIDATE_EXTENT(needle, CLAMPADD(needle_sz, 1), __MF_CHECK_READ, "strstr needle"); 385 return strstr (haystack, needle); 392 const void *needle, size_t needlelen) 396 MF_VALIDATE_EXTENT(needle, needlelen, __MF_CHECK_READ, "memmem needle"); 397 return memmem (haystack, haystacklen, needle, needlelen); 390 WRAPPER2(void *, memmem, const void *haystack, size_t haystacklen, const void *needle, size_t needlelen) argument
|
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/ld/ |
H A D | ldlang.c | 2829 /* Remove the first occurrence of needle (if any) in haystack 2833 strcut (char *haystack, char *needle) 2835 haystack = strstr (haystack, needle); 2841 for (src = haystack + strlen (needle); *src;) 2831 strcut(char *haystack, char *needle) argument
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/ |
H A D | configure | 6051 char *needle = (char *) malloc (m + 1); 6058 if (haystack && needle) 6062 memset (needle, 'A', m); 6063 needle[m] = 'B'; 6064 result = memmem (haystack, 2 * m + 1, needle, m + 1); 6066 /* Check for empty needle behavior. */
|