Searched refs:IsUtf8 (Results 1 – 13 of 13) sorted by relevance
30 bool compressed = (strLeft->IsUtf8() && strRight->IsUtf8()); in Concat()76 if (strLeft->IsUtf8()) { in Concat()84 if (strRight->IsUtf8()) { in Concat()118 if (strOrigin->IsUtf8()) { in CopyStringToOldSpace()141 if (srcFlat->IsUtf8()) { in FastSubString()150 if (IsUtf8()) { in WriteData()151 ASSERT(src->IsUtf8()); in WriteData()159 } else if (src->IsUtf8()) { in WriteData()329 if (rhs->IsUtf8() && lhs->IsUtf8()) { in IndexOf()382 if (rhs->IsUtf8() && lhs->IsUtf8()) { in LastIndexOf()[all …]
211 ASSERT_PRINT(IsUtf8(), "EcmaString: Read data as utf8 for utf16 string"); in GetDataUtf8()226 ASSERT_PRINT(IsUtf8(), "EcmaString: Read data as utf8 for utf16 string"); in GetDataUtf8Writable()294 if (src->IsUtf8()) { in WriteToFlat()302 ASSERT(src->IsUtf8()); in WriteToFlat()328 } else if ((second->IsLineOrConstantString()) && second->IsUtf8()) { in WriteToFlat()
114 bool IsUtf8() const in IsUtf8() function618 if (IsUtf8()) { in Set()663 ASSERT(IsUtf8()); in Get()791 bool IsUtf8() const in IsUtf8() function793 return string_->IsUtf8(); in IsUtf8()
179 … resultHandle, EcmaStringAccessor(strFlat).GetLength(), EcmaStringAccessor(strFlat).IsUtf8()); in GetOrInternString()
231 …if (EcmaStringAccessor(sepStringHandle).IsUtf8() && EcmaStringAccessor(sepStringHandle).GetLength(… in Join()249 …= (sep != JSStableArray::SeparatorFlag::MINUS_ONE) || EcmaStringAccessor(sepStringHandle).IsUtf8(); in Join()278 isOneByte = EcmaStringAccessor(nextStr).IsUtf8() ? isOneByte : false; in Join()
608 bool isUtf8 = EcmaStringAccessor(string).IsUtf8(); in WriteEcmaString()
62 EXPECT_TRUE(EcmaStringAccessor(handleEcmaStrEmpty).IsUtf8()); in HWTEST_F_L0()82 EXPECT_TRUE(EcmaStringAccessor(handleEcmaStrU8).IsUtf8()); in HWTEST_F_L0()192 EXPECT_TRUE(EcmaStringAccessor(handleEcmaStrConcatU8).IsUtf8()); in HWTEST_F_L0()542 EXPECT_TRUE(EcmaStringAccessor(sourceString).IsUtf8()); in HWTEST_F_L0()543 EXPECT_TRUE(EcmaStringAccessor(firstString).IsUtf8()); in HWTEST_F_L0()544 EXPECT_TRUE(EcmaStringAccessor(secondString).IsUtf8()); in HWTEST_F_L0()581 EXPECT_TRUE(EcmaStringAccessor(lowerEcmaString).IsUtf8()); in HWTEST_F_L0()589 EXPECT_TRUE(EcmaStringAccessor(lowerEcmaString).IsUtf8()); in HWTEST_F_L0()597 EXPECT_TRUE(EcmaStringAccessor(testEcmaString).IsUtf8()); in HWTEST_F_L0()605 EXPECT_TRUE(EcmaStringAccessor(testEcmaString).IsUtf8()); in HWTEST_F_L0()
82 EXPECT_TRUE(handleEcmaStrEmpty->IsUtf8()); in HWTEST_F_L0()101 EXPECT_TRUE(handleEcmaStrAllocComp->IsUtf8()); in HWTEST_F_L0()112 EXPECT_FALSE(handleEcmaStrAllocNotComp->IsUtf8()); in HWTEST_F_L0()132 EXPECT_TRUE(handleEcmaStrU8->IsUtf8()); in HWTEST_F_L0()150 EXPECT_TRUE(handleEcmaStrU16Comp->IsUtf8()); in HWTEST_F_L0()159 EXPECT_FALSE(handleEcmaStrU16NotComp->IsUtf8()); in HWTEST_F_L0()425 EXPECT_TRUE(handleEcmaStrConcatU8->IsUtf8()); in HWTEST_F_L0()581 EXPECT_TRUE(res->IsUtf8()); in HWTEST_F_L0()603 EXPECT_TRUE(sourceString->IsUtf8()); in HWTEST_F_L0()605 EXPECT_TRUE(res->IsUtf8()); in HWTEST_F_L0()[all …]
123 EXPECT_TRUE(EcmaStringAccessor(handleEcmaStrAllocComp).IsUtf8()); in HWTEST_F_L0()134 EXPECT_FALSE(EcmaStringAccessor(handleEcmaStrAllocNotComp).IsUtf8()); in HWTEST_F_L0()148 EXPECT_TRUE(EcmaStringAccessor(handleEcmaStrEmpty).IsUtf8()); in HWTEST_F_L0()168 EXPECT_TRUE(EcmaStringAccessor(handleEcmaStrU8).IsUtf8()); in HWTEST_F_L0()186 EXPECT_TRUE(EcmaStringAccessor(handleEcmaStrU16Comp).IsUtf8()); in HWTEST_F_L0()195 EXPECT_FALSE(EcmaStringAccessor(handleEcmaStrU16NotComp).IsUtf8()); in HWTEST_F_L0()219 EXPECT_TRUE(EcmaStringAccessor(handleEcmaStrConcatU8).IsUtf8()); in HWTEST_F_L0()382 EXPECT_TRUE(EcmaStringAccessor(res).IsUtf8()); in HWTEST_F_L0()404 EXPECT_TRUE(EcmaStringAccessor(sourceString).IsUtf8()); in HWTEST_F_L0()406 EXPECT_TRUE(EcmaStringAccessor(res).IsUtf8()); in HWTEST_F_L0()[all …]
49 if (EcmaStringAccessor(parseString).IsUtf8()) { in Parse()
769 …if (EcmaStringAccessor(sepStringHandle).IsUtf8() && EcmaStringAccessor(sepStringHandle).GetLength(… in Join()786 EcmaStringAccessor(sepStringHandle).IsUtf8(); in Join()803 isOneByte = EcmaStringAccessor(nextStr).IsUtf8() ? isOneByte : false; in Join()
813 bool isUtf8 = EcmaStringAccessor(thisHandle).IsUtf8(); in Repeat()1558 if (locales->IsUndefined() && EcmaStringAccessor(string).IsUtf8()) { in ToLocaleLowerCase()
2344 if (EcmaStringAccessor(ecmaStr).IsUtf8()) { in EXCEPTION_ERROR_ALL()