HomeSort by relevance Sort by last modified time
    Searched refs:haystack (Results 1 - 25 of 64) sorted by null

1 2 3

  /bionic/libc/string/
memmem.c 35 void *memmem(const void *haystack, size_t n, const void *needle, size_t m)
41 const unsigned char* y = (const unsigned char*) haystack;
61 return memchr(haystack, ((unsigned char*)needle)[0], n);
  /external/astl/tests/
test_string.cpp 767 string haystack("one two three one two three");
770 EXPECT_TRUE(haystack.find((char*)NULL) == string::npos);
771 EXPECT_TRUE(haystack.find((char*)NULL, 10) == string::npos);
774 EXPECT_TRUE(haystack.find("one") == 0);
775 EXPECT_TRUE(haystack.find("two") == 4);
776 EXPECT_TRUE(haystack.find("t") == 4);
777 EXPECT_TRUE(haystack.find("four") == string::npos);
778 EXPECT_TRUE(haystack.find("one", string::npos) == string::npos);
781 EXPECT_TRUE(haystack.find("one", 13) == 14);
782 EXPECT_TRUE(haystack.find("one", 14) == 14)
    [all...]
  /external/wpa_supplicant/
os_internal.c 413 char * os_strstr(const char *haystack, const char *needle)
416 while (*haystack) {
417 if (os_strncmp(haystack, needle, len) == 0)
418 return (char *) haystack;
419 haystack++;
os_none.c 210 char * os_strstr(const char *haystack, const char *needle)
  /external/wpa_supplicant_6/wpa_supplicant/src/utils/
os_internal.c 438 char * os_strstr(const char *haystack, const char *needle)
441 while (*haystack) {
442 if (os_strncmp(haystack, needle, len) == 0)
443 return (char *) haystack;
444 haystack++;
os_none.c 216 char * os_strstr(const char *haystack, const char *needle)
  /external/wpa_supplicant_8/src/utils/
os_internal.c 443 char * os_strstr(const char *haystack, const char *needle)
446 while (*haystack) {
447 if (os_strncmp(haystack, needle, len) == 0)
448 return (char *) haystack;
449 haystack++;
os_none.c 216 char * os_strstr(const char *haystack, const char *needle)
  /external/valgrind/main/coregrind/
m_libcbase.c 311 Char* VG_(strstr) ( const Char* haystack, Char* needle )
314 if (haystack == NULL)
318 if (haystack[0] == 0)
320 if (VG_(strncmp)(haystack, needle, n) == 0)
321 return (Char*)haystack;
322 haystack++;
326 Char* VG_(strcasestr) ( const Char* haystack, Char* needle )
329 if (haystack == NULL)
333 if (haystack[0] == 0)
335 if (VG_(strncasecmp)(haystack, needle, n) == 0)
    [all...]
  /bionic/libc/include/
string.h 62 extern char* strcasestr(const char *haystack, const char *needle);
  /development/ndk/platforms/android-3/include/
string.h 62 extern char* strcasestr(const char *haystack, const char *needle);
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/
string.h 62 extern char* strcasestr(const char *haystack, const char *needle);
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/
string.h 62 extern char* strcasestr(const char *haystack, const char *needle);
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/
string.h 62 extern char* strcasestr(const char *haystack, const char *needle);
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/
string.h 62 extern char* strcasestr(const char *haystack, const char *needle);
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/
string.h 62 extern char* strcasestr(const char *haystack, const char *needle);
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/
string.h 62 extern char* strcasestr(const char *haystack, const char *needle);
  /prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/
string.h 62 extern char* strcasestr(const char *haystack, const char *needle);
  /prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/
string.h 62 extern char* strcasestr(const char *haystack, const char *needle);
  /prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/
string.h 62 extern char* strcasestr(const char *haystack, const char *needle);
  /external/chromium/sdch/open-vcdiff/src/gtest/
gtest.h 800 // themselves. They check whether needle is a substring of haystack
804 // The {needle,haystack}_expr arguments are the stringified
808 const char* needle, const char* haystack);
811 const wchar_t* needle, const wchar_t* haystack);
814 const char* needle, const char* haystack);
817 const wchar_t* needle, const wchar_t* haystack);
821 const ::std::string& needle, const ::std::string& haystack);
824 const ::std::string& needle, const ::std::string& haystack);
830 const ::std::wstring& needle, const ::std::wstring& haystack);
833 const ::std::wstring& needle, const ::std::wstring& haystack);
    [all...]
  /external/gtest/include/gtest/
gtest.h 846 // themselves. They check whether needle is a substring of haystack
    [all...]
  /hardware/ti/omap3/dspbridge/inc/
csl.h 208 * haystack: Ptr to string1.
214 * haystack is valid.
218 extern PSTR CSL_Strstr(IN CONST PSTR haystack, IN CONST PSTR needle);
  /hardware/ti/omap3/dspbridge/libbridge/inc/
csl.h 209 * haystack: Ptr to string1.
215 * haystack is valid.
219 extern PSTR CSL_Strstr(IN CONST PSTR haystack, IN CONST PSTR needle);
  /ndk/sources/host-tools/sed-4.2.1/lib/
string.in.h 69 /* Return the first occurrence of NEEDLE in HAYSTACK. */
337 char *strstr (const char *haystack, const char *needle)
355 /* Find the first occurrence of NEEDLE in HAYSTACK, using case-insensitive
362 extern char *strcasestr (const char *haystack, const char *needle)
458 string HAYSTACK. Return NULL if NEEDLE is not found in HAYSTACK.
461 extern char * mbsstr (const char *haystack, const char *needle);
502 string HAYSTACK, using case-insensitive comparison.
504 strlen (haystack) < strlen (needle) !
506 extern char * mbscasestr (const char *haystack, const char *needle)
    [all...]

Completed in 567 milliseconds

1 2 3