Lines Matching refs:wlen
405 CFX_WideString CFX_WideString::FromUTF16LE(const unsigned short* wstr, FX_STRSIZE wlen)
407 if (!wstr || !wlen) {
410 if (wlen < 0) {
411 wlen = 0;
412 while (wstr[wlen]) {
413 wlen ++;
417 FX_WCHAR* buf = result.GetBuffer(wlen);
418 for (int i = 0; i < wlen; i ++) {
421 result.ReleaseBuffer(wlen);