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() 71 return nconv; in begin_surrogate() 96 size_t nconv = mbrtoc32(&c32, s, n, state); in mbrtoc16() local 97 if (__MB_IS_ERR(nconv)) { in mbrtoc16() 98 return nconv; in mbrtoc16() 99 } else if (nconv == 0) { in mbrtoc16() 100 return mbstate_reset_and_return(nconv, state); in mbrtoc16() 103 return mbstate_reset_and_return(nconv, state); in mbrtoc16() 111 return begin_surrogate(c32, pc16, nconv, state); in mbrtoc16()
|
/bionic/libc/stdio/ |
D | vfwscanf.cpp | 95 size_t nconv; /* number of bytes in mb. conversion */ in __vfwscanf() local 351 nconv = wcrtomb(mbp, wi, &mbs); in __vfwscanf() 352 if (nconv == static_cast<size_t>(-1)) goto input_failure; in __vfwscanf() 354 nconv = wcrtomb(mbbuf, wi, &mbs); in __vfwscanf() 355 if (nconv == static_cast<size_t>(-1)) goto input_failure; in __vfwscanf() 356 if (nconv > width) { in __vfwscanf() 360 if (!(flags & SUPPRESS)) memcpy(mbp, mbbuf, nconv); in __vfwscanf() 362 if (!(flags & SUPPRESS)) mbp += nconv; in __vfwscanf() 363 width -= nconv; in __vfwscanf() 395 nconv = wcrtomb(mbp, wi, &mbs); in __vfwscanf() [all …]
|
D | printf_common.h | 792 size_t insize, nchars, nconv; in mbsconv() local 800 insize = nchars = nconv = 0; in mbsconv() 803 nconv = mbrlen(p, MB_CUR_MAX, &mbs); in mbsconv() 804 if (nconv == (size_t)0 || nconv == (size_t)-1 || nconv == (size_t)-2) break; in mbsconv() 805 p += nconv; in mbsconv() 807 insize += nconv; in mbsconv() 809 if (nconv == (size_t)-1 || nconv == (size_t)-2) return (nullptr); in mbsconv() 822 nconv = 0; in mbsconv() 824 nconv = mbrtowc(wcp, p, insize, &mbs); in mbsconv() 825 if (nconv == 0 || nconv == (size_t)-1 || nconv == (size_t)-2) break; in mbsconv() [all …]
|
D | vfscanf.cpp | 54 size_t nconv; /* length of multibyte sequence converted */ in __svfscanf() local 329 nconv = mbrtowc(wcp, buf, bytes, &mbs); in __svfscanf() 330 if (nconv == BIONIC_MULTIBYTE_RESULT_ILLEGAL_SEQUENCE) { in __svfscanf() 334 if (nconv == 0 && !(flags & SUPPRESS)) *wcp = L'\0'; in __svfscanf() 335 if (nconv != BIONIC_MULTIBYTE_RESULT_INCOMPLETE_SEQUENCE) { in __svfscanf() 419 nconv = mbrtowc(&wc, buf, bytes, &mbs); in __svfscanf() 420 if (nconv == BIONIC_MULTIBYTE_RESULT_ILLEGAL_SEQUENCE) { in __svfscanf() 424 if (nconv != BIONIC_MULTIBYTE_RESULT_INCOMPLETE_SEQUENCE) { in __svfscanf()
|