Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_parser_cache.cpp39 size_t RegExpParserCache::GetHash(EcmaString *pattern, const uint32_t flags) in GetHash()
45 std::pair<JSTaggedValue, size_t> RegExpParserCache::GetCache(EcmaString *pattern, const uint32_t fl… in GetCache()
57 void RegExpParserCache::SetCache(EcmaString *pattern, const uint32_t flags, in SetCache()
/arkcompiler/runtime_core/gn/build/
Dcmake_configure_file.py47 def replace(pattern): argument
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_regexp_iterator_test.cpp54 …STaggedValue CreateJSRegexpByPatternAndFlags(JSThread *thread, const JSHandle<EcmaString> &pattern, in CreateJSRegexpByPatternAndFlags()
77 JSHandle<EcmaString> pattern = factory->NewFromASCII("\\w+"); in HWTEST_F_L0() local
93 JSHandle<EcmaString> pattern = factory->NewFromASCII("-[0-9]+"); in HWTEST_F_L0() local
Djs_date_time_format_test.cpp161 icu::UnicodeString pattern("yyyy.MM.dd HH:mm:ss"); in HWTEST_F_L0() local
Djs_serializer_test.cpp501 JSHandle<EcmaString> pattern = thread->GetEcmaVM()->GetFactory()->NewFromASCII("key2"); in JSRegexpTest() local
1305 JSHandle<EcmaString> pattern = thread->GetEcmaVM()->GetFactory()->NewFromASCII("key2"); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/test/moduletest/builtins/
Dbuiltinsregexp.js52 var pattern = /[A-Z]{3}/g; variable
/arkcompiler/ets_frontend/es2panda/ir/expressions/literals/
DregExpLiteral.h35 explicit RegExpLiteral(util::StringView pattern, util::StringView flags) in RegExpLiteral()
DregExpLiteral.cpp38 compiler::VReg pattern = pg->AllocReg(); in Compile() local
/arkcompiler/runtime_core/templates/
Dmessages.rb21 def scan_until_exclusive(scanner, pattern) argument
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_regexp.cpp47 JSHandle<JSTaggedValue> pattern = GetCallArg(argv, 0); in RegExpConstructor() local
393 JSMutableHandle<JSTaggedValue> pattern(thread, JSTaggedValue::Undefined()); in Match() local
604 JSHandle<JSTaggedValue> pattern(thread, regexpHandle->GetOriginalSource()); in RegExpReplaceFast() local
751 JSMutableHandle<JSTaggedValue> pattern(thread, JSTaggedValue::Undefined()); in Replace() local
1136 JSMutableHandle<JSTaggedValue> pattern(thread, JSTaggedValue::Undefined()); in Split() local
1411 JSMutableHandle<JSTaggedValue> pattern(thread, regexpObj->GetOriginalSource()); in RegExpBuiltinExec() local
1687 const JSHandle<JSTaggedValue> &pattern, in RegExpInitialize()
1772 JSTaggedValue BuiltinsRegExp::RegExpCreate(JSThread *thread, const JSHandle<JSTaggedValue> &pattern, in RegExpCreate()
1823 …e RegExpExecResultCache::FindCachedResult(JSThread *thread, const JSHandle<JSTaggedValue> &pattern, in FindCachedResult()
1879 const JSHandle<JSTaggedValue> &pattern, in AddResultInCache()
[all …]
Dbuiltins_string.cpp567 JSHandle<JSTaggedValue> pattern(thread, re->GetOriginalSource()); in Match() local
800 JSHandle<JSTaggedValue> pattern(thread, re->GetOriginalSource()); in Replace() local
/arkcompiler/ets_runtime/ecmascript/
Djs_date_time_format.cpp441 icu::UnicodeString pattern = ChangeHourCyclePattern( in InitializeDateTimeFormat() local
902 std::string pattern; in ResolvedOptions() local
1175 Pattern pattern("jj", "j"); in GetIcuPatternDesc() local
1181 icu::UnicodeString JSDateTimeFormat::ChangeHourCyclePattern(const icu::UnicodeString &pattern, Hour… in ChangeHourCyclePattern()
1220 icu::UnicodeString pattern = ChangeHourCyclePattern( in CreateICUSimpleDateFormat() local
1496 icu::UnicodeString pattern; in ConstructDateIntervalFormat() local
/arkcompiler/ets_frontend/es2panda/compiler/base/
Ddestructuring.cpp243 void Destructuring::Compile(PandaGen *pg, const ir::Expression *pattern) in Compile()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_regexp_test.cpp63 …lue CreateBuiltinsRegExpObjByPatternAndFlags(JSThread *thread, const JSHandle<EcmaString> &pattern, in CreateBuiltinsRegExpObjByPatternAndFlags()
87 JSHandle<EcmaString> pattern = thread->GetEcmaVM()->GetFactory()->NewFromASCII("\\w+"); in HWTEST_F_L0() local
106 JSHandle<EcmaString> pattern = thread->GetEcmaVM()->GetFactory()->NewFromASCII("\\w+"); in HWTEST_F_L0() local
Dbuiltins_string_test.cpp72 …eateBuiltinsStringRegExpObjByPatternAndFlags(JSThread *thread, const JSHandle<EcmaString> &pattern, in CreateBuiltinsStringRegExpObjByPatternAndFlags()
/arkcompiler/ets_frontend/es2panda/lexer/
Dlexer.cpp1128 const auto pattern = SourceView(patternStart, Iterator().Index()); in ScanRegExp() local
/arkcompiler/runtime_core/libpandabase/tests/
Dbit_table_test.cpp367 uint64_t pattern = 0xBADDCAFEDEADF00DULL; in TEST_F() local
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dslow_runtime_stub.cpp687 JSTaggedValue SlowRuntimeStub::CreateRegExpWithLiteral(JSThread *thread, JSTaggedValue pattern, uin… in CreateRegExpWithLiteral()
Dinterpreter-inl.h2220 JSTaggedValue pattern = GET_STR_FROM_CACHE(stringId); in RunInternal() local
2234 JSTaggedValue pattern = GET_STR_FROM_CACHE(stringId); in RunInternal() local
Dinterpreter_assembly.cpp1915 JSTaggedValue pattern = ConstantPool::GetStringFromCache(thread, constpool, stringId); in HandleCreateregexpwithliteralImm8Id16Imm8() local
7208 JSTaggedValue pattern = ConstantPool::GetStringFromCache(thread, constpool, stringId); in HandleCreateregexpwithliteralImm16Id16Imm8() local
/arkcompiler/ets_runtime/ecmascript/compiler/
Dinterpreter_stub.cpp2602 GateRef pattern = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); in DECLARE_ASM_HANDLER() local
2612 GateRef pattern = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); in DECLARE_ASM_HANDLER() local
Dslowpath_lowering.cpp2278 GateRef pattern = acc_.GetValueIn(gate, 0); in LowerCreateRegExpWithLiteral() local
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h1860const JSHandle<JSTaggedValue> &pattern, uint8_t flags) in RuntimeCreateRegExpWithLiteral()
Druntime_stubs.cpp1584 JSHandle<JSTaggedValue> pattern = GetHArg<JSTaggedValue>(argv, argc, 0); in DEF_RUNTIME_STUBS() local
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2 …md(e);const n=r("./node_modules/color-convert/index.js"),i=(e,t)=>function(){const r=e.apply(n,arg… property