Home
last modified time | relevance | path

Searched refs:wsz (Results 1 – 14 of 14) sorted by relevance

/third_party/ltp/testcases/kernel/pty/
Dptem01.c134 struct winsize wsz; in test2() local
161 if (ioctl(slavefd, TIOCGWINSZ, &wsz) != 0) { in test2()
165 if (wsz.ws_row != wsz1.ws_row || wsz.ws_col != wsz1.ws_col || in test2()
166 wsz.ws_xpixel != wsz1.ws_xpixel || in test2()
167 wsz.ws_ypixel != wsz1.ws_ypixel) { in test2()
171 if (ioctl(masterfd, TIOCGWINSZ, &wsz) != 0) { in test2()
175 if (wsz.ws_row != wsz1.ws_row || wsz.ws_col != wsz1.ws_col || in test2()
176 wsz.ws_xpixel != wsz1.ws_xpixel || in test2()
177 wsz.ws_ypixel != wsz1.ws_ypixel) { in test2()
185 if (ioctl(slavefd, TIOCGWINSZ, &wsz) != 0) { in test2()
[all …]
/third_party/iowow/src/fs/tests/
Diwfs_test3.c138 off_t wsz = pr->alc_len - pr->rsz; in test_stress() local
139 while (wsz > 0) { in test_stress()
140 int wc = MIN(wsz, pr->rsz); in test_stress()
141 rc = fsm.write(&fsm, pr->alc_addr + pr->alc_len - wsz, buf, wc, &sp); in test_stress()
144 wsz -= wc; in test_stress()
167 off_t wsz = r->alc_len - r->rsz; in test_stress() local
168 while (wsz > 0) { in test_stress()
169 int wc = MIN(wsz, r->rsz); in test_stress()
170 rc = fsm.write(&fsm, r->alc_addr + r->alc_len - wsz, buf, wc, &sp); in test_stress()
173 wsz -= wc; in test_stress()
/third_party/musl/src/unistd/
Disatty.c8 struct winsize wsz; in isatty() local
9 unsigned long r = syscall(SYS_ioctl, fd, TIOCGWINSZ, &wsz); in isatty()
/third_party/musl/porting/liteos_m/kernel/src/stdio/
D__stdout_write.c6 struct winsize wsz; in __stdout_write() local
7 if (!(f->flags & F_SVB) && ioctl(f->fd, TIOCGWINSZ, &wsz)) { in __stdout_write()
D__fdopen.c17 struct winsize wsz; in __fdopen() local
54 if (!(f->flags & F_NOWR) && !ioctl(fd, TIOCGWINSZ, &wsz)) in __fdopen()
Dvfprintf.c452 struct winsize wsz; in printf_core() local
454 if (f && (f->write == __stdout_write) && !ioctl(f->fd, TIOCGWINSZ, &wsz)) { in printf_core()
/third_party/musl/porting/liteos_a/kernel/src/stdio/
D__stdout_write.c6 struct winsize wsz; in __stdout_write() local
8 if (!(f->flags & F_SVB) && ioctl(f->fd, TIOCGWINSZ, &wsz)) in __stdout_write()
D__fdopen.c13 struct winsize wsz; in __fdopen() local
50 if (!(f->flags & F_NOWR) && !ioctl(fd, TIOCGWINSZ, &wsz)) in __fdopen()
Dvfprintf.c451 struct winsize wsz; in printf_core() local
453 if (f && (f->write == __stdout_write) && !ioctl(f->fd, TIOCGWINSZ, &wsz)) { in printf_core()
/third_party/musl/src/stdio/
D__stdout_write.c6 struct winsize wsz; in __stdout_write() local
8 if (!(f->flags & F_SVB) && __syscall(SYS_ioctl, f->fd, TIOCGWINSZ, &wsz)) in __stdout_write()
D__fdopen.c12 struct winsize wsz; in __fdopen() local
46 if (!(f->flags & F_NOWR) && !__syscall(SYS_ioctl, fd, TIOCGWINSZ, &wsz)) in __fdopen()
/third_party/mingw-w64/mingw-w64-headers/include/
Dnewapis.h96 WCHAR wsz[MAX_PATH]; in Emulate_GetLongPathName() local
98 dwRc = MultiByteToWideChar(AreFileApisANSI() ? CP_ACP : CP_OEMCP,0,tsz,-1,wsz,MAX_PATH); in Emulate_GetLongPathName()
106 hr = psfDesk->ParseDisplayName(NULL,NULL,wsz,&cwchEaten,&pidl,NULL); in Emulate_GetLongPathName()
108 hr = psfDesk->lpVtbl->ParseDisplayName(psfDesk,NULL,NULL,wsz,&cwchEaten,&pidl,NULL); in Emulate_GetLongPathName()
/third_party/flutter/glfw/deps/mingw/
Ddinput.h814 WCHAR wsz[MAX_PATH]; member
/third_party/mingw-w64/mingw-w64-headers/direct-x/include/
Ddinput.h815 WCHAR wsz[MAX_PATH]; member