Home
last modified time | relevance | path

Searched refs:haystack (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/confirmationui/support/src/
DConfirmationUITranslations.c1079 static int ConfirmationUITranslations_find_str(const char** haystack, const char* needle) { in ConfirmationUITranslations_find_str() argument
1080 for (int n = 0; haystack[n] != NULL; n++) { in ConfirmationUITranslations_find_str()
1081 if (strcmp(needle, haystack[n]) == 0) { in ConfirmationUITranslations_find_str()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c809 bcmstrstr(const char *haystack, const char *needle) in bcmstrstr() argument
814 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()