Home
last modified time | relevance | path

Searched refs:stringLength (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_serializer.cpp1452 int32_t stringLength; in ReadEcmaString() local
1453 if (!JudgeType(SerializationUID::INT32) || !ReadInt(&stringLength)) { in ReadEcmaString()
1456 if (stringLength == 0) { in ReadEcmaString()
1469 uint8_t *string = reinterpret_cast<uint8_t*>(GetBuffer(stringLength + 1)); in ReadEcmaString()
1474 JSHandle<EcmaString> ecmaString = factory_->NewFromUtf8(string, stringLength); in ReadEcmaString()
1478 uint16_t *string = reinterpret_cast<uint16_t*>(GetBuffer(stringLength * sizeof(uint16_t))); in ReadEcmaString()
1482 JSHandle<EcmaString> ecmaString = factory_->NewFromUtf16(string, stringLength); in ReadEcmaString()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_string.cpp1924 int32_t stringLength = static_cast<int32_t>(EcmaStringAccessor(thisHandle).GetLength()); in Pad() local
1925 if (intMaxLength <= stringLength) { in Pad()
1941 int32_t fillLen = intMaxLength - stringLength; in Pad()
Dbuiltins_regexp.cpp1450 size_t stringLength = EcmaStringAccessor(inputString).GetLength(); in RegExpBuiltinExec() local
1451 …RegExpExecutor::MatchResult matchResult = Matcher(thread, regexp, strBuffer, stringLength, lastInd… in RegExpBuiltinExec()