Searched refs:wcp (Results 1 - 9 of 9) sorted by relevance

/netbsd-current/lib/libcurses/
H A Din_wchstr.c127 cchar_t *wcp; local
140 wcp = wchstr;
144 wcp->vals[0] = start->ch;
145 wcp->attributes = start->attr;
146 wcp->elements = 1;
150 wcp->vals[wcp->elements++] = np->ch;
154 wcp++;
160 wcp->vals[0] = L'\0';
161 wcp
[all...]
H A Dinwstr.c132 wchar_t *wcp; local
145 wcp = wstr;
149 *wcp = start->ch;
150 wcp++;
156 *wcp = L'\0';
/netbsd-current/tests/lib/libc/locale/
H A Dt_wcscoll.c115 const wchar_t * const *wcp; local
123 for (wcp = &t->in_order[0], owcp = wcp++;
124 *wcp != NULL; owcp = wcp++) {
125 printf("Check L\"%S\" < L\"%S\"\n", *owcp, *wcp);
126 ATF_CHECK(wcscoll(*owcp, *wcp) < 0);
H A Dt_btowc.c84 const wchar_t *wcp; local
93 for (cp = t->legal, wcp = t->wlegal; *cp != '\0'; ++cp, ++wcp) {
103 c, wc, *wcp);
104 ATF_REQUIRE(btowc(c) == *wcp);
108 for (wcp = t->willegal; *wcp != '\0'; ++wcp) {
110 (unsigned long)*wcp);
111 ATF_REQUIRE_EQ(wctob(*wcp), EO
122 const wchar_t *wcp; local
199 const wchar_t *wcp; local
[all...]
/netbsd-current/lib/libc/stdio/
H A Dvfscanf.c174 wchar_t *wcp; /* handy wide-character pointer */ local
397 wcp = va_arg(ap, wchar_t *);
399 wcp = NULL;
410 nconv = mbrtowc_l(wcp, buf, n, &mbs,
417 *wcp = L'\0';
422 wcp++;
479 wcp = va_arg(ap, wchar_t *);
481 wcp = &twc;
493 nconv = mbrtowc_l(wcp, buf, n, &mbs,
500 *wcp
[all...]
H A Dvfwprintf.c424 wchar_t *convbuf, *wcp; local
466 wcp = convbuf;
471 nconv = mbrtowc_l(wcp, p, insize, &mbs, loc);
474 wcp++;
484 *wcp = L'\0';
/netbsd-current/external/gpl3/gcc.old/dist/libquadmath/printf/
H A Dprintf_fp.c797 wchar_t *wstartp, *wcp;
900 wcp = wstartp = wbuffer + 2; /* Let room for rounding. */
909 *wcp++ = hack_digit ();
915 *wcp++ = decimalwc;
921 *wcp++ = L_('0');
923 *wcp++ = decimalwc;
933 *wcp = hack_digit ();
934 if (*wcp++ != L_('0'))
945 last_digit = wcp[-1] != decimalwc ? wcp[
795 wchar_t *wstartp, *wcp; local
[all...]
/netbsd-current/external/gpl3/gcc/dist/libquadmath/printf/
H A Dprintf_fp.c797 wchar_t *wstartp, *wcp;
900 wcp = wstartp = wbuffer + 2; /* Let room for rounding. */
909 *wcp++ = hack_digit ();
915 *wcp++ = decimalwc;
921 *wcp++ = L_('0');
923 *wcp++ = decimalwc;
933 *wcp = hack_digit ();
934 if (*wcp++ != L_('0'))
945 last_digit = wcp[-1] != decimalwc ? wcp[
795 wchar_t *wstartp, *wcp; local
[all...]
/netbsd-current/sys/fs/msdosfs/
H A Dmsdosfs_conv.c393 u_char gentext[6], *wcp; local
521 for (wcp = gentext + sizeof(gentext); wcp > gentext && gen; gen /= 10)
522 *--wcp = gen % 10 + '0';
527 if (gentext + sizeof(gentext) - wcp + 1 > 8 - i)
528 i = 8 - (gentext + sizeof(gentext) - wcp + 1);
530 while (wcp < gentext + sizeof(gentext))
531 dn[i++] = *wcp++;

Completed in 223 milliseconds