Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/test/fuzztest/stringrefwriteutf8_fuzzer/
Dstringrefwriteutf8_fuzzer.cpp42 res->WriteUtf8(value, (int)size); in StringRefWriteUtf8FuzzTest()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_first_tests.cpp322 EXPECT_EQ(testString->WriteUtf8(buffer, 12), 12); // 12 : length of testString("Hello World") in HWTEST_F_L0()
344 EXPECT_EQ(testString->WriteUtf8(buffer, 4), 4); // 4 : length of testString("年") in HWTEST_F_L0()
360 testString1->WriteUtf8(buffer1, 4, false); in HWTEST_F_L0()
370 testString2->WriteUtf8(buffer2, 4, true); in HWTEST_F_L0()
2118 EXPECT_EQ(testString->WriteUtf8(buffer, 4), 4); in HWTEST_F_L0()
Djsnapi_sample.cpp217 EXPECT_EQ(charObject->WriteUtf8(buffer, 12), 12); in HWTEST_F_L0()
230 EXPECT_EQ(charObject->WriteUtf8(buffer1, 12), 12); in HWTEST_F_L0()
1809 stringValue->WriteUtf8(setBuffer, inputString.length()); in HWTEST_F_L0()
1816 resultString->WriteUtf8(getBuffer, inputString.length()); in HWTEST_F_L0()
1827 resultChangedString->WriteUtf8(changedBuffer, changedString.length()); in HWTEST_F_L0()
1833 printString->WriteUtf8(printBuffer, inputString.length()); in HWTEST_F_L0()
Dffi_workload.cpp3083 int length = local->WriteUtf8(cs, 6); in HWTEST_F_L0()
3098 int length = local->WriteUtf8(cs, local->Length()); in HWTEST_F_L0()
3113 int length = local->WriteUtf8(cs, 0); in HWTEST_F_L0()
3128 int length = local->WriteUtf8(cs, 6, true); in HWTEST_F_L0()
3143 int length = local->WriteUtf8(cs, local->Length(), true); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Decma_string.h397 inline size_t WriteUtf8(uint8_t *buf, size_t maxLength, bool isWriteBuffer = false) const
1228 return string_->WriteUtf8(buf, maxLength, isWriteBuffer);
/arkcompiler/ets_runtime/ecmascript/napi/
DJSNapi接口说明.md5946 ### WriteUtf8 subsection
5948 int StringRef::WriteUtf8(char *buffer, int length, bool isWriteBuffer)��
5971 int length = local->WriteUtf8(cs, 6);
Djsnapi_expo.cpp1342 int StringRef::WriteUtf8(char *buffer, int length, bool isWriteBuffer) in WriteUtf8() function in panda::StringRef
/arkcompiler/ets_runtime/ecmascript/napi/include/
Djsnapi_expo.h736 int WriteUtf8(char *buffer, int length, bool isWriteBuffer = false);