/arkcompiler/ets_runtime/ecmascript/tests/ |
D | ecma_string_test.cpp | 142 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 …]
|
D | ecma_string_accessor_test.cpp | 178 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 …]
|
D | constant_string_test.cpp | 159 …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()
|
D | ecma_string_table_test.cpp | 101 … EcmaStringAccessor::CreateFromUtf16(vm, utf16Data, sizeof(utf16Data) / sizeof(uint16_t), false); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_string_table.cpp | 153 …result = EcmaStringAccessor::CreateFromUtf16(vm_, utf16Data, utf16Len, canBeCompress, MemSpaceType… in GetOrInternString() 214 result = EcmaStringAccessor::CreateFromUtf16(vm_, utf16Data, utf16Len, canBeCompress, type); in GetOrInternStringWithSpaceType()
|
D | ecma_string.h | 89 … 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);
|
D | ecma_string-inl.h | 71 inline EcmaString *EcmaString::CreateFromUtf16(const EcmaVM *vm, const uint16_t *utf16Data, uint32_… in CreateFromUtf16() function
|
D | object_factory.cpp | 3506 …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()
|