Home
last modified time | relevance | path

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

/NW4C-1.3.3/sources/libraries/lyt/
Dlyt_TextBox.cpp462 u32 cpLen = bufLen; in SetStringImpl() local
463 cpLen -= dstIdx; // コピー可能な文字数 in SetStringImpl()
465 cpLen = ut::Min(strLen, cpLen); in SetStringImpl()
466 NW_WARNING(cpLen >= strLen, "%d character(s) droped.\n", strLen - cpLen); in SetStringImpl()
468 std::memcpy(m_TextBuf + dstIdx, str, cpLen * sizeof(wchar_t)); in SetStringImpl()
471 m_TextLen = static_cast<u16>(dstIdx + cpLen); in SetStringImpl()
476 return static_cast<u16>(cpLen); in SetStringImpl()