Home
last modified time | relevance | path

Searched refs:Match (Results 1 – 18 of 18) sorted by relevance

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DnarrowTypeByInstanceof.ts21 class Match {
35 type FileMatchOrMatch = FileMatch | Match;
55 } else if (elementA instanceof Match && elementB instanceof Match) {
DindexingTypesWithNever.ts111 type Match<Exp, Act> = [Exp] extends [Act] alias
115 type ExpectType<Exp, Act> = Match<Exp, Act> extends "Match"
116 ? ({} extends Exp ? Match<Required<Exp>, Required<Act>> : "Match")
DramdaToolsNoInfinite2.ts104 …export type Match = 'default' | 'implements->' | '<-implements' | 'extends->' | '<-extends' | 'equ… alias
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/
Dpgo_profiler_test.cpp147 ASSERT_TRUE(!loader.Match(expectRecordName, methodLiterals[0]->GetMethodId())); in HWTEST_F_L0()
150 ASSERT_TRUE(loader.Match(expectRecordName, methodLiterals[0]->GetMethodId())); in HWTEST_F_L0()
215 ASSERT_TRUE(loader.Match(expectRecordName, methodLiterals[0]->GetMethodId())); in HWTEST_F_L0()
216 ASSERT_TRUE(loader.Match(expectRecordName, methodLiterals[2]->GetMethodId())); in HWTEST_F_L0()
217 ASSERT_TRUE(!loader.Match(expectRecordName, methodLiterals[1]->GetMethodId())); in HWTEST_F_L0()
220 ASSERT_TRUE(loader.Match(expectRecordName, methodLiterals[1]->GetMethodId())); in HWTEST_F_L0()
279 ASSERT_TRUE(!loader.Match(expectRecordName, methodLiterals[0]->GetMethodId())); in HWTEST_F_L0()
282 ASSERT_TRUE(loader.Match(expectRecordName, methodLiterals[0]->GetMethodId())); in HWTEST_F_L0()
284 ASSERT_TRUE(loader.Match(expectRecordName1, methodLiterals[1]->GetMethodId())); in HWTEST_F_L0()
323 ASSERT_TRUE(loader.Match(expectRecordName, methodLiterals[0]->GetMethodId())); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_decoder.cpp176 bool PGOProfilerDecoder::Match(const CString &recordName, PGOMethodId methodId) in Match() function in panda::ecmascript::PGOProfilerDecoder
184 return recordSimpleInfos_->Match(recordName, methodId); in Match()
Dpgo_profiler_decoder.h41 bool PUBLIC_API Match(const CString &recordName, PGOMethodId methodId);
Dpgo_profiler_info.h883 bool Match(EntityId methodId) in Match() function
1091 bool Match(const CString &recordName, EntityId methodId);
Dpgo_profiler_info.cpp1248 bool PGORecordSimpleInfos::Match(const CString &recordName, EntityId methodId) in Match() function in panda::ecmascript::PGORecordSimpleInfos
1254 return methodIdsIter->second->Match(methodId); in Match()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_regexp.h70 static JSTaggedValue Match(EcmaRuntimeCallInfo *argv);
151 … bool Match(int entry, JSTaggedValue &pattenStr, JSTaggedValue &flagsStr, JSTaggedValue &inputStr,
Dbuiltins_string.h68 static JSTaggedValue Match(EcmaRuntimeCallInfo *argv);
Dbuiltins_regexp.cpp372 JSTaggedValue BuiltinsRegExp::Match(EcmaRuntimeCallInfo *argv) in Match() function in panda::ecmascript::builtins::BuiltinsRegExp
375 BUILTINS_API_TRACE(argv->GetThread(), RegExp, Match); in Match()
1869 if (!Match(entry, patternValue, flagsValue, inputValue, extend)) { in FindCachedResult()
1871 if (!Match(entry2, patternValue, flagsValue, inputValue, extend)) { in FindCachedResult()
1944 } else if (cache->Match(entry, patternValue, flagsValue, inputValue, extend)) { in AddResultInCache()
1968 } else if (cache->Match(entry2, patternValue, flagsValue, inputValue, extendValue)) { in AddResultInCache()
2038 bool RegExpExecResultCache::Match(int entry, JSTaggedValue &pattern, JSTaggedValue &flags, JSTagged… in Match() function in panda::ecmascript::builtins::RegExpExecResultCache
Dbuiltins_string.cpp590 JSTaggedValue BuiltinsString::Match(EcmaRuntimeCallInfo *argv) in Match() function in panda::ecmascript::builtins::BuiltinsString
593 BUILTINS_API_TRACE(argv->GetThread(), String, Match); in Match()
Dbuiltins.cpp1762 SetFunction(env, stringFuncPrototype, "match", BuiltinsString::Match, FunctionLength::ONE); in InitializeString()
2051 …SetFunctionAtSymbol(env, regPrototype, env->GetMatchSymbol(), "[Symbol.match]", RegExp::Match, Fun… in InitializeRegExp()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dcompilation_driver.cpp197 !pfDecoder_.Match(recordName, methodLiteral->GetMethodId())) { in FilterMethod()
Dcompilation_driver.h54 … if (pfDecoder_.Match(recordName, resolvedMethod) && !resolvedMethodInfo.IsTypeInferAbort()) { in UpdateCompileQueue()
/arkcompiler/ets_runtime/ecmascript/
Druntime_call_id.h641 V(RegExp, Match) \
696 V(String, Match) \
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.cpp345 reinterpret_cast<uintptr_t>(RegExp::Match),
488 reinterpret_cast<uintptr_t>(BuiltinsString::Match),
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_regexp_test.cpp431 JSTaggedValue matchResults = BuiltinsRegExp::Match(ecmaRuntimeCallInfo); in HWTEST_F_L0()