Searched refs:Utf8Length (Results 1 - 7 of 7) sorted by relevance
/arkcompiler/ets_runtime/test/fuzztest/stringrefutf8length_fuzzer/ |
H A D | stringrefutf8length_fuzzer.cpp | 36 res->Utf8Length(vm); in StringRefUtf8LengthFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
H A D | jsnapi_first_tests.cpp | 317 * Utf8Length:Read the non Chinese value length of StringRef according to utf8 type 328 EXPECT_EQ(testString->Utf8Length(vm_), 12); // 12 : length of testString("Hello World") in HWTEST_F_L0() 339 * Utf8Length:Read the non Chinese value length of StringRef according to utf8 type 350 EXPECT_EQ(testString->Utf8Length(vm_), 4); // 4 : length of testString("年") in HWTEST_F_L0() 366 EXPECT_EQ(testString1->Utf8Length(vm_, false), 5); in HWTEST_F_L0() 376 EXPECT_EQ(testString2->Utf8Length(vm_, true), 4); in HWTEST_F_L0()
|
H A D | jsnapi_sample.cpp | 215 EXPECT_EQ(charObject->Utf8Length(vm_), 12); in HWTEST_F_L0() 228 EXPECT_EQ(napiWrapperString->Utf8Length(vm_), 13); in HWTEST_F_L0() 245 EXPECT_EQ(char16tObject->Utf8Length(vm_), 10); in HWTEST_F_L0() 258 EXPECT_EQ(napiWrapperString->Utf8Length(vm_), 13); in HWTEST_F_L0()
|
H A D | jsnapi_third_tests.cpp | 782 ASSERT_EQ(result->Utf8Length(vm_), length + 1); in HWTEST_F_L0()
|
H A D | ffi_workload.cpp | 3069 uint32_t length = local->Utf8Length(vm_); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
H A D | jsnapi_expo.h | 943 size_t Utf8Length(const EcmaVM *vm, bool isGetBufferSize = false);
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | jsnapi_expo.cpp | 2165 size_t StringRef::Utf8Length(const EcmaVM *vm, bool isGetBufferSize) in Utf8Length() function in panda::StringRef 2212 uint32_t length = this->Utf8Length(vm, true); in EncodeIntoUint8Array() 2213 // 1 because Utf8Length adds 1 for the return value in EncodeIntoUint8Array()
|
Completed in 40 milliseconds