Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/
H A Decma_string.h416 size_t CopyDataToUtf16(uint16_t *buf, uint32_t length, uint32_t bufLength) const
421 if (length > bufLength) {
422 if (memcpy_s(buf, bufLength * sizeof(uint16_t), data, bufLength * sizeof(uint16_t)) != EOK) {
423 LOG_FULL(FATAL) << "memcpy_s failed when length > bufLength";
426 return bufLength;
428 if (memcpy_s(buf, bufLength * sizeof(uint16_t), data, length * sizeof(uint16_t)) != EOK) {
436 if (length > bufLength) {
437 return base::utf_helper::ConvertRegionUtf8ToUtf16(data, buf, bufLength, bufLength);
1262 WriteToUtf16(uint16_t *buf, uint32_t bufLength) WriteToUtf16() argument
[all...]

Completed in 2 milliseconds