Searched refs:nconv (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/bionic/ |
D | mbrtoc16.cpp | 41 size_t nconv, mbstate_t* state) { in begin_surrogate() argument 47 mbstate_set_byte(state, 3, nconv & 0xff); in begin_surrogate() 75 size_t nconv = mbrtoc32(&c32, s, n, state); in mbrtoc16() local 76 if (__MB_IS_ERR(nconv)) { in mbrtoc16() 77 return nconv; in mbrtoc16() 78 } else if (nconv == 0) { in mbrtoc16() 79 return mbstate_reset_and_return(nconv, state); in mbrtoc16() 85 return mbstate_reset_and_return(nconv, state); in mbrtoc16() 87 return begin_surrogate(c32, pc16, nconv, state); in mbrtoc16()
|
/bionic/libc/stdio/ |
D | vfwscanf.c | 146 size_t nconv; /* number of bytes in mb. conversion */ in __vfwscanf() local 382 nconv = wcrtomb(mbp, wi, &mbs); in __vfwscanf() 383 if (nconv == (size_t)-1) goto input_failure; in __vfwscanf() 385 nconv = wcrtomb(mbbuf, wi, &mbs); in __vfwscanf() 386 if (nconv == (size_t)-1) goto input_failure; in __vfwscanf() 387 if (nconv > width) { in __vfwscanf() 391 if (!(flags & SUPPRESS)) memcpy(mbp, mbbuf, nconv); in __vfwscanf() 393 if (!(flags & SUPPRESS)) mbp += nconv; in __vfwscanf() 394 width -= nconv; in __vfwscanf() 426 nconv = wcrtomb(mbp, wi, &mbs); in __vfwscanf() [all …]
|
D | printf_common.h | 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() [all …]
|
D | vfscanf.cpp | 99 size_t nconv; /* length of multibyte sequence converted */ in __svfscanf() local 354 nconv = mbrtowc(wcp, buf, bytes, &mbs); in __svfscanf() 355 if (nconv == __MB_ERR_ILLEGAL_SEQUENCE) { in __svfscanf() 359 if (nconv == 0 && !(flags & SUPPRESS)) *wcp = L'\0'; in __svfscanf() 360 if (nconv != __MB_ERR_INCOMPLETE_SEQUENCE) { in __svfscanf() 444 nconv = mbrtowc(&wc, buf, bytes, &mbs); in __svfscanf() 445 if (nconv == __MB_ERR_ILLEGAL_SEQUENCE) { in __svfscanf() 449 if (nconv != __MB_ERR_INCOMPLETE_SEQUENCE) { in __svfscanf()
|