Lines Matching refs:wc
145 wchar_t wc;
148 if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
199 mbrtowc returns 2, and sets wc to 0x00F0.
200 mbtowc returns 4 (correct) and sets wc to 0x5EDC. */
205 wchar_t wc;
208 if (mbrtowc (&wc, input + 3, 6, &state) != 4
209 && mbtowc (&wc, input + 3, 6) == 4)
264 wchar_t wc;
268 wc = (wchar_t) 0xBADFACE;
269 ret = mbrtowc (&wc, input, 5, &state);
330 wchar_t wc;
334 wc = (wchar_t) 0xBADFACE;
335 mbrtowc (&wc, NULL, 5, &state);
336 /* Check that wc was not modified. */
337 if (wc != (wchar_t) 0xBADFACE)
396 wchar_t wc;
399 if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
402 if (mbrtowc (&wc, input + 2, 5, &state) != 1)
412 wchar_t wc;
415 if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
418 if (mbrtowc (&wc, input + 2, 5, &state) != 2)
428 wchar_t wc;
431 if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
434 if (mbrtowc (&wc, input + 4, 4, &state) != 1)
443 wchar_t wc;
446 if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
449 if (mbrtowc (&wc, input + 4, 4, &state) != 1)
458 wchar_t wc;
461 if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
464 if (mbrtowc (&wc, input + 4, 4, &state) != 1)
521 wchar_t wc;
524 if (mbrtowc (&wc, "", 1, &state) != 0)
561 [[wchar_t wc;
565 return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));]])],