Searched refs:ComputeSizeUtf8 (Results 1 – 6 of 6) sorted by relevance
97 …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()
577 static size_t ComputeSizeUtf8(uint32_t utf8Len) in ComputeSizeUtf8() function590 return str->IsUtf16() ? ComputeSizeUtf16(length) : ComputeSizeUtf8(length); in ObjectSize()
406 size_ = AlignUp(ComputeSizeUtf8(ZExtInt32ToPtr(length)), in AllocLineStringObject()
634 GateRef ComputeSizeUtf8(GateRef length);
2347 inline GateRef StubBuilder::ComputeSizeUtf8(GateRef length) in ComputeSizeUtf8() function
56 HWTEST_F_L0(LineEcmaStringTest, ComputeSizeUtf8) in HWTEST_F_L0() argument61 EXPECT_EQ(LineEcmaString::ComputeSizeUtf8(length), length + LineEcmaString::SIZE); in HWTEST_F_L0()