Lines Matching refs:wc
93 wchar_t wc; in tstostr() local
105 while (wc = (wchar_t)((*ptc++)&TRIM)) { in tstostr()
106 if ((i1 = wctomb(junk, wc)) <= 0) { in tstostr()
118 while (wc = (wchar_t)((*ptc++)&TRIM)) { in tstostr()
119 if ((len = wctomb(pmb, wc)) <= 0) { in tstostr()
120 *pmb = (unsigned char)wc; in tstostr()
144 wchar_t wc; in mbstotcs() local
152 if ((j = mbtowc(&wc, pmb, MB_CUR_MAX)) <= 0) { in mbstotcs()
162 if ((j = mbtowc(&wc, pmb, MB_CUR_MAX)) <= 0) { in mbstotcs()
163 wc = (unsigned char)*pmb; in mbstotcs()
167 *(ptc++) = (tchar)wc; in mbstotcs()
433 wchar_t wc; in read_() local
528 if ((j = mbtowc(&wc, (char *)s, b_len)) <= 0) { in read_()
537 wc = (unsigned char)*s; in read_()
541 *t++ = wc; in read_()
552 if ((j = mbtowc(&wc, (char *)s, b_len)) <= 0) { in read_()
553 wc = (unsigned char)*s; in read_()
556 *t++ = wc; in read_()
578 if ((j = mbtowc(&wc, (char *)s, delta)) <= 0) in read_()
580 *t++ = wc; in read_()
599 if (mbtowc(&wc, (char *)s, delta) > 0) { in read_()
600 *t = wc; in read_()
615 if ((j = mbtowc(&wc, (char *)s, b_len)) <= 0) { in read_()
616 wc = (unsigned char)*s; in read_()
619 *t++ = wc; in read_()
683 wchar_t wc; in write_() local
699 wc = (wchar_t)((*pt++)&TRIM); in write_()
700 if (wc == (wchar_t)0) { in write_()
703 if ((j = wctomb((char *)pc, wc)) <= 0) { in write_()
704 *pc = (unsigned char)wc; in write_()