Searched refs:haystack (Results 1 – 8 of 8) sorted by relevance
/hardware/google/aemu/base/ |
D | StringUtils.cpp | 31 const void* memmem(const void* haystack, size_t haystackLen, in memmem() argument 33 if (!haystack || !needle) { in memmem() 38 static_cast<const char*>(haystack), in memmem() 39 static_cast<const char*>(haystack) + haystackLen, in memmem() 42 return it == static_cast<const char*>(haystack) + haystackLen in memmem() 59 bool strContains(std::string_view haystack, const char* needle) { in strContains() argument 60 return ::memmem(haystack.data(), haystack.size(), needle, in strContains()
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | u_drm.h | 34 util_array_contains_u64(uint64_t needle, const uint64_t *haystack, unsigned count) in util_array_contains_u64() argument 39 if (haystack[i] == needle) in util_array_contains_u64()
|
/hardware/interfaces/confirmationui/support/src/ |
D | ConfirmationUITranslations.c | 1079 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/google/aemu/base/include/aemu/base/misc/ |
D | StringUtils.h | 31 extern "C" const void* memmem(const void* haystack, size_t haystack_len, 43 bool strContains(std::string_view haystack, const char* needle);
|
/hardware/interfaces/identity/aidl/default/libeic/ |
D | EicOps.h | 145 void* eicMemMem(const uint8_t* haystack, size_t haystackLen, const uint8_t* needle,
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | bcmutils.c | 809 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()
|
/hardware/interfaces/identity/aidl/default/ |
D | EicOpsImpl.cc | 70 void* eicMemMem(const uint8_t* haystack, size_t haystackLen, const uint8_t* needle, in eicMemMem() argument 72 return memmem(haystack, haystackLen, needle, needleLen); in eicMemMem()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmutils.h | 362 extern char *bcmstrstr(const char *haystack, const char *needle);
|