Home
last modified time | relevance | path

Searched refs:isUtf8 (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_string_stub_builder.cpp31 Label isUtf8(env); in StringAt() local
36 Branch(IsUtf16String(obj), &isUtf16, &isUtf8); in StringAt()
43 Bind(&isUtf8); in StringAt()
66 Label isUtf8(env); in CreateFromEcmaString() local
69 Branch(IsUtf16String(obj), &isUtf16, &isUtf8); in CreateFromEcmaString()
77 Bind(&isUtf8); in CreateFromEcmaString()
136 Label isUtf8(env); in FastSubString() local
156 Branch(IsUtf8String(thisValue), &isUtf8, &isUtf16); in FastSubString()
157 Bind(&isUtf8); in FastSubString()
209 Label isUtf8(env); in FastSubUtf16String() local
[all …]
/arkcompiler/ets_runtime/ecmascript/
Djs_serializer.cpp608 bool isUtf8 = EcmaStringAccessor(string).IsUtf8(); in WriteEcmaString() local
610 if (!WriteBoolean(isUtf8)) { in WriteEcmaString()
613 if (isUtf8) { in WriteEcmaString()
1462 bool isUtf8 = false; in ReadEcmaString() local
1463 if (!ReadBoolean(&isUtf8)) { in ReadEcmaString()
1468 if (isUtf8) { in ReadEcmaString()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dstub_builder.cpp1305 Label isUtf8(env); in StringToElementIndex() local
1307 Branch(isUtf16String, &exit, &isUtf8); in StringToElementIndex()
1308 Bind(&isUtf8); in StringToElementIndex()
5804 Label isUtf8(env); in TryStringOrSymbolToElementIndex() local
5805 Branch(IsUtf16String(key), &exit, &isUtf8); in TryStringOrSymbolToElementIndex()
5806 Bind(&isUtf8); in TryStringOrSymbolToElementIndex()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_string.cpp813 bool isUtf8 = EcmaStringAccessor(thisHandle).IsUtf8(); in Repeat() local
814 …tring *result = EcmaStringAccessor::CreateLineString(thread->GetEcmaVM(), thisLen * count, isUtf8); in Repeat()