Searched refs:haystack (Results 1 – 2 of 2) sorted by relevance
1079 static int ConfirmationUITranslations_find_str(const char** haystack, const char* needle) { in ConfirmationUITranslations_find_str() argument1080 for (int n = 0; haystack[n] != NULL; n++) { in ConfirmationUITranslations_find_str()1081 if (strcmp(needle, haystack[n]) == 0) { in ConfirmationUITranslations_find_str()
809 bcmstrstr(const char *haystack, const char *needle) in bcmstrstr() argument814 if ((haystack == NULL) || (needle == NULL)) in bcmstrstr()815 return DISCARD_QUAL(haystack, char); in bcmstrstr()818 len = strlen(haystack) - nlen + 1; in bcmstrstr()821 if (memcmp(needle, &haystack[i], nlen) == 0) in bcmstrstr()822 return DISCARD_QUAL(&haystack[i], char); in bcmstrstr()