Searched refs:ws (Results 1 - 13 of 13) sorted by relevance
/ast/src/lib/libast/port/ |
H A D | astwinsize.c | 76 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/lib/libpz/ |
H A D | pzwrite.c | 70 pz->ws.bp = pz->buf; 88 if (pz->ws.sz) 90 x = pz->ws.sz; 93 memcpy(pz->ws.sp, bp, x); 96 if (pz->ws.sz -= x) 97 pz->ws.sp += x; 99 dtinsert(pz->sort.order, pz->ws.se); 111 pz->ws.sp = elt->buf + k; 112 pz->ws.sz = x - k; 113 pz->ws [all...] |
H A D | pzsync.c | 43 op = pz->ws.io ? pz->ws.io : pz->io; 44 if (pz->ws.bp) 50 pz->ws.bp = 0; 66 pz->ws.bp = pz->buf; 70 n = pz->ws.row; 75 pz->count.records += pz->ws.rep; 76 sfputu(tmp, pz->ws.rep); 130 m = pz->ws.vp - pz->val;
|
H A D | pzopen.c | 243 if (!(r = pzsync(pz)) && (op = pz->ws.io)) 250 if (pz->ws.pc) 253 (*pz->disc->errorf)(pz, pz->disc, 1, "last record incomplete %u/%u", pz->ws.pc, pz->row); 255 sfputu(op, pz->ws.pc); 256 sfwrite(op, pz->ws.pb, pz->ws.pc);
|
H A D | pzlib.h | 122 Pzws_t ws; /* read stream state */ \
|
/ast/src/cmd/mailx/ |
H A D | names.c | 237 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 D | local.c | 412 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 D | vcwfile.c | 194 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 D | mime.c | 431 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 D | mime.c | 445 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/lib/libast/sfio/ |
H A D | sfvscanf.c | 977 argv.ws = (wchar_t*)value; 997 *argv.ws++ = wc; 1039 *argv.ws = 0;
|
H A D | sfhdr.h | 731 wchar_t *ws, **wsp; member in union:__anon307
|
/ast/src/cmd/sortlib/sync/ |
H A D | ss.c | 2492 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))
|
Completed in 35 milliseconds