Lines Matching refs:nconv
767 size_t insize, nchars, nconv; in mbsconv() local
775 insize = nchars = nconv = 0; in mbsconv()
778 nconv = mbrlen(p, MB_CUR_MAX, &mbs); in mbsconv()
779 if (nconv == (size_t)0 || nconv == (size_t)-1 || nconv == (size_t)-2) break; in mbsconv()
780 p += nconv; in mbsconv()
782 insize += nconv; in mbsconv()
784 if (nconv == (size_t)-1 || nconv == (size_t)-2) return (nullptr); in mbsconv()
797 nconv = 0; in mbsconv()
799 nconv = mbrtowc(wcp, p, insize, &mbs); in mbsconv()
800 if (nconv == 0 || nconv == (size_t)-1 || nconv == (size_t)-2) break; in mbsconv()
802 p += nconv; in mbsconv()
803 insize -= nconv; in mbsconv()
805 if (nconv == (size_t)-1 || nconv == (size_t)-2) { in mbsconv()