Home
last modified time | relevance | path

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

/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()
/bionic/tests/
Dstdio_test.cpp367 wchar_t* ws = nullptr; in TEST() local
368 EXPECT_EQ(8, snprintf(buf, sizeof(buf), "<%ls>", ws)); in TEST()
372 ws = chars; in TEST()
373 EXPECT_EQ(4, snprintf(buf, sizeof(buf), "<%ls>", ws)); in TEST()
379 wchar_t* ws = nullptr; in TEST() local
380 EXPECT_EQ(8, snprintf(buf, sizeof(buf), "<%S>", ws)); in TEST()
384 ws = chars; in TEST()
385 EXPECT_EQ(4, snprintf(buf, sizeof(buf), "<%S>", ws)); in TEST()