/arkcompiler/ets_runtime/test/fuzztest/stringrefnewfromutf16_fuzzer/ |
H A D | stringrefnewfromutf16_fuzzer.cpp | 35 StringRef::NewFromUtf16(vm, (char16_t*)data, size / sizeof(char16_t)); in StringRefNewFromUtf16FuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/stringrefwriteutf16_fuzzer/ |
H A D | stringrefwriteutf16_fuzzer.cpp | 41 Local<StringRef> res = StringRef::NewFromUtf16(vm, (char16_t*)data, length); in StringRefWriteUtf16FuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefobject_fuzzer/ |
H A D | jsvaluerefobject_fuzzer.cpp | 101 Local<StringRef> obj = StringRef::NewFromUtf16(vm, (char16_t*)data, length); in IsJSPrimitiveBooleanFuzzTest() 116 Local<StringRef> obj = StringRef::NewFromUtf16(vm, (char16_t*)data, length); in IsGeneratorFunctionFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | symbol_table_test.cpp | 118 JSHandle<EcmaString> nameStringUtf16Obj1 = factory->NewFromUtf16(utf16ArrayName1, utf16ArrayNameLen1); in HWTEST_F_L0() 123 JSHandle<EcmaString> nameStringUtf16Obj2 = factory->NewFromUtf16(utf16ArrayName2, utf16ArrayNameLen2); in HWTEST_F_L0()
|
H A D | global_dictionary_test.cpp | 66 JSHandle<EcmaString> nameStringUtf16Obj = factory->NewFromUtf16(utf16ArrayName, utf16ArrayNameLen); in HWTEST_F_L0()
|
H A D | locale_helper_test.cpp | 126 locale = factory->NewFromUtf16(localeArr, localeArrLength); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_primitive_ref.cpp | 62 JSHandle<JSTaggedValue> value(thread->GetEcmaVM()->GetFactory()->NewFromUtf16(&tmpChar, 1)); in StringGetIndexProperty()
|
H A D | js_plural_rules.cpp | 286 factory->NewFromUtf16(reinterpret_cast<const uint16_t *>(uString.getBuffer()), uString.length()); in FormatNumericToString()
|
H A D | js_relative_time_format.cpp | 368 factory->NewFromUtf16(reinterpret_cast<const uint16_t *>(uString.getBuffer()), uString.length()); in Format()
|
H A D | object_factory.h | 584 JSHandle<EcmaString> NewFromUtf16(std::u16string_view data); 592 JSHandle<EcmaString> PUBLIC_API NewFromUtf16(const uint16_t *utf16Data, uint32_t utf16Len);
|
H A D | object_factory.cpp | 4149 JSHandle<EcmaString> ObjectFactory::NewFromUtf16(std::u16string_view data) in NewFromUtf16() function in panda::ecmascript::ObjectFactory 4198 JSHandle<EcmaString> ObjectFactory::NewFromUtf16(const uint16_t *utf16Data, uint32_t utf16Len) in NewFromUtf16() function in panda::ecmascript::ObjectFactory
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
H A D | json_parser_test.cpp | 146 JSHandle<JSTaggedValue> handleMsg2(factory->NewFromUtf16(&array1Utf16[0], array1Utf16Len)); in HWTEST_F_L0() 153 JSHandle<JSTaggedValue> handleMsg3(factory->NewFromUtf16(&array2Utf16[0], array2Utf16Len)); in HWTEST_F_L0() 160 JSHandle<JSTaggedValue> handleMsg4(factory->NewFromUtf16(&array3Utf16[0], array3Utf16Len)); in HWTEST_F_L0()
|
H A D | ason_test.cpp | 129 JSHandle<JSTaggedValue> handleMsg2(factory->NewFromUtf16(&array1Utf16[0], array1Utf16Len)); in HWTEST_F_L0() 136 JSHandle<JSTaggedValue> handleMsg3(factory->NewFromUtf16(&array2Utf16[0], array2Utf16Len)); in HWTEST_F_L0() 143 JSHandle<JSTaggedValue> handleMsg4(factory->NewFromUtf16(&array3Utf16[0], array3Utf16Len)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_string_iterator.cpp | 75 result.Update(factory->NewFromUtf16(resultString.data(), 1).GetTaggedValue()); in NextInternal()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
H A D | jsnapi_third_tests.cpp | 448 Local<StringRef> obj = StringRef::NewFromUtf16(vm_, utf16, size); in HWTEST_F_L0() 464 Local<StringRef> obj = StringRef::NewFromUtf16(vm_, utf16, size); in HWTEST_F_L0() 608 Local<StringRef> obj = StringRef::NewFromUtf16(vm_, utf16, size); in HWTEST_F_L0() 792 HWTEST_F_L0(JSNApiTests, NewFromUtf16) in HWTEST_F_L0() 797 Local<StringRef> result = StringRef::NewFromUtf16(vm_, utf16, length); in HWTEST_F_L0() 877 Local<StringRef> obj = StringRef::NewFromUtf16(vm_, utf16, size); in HWTEST_F_L0()
|
H A D | jsnapi_second_tests.cpp | 1000 * NewFromUtf16:Create StringRef in UTF8 format 1009 Local<StringRef> testString = StringRef::NewFromUtf16(vm_, test); in HWTEST_F_L0() 1029 Local<StringRef> testString = StringRef::NewFromUtf16(vm_, test); in HWTEST_F_L0()
|
H A D | ffi_workload.cpp | 232 Local<StringRef> obj = StringRef::NewFromUtf16(vm_, &data); in HWTEST_F_L0() 2999 Local<StringRef> local = StringRef::NewFromUtf16(vm_, utf16); in HWTEST_F_L0() 3013 Local<StringRef> local = StringRef::NewFromUtf16(vm_, utf16, 0); in HWTEST_F_L0() 3027 Local<StringRef> local = StringRef::NewFromUtf16(vm_, utf16, 3); in HWTEST_F_L0() 3155 Local<StringRef> local = StringRef::NewFromUtf16(vm_, u"您好,华为!"); in HWTEST_F_L0() 6062 Local<StringRef> str2 = StringRef::NewFromUtf16(vm_, utf16); in HWTEST_F_L0()
|
H A D | jsnapi_sample.cpp | 242 Local<JSValueRef> local = StringRef::NewFromUtf16(vm_, utf16); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/intl/ |
H A D | locale_helper.cpp | 41 return factory->NewFromUtf16(reinterpret_cast<const uint16_t *>(string.getBuffer()), string.length()); in UStringToString()
|
/arkcompiler/ets_runtime/ecmascript/regexp/tests/ |
H A D | regexp_test.cpp | 2024 JSHandle<EcmaString> inputStr = factory->NewFromUtf16(u"\u0001"); in HWTEST_F_L0() 2085 JSHandle<EcmaString> inputStr = factory->NewFromUtf16(u"a啊"); in HWTEST_F_L0() 2121 JSHandle<EcmaString> inputStr = factory->NewFromUtf16(reinterpret_cast<const uint16_t *>(data), 2); in HWTEST_F_L0() 2124 JSHandle<EcmaString> str = factory->NewFromUtf16(reinterpret_cast<const uint16_t *>(data1), 1); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_json_test.cpp | 411 JSHandle<EcmaString> str = factory->NewFromUtf16(data, 1); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | ic_runtime_stub-inl.h | 528 JSHandle<JSTaggedValue> value(factory->NewFromUtf16(&tmpChar, 1)); in LoadStringElement()
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
H A D | jsnapi_expo.h | 939 static Local<StringRef> NewFromUtf16(const EcmaVM *vm, const char16_t *utf16, int length = -1);
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | jsnapi_expo.cpp | 2129 Local<StringRef> StringRef::NewFromUtf16(const EcmaVM *vm, const char16_t *utf16, int length) in NewFromUtf16() function in panda::StringRef 2137 JSHandle<JSTaggedValue> current(factory->NewFromUtf16(utf16)); in NewFromUtf16() 2140 JSHandle<JSTaggedValue> current(factory->NewFromUtf16(reinterpret_cast<const uint16_t *>(utf16), length)); in NewFromUtf16()
|