Searched defs:ws (Results 1 - 8 of 8) sorted by relevance

/ast/src/lib/libast/port/
H A Dastwinsize.c76 struct winsize ws; local
78 if (!ttctl(fd, TIOCGWINSZ, &ws) && ws.ws_col > 0 && ws.ws_row > 0)
80 if (rows) *rows = ws.ws_row;
81 if (cols) *cols = ws.ws_col;
98 struct winsize ws;
100 if (!ttctl(fd, JWINSIZE, &ws) && ws.bytesx > 0 && ws
[all...]
/ast/src/cmd/mailx/
H A Dnames.c237 register Walk_str_t* ws = (Walk_str_t*)context; local
241 if (!ws->flags || ws->flags == (np->flags & GMASK)) {
242 if (s = ws->next) {
243 if (s > ws->base) {
244 if (ws->sep)
249 ws->next = s;
253 ws->count += strlen(np->name) + ws->sep;
264 Walk_str_t ws; local
[all...]
H A Dlocal.c412 struct winsize ws; local
415 if (ioctl(1, TIOCGWINSZ, (char*)&ws) < 0)
416 ws.ws_col = ws.ws_row = 0;
425 else if (ws.ws_row)
426 state.screenheight = ws.ws_row;
429 if (!(state.realscreenheight = ws.ws_row))
431 if (!(state.screenwidth = ws.ws_col))
/ast/src/lib/libvcodex/Vcwindow/
H A Dvcwfile.c194 Grint_t ws, ss, t; local
204 { if((ws = vcwf->work[i]) == (ss = msig[i-v]) )
207 { if(ws < ss)
208 { t = ws; ws = ss; ss = t; }
209 if(DIST(ws,ss) < ACCEPT(ss))
217 { if((ws = vcwf->work[i]) == (ss = msig[i-v]) )
220 { if(ws < ss)
221 { t = ws; ws
[all...]
/ast/src/cmd/mailx/port/
H A Dmime.c431 Walk_t ws; local
433 ws.fp = fp;
434 ws.hit = 0;
435 if (ws.pattern = pattern)
439 ws.prefix = s - (char*)pattern;
442 ws.pattern = 0;
443 list(mp->cap, ent, &ws);
444 return ws.hit;
447 dtwalk(mp->cap, list, &ws);
448 return ws
[all...]
/ast/src/lib/libast/misc/
H A Dmime.c445 Walk_t ws; local
447 ws.fp = fp;
448 ws.hit = 0;
449 ws.prefix = 0;
450 if (ws.pattern = pattern)
454 ws.prefix = pattern - ws.pattern;
455 else if (ent = find(mp, ws.pattern))
457 ws.pattern = 0;
458 list(mp->cap, ent, &ws);
[all...]
/ast/src/cmd/sortlib/sync/
H A Dss.c2492 struct stat ws; local
2502 if (!fstat(sffileno(fp->group->io), &ws) && SAME(&ws, &ns))
2565 if (gp->io && !fstat(sffileno(gp->io), &ws) && SAME(&ws, &ns))
/ast/src/lib/libast/sfio/
H A Dsfhdr.h731 wchar_t *ws, **wsp; member in union:__anon307

Completed in 266 milliseconds