Searched refs:matchStr (Results 1 - 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_regexp_iterator.cpp | 83 // i. Let matchStr be ? ToString(? Get(match, "0")). in Next() 87 JSHandle<EcmaString> matchStr = JSTaggedValue::ToString(thread, getZero); in Next() local 89 // ii. If matchStr is the empty String, then in Next() 93 if (EcmaStringAccessor(matchStr).GetLength() == 0) { in Next()
|
/arkcompiler/ets_runtime/test/moduletest/string/ |
H A D | string.js | 296 const matchStr = "abcd" 302 let bb = textStr.startsWith(matchStr, offset); 314 let flag = textStr.startsWith(matchStr, offset1);
|
/arkcompiler/toolchain/tooling/agent/ |
H A D | debugger_impl.h | 107 bool MatchScripts(const Callback &cb, const std::string &matchStr, ScriptMatchType type) const in MatchScripts() argument 128 if (matchStr == value) { in MatchScripts()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_regexp.cpp | 700 // 1. Let matchStr be ToString(Get(result, "0")). in RegExpMatch() 705 JSHandle<JSTaggedValue> matchStr(thread, matchVal); in RegExpMatch() 706 matchString.Update(JSTaggedValue::ToString(thread, matchStr)); in RegExpMatch() 707 // 2. ReturnIfAbrupt(matchStr). in RegExpMatch() 711 // 3. Let status be CreateDataProperty(A, ToString(n), matchStr). in RegExpMatch() 719 // 5. If matchStr is the empty String, then in RegExpMatch() 1122 // iii. Else, 1. Let matchStr be ToString(Get(result, "0")). in ReplaceInternal() 1129 // 2. ReturnIfAbrupt(matchStr). in ReplaceInternal() 1131 // 3. If matchStr is the empty String, then in ReplaceInternal()
|
Completed in 8 milliseconds