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

1 2 3 4 5 6 7 8

  /external/fio/lib/
strcasestr.h 10 char *strcasestr(const char *haystack, const char *needle);
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_libc_test.cc 122 const char *haystack = "haystack"; local
123 EXPECT_EQ(haystack + 2, internal_strchr(haystack, 'y'));
124 EXPECT_EQ(haystack + 2, internal_strchrnul(haystack, 'y'));
125 EXPECT_EQ(0, internal_strchr(haystack, 'z'));
126 EXPECT_EQ(haystack + 8, internal_strchrnul(haystack, 'z'));
  /bionic/libc/bionic/
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/chromium_org/third_party/cython/src/Cython/Includes/libc/
string.pxd 42 char *strstr (const char *haystack, const char *needle)
43 char *strcasestr (const char *haystack, const char *needle)
  /external/deqp/scripts/
convert_case_list_to_xml.py 12 def findAllMatches(haystack, needle):
16 ndx = haystack.find(needle, ndx+1)
  /external/bison/lib/
string.in.h 129 /* Return the first occurrence of NEEDLE in HAYSTACK. */
567 _GL_FUNCDECL_RPL (strstr, char *, (const char *haystack, const char *needle)
570 _GL_CXXALIAS_RPL (strstr, char *, (const char *haystack, const char *needle));
576 char *, (const char *haystack, const char *needle),
577 const char *, (const char *haystack, const char *needle));
581 _GL_CXXALIASWARN1 (strstr, char *, (char *haystack, const char *needle));
583 (const char *haystack, const char *needle));
601 /* Find the first occurrence of NEEDLE in HAYSTACK, using case-insensitive
609 (const char *haystack, const char *needle)
613 (const char *haystack, const char *needle))
    [all...]
  /external/chromium_org/native_client_sdk/src/examples/api/file_io/
test.js 148 function expectContains(needle, haystack, additionalInfo) {
149 if (haystack.indexOf(needle) === -1) {
152 message += 'Expected to find "' + needle + '" in "' + haystack + '".';
155 message = 'OK, "' + needle + '" in "' + haystack + '".';
  /external/chromium_org/third_party/mesa/src/src/glx/
clientinfo.c 86 const char *haystack = src->serverGLXexts; local
87 while (haystack != NULL) {
88 char *match = strstr(haystack, "GLX_ARB_create_context");
111 haystack = match;
  /external/chromium_org/v8/test/mjsunit/
regexp-static.js 131 var haystack = "foo";
134 haystack += "x";
138 haystack += "bx";
140 assertTrue(re.test(haystack), "$" + i + " setup");
  /external/mesa3d/src/glx/
clientinfo.c 86 const char *haystack = src->serverGLXexts; local
87 while (haystack != NULL) {
88 char *match = strstr(haystack, "GLX_ARB_create_context");
111 haystack = match;
  /build/core/
node_fns.mk 78 # $(1): haystack
81 # Guarantees that needle appears at most once in haystack,
82 # without changing the order of other elements in haystack.
88 # - Stick everything in haystack into a single word,
91 # breaking haystack back into multiple words, with spaces
93 # - Add needle between the first and second words of haystack.
94 # - Replace "|||" with spaces, breaking haystack back into
  /external/chromium_org/third_party/mesa/src/src/glx/tests/
clientinfo_unittest.cpp 684 char *haystack = glx_ext_string; local
685 while (haystack != NULL) {
686 char *match = strstr(haystack, needle);
693 haystack = match + len;
710 char *haystack = glx_ext_string; local
711 while (haystack != NULL) {
712 char *match = strstr(haystack, needle);
719 haystack = match + len;
  /external/mesa3d/src/glx/tests/
clientinfo_unittest.cpp 684 char *haystack = glx_ext_string; local
685 while (haystack != NULL) {
686 char *match = strstr(haystack, needle);
693 haystack = match + len;
710 char *haystack = glx_ext_string; local
711 while (haystack != NULL) {
712 char *match = strstr(haystack, needle);
719 haystack = match + len;
  /external/bison/darwin-lib/
string.h 441 /* Return the first occurrence of NEEDLE in HAYSTACK. */
    [all...]
  /external/bison/linux-lib/
string.h 441 /* Return the first occurrence of NEEDLE in HAYSTACK. */
    [all...]
  /external/wpa_supplicant_8/src/utils/
os_internal.c 480 char * os_strstr(const char *haystack, const char *needle)
483 while (*haystack) {
484 if (os_strncmp(haystack, needle, len) == 0)
485 return (char *) haystack;
486 haystack++;
  /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...]
  /bionic/tests/
wchar_test.cpp 225 const wchar_t* haystack = L"matches hello world, not the second hello world"; local
230 ASSERT_EQ(haystack, wcsstr(haystack, empty_needle));
231 ASSERT_EQ(&haystack[10], wcsstr(haystack, good_needle));
232 ASSERT_EQ(NULL, wcsstr(haystack, bad_needle));
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_libc.cc 192 char *internal_strstr(const char *haystack, const char *needle) {
194 uptr len1 = internal_strlen(haystack);
198 if (internal_memcmp(haystack + pos, needle, len2) == 0)
199 return (char*)haystack + pos;
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_string.h 142 util_strstr(const char *haystack, const char *needle)
144 const char *p = haystack;
  /external/mesa3d/src/gallium/auxiliary/util/
u_string.h 142 util_strstr(const char *haystack, const char *needle)
144 const char *p = haystack;
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Conversation.java 688 * found in the collection of conversations specified as the haystack. False
691 * @param haystack
693 * @return true if the needle was found in the haystack, false otherwise.
695 public final static boolean contains(Collection<Conversation> haystack, Conversation needle) {
696 // If the haystack is empty, it cannot contain anything.
697 if (haystack == null || haystack.size() <= 0) {
705 for (final Conversation c : haystack) {
  /external/libsepol/src/
conditional.c 170 * haystack) that has a matching expression. If found, return a
175 cond_node_t * needle, cond_node_t * haystack,
178 while (haystack) {
179 if (cond_expr_equal(needle, haystack)) {
181 return haystack;
183 haystack = haystack->next;
  /external/valgrind/main/coregrind/
m_libcbase.c 365 HChar* VG_(strstr) ( const HChar* haystack, const HChar* needle )
368 if (haystack == NULL)
372 if (haystack[0] == 0)
374 if (VG_(strncmp)(haystack, needle, n) == 0)
375 return (HChar*)haystack;
376 haystack++;
380 HChar* VG_(strcasestr) ( const HChar* haystack, const HChar* needle )
383 if (haystack == NULL)
387 if (haystack[0] == 0)
389 if (VG_(strncasecmp)(haystack, needle, n) == 0)
    [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);

Completed in 796 milliseconds

1 2 3 4 5 6 7 8