Lines Matching refs:needle
34 strstr (const char *haystack, const char *needle)
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++;
108 const char *rneedle = needle;