Home
last modified time | relevance | path

Searched refs:writeResult (Results 1 - 4 of 4) sorted by relevance

/commonlibrary/ets_utils/platform/ohos/
H A Dutil_helper.cpp108 void EncodeToUtf8(TextEcodeInfo encodeInfo, char* writeResult, uint32_t* written, size_t length, int32_t* nchars) in EncodeToUtf8() argument
111 EncodeTo16BE(encodeInfo, writeResult, written, length, nchars); in EncodeToUtf8()
113 OtherEncodeUtf8(encodeInfo, writeResult, written, length, nchars); in EncodeToUtf8()
259 char *writeResult = static_cast<char*>(data); in OtherEncode() local
260 if (writeResult == nullptr) { in OtherEncode()
261 HILOG_ERROR("textencoder::writeResult is nullptr"); in OtherEncode()
272 if (memcpy_s(writeResult, outLens, reinterpret_cast<char*>(buffer.data()), outLens) != EOK) { in OtherEncode()
279 if (memcpy_s(writeResult + resultShifting, buffer.length(), in OtherEncode()
285 *(writeResult + resultShifting) = '\0'; in OtherEncode()
294 if (memcpy_s(writeResult in OtherEncode()
357 OtherEncodeUtf8(TextEcodeInfo encodeInfo, char* writeResult, uint32_t* written, size_t length, int32_t* nchar) OtherEncodeUtf8() argument
397 EncodeTo16BE(TextEcodeInfo encodeInfo, char* writeResult, uint32_t* written, size_t length, int32_t* nchars) EncodeTo16BE() argument
[all...]
/commonlibrary/ets_utils/js_util_module/util/
H A Djs_textencoder.cpp58 char *writeResult = static_cast<char*>(resultData); in EncodeInto() local
63 EncodeToUtf8(encodeInfo, writeResult, &written, length, &nchars); in EncodeInto()
/commonlibrary/ets_utils/platform/
H A Dutil_helper.h81 void EncodeToUtf8(TextEcodeInfo encodeInfo, char* writeResult, uint32_t* written, size_t length, int32_t* nchars);
91 void OtherEncodeUtf8(TextEcodeInfo encodeInfo, char* writeResult, uint32_t* written, size_t length,
93 void EncodeTo16BE(TextEcodeInfo encodeInfo, char* writeResult, uint32_t* written, size_t length, int32_t* nchars);
/commonlibrary/ets_utils/platform/default/
H A Dutil_helper.cpp104 void EncodeToUtf8(TextEcodeInfo encodeInfo, char* writeResult, uint32_t* written, size_t length, int32_t* nchars) in EncodeToUtf8() argument
107 engine->EncodeToUtf8(encodeInfo.src, writeResult, written, length, nchars); in EncodeToUtf8()

Completed in 3 milliseconds