Home
last modified time | relevance | path

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

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