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 reset_and_return(nconv, state); in mbrtoc16() 85 return reset_and_return(nconv, state); in mbrtoc16() 87 return begin_surrogate(c32, pc16, nconv, state); in mbrtoc16()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | vfwscanf.c | 120 size_t nconv; /* number of bytes in mb. conversion */ in __vfwscanf() local 379 nconv = wcrtomb(mbp, wi, &mbs); in __vfwscanf() 380 if (nconv == (size_t)-1) in __vfwscanf() 383 nconv = wcrtomb(mbbuf, wi, in __vfwscanf() 385 if (nconv == (size_t)-1) in __vfwscanf() 387 if (nconv > width) { in __vfwscanf() 393 nconv); in __vfwscanf() 396 mbp += nconv; in __vfwscanf() 397 width -= nconv; in __vfwscanf() 444 nconv = wcrtomb(mbp, wi, &mbs); in __vfwscanf() [all …]
|
D | vfscanf.c | 115 size_t nconv; /* length of multibyte sequence converted */ in __svfscanf() local 357 nconv = mbrtowc(wcp, buf, n, &mbs); in __svfscanf() 358 if (nconv == (size_t)-1) { in __svfscanf() 362 if (nconv == 0 && !(flags & SUPPRESS)) in __svfscanf() 364 if (nconv != (size_t)-2) { in __svfscanf() 439 nconv = mbrtowc(wcp, buf, n, &mbs); in __svfscanf() 440 if (nconv == (size_t)-1) { in __svfscanf() 444 if (nconv == 0) in __svfscanf() 446 if (nconv != (size_t)-2) { in __svfscanf() 543 nconv = mbrtowc(wcp, buf, n, &mbs); in __svfscanf() [all …]
|
D | vfwprintf.c | 171 size_t insize, nchars, nconv; in __mbsconv() local 186 insize = nchars = nconv = 0; in __mbsconv() 189 nconv = mbrlen(p, MB_CUR_MAX, &mbs); in __mbsconv() 190 if (nconv == (size_t)0 || nconv == (size_t)-1 || in __mbsconv() 191 nconv == (size_t)-2) in __mbsconv() 193 p += nconv; in __mbsconv() 195 insize += nconv; in __mbsconv() 197 if (nconv == (size_t)-1 || nconv == (size_t)-2) in __mbsconv() 213 nconv = 0; in __mbsconv() 215 nconv = mbrtowc(wcp, p, insize, &mbs); in __mbsconv() [all …]
|