Home
last modified time | relevance | path

Searched refs:needle (Results 1 – 25 of 52) sorted by relevance

123

/external/iproute2/tc/
Dem_nbyte.c44 struct bstr *needle = args; in nbyte_parse_eopt() local
57 if (needle->len <= 0) in nbyte_parse_eopt()
95 nb.len = needle->len; in nbyte_parse_eopt()
101 addraw_l(n, MAX_MSG, needle->data, needle->len); in nbyte_parse_eopt()
112 __u8 *needle; in nbyte_print_eopt() local
124 needle = data + sizeof(*nb); in nbyte_print_eopt()
127 fprintf(fd, "%02x ", needle[i]); in nbyte_print_eopt()
131 fprintf(fd, "%c", isprint(needle[i]) ? needle[i] : '.'); in nbyte_print_eopt()
/external/bison/lib/
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, const char *needle),
[all …]
/external/bison/darwin-lib/
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, const char *needle),
[all …]
/external/bison/linux-lib/
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, const char *needle),
[all …]
/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest.cc1091 bool IsSubstringPred(const char* needle, const char* haystack) { in IsSubstringPred() argument
1092 if (needle == NULL || haystack == NULL) in IsSubstringPred()
1093 return needle == haystack; in IsSubstringPred()
1095 return strstr(haystack, needle) != NULL; in IsSubstringPred()
1098 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { in IsSubstringPred() argument
1099 if (needle == NULL || haystack == NULL) in IsSubstringPred()
1100 return needle == haystack; in IsSubstringPred()
1102 return wcsstr(haystack, needle) != NULL; in IsSubstringPred()
1107 bool IsSubstringPred(const StringType& needle, in IsSubstringPred() argument
1109 return haystack.find(needle) != StringType::npos; in IsSubstringPred()
[all …]
Dgtest.h808 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);
/external/protobuf/gtest/src/
Dgtest.cc1215 bool IsSubstringPred(const char* needle, const char* haystack) { in IsSubstringPred() argument
1216 if (needle == NULL || haystack == NULL) in IsSubstringPred()
1217 return needle == haystack; in IsSubstringPred()
1219 return strstr(haystack, needle) != NULL; in IsSubstringPred()
1222 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { in IsSubstringPred() argument
1223 if (needle == NULL || haystack == NULL) in IsSubstringPred()
1224 return needle == haystack; in IsSubstringPred()
1226 return wcsstr(haystack, needle) != NULL; in IsSubstringPred()
1231 bool IsSubstringPred(const StringType& needle, in IsSubstringPred() argument
1233 return haystack.find(needle) != StringType::npos; in IsSubstringPred()
[all …]
/external/chromium/testing/gtest/src/
Dgtest.cc1231 bool IsSubstringPred(const char* needle, const char* haystack) { in IsSubstringPred() argument
1232 if (needle == NULL || haystack == NULL) in IsSubstringPred()
1233 return needle == haystack; in IsSubstringPred()
1235 return strstr(haystack, needle) != NULL; in IsSubstringPred()
1238 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { in IsSubstringPred() argument
1239 if (needle == NULL || haystack == NULL) in IsSubstringPred()
1240 return needle == haystack; in IsSubstringPred()
1242 return wcsstr(haystack, needle) != NULL; in IsSubstringPred()
1247 bool IsSubstringPred(const StringType& needle, in IsSubstringPred() argument
1249 return haystack.find(needle) != StringType::npos; in IsSubstringPred()
[all …]
/external/gtest/src/
Dgtest.cc1231 bool IsSubstringPred(const char* needle, const char* haystack) { in IsSubstringPred() argument
1232 if (needle == NULL || haystack == NULL) in IsSubstringPred()
1233 return needle == haystack; in IsSubstringPred()
1235 return strstr(haystack, needle) != NULL; in IsSubstringPred()
1238 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { in IsSubstringPred() argument
1239 if (needle == NULL || haystack == NULL) in IsSubstringPred()
1240 return needle == haystack; in IsSubstringPred()
1242 return wcsstr(haystack, needle) != NULL; in IsSubstringPred()
1247 bool IsSubstringPred(const StringType& needle, in IsSubstringPred() argument
1249 return haystack.find(needle) != StringType::npos; in IsSubstringPred()
[all …]
/external/open-vcdiff/gtest/src/
Dgtest.cc1245 bool IsSubstringPred(const char* needle, const char* haystack) { in IsSubstringPred() argument
1246 if (needle == NULL || haystack == NULL) in IsSubstringPred()
1247 return needle == haystack; in IsSubstringPred()
1249 return strstr(haystack, needle) != NULL; in IsSubstringPred()
1252 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { in IsSubstringPred() argument
1253 if (needle == NULL || haystack == NULL) in IsSubstringPred()
1254 return needle == haystack; in IsSubstringPred()
1256 return wcsstr(haystack, needle) != NULL; in IsSubstringPred()
1261 bool IsSubstringPred(const StringType& needle, in IsSubstringPred() argument
1263 return haystack.find(needle) != StringType::npos; in IsSubstringPred()
[all …]
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest.cc1231 bool IsSubstringPred(const char* needle, const char* haystack) { in IsSubstringPred() argument
1232 if (needle == NULL || haystack == NULL) in IsSubstringPred()
1233 return needle == haystack; in IsSubstringPred()
1235 return strstr(haystack, needle) != NULL; in IsSubstringPred()
1238 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { in IsSubstringPred() argument
1239 if (needle == NULL || haystack == NULL) in IsSubstringPred()
1240 return needle == haystack; in IsSubstringPred()
1242 return wcsstr(haystack, needle) != NULL; in IsSubstringPred()
1247 bool IsSubstringPred(const StringType& needle, in IsSubstringPred() argument
1249 return haystack.find(needle) != StringType::npos; in IsSubstringPred()
[all …]
/external/llvm/utils/unittest/googletest/
Dgtest.cc1231 bool IsSubstringPred(const char* needle, const char* haystack) { in IsSubstringPred() argument
1232 if (needle == NULL || haystack == NULL) in IsSubstringPred()
1233 return needle == haystack; in IsSubstringPred()
1235 return strstr(haystack, needle) != NULL; in IsSubstringPred()
1238 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { in IsSubstringPred() argument
1239 if (needle == NULL || haystack == NULL) in IsSubstringPred()
1240 return needle == haystack; in IsSubstringPred()
1242 return wcsstr(haystack, needle) != NULL; in IsSubstringPred()
1247 bool IsSubstringPred(const StringType& needle, in IsSubstringPred() argument
1249 return haystack.find(needle) != StringType::npos; in IsSubstringPred()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_libc.cc165 char *internal_strstr(const char *haystack, const char *needle) { in internal_strstr() argument
168 uptr len2 = internal_strlen(needle); in internal_strstr()
171 if (internal_memcmp(haystack + pos, needle, len2) == 0) in internal_strstr()
/external/open-vcdiff/gtest/include/gtest/
Dgtest.h1457 const char* needle, const char* haystack);
1460 const wchar_t* needle, const wchar_t* haystack);
1463 const char* needle, const char* haystack);
1466 const wchar_t* needle, const wchar_t* haystack);
1470 const ::std::string& needle, const ::std::string& haystack);
1473 const ::std::string& needle, const ::std::string& haystack);
1479 const ::std::wstring& needle, const ::std::wstring& haystack);
1482 const ::std::wstring& needle, const ::std::wstring& haystack);
/external/protobuf/gtest/include/gtest/
Dgtest.h1375 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, const ::std::wstring& haystack);
/external/valgrind/main/exp-sgcheck/
Dh_intercepts.c319 (void* haystack, void* needle); \
321 (void* haystack, void* needle) \
324 UChar* n = (UChar*)needle; \
/external/wpa_supplicant_8/src/utils/
Dos_internal.c455 char * os_strstr(const char *haystack, const char *needle) in os_strstr() argument
457 size_t len = os_strlen(needle); in os_strstr()
459 if (os_strncmp(haystack, needle, len) == 0) in os_strstr()
/external/valgrind/main/coregrind/
Dm_libcbase.c365 Char* VG_(strstr) ( const Char* haystack, Char* needle ) in VG_()
370 n = VG_(strlen)(needle); in VG_()
374 if (VG_(strncmp)(haystack, needle, n) == 0) in VG_()
380 Char* VG_(strcasestr) ( const Char* haystack, Char* needle ) in VG_()
385 n = VG_(strlen)(needle); in VG_()
389 if (VG_(strncasecmp)(haystack, needle, n) == 0) in VG_()
/external/chromium/testing/gtest/include/gtest/
Dgtest.h1518 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, const ::std::wstring& haystack);
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest.h1520 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, const ::std::wstring& haystack);
/external/gtest/include/gtest/
Dgtest.h1518 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, const ::std::wstring& haystack);
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h1518 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, const ::std::wstring& haystack);
/external/chromium/chrome/browser/sync/syncable/
Dsyncable.cc427 kernel_->needle.put(ID, id); in GetEntryById()
428 IdsIndex::iterator id_found = kernel_->ids_index->find(&kernel_->needle); in GetEntryById()
439 kernel_->needle.put(UNIQUE_CLIENT_TAG, tag); in GetEntryByClientTag()
441 &kernel_->needle); in GetEntryByClientTag()
473 kernel_->needle.put(META_HANDLE, metahandle); in GetEntryByHandle()
475 kernel_->metahandles_index->find(&kernel_->needle); in GetEntryByHandle()
652 kernel_->needle.put(META_HANDLE, i->ref(META_HANDLE)); in VacuumAfterSaveChanges()
654 kernel_->metahandles_index->find(&kernel_->needle); in VacuumAfterSaveChanges()
744 kernel_->needle.put(META_HANDLE, i->ref(META_HANDLE)); in HandleSaveChangesFailure()
746 kernel_->metahandles_index->find(&kernel_->needle); in HandleSaveChangesFailure()
[all …]
/external/valgrind/main/include/
Dpub_tool_libcbase.h95 extern Char* VG_(strstr) ( const Char* haystack, Char* needle );
96 extern Char* VG_(strcasestr) ( const Char* haystack, Char* needle );
/external/ceres-solver/internal/ceres/
Dgmock_gtest_all.cc2535 bool IsSubstringPred(const char* needle, const char* haystack) { in IsSubstringPred() argument
2536 if (needle == NULL || haystack == NULL) in IsSubstringPred()
2537 return needle == haystack; in IsSubstringPred()
2539 return strstr(haystack, needle) != NULL; in IsSubstringPred()
2542 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { in IsSubstringPred() argument
2543 if (needle == NULL || haystack == NULL) in IsSubstringPred()
2544 return needle == haystack; in IsSubstringPred()
2546 return wcsstr(haystack, needle) != NULL; in IsSubstringPred()
2551 bool IsSubstringPred(const StringType& needle, in IsSubstringPred() argument
2553 return haystack.find(needle) != StringType::npos; in IsSubstringPred()
[all …]

123