Searched defs:haystack (Results 1 - 4 of 4) sorted by relevance
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | misc.h | 123 grub_strstr (const char *haystack, const char *needle) argument 125 /* Be careful not to look at the entire extent of haystack or needle 127 - haystack may be very long, and a match of needle found early, 129 needle may be found in haystack. */ 136 for (;; haystack++) 138 if (*haystack == '\0') 141 if (*haystack == b) 144 const char *rhaystack = haystack + 1; 151 return (char *) haystack; 163 return (char *) haystack; [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/kern/ |
H A D | misc.c | 320 grub_strword (const char *haystack, const char *needle) argument 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 tha [all...] |
/osnet-11/usr/src/cmd/hal/hald/ |
H A D | device_info.c | 571 const char *haystack; local 573 haystack = hal_device_property_get_string (d, prop_to_check); 574 if (needle != NULL && haystack != NULL && strstr (haystack, needle)) {
|
/osnet-11/usr/src/lib/libparted/common/libparted/labels/ |
H A D | mac.c | 385 strncasestr (const char* haystack, const char* needle, int n) argument 390 for (i = 0; haystack[i] && i < n - needle_size; i++) { 391 if (strncasecmp (haystack + i, needle, needle_size) == 0)
|
Completed in 32 milliseconds