Home
last modified time | relevance | path

Searched refs:CreateLineString (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Decma_string-inl.h95 inline EcmaString *EcmaString::CreateLineString(const EcmaVM *vm, size_t length, bool compressed) in CreateLineString() function
172 auto string = CreateLineString(vm, length, true); in FastSubUtf8String()
188 auto string = CreateLineString(vm, length, canBeCompressed); in FastSubUtf16String()
Decma_string.h91 static EcmaString *CreateLineString(const EcmaVM *vm, size_t length, bool compressed);
743 static EcmaString *CreateLineString(const EcmaVM *vm, size_t length, bool compressed) in CreateLineString() function
745 return EcmaString::CreateLineString(vm, length, compressed); in CreateLineString()
Decma_string.cpp814 auto newString = CreateLineString(vm, srcLength, true); in ConvertUtf8ToLowerOrUpper()
Djs_stable_array.cpp287 …auto newString = EcmaStringAccessor::CreateLineString(thread->GetEcmaVM(), allocateLength, isOneBy… in Join()
/arkcompiler/ets_runtime/ecmascript/tests/
Decma_string_test.cpp92 HWTEST_F_L0(EcmaStringTest, CreateLineString) in HWTEST_F_L0() argument
96 …JSHandle<EcmaString> handleEcmaStrAllocComp(thread, EcmaString::CreateLineString(ecmaVMPtr, sizeAl… in HWTEST_F_L0()
107 EcmaString::CreateLineString(ecmaVMPtr, sizeAllocNotComp, false)); in HWTEST_F_L0()
176 EcmaString::CreateLineString(ecmaVMPtr, lengthEcmaStrAllocComp, true)); in HWTEST_F_L0()
181 EcmaString::CreateLineString(ecmaVMPtr, lengthEcmaStrAllocNotComp, false)); in HWTEST_F_L0()
626 EcmaString::CreateLineString(ecmaVMPtr, sizeEcmaStrU8WriteTo, true)); in HWTEST_F_L0()
649 EcmaString::CreateLineString(ecmaVMPtr, sizeEcmaStrU8WriteTo, true)); in HWTEST_F_L0()
673 EcmaString::CreateLineString(ecmaVMPtr, sizeEcmaStrU16WriteTo, false)); in HWTEST_F_L0()
699 EcmaString::CreateLineString(ecmaVMPtr, sizeEcmaStrU16WriteTo, false)); in HWTEST_F_L0()
721 EcmaString::CreateLineString(ecmaVMPtr, sizeEcmaStrU16WriteTo, false)); in HWTEST_F_L0()
[all …]
Decma_string_accessor_test.cpp113 HWTEST_F_L0(EcmaStringAccessorTest, CreateLineString) in HWTEST_F_L0() argument
118 EcmaStringAccessor::CreateLineString(ecmaVMPtr, sizeAllocComp, true)); in HWTEST_F_L0()
129 EcmaStringAccessor::CreateLineString(ecmaVMPtr, sizeAllocNotComp, false)); in HWTEST_F_L0()
449 EcmaStringAccessor::CreateLineString(ecmaVMPtr, lengthEcmaStrAllocComp, true)); in HWTEST_F_L0()
455 EcmaStringAccessor::CreateLineString(ecmaVMPtr, lengthEcmaStrAllocNotComp, false)); in HWTEST_F_L0()
654 EcmaStringAccessor::CreateLineString(ecmaVMPtr, sizeEcmaStrU8WriteTo, true)); in HWTEST_F_L0()
683 EcmaStringAccessor::CreateLineString(ecmaVMPtr, sizeEcmaStrU16WriteTo, false)); in HWTEST_F_L0()
710 EcmaStringAccessor::CreateLineString(ecmaVMPtr, sizeEcmaStrU16WriteTo, false)); in HWTEST_F_L0()
735 EcmaStringAccessor::CreateLineString(ecmaVMPtr, sizeEcmaStrU8WriteTo, true)); in HWTEST_F_L0()
753 EcmaStringAccessor::CreateLineString(ecmaVMPtr, sizeEcmaStrU16WriteTo, false)); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_typedarray.cpp814 …auto newString = EcmaStringAccessor::CreateLineString(thread->GetEcmaVM(), allocateLength, isOneBy… in Join()
Dbuiltins_string.cpp814 …EcmaString *result = EcmaStringAccessor::CreateLineString(thread->GetEcmaVM(), thisLen * count, is… in Repeat()