/external/iproute2/tc/ |
H A D | em_nbyte.c | 44 struct bstr *needle = args; local 57 if (needle->len <= 0) 58 return PARSE_ERR(args, "nbyte: needle length is 0"); 95 nb.len = needle->len; 101 addraw_l(n, MAX_MSG, needle->data, needle->len); 112 __u8 *needle; local 124 needle = data + sizeof(*nb); 127 fprintf(fd, "%02x ", needle[i]); 131 fprintf(fd, "%c", isprint(needle[ [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_libc.cc | 148 char *internal_strstr(const char *haystack, const char *needle) { argument 151 uptr len2 = internal_strlen(needle); 154 if (internal_memcmp(haystack + pos, needle, len2) == 0)
|
H A D | sanitizer_libc.h | 45 char *internal_strstr(const char *haystack, const char *needle);
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
H A D | 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, cons [all...] |
H A D | gtest.cc | 1087 // This group of overloaded functions return true iff needle is a 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; 1107 bool IsSubstringPred(const StringType& needle, 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/wpa_supplicant_6/wpa_supplicant/src/utils/ |
H A D | os_none.c | 216 char * os_strstr(const char *haystack, const char *needle) argument
|
H A D | os_internal.c | 438 char * os_strstr(const char *haystack, const char *needle) argument 440 size_t len = os_strlen(needle); 442 if (os_strncmp(haystack, needle, len) == 0)
|
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | os_none.c | 215 char * os_strstr(const char *haystack, const char *needle) argument
|
H A D | os_internal.c | 455 char * os_strstr(const char *haystack, const char *needle) argument 457 size_t len = os_strlen(needle); 459 if (os_strncmp(haystack, needle, len) == 0)
|
/external/wpa_supplicant_8/src/utils/ |
H A D | os_none.c | 215 char * os_strstr(const char *haystack, const char *needle) argument
|
H A D | os_internal.c | 455 char * os_strstr(const char *haystack, const char *needle) argument 457 size_t len = os_strlen(needle); 459 if (os_strncmp(haystack, needle, len) == 0)
|
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | os_none.c | 215 char * os_strstr(const char *haystack, const char *needle) argument
|
H A D | os_internal.c | 455 char * os_strstr(const char *haystack, const char *needle) argument 457 size_t len = os_strlen(needle); 459 if (os_strncmp(haystack, needle, len) == 0)
|
/external/valgrind/main/exp-sgcheck/ |
H A D | h_intercepts.c | 319 (void* haystack, void* needle); \ 321 (void* haystack, void* needle) \ 324 UChar* n = (UChar*)needle; \
|
/external/libsepol/include/sepol/policydb/ |
H A D | conditional.h | 102 cond_node_t * needle, cond_node_t * haystack,
|
/external/chromium/testing/gtest/include/gtest/ |
H A D | gtest.h | 1510 // themselves. They check whether needle is a substring of haystack 1514 // The {needle,haystack}_expr arguments are the stringified 1518 const char* needle, const char* haystack); 1521 const wchar_t* needle, const wchar_t* haystack); 1524 const char* needle, const char* haystack); 1527 const wchar_t* needle, const wchar_t* haystack); 1530 const ::std::string& needle, const ::std::string& haystack); 1533 const ::std::string& needle, const ::std::string& haystack); 1538 const ::std::wstring& needle, const ::std::wstring& haystack); 1541 const ::std::wstring& needle, cons [all...] |
/external/gtest/include/gtest/ |
H A D | gtest.h | 1510 // themselves. They check whether needle is a substring of haystack 1514 // The {needle,haystack}_expr arguments are the stringified 1518 const char* needle, const char* haystack); 1521 const wchar_t* needle, const wchar_t* haystack); 1524 const char* needle, const char* haystack); 1527 const wchar_t* needle, const wchar_t* haystack); 1530 const ::std::string& needle, const ::std::string& haystack); 1533 const ::std::string& needle, const ::std::string& haystack); 1538 const ::std::wstring& needle, const ::std::wstring& haystack); 1541 const ::std::wstring& needle, cons [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/ |
H A D | gtest.h | 1512 // themselves. They check whether needle is a substring of haystack 1516 // The {needle,haystack}_expr arguments are the stringified 1520 const char* needle, const char* haystack); 1523 const wchar_t* needle, const wchar_t* haystack); 1526 const char* needle, const char* haystack); 1529 const wchar_t* needle, const wchar_t* haystack); 1532 const ::std::string& needle, const ::std::string& haystack); 1535 const ::std::string& needle, const ::std::string& haystack); 1540 const ::std::wstring& needle, const ::std::wstring& haystack); 1543 const ::std::wstring& needle, cons [all...] |
/external/protobuf/gtest/include/gtest/ |
H A D | gtest.h | 1367 // themselves. They check whether needle is a substring of haystack 1371 // The {needle,haystack}_expr arguments are the stringified 1375 const char* needle, const char* haystack); 1378 const wchar_t* needle, const wchar_t* haystack); 1381 const char* needle, const char* haystack); 1384 const wchar_t* needle, const wchar_t* haystack); 1388 const ::std::string& needle, const ::std::string& haystack); 1391 const ::std::string& needle, const ::std::string& haystack); 1397 const ::std::wstring& needle, const ::std::wstring& haystack); 1400 const ::std::wstring& needle, cons [all...] |
/external/valgrind/main/include/ |
H A D | pub_tool_libcbase.h | 95 extern Char* VG_(strstr) ( const Char* haystack, Char* needle ); 96 extern Char* VG_(strcasestr) ( const Char* haystack, Char* needle );
|
/external/chromium/testing/gtest/src/ |
H A D | gtest.cc | 1227 // This group of overloaded functions return true iff needle is a 1231 bool IsSubstringPred(const char* needle, const char* haystack) { argument 1232 if (needle == NULL || haystack == NULL) 1233 return needle == haystack; 1235 return strstr(haystack, needle) != NULL; 1238 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { argument 1239 if (needle == NULL || haystack == NULL) 1240 return needle == haystack; 1242 return wcsstr(haystack, needle) != NULL; 1247 bool IsSubstringPred(const StringType& needle, argument 1257 IsSubstringImpl( bool expected_to_be_substring, const char* needle_expr, const char* haystack_expr, const StringType& needle, const StringType& haystack) argument 1280 IsSubstring( const char* needle_expr, const char* haystack_expr, const char* needle, const char* haystack) argument 1286 IsSubstring( const char* needle_expr, const char* haystack_expr, const wchar_t* needle, const wchar_t* haystack) argument 1292 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const char* needle, const char* haystack) argument 1298 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const wchar_t* needle, const wchar_t* haystack) argument 1304 IsSubstring( const char* needle_expr, const char* haystack_expr, const ::std::string& needle, const ::std::string& haystack) argument 1310 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const ::std::string& needle, const ::std::string& haystack) argument 1317 IsSubstring( const char* needle_expr, const char* haystack_expr, const ::std::wstring& needle, const ::std::wstring& haystack) argument 1323 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const ::std::wstring& needle, const ::std::wstring& haystack) argument [all...] |
/external/gtest/src/ |
H A D | gtest.cc | 1227 // This group of overloaded functions return true iff needle is a 1231 bool IsSubstringPred(const char* needle, const char* haystack) { argument 1232 if (needle == NULL || haystack == NULL) 1233 return needle == haystack; 1235 return strstr(haystack, needle) != NULL; 1238 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { argument 1239 if (needle == NULL || haystack == NULL) 1240 return needle == haystack; 1242 return wcsstr(haystack, needle) != NULL; 1247 bool IsSubstringPred(const StringType& needle, argument 1257 IsSubstringImpl( bool expected_to_be_substring, const char* needle_expr, const char* haystack_expr, const StringType& needle, const StringType& haystack) argument 1280 IsSubstring( const char* needle_expr, const char* haystack_expr, const char* needle, const char* haystack) argument 1286 IsSubstring( const char* needle_expr, const char* haystack_expr, const wchar_t* needle, const wchar_t* haystack) argument 1292 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const char* needle, const char* haystack) argument 1298 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const wchar_t* needle, const wchar_t* haystack) argument 1304 IsSubstring( const char* needle_expr, const char* haystack_expr, const ::std::string& needle, const ::std::string& haystack) argument 1310 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const ::std::string& needle, const ::std::string& haystack) argument 1317 IsSubstring( const char* needle_expr, const char* haystack_expr, const ::std::wstring& needle, const ::std::wstring& haystack) argument 1323 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const ::std::wstring& needle, const ::std::wstring& haystack) argument [all...] |
/external/llvm/utils/unittest/googletest/ |
H A D | gtest.cc | 1227 // This group of overloaded functions return true iff needle is a 1231 bool IsSubstringPred(const char* needle, const char* haystack) { argument 1232 if (needle == NULL || haystack == NULL) 1233 return needle == haystack; 1235 return strstr(haystack, needle) != NULL; 1238 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { argument 1239 if (needle == NULL || haystack == NULL) 1240 return needle == haystack; 1242 return wcsstr(haystack, needle) != NULL; 1247 bool IsSubstringPred(const StringType& needle, argument 1257 IsSubstringImpl( bool expected_to_be_substring, const char* needle_expr, const char* haystack_expr, const StringType& needle, const StringType& haystack) argument 1280 IsSubstring( const char* needle_expr, const char* haystack_expr, const char* needle, const char* haystack) argument 1286 IsSubstring( const char* needle_expr, const char* haystack_expr, const wchar_t* needle, const wchar_t* haystack) argument 1292 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const char* needle, const char* haystack) argument 1298 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const wchar_t* needle, const wchar_t* haystack) argument 1304 IsSubstring( const char* needle_expr, const char* haystack_expr, const ::std::string& needle, const ::std::string& haystack) argument 1310 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const ::std::string& needle, const ::std::string& haystack) argument 1317 IsSubstring( const char* needle_expr, const char* haystack_expr, const ::std::wstring& needle, const ::std::wstring& haystack) argument 1323 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const ::std::wstring& needle, const ::std::wstring& haystack) argument [all...] |
/external/protobuf/gtest/src/ |
H A D | gtest.cc | 1211 // This group of overloaded functions return true iff needle is a 1215 bool IsSubstringPred(const char* needle, const char* haystack) { argument 1216 if (needle == NULL || haystack == NULL) 1217 return needle == haystack; 1219 return strstr(haystack, needle) != NULL; 1222 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { argument 1223 if (needle == NULL || haystack == NULL) 1224 return needle == haystack; 1226 return wcsstr(haystack, needle) != NULL; 1231 bool IsSubstringPred(const StringType& needle, argument 1241 IsSubstringImpl( bool expected_to_be_substring, const char* needle_expr, const char* haystack_expr, const StringType& needle, const StringType& haystack) argument 1265 IsSubstring( const char* needle_expr, const char* haystack_expr, const char* needle, const char* haystack) argument 1271 IsSubstring( const char* needle_expr, const char* haystack_expr, const wchar_t* needle, const wchar_t* haystack) argument 1277 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const char* needle, const char* haystack) argument 1283 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const wchar_t* needle, const wchar_t* haystack) argument 1290 IsSubstring( const char* needle_expr, const char* haystack_expr, const ::std::string& needle, const ::std::string& haystack) argument 1296 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const ::std::string& needle, const ::std::string& haystack) argument 1304 IsSubstring( const char* needle_expr, const char* haystack_expr, const ::std::wstring& needle, const ::std::wstring& haystack) argument 1310 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const ::std::wstring& needle, const ::std::wstring& haystack) argument [all...] |
/external/aac/libSYS/src/ |
H A D | genericStds.cpp | 192 const char *FDKstrstr(const char *haystack, const char *needle) { return strstr(haystack, needle); } argument
|