Home
last modified time | relevance | path

Searched refs:ComputeSizeUtf8 (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Decma_string-inl.h97 …size_t size = compressed ? LineEcmaString::ComputeSizeUtf8(length) : LineEcmaString::ComputeSizeUt… in CreateLineString()
107 …size_t size = compressed ? LineEcmaString::ComputeSizeUtf8(length) : LineEcmaString::ComputeSizeUt… in CreateLineStringNoGC()
121 …size_t size = compressed ? LineEcmaString::ComputeSizeUtf8(length) : LineEcmaString::ComputeSizeUt… in CreateLineStringWithSpaceType()
Decma_string.h577 static size_t ComputeSizeUtf8(uint32_t utf8Len) in ComputeSizeUtf8() function
590 return str->IsUtf16() ? ComputeSizeUtf16(length) : ComputeSizeUtf8(length); in ObjectSize()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dnew_object_stub_builder.cpp406 size_ = AlignUp(ComputeSizeUtf8(ZExtInt32ToPtr(length)), in AllocLineStringObject()
Dstub_builder.h634 GateRef ComputeSizeUtf8(GateRef length);
Dstub_builder-inl.h2347 inline GateRef StubBuilder::ComputeSizeUtf8(GateRef length) in ComputeSizeUtf8() function
/arkcompiler/ets_runtime/ecmascript/tests/
Decma_string_accessor_test.cpp56 HWTEST_F_L0(LineEcmaStringTest, ComputeSizeUtf8) in HWTEST_F_L0() argument
61 EXPECT_EQ(LineEcmaString::ComputeSizeUtf8(length), length + LineEcmaString::SIZE); in HWTEST_F_L0()