Searched refs:haystack (Results 1 - 25 of 70) sorted by relevance

123

/external/chromium_org/third_party/mesa/src/src/glx/
H A Dclientinfo.c86 const char *haystack = src->serverGLXexts; local
87 while (haystack != NULL) {
88 char *match = strstr(haystack, "GLX_ARB_create_context");
111 haystack = match;
/external/mesa3d/src/glx/
H A Dclientinfo.c86 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/
H A Dregexp-static.js131 var haystack = "foo";
134 haystack += "x";
138 haystack += "bx";
140 assertTrue(re.test(haystack), "$" + i + " setup");
/external/v8/test/mjsunit/
H A Dregexp-static.js131 var haystack = "foo";
134 haystack += "x";
138 haystack += "bx";
140 assertTrue(re.test(haystack), "$" + i + " setup");
/external/chromium_org/native_client_sdk/src/examples/api/file_io/
H A Dtest.js148 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/bison/lib/
H A Dstring.in.h567 _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));
609 (const char *haystack, const char *needle)
613 (const char *haystack, const char *needle));
617 (const char *haystack, const char *needle)
625 char *, (const char *haystack, cons
[all...]
/external/chromium_org/third_party/mesa/src/src/glx/tests/
H A Dclientinfo_unittest.cpp684 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/
H A Dclientinfo_unittest.cpp684 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/
H A Dsanitizer_libc.cc166 char *internal_strstr(const char *haystack, const char *needle) { argument
168 uptr len1 = internal_strlen(haystack);
172 if (internal_memcmp(haystack + pos, needle, len2) == 0)
173 return (char*)haystack + pos;
H A Dsanitizer_libc.h45 char *internal_strstr(const char *haystack, const char *needle);
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dos_internal.c455 char * os_strstr(const char *haystack, const char *needle) argument
458 while (*haystack) {
459 if (os_strncmp(haystack, needle, len) == 0)
460 return (char *) haystack;
461 haystack++;
H A Dos_none.c215 char * os_strstr(const char *haystack, const char *needle) argument
/external/wpa_supplicant_8/src/utils/
H A Dos_internal.c455 char * os_strstr(const char *haystack, const char *needle) argument
458 while (*haystack) {
459 if (os_strncmp(haystack, needle, len) == 0)
460 return (char *) haystack;
461 haystack++;
H A Dos_none.c215 char * os_strstr(const char *haystack, const char *needle) argument
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dos_internal.c455 char * os_strstr(const char *haystack, const char *needle) argument
458 while (*haystack) {
459 if (os_strncmp(haystack, needle, len) == 0)
460 return (char *) haystack;
461 haystack++;
H A Dos_none.c215 char * os_strstr(const char *haystack, const char *needle) argument
/external/bison/darwin-lib/
H A Dstring.h879 _GL_FUNCDECL_RPL (strstr, char *, (const char *haystack, const char *needle)
882 _GL_CXXALIAS_RPL (strstr, char *, (const char *haystack, const char *needle));
888 char *, (const char *haystack, const char *needle),
889 const char *, (const char *haystack, const char *needle));
893 _GL_CXXALIASWARN1 (strstr, char *, (char *haystack, const char *needle));
895 (const char *haystack, const char *needle));
921 (const char *haystack, const char *needle)
925 (const char *haystack, const char *needle));
929 (const char *haystack, const char *needle)
937 char *, (const char *haystack, cons
[all...]
/external/bison/linux-lib/
H A Dstring.h879 _GL_FUNCDECL_RPL (strstr, char *, (const char *haystack, const char *needle)
882 _GL_CXXALIAS_RPL (strstr, char *, (const char *haystack, const char *needle));
888 char *, (const char *haystack, const char *needle),
889 const char *, (const char *haystack, const char *needle));
893 _GL_CXXALIASWARN1 (strstr, char *, (char *haystack, const char *needle));
895 (const char *haystack, const char *needle));
921 (const char *haystack, const char *needle)
925 (const char *haystack, const char *needle));
929 (const char *haystack, const char *needle)
937 char *, (const char *haystack, cons
[all...]
/external/chromium/sdch/open-vcdiff/src/gtest/
H A Dgtest.h800 // 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...]
H A Dgtest.cc1088 // substring of haystack. NULL is considered a substring of itself
1091 bool IsSubstringPred(const char* needle, const char* haystack) { argument
1092 if (needle == NULL || haystack == NULL)
1093 return needle == haystack;
1095 return strstr(haystack, needle) != NULL;
1098 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { argument
1099 if (needle == NULL || haystack == NULL)
1100 return needle == haystack;
1102 return wcsstr(haystack, needle) != NULL;
1108 const StringType& haystack) {
1107 IsSubstringPred(const StringType& needle, const StringType& haystack) argument
1117 IsSubstringImpl( bool expected_to_be_substring, const char* needle_expr, const char* haystack_expr, const StringType& needle, const StringType& haystack) argument
1141 IsSubstring( const char* needle_expr, const char* haystack_expr, const char* needle, const char* haystack) argument
1147 IsSubstring( const char* needle_expr, const char* haystack_expr, const wchar_t* needle, const wchar_t* haystack) argument
1153 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const char* needle, const char* haystack) argument
1159 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const wchar_t* needle, const wchar_t* haystack) argument
1166 IsSubstring( const char* needle_expr, const char* haystack_expr, const ::std::string& needle, const ::std::string& haystack) argument
1172 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const ::std::string& needle, const ::std::string& haystack) argument
1180 IsSubstring( const char* needle_expr, const char* haystack_expr, const ::std::wstring& needle, const ::std::wstring& haystack) argument
1186 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const ::std::wstring& needle, const ::std::wstring& haystack) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_string.h142 util_strstr(const char *haystack, const char *needle) argument
144 const char *p = haystack;
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_string.h142 util_strstr(const char *haystack, const char *needle) argument
144 const char *p = haystack;
/external/valgrind/main/coregrind/
H A Dm_libcbase.c365 Char* VG_(strstr) ( const Char* haystack, Char* needle ) argument
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 ) argument
383 if (haystack == NULL)
387 if (haystack[0] == 0)
389 if (VG_(strncasecmp)(haystack, needl
[all...]
/external/valgrind/main/exp-sgcheck/
H A Dh_intercepts.c319 (void* haystack, void* needle); \
321 (void* haystack, void* needle) \
323 UChar* h = (UChar*)haystack; \
/external/libsepol/include/sepol/policydb/
H A Dconditional.h102 cond_node_t * needle, cond_node_t * haystack,

Completed in 1608 milliseconds

123