Home
last modified time | relevance | path

Searched defs:needle (Results 1 – 25 of 109) sorted by relevance

12345

/third_party/ffmpeg/libavutil/tests/
Davstring.c58 const char * const needle[] = {"learned.", "unlearned.", "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/angle2/src/compiler/translator/TranslatorMetalDirect/
DDebugSink.h17 StringObserver(const std::string &needle) : needle(needle) { ASSERT(!needle.empty()); } in StringObserver()
81 void watch(std::string const &needle) in watch()
138 const std::string &needle = observer.getNeedle(); in onWrite() local
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dmatch.h47 absl::string_view needle) noexcept { in StrContains()
51 inline bool StrContains(absl::string_view haystack, char needle) noexcept { in StrContains()
Dstr_replace_benchmark.cc30 const char* needle; member
/third_party/rust/crates/memchr/src/tests/memchr/
Diter.rs99 let needle = 0; localVariable
105 let needle = 0; localVariable
142 let needle = 0; localVariable
/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/
Dmemmem-oob-read.c12 const unsigned char needle[] = { 0,0,0,0,0,0,0,1,3 }; in main() local
Dwcsstr-false-negative.c9 wchar_t const *needle = L"play play play"; in main() local
/third_party/typescript/tests/baselines/reference/
DcontrolFlowPropertyDeclarations.js51 function endsWith(haystack, needle) { argument
63 function trimEnd(haystack, needle) { argument
/third_party/rust/crates/memchr/src/memmem/
Dmod.rs557 pub fn needle(&self) -> &[u8] { in needle() method
688 pub fn needle(&self) -> &[u8] { in needle() method
749 needle: CowBytes<'n>, field
873 fn needle(&self) -> &[u8] { in needle() method
937 let needle = self.needle(); in find() localVariable
1031 needle: CowBytes<'n>, field
1070 fn needle(&self) -> &[u8] { in needle() method
1112 let needle = self.needle(); in rfind() localVariable
/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.js26 const needle = 'Error: EFBIG: file too large, write'; constant
Dtest-buffer-indexof.js607 const needle = new Uint8Array([ 0x66, 0x6f, 0x6f ]); constant
/third_party/rust/crates/memchr/bench/src/memmem/
Dinputs.rs23 pub needle: &'static str, field
/third_party/node/deps/icu-small/source/common/
Dstringpiece.cpp54 int32_t StringPiece::find(StringPiece needle, int32_t offset) { in find()
/third_party/icu/icu4c/source/common/
Dstringpiece.cpp54 int32_t StringPiece::find(StringPiece needle, int32_t offset) { in find()
/third_party/ninja/src/
Dclparser.cc36 bool EndsWith(const string& input, const string& needle) { in EndsWith()
/third_party/skia/third_party/externals/icu/source/common/
Dstringpiece.cpp54 int32_t StringPiece::find(StringPiece needle, int32_t offset) { in find()
/third_party/vk-gl-cts/scripts/
Dconvert_case_list_to_xml.py32 def findAllMatches(haystack, needle): argument
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DObserver.h22 bool IsInContainer(const HaystackT &haystack, const NeedleT &needle) in IsInContainer()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dmemutil.h90 const char* needle, size_t neelen) { 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/ltp/include/
Dtst_cgroup.h207 #define SAFE_CGROUP_OCCURSIN(cg, file_name, needle) \ argument
/third_party/skia/include/core/
DSkStringView.h124 bool contains(string_view needle) const { in contains()
/third_party/skia/third_party/externals/spirv-tools/source/
Dopcode.cpp136 spv_opcode_desc_t needle = {"", opcode, 0, nullptr, 0, {}, in spvOpcodeTableValueLookup() local
189 spv_opcode_desc_t needle = {"", static_cast<SpvOp>(opcode), in spvOpcodeString() local

12345