Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/static_core/patches/zydis/
D0001-Simplify-Zydis-build.patch6576 + * Searches for the first occurrence of `needle` in the given `haystack` starting from the
6580 + * @param needle The sub-string to search for.
6582 + * `needle`.
6584 + * @return `ZYAN_STATUS_TRUE`, if the needle was found, `ZYAN_STATUS_FALSE`, if not, or another
6587 + * The `found_index` is set to `-1`, if the needle was not found.
6590 + const ZyanStringView* needle, ZyanISize* found_index);
6593 + * Searches for the first occurrence of `needle` in the given `haystack` starting from the
6597 + * @param needle The sub-string to search for.
6599 + * `needle`.
6604 + * @return `ZYAN_STATUS_TRUE`, if the needle was found, `ZYAN_STATUS_FALSE`, if not, or another
[all …]
/arkcompiler/ets_runtime/ecmascript/
Djs_runtime_options.h1455 static bool StartsWith(const std::string &haystack, const std::string &needle) in StartsWith() argument
1457 return std::equal(needle.begin(), needle.end(), haystack.begin()); in StartsWith()
/arkcompiler/runtime_core/libpandabase/utils/
Dpandargs.h1017 static bool StartsWith(const std::string &haystack, const std::string &needle) in StartsWith() argument
1019 return std::equal(needle.begin(), needle.end(), haystack.begin()); in StartsWith()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dpandargs.h1021 static bool StartsWith(const std::string &haystack, const std::string &needle) in StartsWith() argument
1023 return std::equal(needle.begin(), needle.end(), haystack.begin()); in StartsWith()