Searched refs:ws (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | fputws.c | 40 fputws(ws, fp) in fputws() argument 41 const wchar_t * __restrict ws; in fputws() 47 while (*ws != '\0') { 48 if (__fputwc_unlock(*ws++, fp) == WEOF) {
|
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()
|
/bionic/libc/bionic/ |
D | pty.cpp | 115 int openpty(int* master, int* slave, char* name, const termios* t, const winsize* ws) { in openpty() argument 144 if (ws != nullptr) { in openpty() 145 ioctl(*slave, TIOCSWINSZ, ws); in openpty() 151 int forkpty(int* amaster, char* name, const termios* t, const winsize* ws) { in forkpty() argument 154 if (openpty(&master, &slave, name, t, ws) == -1) { in forkpty()
|
/bionic/tests/ |
D | stdio_test.cpp | 305 wchar_t* ws = nullptr; in TEST() local 306 EXPECT_EQ(8, snprintf(buf, sizeof(buf), "<%ls>", ws)); in TEST() 310 ws = chars; in TEST() 311 EXPECT_EQ(4, snprintf(buf, sizeof(buf), "<%ls>", ws)); in TEST() 317 wchar_t* ws = nullptr; in TEST() local 318 EXPECT_EQ(8, snprintf(buf, sizeof(buf), "<%S>", ws)); in TEST() 322 ws = chars; in TEST() 323 EXPECT_EQ(4, snprintf(buf, sizeof(buf), "<%S>", ws)); in TEST()
|