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.cpp164 icu::UnicodeString pattern("yyyy.MM.dd HH:mm:ss"); in HWTEST_F_L0() local
Djs_serializer_test.cpp579 JSHandle<EcmaString> pattern = thread->GetEcmaVM()->GetFactory()->NewFromASCII("key2"); in JSRegexpTest() local
1642 JSHandle<EcmaString> pattern = thread->GetEcmaVM()->GetFactory()->NewFromASCII("key2"); in HWTEST_F_L0() local
/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/ets_runtime/test/moduletest/builtins/
Dbuiltinsregexp.js52 var pattern = /[A-Z]{3}/g; variable
/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
405 JSMutableHandle<JSTaggedValue> pattern(thread, JSTaggedValue::Undefined()); in Match() local
620 JSHandle<JSTaggedValue> pattern(thread, regexpHandle->GetOriginalSource()); in RegExpReplaceFast() local
768 JSMutableHandle<JSTaggedValue> pattern(thread, JSTaggedValue::Undefined()); in Replace() local
1156 JSMutableHandle<JSTaggedValue> pattern(thread, JSTaggedValue::Undefined()); in Split() local
1434 JSMutableHandle<JSTaggedValue> pattern(thread, regexpObj->GetOriginalSource()); in RegExpBuiltinExec() local
1716 const JSHandle<JSTaggedValue> &pattern, in RegExpInitialize()
1802 JSTaggedValue BuiltinsRegExp::RegExpCreate(JSThread *thread, const JSHandle<JSTaggedValue> &pattern, in RegExpCreate()
1854 …e RegExpExecResultCache::FindCachedResult(JSThread *thread, const JSHandle<JSTaggedValue> &pattern, in FindCachedResult()
1911 const JSHandle<JSTaggedValue> &pattern, in AddResultInCache()
[all …]
Dbuiltins_string.cpp605 JSHandle<JSTaggedValue> pattern(thread, re->GetOriginalSource()); in Match() local
842 JSHandle<JSTaggedValue> pattern(thread, re->GetOriginalSource()); in Replace() local
/arkcompiler/ets_runtime/ecmascript/
Djs_date_time_format.cpp448 icu::UnicodeString pattern = ChangeHourCyclePattern( in InitializeDateTimeFormat() local
918 std::string pattern; in ResolvedOptions() local
1197 Pattern pattern("jj", "j"); in GetIcuPatternDesc() local
1204 icu::UnicodeString JSDateTimeFormat::ChangeHourCyclePattern(const icu::UnicodeString &pattern, Hour… in ChangeHourCyclePattern()
1243 icu::UnicodeString pattern = ChangeHourCyclePattern( in CreateICUSimpleDateFormat() local
1525 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.cpp1126 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.cpp700 JSTaggedValue SlowRuntimeStub::CreateRegExpWithLiteral(JSThread *thread, JSTaggedValue pattern, uin… in CreateRegExpWithLiteral()
Dinterpreter-inl.h2366 JSTaggedValue pattern = GET_STR_FROM_CACHE(stringId); in RunInternal() local
2380 JSTaggedValue pattern = GET_STR_FROM_CACHE(stringId); in RunInternal() local
Dinterpreter_assembly.cpp1987 JSTaggedValue pattern = ConstantPool::GetStringFromCache(thread, constpool, stringId); in HandleCreateregexpwithliteralImm8Id16Imm8() local
7308 JSTaggedValue pattern = ConstantPool::GetStringFromCache(thread, constpool, stringId); in HandleCreateregexpwithliteralImm16Id16Imm8() local
/arkcompiler/ets_runtime/ecmascript/compiler/
Dinterpreter_stub.cpp2638 GateRef pattern = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); in DECLARE_ASM_HANDLER() local
2648 GateRef pattern = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); in DECLARE_ASM_HANDLER() local
Dslowpath_lowering.cpp1832 GateRef pattern = builder_.LoadObjectFromConstPool(jsFunc, stringId); in LowerCreateRegExpWithLiteral() local
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h1883const JSHandle<JSTaggedValue> &pattern, uint8_t flags) in RuntimeCreateRegExpWithLiteral()
Druntime_stubs.cpp1655 JSHandle<JSTaggedValue> pattern = GetHArg<JSTaggedValue>(argv, argc, 0); in DEF_RUNTIME_STUBS() local
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2 …ring,r="undefined"!=typeof Buffer&&"function"==typeof Buffer.alloc&&"function"==typeof Buffer.allo… argument