Home
last modified time | relevance | path

Searched refs:nconv (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dvfwscanf.c159 size_t nconv; /* number of bytes in mb. conversion */ in __vfwscanf_unlocked() local
406 nconv = wcrtomb(mbp, (wchar_t)wi, &mbs); in __vfwscanf_unlocked()
407 if (nconv == (size_t)-1) in __vfwscanf_unlocked()
410 nconv = wcrtomb(mbbuf, (wchar_t)wi, in __vfwscanf_unlocked()
412 if (nconv == (size_t)-1) in __vfwscanf_unlocked()
414 if (nconv > width) { in __vfwscanf_unlocked()
420 nconv); in __vfwscanf_unlocked()
423 mbp += nconv; in __vfwscanf_unlocked()
424 width -= nconv; in __vfwscanf_unlocked()
471 nconv = wcrtomb(mbp, wi, &mbs); in __vfwscanf_unlocked()
[all …]
Dvfscanf.c174 size_t nconv; /* length of multibyte sequence converted */ in __svfscanf_unlocked() local
424 nconv = mbrtowc(wcp, buf, n, &mbs); in __svfscanf_unlocked()
425 if (nconv == (size_t)-1) { in __svfscanf_unlocked()
429 if (nconv == 0 && !(flags & SUPPRESS)) in __svfscanf_unlocked()
431 if (nconv != (size_t)-2) { in __svfscanf_unlocked()
504 nconv = mbrtowc(wcp, buf, n, &mbs); in __svfscanf_unlocked()
505 if (nconv == (size_t)-1) { in __svfscanf_unlocked()
509 if (nconv == 0) in __svfscanf_unlocked()
511 if (nconv != (size_t)-2) { in __svfscanf_unlocked()
605 nconv = mbrtowc(wcp, buf, n, &mbs); in __svfscanf_unlocked()
[all …]
Dvfwprintf.c427 size_t insize, nchars, nconv; in __mbsconv() local
442 insize = nchars = nconv = 0; in __mbsconv()
445 nconv = mbrlen(p, MB_CUR_MAX, &mbs); in __mbsconv()
446 if (nconv == 0 || nconv == (size_t)-1 || in __mbsconv()
447 nconv == (size_t)-2) in __mbsconv()
449 p += nconv; in __mbsconv()
451 insize += nconv; in __mbsconv()
453 if (nconv == (size_t)-1 || nconv == (size_t)-2) in __mbsconv()
469 nconv = 0; in __mbsconv()
471 nconv = mbrtowc(wcp, p, insize, &mbs); in __mbsconv()
[all …]