Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/tests/
Decma_string_test.cpp142 HWTEST_F_L0(EcmaStringTest, CreateFromUtf16) in HWTEST_F_L0() argument
148 EcmaString::CreateFromUtf16(ecmaVMPtr, &arrayU16Comp[0], lengthEcmaStrU16Comp, true)); in HWTEST_F_L0()
157 … EcmaString::CreateFromUtf16(ecmaVMPtr, &arrayU16NotComp[0], lengthEcmaStrU16NotComp, false)); in HWTEST_F_L0()
195 EcmaString::CreateFromUtf16(ecmaVMPtr, &arrayU16Comp[0], lengthEcmaStrU16Comp, true)); in HWTEST_F_L0()
202 … EcmaString::CreateFromUtf16(ecmaVMPtr, &arrayU16NotComp[0], lengthEcmaStrU16NotComp, false)); in HWTEST_F_L0()
251 EcmaString::CreateFromUtf16(ecmaVMPtr, &arrayU16CompNo1[0], lengthEcmaStrU16CompNo1, true)); in HWTEST_F_L0()
253 EcmaString::CreateFromUtf16(ecmaVMPtr, &arrayU16CompNo2[0], lengthEcmaStrU16CompNo2, true)); in HWTEST_F_L0()
255 EcmaString::CreateFromUtf16(ecmaVMPtr, &arrayU16CompNo3[0], lengthEcmaStrU16CompNo3, true)); in HWTEST_F_L0()
288 EcmaString::CreateFromUtf16(ecmaVMPtr, &arrayU16CompNo1[0], lengthEcmaStrU16CompNo1, true)); in HWTEST_F_L0()
290 EcmaString::CreateFromUtf16(ecmaVMPtr, &arrayU16CompNo2[0], lengthEcmaStrU16CompNo2, true)); in HWTEST_F_L0()
[all …]
Decma_string_accessor_test.cpp178 HWTEST_F_L0(EcmaStringAccessorTest, CreateFromUtf16) in HWTEST_F_L0() argument
184 … EcmaStringAccessor::CreateFromUtf16(ecmaVMPtr, &arrayU16Comp[0], lengthEcmaStrU16Comp, true)); in HWTEST_F_L0()
193 …EcmaStringAccessor::CreateFromUtf16(ecmaVMPtr, &arrayU16NotComp[0], lengthEcmaStrU16NotComp, false… in HWTEST_F_L0()
244 …EcmaStringAccessor::CreateFromUtf16(ecmaVMPtr, &arrayFrontU16NotComp[0], lengthEcmaStrFrontU16NotC… in HWTEST_F_L0()
246 …EcmaStringAccessor::CreateFromUtf16(ecmaVMPtr, &arrayBackU16NotComp[0], lengthEcmaStrBackU16NotCom… in HWTEST_F_L0()
278 …EcmaStringAccessor::CreateFromUtf16(ecmaVMPtr, &arrayBackU16NotComp[0], lengthEcmaStrBackU16NotCom… in HWTEST_F_L0()
331 … EcmaStringAccessor::CreateFromUtf16(ecmaVMPtr, &arrayU16Comp[0], lengthEcmaStrU16Comp, true)); in HWTEST_F_L0()
356 …EcmaStringAccessor::CreateFromUtf16(ecmaVMPtr, &arrayU16NotComp[0], lengthEcmaStrU16NotComp, false… in HWTEST_F_L0()
428 … EcmaStringAccessor::CreateFromUtf16(ecmaVMPtr, &arrayU16Comp[0], lengthEcmaStrU16Comp, true)); in HWTEST_F_L0()
430 …EcmaStringAccessor::CreateFromUtf16(ecmaVMPtr, &arrayU16NotComp[0], lengthEcmaStrU16NotComp, false… in HWTEST_F_L0()
[all …]
Dconstant_string_test.cpp159 …EcmaStringAccessor::CreateFromUtf16(ecmaVMPtr, &arrayU16NotCompNo1[0], lengthEcmaStrU16NotCompNo1,… in HWTEST_F_L0()
161 …EcmaStringAccessor::CreateFromUtf16(ecmaVMPtr, &arrayU16NotCompNo2[0], lengthEcmaStrU16NotCompNo2,… in HWTEST_F_L0()
163 …EcmaStringAccessor::CreateFromUtf16(ecmaVMPtr, &arrayU16NotCompNo3[0], lengthEcmaStrU16NotCompNo3,… in HWTEST_F_L0()
219 …EcmaStringAccessor::CreateFromUtf16(ecmaVMPtr, &arrayBackU16NotComp[0], lengthEcmaStrBackU16NotCom… in HWTEST_F_L0()
338 …EcmaStringAccessor::CreateFromUtf16(ecmaVMPtr, &ecmaStrU16NotCompTarget[0], lengthEcmaStrU16NotCom… in HWTEST_F_L0()
407 …EcmaStringAccessor::CreateFromUtf16(ecmaVMPtr, &arrayU16CompNo2[0], lengthEcmaStrU16CompNo2, true)… in HWTEST_F_L0()
409 …EcmaStringAccessor::CreateFromUtf16(ecmaVMPtr, &arrayU16CompNo3[0], lengthEcmaStrU16CompNo3, true)… in HWTEST_F_L0()
Decma_string_table_test.cpp101 … EcmaStringAccessor::CreateFromUtf16(vm, utf16Data, sizeof(utf16Data) / sizeof(uint16_t), false); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Decma_string_table.cpp153 …result = EcmaStringAccessor::CreateFromUtf16(vm_, utf16Data, utf16Len, canBeCompress, MemSpaceType… in GetOrInternString()
214 result = EcmaStringAccessor::CreateFromUtf16(vm_, utf16Data, utf16Len, canBeCompress, type); in GetOrInternStringWithSpaceType()
Decma_string.h89 … static EcmaString *CreateFromUtf16(const EcmaVM *vm, const uint16_t *utf16Data, uint32_t utf16Len,
766 … static EcmaString *CreateFromUtf16(const EcmaVM *vm, const uint16_t *utf16Data, uint32_t utf16Len,
769 return EcmaString::CreateFromUtf16(vm, utf16Data, utf16Len, canBeCompress, type);
Decma_string-inl.h71 inline EcmaString *EcmaString::CreateFromUtf16(const EcmaVM *vm, const uint16_t *utf16Data, uint32_… in CreateFromUtf16() function
Dobject_factory.cpp3506 …return JSHandle<EcmaString>(thread_, EcmaStringAccessor::CreateFromUtf16(vm_, utf16Data, utf16Len,… in NewFromUtf16Literal()
3513 …return JSHandle<EcmaString>(thread_, EcmaStringAccessor::CreateFromUtf16(vm_, utf16Data, utf16Len,… in NewFromUtf16LiteralCompress()
3520 …return JSHandle<EcmaString>(thread_, EcmaStringAccessor::CreateFromUtf16(vm_, utf16Data, utf16Len,… in NewFromUtf16LiteralNotCompress()