Home
last modified time | relevance | path

Searched defs:haystack (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/ffmpeg/libavutil/tests/
Davstring.c57 const char *haystack = "Education consists mainly in what we have unlearned."; in main() local
86 #define TEST_STRNSTR(haystack, needle, hay_length, expected) \ in main() argument
97 #define TEST_STRIREPLACE(haystack, needle, expected) \ in main() argument
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dmatch.h46 inline bool StrContains(absl::string_view haystack, in StrContains()
51 inline bool StrContains(absl::string_view haystack, char needle) noexcept { in StrContains()
Dstring_view_benchmark.cc203 std::string haystack(state.range(0), '0'); in BM_find_string_view_len_one() local
212 std::string haystack(state.range(0), '0'); in BM_find_string_view_len_two() local
221 std::string haystack(state.range(0), '0'); in BM_find_one_char() local
230 std::string haystack(state.range(0), '0'); in BM_rfind_one_char() local
244 std::string haystack(haystack_len, '0'); // 1000 zeros. in BM_worst_case_find_first_of() local
/third_party/boost/libs/algorithm/test/
Dsearch_test1.cpp35 void check_one_iter ( const Container &haystack, const std::string &needle, int expected ) { in check_one_iter()
100 void check_one_pointer ( const Container &haystack, const std::string &needle, int expected ) { in check_one_pointer()
150 void check_one_object ( const Container &haystack, const std::string &needle, int expected ) { in check_one_object()
227 void check_one ( const Container &haystack, const std::string &needle, int expected ) { in check_one()
Dsearch_test4.cpp65 void check_one ( const vec &haystack, const vec &needle, int expected ) { in check_one()
Dsearch_test3.cpp88 void check_one ( const vec &haystack, const vec &needle, int expected ) { in check_one()
Dsearch_test2.cpp88 void check_one ( const vec &haystack, const vec &needle, int expected ) { in check_one()
/third_party/musl/src/string/
Dwcswcs.c3 wchar_t *wcswcs(const wchar_t *haystack, const wchar_t *needle) in wcswcs()
/third_party/musl/libc-test/src/regression/
Dwcsstr-false-negative.c8 wchar_t const *haystack = L"playing play play play always"; in main() local
Dmemmem-oob-read.c11 const unsigned char haystack[] = { 0,0,0,0,0,0,0,1,2 }; in main() local
/third_party/boost/libs/algorithm/example/
Dsearch_example.cpp19 const std::string haystack ( "ABACAB is it everywhere!" ); variable
/third_party/typescript/tests/baselines/reference/
DcontrolFlowPropertyDeclarations.js51 function endsWith(haystack, needle) { argument
63 function trimEnd(haystack, needle) { argument
/third_party/abseil-cpp/absl/strings/
Dmatch.h46 inline bool StrContains(absl::string_view haystack, absl::string_view needle) { in StrContains()
Dstring_view_benchmark.cc203 std::string haystack(state.range(0), '0'); in BM_find_string_view_len_one() local
212 std::string haystack(state.range(0), '0'); in BM_find_string_view_len_two() local
221 std::string haystack(state.range(0), '0'); in BM_find_one_char() local
230 std::string haystack(state.range(0), '0'); in BM_rfind_one_char() local
244 std::string haystack(haystack_len, '0'); // 1000 zeros. in BM_worst_case_find_first_of() local
/third_party/node/test/parallel/
Dtest-fs-write-sigxfsz.js25 const haystack = result.stderr.toString(); constant
Dtest-buffer-indexof.js608 const haystack = Buffer.from('a foo b foo'); constant
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DObserver.h22 bool IsInContainer(const HaystackT &haystack, const NeedleT &needle) in IsInContainer()
/third_party/node/src/
Dstring_search.h199 inline const void* MemrchrFill(const void* haystack, uint8_t needle, in MemrchrFill()
594 size_t SearchString(const Char* haystack, in SearchString()
627 size_t SearchString(const char* haystack, size_t haystack_length, in SearchString()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dmemutil.h89 const char* int_memmatch(const char* haystack, size_t haylen, in int_memmatch()
/third_party/abseil-cpp/absl/strings/internal/
Dmemutil.h89 const char* int_memmatch(const char* haystack, size_t haylen, in int_memmatch()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DObserver.h22 bool IsInContainer(const HaystackT &haystack, const NeedleT &needle) in IsInContainer()
/third_party/python/Lib/
Dasynchat.py303 def find_prefix_at_end(haystack, needle): argument
/third_party/icu/icu4c/source/test/intltest/
Dstrtest.cpp454 const char* haystack; in TestStringPieceFind() member
478 StringPiece haystack(cas.haystack); in TestStringPieceFind() local
/third_party/gstreamer/gstplugins_good/tests/icles/
Dtest-accurate-seek.c35 _memmem (const guint8 * haystack, gsize hlen, const guint8 * needle, gsize nlen) in _memmem()
/third_party/googletest/googletest/src/
Dgtest.cc1606 bool IsSubstringPred(const char* needle, const char* haystack) { in IsSubstringPred()
1613 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { in IsSubstringPred()
1623 const StringType& haystack) { in IsSubstringPred()
1635 const StringType& needle, const StringType& haystack) { in IsSubstringImpl()
1657 const char* needle, const char* haystack) { in IsSubstring()
1663 const wchar_t* needle, const wchar_t* haystack) { in IsSubstring()
1669 const char* needle, const char* haystack) { in IsNotSubstring()
1675 const wchar_t* needle, const wchar_t* haystack) { in IsNotSubstring()
1679 AssertionResult IsSubstring( in IsSubstring()
1685 AssertionResult IsNotSubstring( in IsNotSubstring()
[all …]

1234