Lines Matching defs:haystack
320 grub_strword (const char *haystack, const char *needle)
324 while (grub_iswordseparator (*haystack))
325 haystack++;
327 while (*haystack)
329 /* Crawl both the needle and the haystack word we're on. */
330 while(*haystack && !grub_iswordseparator (*haystack)
331 && *haystack == *n_pos)
333 haystack++;
338 is found. If not, eat everything in the haystack that isn't the
340 if ( (!*haystack || grub_iswordseparator (*haystack))
346 while (*haystack && !grub_iswordseparator (*haystack))
347 haystack++;
348 while (grub_iswordseparator (*haystack))
349 haystack++;