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

1 2 3 4 5 6 7

  /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/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;
  /external/v8/test/mjsunit/
regexp-static.js 131 var haystack = "foo";
134 haystack += "x";
138 haystack += "bx";
140 assertTrue(re.test(haystack), "$" + i + " setup");
  /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/wpa_supplicant_8/src/utils/
os_internal.c 455 char * os_strstr(const char *haystack, const char *needle)
458 while (*haystack) {
459 if (os_strncmp(haystack, needle, len) == 0)
460 return (char *) haystack;
461 haystack++;
  /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/compiler-rt/lib/sanitizer_common/
sanitizer_libc.cc 166 char *internal_strstr(const char *haystack, const char *needle) {
168 uptr len1 = internal_strlen(haystack);
172 if (internal_memcmp(haystack + pos, needle, len2) == 0)
173 return (char*)haystack + pos;
  /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...]
  /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...]
  /external/valgrind/main/coregrind/
m_libcbase.c 365 Char* VG_(strstr) ( const Char* haystack, Char* needle )
368 if (haystack == NULL)
372 if (haystack[0] == 0)
374 if (VG_(strncmp)(haystack, needle, n) == 0)
375 return (Char*)haystack;
376 haystack++;
380 Char* VG_(strcasestr) ( const Char* haystack, Char* needle )
383 if (haystack == NULL)
387 if (haystack[0] == 0)
389 if (VG_(strncasecmp)(haystack, needle, n) == 0)
    [all...]
  /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 602 * found in the collection of conversations specified as the haystack. False
605 * @param haystack
607 * @return true if the needle was found in the haystack, false otherwise.
609 public final static boolean contains(Collection<Conversation> haystack, Conversation needle) {
610 // If the haystack is empty, it cannot contain anything.
611 if (haystack == null || haystack.size() <= 0) {
619 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/exp-sgcheck/
h_intercepts.c 319 (void* haystack, void* needle); \
321 (void* haystack, void* needle) \
323 UChar* h = (UChar*)haystack; \
  /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);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
asynchat.py 295 # Given 'haystack', see if any prefix of 'needle' is at its end. This
310 def find_prefix_at_end (haystack, needle):
312 while l and not haystack.endswith(needle[:l]):
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
asynchat.py 295 # Given 'haystack', see if any prefix of 'needle' is at its end. This
310 def find_prefix_at_end (haystack, needle):
312 while l and not haystack.endswith(needle[:l]):

Completed in 772 milliseconds

1 2 3 4 5 6 7