Searched refs:ws (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | fgetws.c | 40 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()
|
D | fputws.c | 40 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/ |
D | pty.cpp | 115 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/ |
D | stdio_test.cpp | 367 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()
|