Home
last modified time | relevance | path

Searched refs:groupName (Results 1 - 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/regexp/
H A Dregexp_parser_cache.cpp46 CVector<CString> &groupName) in GetCache()
54 groupName = info.newGroupNames_; in GetCache()
60 CVector<CString> groupName) in SetCache()
68 info.newGroupNames_ = groupName; in SetCache()
45 GetCache(EcmaString *pattern, const uint32_t flags, CVector<CString> &groupName) GetCache() argument
58 SetCache(EcmaString *pattern, const uint32_t flags, const JSTaggedValue codeBuffer, const size_t bufferSize, CVector<CString> groupName) SetCache() argument
H A Dregexp_parser_cache.h34 CVector<CString> &groupName);
36 const size_t bufferSize, CVector<CString> groupName);
H A Dregexp_parser.h110 int ParseCaptureCount(const char *groupName);
H A Dregexp_parser.cpp964 int RegExpParser::ParseCaptureCount(const char *groupName) in ParseCaptureCount() argument
981 if (groupName != nullptr) { in ParseCaptureCount()
983 if (strcmp(name.c_str(), groupName) == 0) { in ParseCaptureCount()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Descompat_RegExp.cpp165 auto groupName = parser.GetGroupNames(); in SetGroupNames() local
166 EtsObjectArray *etsGroupNames = EtsObjectArray::Create(stringClass, groupName.size()); in SetGroupNames()
170 for (size_t i = 0; i < groupName.size(); ++i) { in SetGroupNames()
172 EtsString::CreateFromMUtf8(groupName[i].c_str(), groupName[i].size())->GetCoreType()); in SetGroupNames()
/arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/
H A Dregexp_parser.h84 int ParseCaptureCount(const char *groupName);
H A Dregexp_parser.cpp904 int RegExpParser::ParseCaptureCount(const char *groupName) in ParseCaptureCount() argument
921 if (groupName != nullptr) { in ParseCaptureCount()
923 if (strcmp(name.c_str(), groupName) == 0) { in ParseCaptureCount()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_regexp.cpp1963 JSHandle<JSTaggedValue> groupName = groupNames[i - 1]; in MakeMatchIndicesIndexPairArray() local
1964 if (!groupName->IsUndefined()) { in MakeMatchIndicesIndexPairArray()
1966 JSObject::CreateDataProperty(thread, groupObject, groupName, matchIndexPair); in MakeMatchIndicesIndexPairArray()
2041 JSHandle<JSTaggedValue> groupName(thread, regexpObj->GetGroupName()); in RegExpBuiltinExec()
2044 if (!groupName->IsUndefined()) { in RegExpBuiltinExec()
2082 if (!groupName->IsUndefined()) { in RegExpBuiltinExec()
2360 CVector<CString> groupName; in RegExpInitialize() local
2361 auto getCache = regExpParserCache->GetCache(*patternStrHandle, flagsBits, groupName); in RegExpInitialize()
2374 groupName = parser.GetGroupNames(); in RegExpInitialize()
2381 if (!groupName in RegExpInitialize()
[all...]
H A Dbuiltins_string.cpp1362 JSHandle<EcmaString> groupName = JSHandle<EcmaString>( in ProcessNamedCaptures() local
1364 JSHandle<JSTaggedValue> names(groupName); in ProcessNamedCaptures()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_regexp_test.cpp650 JSHandle<JSTaggedValue> groupName(factory->NewFromASCII("groupname")); in HWTEST_F_L0()
651 JSHandle<JSTaggedValue> groupNameArr = JSObject::GetProperty(thread, groupsObj, groupName).GetValue(); in HWTEST_F_L0()

Completed in 25 milliseconds