/minix/external/bsd/flex/dist/examples/fastwc/ |
H A D | wc4.l | 3 ws [ \t] 5 word {ws}*{nonws}+ 6 words {word}{ws}+ 12 {word}{ws}* ++wc; cc += yyleng; 13 {word}{ws}*\n ++wc; cc += yyleng; ++lc; 14 {words}{word}{ws}* wc += 2; cc += yyleng; 15 {words}{word}{ws}*\n wc += 2; cc += yyleng; ++lc; 16 {words}{2}{word}{ws}* wc += 3; cc += yyleng; 17 {words}{2}{word}{ws}*\n wc += 3; cc += yyleng; ++lc; 18 {words}{3}{word}{ws}* wc += 4; cc += yyleng; [all …]
|
H A D | wc3.l | 3 ws [ \t] 5 word {ws}*{nonws}+ 6 words {word}{ws}+ 12 {word}{ws}* cc += yyleng; ++wc; 13 {word}{ws}*\n cc += yyleng; ++wc; ++lc; 14 {words}{word}{ws}* cc += yyleng; wc += 2; 15 {words}{2}{word}{ws}* cc += yyleng; wc += 3; 16 {words}{3}{word}{ws}* cc += yyleng; wc += 4; 18 {ws}+ cc += yyleng;
|
H A D | wc5.l | 3 ws [ \t] 5 word {ws}*{nonws}+ 6 words {word}{ws}+ 12 {word}{ws}* cc += yyleng; ++wc; 13 {word}{ws}*\n cc += yyleng; ++wc; ++lc; 15 {words}{2}{word}{ws}* cc += yyleng; wc += 3; 16 {words}{3}{word}{ws}* cc += yyleng; wc += 4; 18 {ws}+ cc += yyleng;
|
H A D | wc2.l | 3 ws [ \t] 5 word {ws}*{nonws}+ 11 {word}{ws}* cc += yyleng; ++wc; 12 {word}{ws}*\n cc += yyleng; ++wc; ++lc; 14 {ws}+ cc += yyleng;
|
/minix/external/bsd/libc++/dist/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/ |
H A D | from_bytes.pass.cpp | 28 std::wstring ws = myconv.from_bytes('a'); in main() local 29 assert(ws == L"a"); in main() 30 ws = myconv.from_bytes(bs.c_str()); in main() 31 assert(ws == L"\x40003"); in main() 32 ws = myconv.from_bytes(bs); in main() 33 assert(ws == L"\x40003"); in main() 34 ws = myconv.from_bytes(bs.data(), bs.data() + bs.size()); in main() 35 assert(ws == L"\x40003"); in main() 36 ws = myconv.from_bytes(""); in main() 37 assert(ws.size() == 0); in main()
|
H A D | to_bytes.pass.cpp | 27 std::wstring ws(1, L'\x40003'); in main() local 28 std::string bs = myconv.to_bytes(ws[0]); in main() 30 bs = myconv.to_bytes(ws.c_str()); in main() 32 bs = myconv.to_bytes(ws); in main() 34 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size()); in main()
|
/minix/external/bsd/libc++/dist/libcxx/test/localization/locales/locale.convenience/conversions/conversions.string/ |
H A D | from_bytes.pass.cpp | 28 std::wstring ws = myconv.from_bytes('a'); in main() local 29 assert(ws == L"a"); in main() 30 ws = myconv.from_bytes(bs.c_str()); in main() 31 assert(ws == L"\x40003"); in main() 32 ws = myconv.from_bytes(bs); in main() 33 assert(ws == L"\x40003"); in main() 34 ws = myconv.from_bytes(bs.data(), bs.data() + bs.size()); in main() 35 assert(ws == L"\x40003"); in main() 36 ws = myconv.from_bytes(""); in main() 37 assert(ws.size() == 0); in main()
|
H A D | to_bytes.pass.cpp | 27 std::wstring ws(1, L'\x40003'); in main() local 28 std::string bs = myconv.to_bytes(ws[0]); in main() 30 bs = myconv.to_bytes(ws.c_str()); in main() 32 bs = myconv.to_bytes(ws); in main() 34 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size()); in main()
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/Mips/ |
H A D | MipsMSAInstrFormats.td | 41 bits<5> ws; 54 bits<5> ws; 67 bits<5> ws; 80 bits<5> ws; 115 bits<5> ws; 126 bits<5> ws; 138 bits<5> ws; 151 bits<5> ws; 164 bits<5> ws; 176 bits<5> ws; [all …]
|
/minix/external/bsd/kyua-atf-compat/dist/ |
H A D | atf-run.sh | 66 local ws='[ ]*' # That's a space and a tab. 69 local vars="$(grep "^${ws}${name}${ws}=" "${file}" | \ 71 -e "s,^${ws}\(${name}\)${ws}=${ws}'\([^']*\)'${ws}$,${repl}," \
|
/minix/external/bsd/libarchive/dist/libarchive/ |
H A D | archive_windows.c | 214 return (ws); in permissive_name() 463 free(ws); in __la_chdir() 478 ws = NULL; in __la_chmod() 492 free(ws); in __la_chmod() 505 free(ws); in __la_chmod() 590 free(ws); in __la_mkdir() 623 ws = NULL; in __la_open() 640 free(ws); in __la_open() 705 free(ws); in __la_open() 776 free(ws); in __la_rmdir() [all …]
|
/minix/external/bsd/libc++/dist/libcxx/test/std/depr/depr.c.headers/ |
H A D | wchar_h.pass.cpp | 48 wchar_t* ws = 0; in main() local 51 static_assert((std::is_same<decltype(swprintf(ws, s, L"")), int>::value), ""); in main() 55 static_assert((std::is_same<decltype(vswprintf(ws, s, L"", va)), int>::value), ""); in main() 62 static_assert((std::is_same<decltype(fgetws(ws, 0, fp)), wchar_t*>::value), ""); in main() 78 static_assert((std::is_same<decltype(wcscpy(ws, L"")), wchar_t*>::value), ""); in main() 79 static_assert((std::is_same<decltype(wcsncpy(ws, L"", s)), wchar_t*>::value), ""); in main() 80 static_assert((std::is_same<decltype(wcscat(ws, L"")), wchar_t*>::value), ""); in main() 81 static_assert((std::is_same<decltype(wcsncat(ws, L"", s)), wchar_t*>::value), ""); in main() 85 static_assert((std::is_same<decltype(wcsxfrm(ws, L"", s)), size_t>::value), ""); in main() 96 static_assert((std::is_same<decltype(wmemcpy(ws, L"", s)), wchar_t*>::value), ""); in main() [all …]
|
/minix/external/bsd/libc++/dist/libcxx/test/depr/depr.c.headers/ |
H A D | wchar_h.pass.cpp | 44 wchar_t* ws = 0; in main() local 47 static_assert((std::is_same<decltype(swprintf(ws, s, L"")), int>::value), ""); in main() 51 static_assert((std::is_same<decltype(vswprintf(ws, s, L"", va)), int>::value), ""); in main() 58 static_assert((std::is_same<decltype(fgetws(ws, 0, fp)), wchar_t*>::value), ""); in main() 74 static_assert((std::is_same<decltype(wcscpy(ws, L"")), wchar_t*>::value), ""); in main() 75 static_assert((std::is_same<decltype(wcsncpy(ws, L"", s)), wchar_t*>::value), ""); in main() 76 static_assert((std::is_same<decltype(wcscat(ws, L"")), wchar_t*>::value), ""); in main() 77 static_assert((std::is_same<decltype(wcsncat(ws, L"", s)), wchar_t*>::value), ""); in main() 81 static_assert((std::is_same<decltype(wcsxfrm(ws, L"", s)), size_t>::value), ""); in main() 92 static_assert((std::is_same<decltype(wmemcpy(ws, L"", s)), wchar_t*>::value), ""); in main() [all …]
|
/minix/lib/libc/stdio/ |
H A D | fgetws.c | 46 fgetws(wchar_t * __restrict ws, int n, FILE * __restrict fp) in fgetws() argument 52 _DIAGASSERT(ws != NULL); in fgetws() 62 wsp = ws; in fgetws() 68 if (wsp == ws) { in fgetws() 83 return ws; in fgetws()
|
H A D | fputws.c | 45 fputws(const wchar_t * __restrict ws, FILE * __restrict fp) in fputws() argument 48 _DIAGASSERT(ws != NULL); in fputws() 53 while (*ws != '\0') { in fputws() 54 if (__fputwc_unlock(*ws++, fp) == WEOF) { in fputws()
|
/minix/external/bsd/libc++/dist/libcxx/test/std/input.output/iostream.format/input.streams/istream.manip/ |
H A D | ws.pass.cpp | 48 ws(is); in main() 55 ws(is); in main() 62 ws(is); in main() 65 ws(is); in main() 72 ws(is); in main() 75 ws(is); in main()
|
/minix/external/bsd/libc++/dist/libcxx/test/input.output/iostream.format/input.streams/istream.manip/ |
H A D | ws.pass.cpp | 48 ws(is); in main() 55 ws(is); in main() 62 ws(is); in main() 65 ws(is); in main() 72 ws(is); in main() 75 ws(is); in main()
|
/minix/external/bsd/libarchive/dist/tar/ |
H A D | bsdtar_windows.c | 64 wchar_t *ws, *wsp; in permissive_name() local 132 ws = wsp = malloc(slen * sizeof(wchar_t)); in permissive_name() 133 if (ws == NULL) { in permissive_name() 149 ws[alloclen - 1] = L'\0'; in permissive_name() 150 return (ws); in permissive_name() 156 wchar_t *ws; in __tar_chdir() local 167 ws = permissive_name(path); in __tar_chdir() 168 if (ws == NULL) { in __tar_chdir() 172 r = SetCurrentDirectoryW(ws); in __tar_chdir() 173 free(ws); in __tar_chdir()
|
/minix/external/bsd/libc++/dist/libcxx/test/std/strings/c.strings/ |
H A D | cwchar.pass.cpp | 44 wchar_t* ws = 0; in main() local 47 static_assert((std::is_same<decltype(std::swprintf(ws, s, L"")), int>::value), ""); in main() 51 static_assert((std::is_same<decltype(std::vswprintf(ws, s, L"", va)), int>::value), ""); in main() 54 static_assert((std::is_same<decltype(std::fgetws(ws, 0, fp)), wchar_t*>::value), ""); in main() 68 static_assert((std::is_same<decltype(std::wcscpy(ws, L"")), wchar_t*>::value), ""); in main() 69 static_assert((std::is_same<decltype(std::wcsncpy(ws, L"", s)), wchar_t*>::value), ""); in main() 70 static_assert((std::is_same<decltype(std::wcscat(ws, L"")), wchar_t*>::value), ""); in main() 71 static_assert((std::is_same<decltype(std::wcsncat(ws, L"", s)), wchar_t*>::value), ""); in main() 91 static_assert((std::is_same<decltype(std::wmemcpy(ws, L"", s)), wchar_t*>::value), ""); in main() 92 static_assert((std::is_same<decltype(std::wmemmove(ws, L"", s)), wchar_t*>::value), ""); in main() [all …]
|
/minix/external/bsd/libc++/dist/libcxx/test/strings/c.strings/ |
H A D | cwchar.pass.cpp | 44 wchar_t* ws = 0; in main() local 47 static_assert((std::is_same<decltype(std::swprintf(ws, s, L"")), int>::value), ""); in main() 51 static_assert((std::is_same<decltype(std::vswprintf(ws, s, L"", va)), int>::value), ""); in main() 58 static_assert((std::is_same<decltype(std::fgetws(ws, 0, fp)), wchar_t*>::value), ""); in main() 74 static_assert((std::is_same<decltype(std::wcscpy(ws, L"")), wchar_t*>::value), ""); in main() 75 static_assert((std::is_same<decltype(std::wcsncpy(ws, L"", s)), wchar_t*>::value), ""); in main() 76 static_assert((std::is_same<decltype(std::wcscat(ws, L"")), wchar_t*>::value), ""); in main() 77 static_assert((std::is_same<decltype(std::wcsncat(ws, L"", s)), wchar_t*>::value), ""); in main() 97 static_assert((std::is_same<decltype(std::wmemcpy(ws, L"", s)), wchar_t*>::value), ""); in main() 98 static_assert((std::is_same<decltype(std::wmemmove(ws, L"", s)), wchar_t*>::value), ""); in main() [all …]
|
/minix/libexec/telnetd/ |
H A D | termstat.c | 512 struct winsize ws; in clientstat() local 529 ws.ws_col = parm1; in clientstat() 530 ws.ws_row = parm2; in clientstat() 531 (void) ioctl(pty, TIOCSWINSZ, (char *)&ws); in clientstat() 594 struct winsize ws; in defer_terminit() local 596 memset((char *)&ws, 0, sizeof(ws)); in defer_terminit() 597 ws.ws_col = def_col; in defer_terminit() 598 ws.ws_row = def_row; in defer_terminit() 599 (void) ioctl(pty, TIOCSWINSZ, (char *)&ws); in defer_terminit()
|
/minix/minix/commands/loadfont/ |
H A D | loadfont.c | 58 struct winsize ws; in main() local 93 if (ioctl(0, TIOCGWINSZ, &ws) < 0 || (errno= ENOTTY, ws.ws_row == 0)) { in main() 97 tsize = ws.ws_ypixel / ws.ws_row; in main()
|
/minix/lib/libc/gen/ |
H A D | fstab.c | 92 static const char ws[] = " \t\n"; in fstabscan() local 128 _fs_fstab.fs_spec = nextfld(&lp, ws); in fstabscan() 131 _fs_fstab.fs_file = nextfld(&lp, ws); in fstabscan() 132 _fs_fstab.fs_vfstype = nextfld(&lp, ws); in fstabscan() 133 _fs_fstab.fs_mntops = nextfld(&lp, ws); in fstabscan() 138 if ((cp = nextfld(&lp, ws)) != NULL) { in fstabscan() 140 if ((cp = nextfld(&lp, ws)) != NULL) in fstabscan()
|
/minix/external/mit/xorg/server/drivers/xf86-input-ws/ |
H A D | Makefile | 5 DRIVER= xf86-input-ws 8 SRCS= ws.c emumb.c 9 MAN= ws.4
|
/minix/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | get_window_size.c | 69 struct winsize ws; in get_window_size() local 71 ret = ioctl(fd, TIOCGWINSZ, &ws); in get_window_size() 74 *lines = ws.ws_row; in get_window_size() 76 *columns = ws.ws_col; in get_window_size()
|