Home
last modified time | relevance | path

Searched refs:ws (Results 1 – 4 of 4) sorted by relevance

/bionic/tests/
Dtermios_test.cpp106 winsize ws = {}; in TEST() local
109 ASSERT_EQ(-1, tcgetwinsize(-1, &ws)); in TEST()
113 ASSERT_EQ(-1, tcsetwinsize(-1, &ws)); in TEST()
123 winsize ws = {123, 456, 9999, 9999}; in TEST() local
124 ASSERT_EQ(0, openpty(&pty, &tty, nullptr, nullptr, &ws)); in TEST()
128 EXPECT_EQ(ws.ws_xpixel, actual.ws_xpixel); in TEST()
129 EXPECT_EQ(ws.ws_ypixel, actual.ws_ypixel); in TEST()
130 EXPECT_EQ(ws.ws_row, actual.ws_row); in TEST()
131 EXPECT_EQ(ws.ws_col, actual.ws_col); in TEST()
133 ws = {1, 2, 3, 4}; in TEST()
[all …]
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfgetws.c40 fgetws(wchar_t * __restrict ws, int n, FILE * __restrict fp) in fgetws() argument
53 wsp = ws; in fgetws()
59 if (wsp == ws) { in fgetws()
74 return (ws); in fgetws()
Dfputws.c40 fputws(const wchar_t * __restrict ws, FILE * __restrict fp) in fputws() argument
45 while (*ws != '\0') { in fputws()
46 if (__fputwc_unlock(*ws++, fp) == WEOF) { in fputws()
/bionic/libc/bionic/
Dpty.cpp115 int openpty(int* pty, int* tty, char* name, const termios* t, const winsize* ws) { in openpty() argument
144 if (ws != nullptr) { in openpty()
145 ioctl(*tty, TIOCSWINSZ, ws); in openpty()
151 int forkpty(int* parent_pty, char* child_tty_name, const termios* t, const winsize* ws) { in forkpty() argument
154 if (openpty(&pty, &tty, child_tty_name, t, ws) == -1) { in forkpty()