Home
last modified time | relevance | path

Searched defs:haystack (Results 1 – 25 of 86) 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/mesa3d/src/util/
Du_drm.h34 util_array_contains_u64(uint64_t needle, const uint64_t *haystack, unsigned count) in util_array_contains_u64()
/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/mesa3d/src/glx/
Dclientinfo.c129 const char *haystack = src->serverGLXexts; in __glX_send_client_info() local
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DObserver.h22 bool IsInContainer(const HaystackT &haystack, const NeedleT &needle) in IsInContainer()
/third_party/vk-gl-cts/scripts/
Dconvert_case_list_to_xml.py32 def findAllMatches(haystack, needle): argument
/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/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/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.py311 def find_prefix_at_end(haystack, needle): argument

1234