Searched defs:ms (Results 1 - 10 of 10) sorted by relevance

/ast/src/lib/libcs/
H A Dcspoll.c25 * poll for read/write/control on fds with ms timeout
44 cspoll(Cs_t* state, Cspoll_t* fds, int num, int ms) argument
62 if (ms >= 0)
64 tv.tv_sec = ms / 1000;
65 tv.tv_usec = (ms % 1000) * 1000;
104 messagef((state->id, NiL, -6, "poll: %s num=%d ms=%d sec=%d usec=%d", fmttime("%K", CSTIME()), num, ms, tp ? tp->tv_sec : 0, tp ? tp->tv_usec : 0));
109 messagef((state->id, NiL, -6, "poll: %s num=%d ms=%d", fmttime("%K", CSTIME()), num, ms);
110 num = select(width + 1, rp, wp, ms);
[all...]
H A Dcsserve.c107 cstimeout(register Cs_t* state, unsigned long ms) argument
115 state->server->css->disc->timeout = ms;
124 cswakeup(Cs_t* state, unsigned long ms) argument
132 state->server->css->disc->wakeup = ms;
210 _cs_timeout(unsigned long ms) argument
212 return cstimeout(&cs, ms);
216 _cs_wakeup(unsigned long ms) argument
218 return cswakeup(&cs, ms);
H A Dcss.c599 csspoll(unsigned long ms, unsigned long flags) argument
631 if (ms == CS_NEVER)
634 timeout = CSTIME() + ((ms + 999) / 1000);
669 to = ms;
722 if (ms != CS_NEVER)
724 if (ms > z)
725 ms -= z;
778 if (err && (ms != CS_NEVER || (flags & CSS_INTERRUPT) && (sig || err == EINTR) && !clrsig || (flags & CSS_ERROR) && !sig && err != EINTR && !clrerr))
/ast/src/cmd/pax/
H A Dpax-vdb.c225 int ms = 0; local
241 if ((int)hit[n] > ms)
243 ms = hit[n];
254 else if (ms)
/ast/src/cmd/mailx/
H A Dcollect.c253 interpolate(char* ms, FILE* fp, int f, int followup) argument
261 if (getmsglist(ms, 0) < 0)
/ast/src/lib/libvcodex/Vcwindow/
H A Dvcwfile.c251 Grint_t **ss, **es, **ms, workn; local
287 { ms = ss + (es - ss)/2;
288 if(**ms == workn)
289 ss = es = ms;
290 else if(**ms > workn)
291 es = ms-1;
292 else ss = ms+1;
299 while((ms = ss+1) < es && **ms <= workn)
300 ss = ms;
[all...]
/ast/src/lib/libast/port/
H A Dlcgen.c28 * code name ms-codepage
78 char* ms; member in struct:Charset_s
429 cp->ms = copy(&b, arg[2]);
709 if (cp->ms)
710 fprintf(lf, "\"%s\",", cp->ms);
/ast/src/lib/libtksh/tcl/
H A DtclEvent.c1671 int ms;
1709 if (Tcl_GetInt(interp, argv[1], &ms) != TCL_OK) {
1712 if (ms < 0) {
1713 ms = 0;
1716 Tcl_Sleep(ms);
1731 afterPtr->token = Tcl_CreateTimerHandler(ms, AfterProc,
1645 int ms; local
/ast/src/lib/libvcodex/
H A Dvclzparse.c134 Vcchar_t *ms, *ts, *et, *mstr; local
145 ms = mstr + m; /* start of match */
151 ms = mstr + mt->mpos;
160 ts += mt->size; ms += (type ? -mt->size : mt->size);
161 for(; ts < et; ts += n, ms += (type ? -n : n))
166 if(ms[type ? -m : m] == (cmap ? cmap[ts[m]] : ts[m]))
173 if(ms[type ? -m : m] != (cmap ? cmap[ts[m]] : ts[m]))
184 mt->mpos = (ms - mstr) + mbeg + (type ? -n : n);
/ast/src/lib/libast/vmalloc/
H A Dmalloc.c973 Mstats_t ms; local
976 memset(&ms,0,sizeof(ms));
978 { ms.bytes_total = sb.extent;
979 ms.chunks_used = sb.n_busy;
980 ms.bytes_used = sb.s_busy;
981 ms.chunks_free = sb.n_free;
982 ms.bytes_free = sb.s_free;
984 return ms;

Completed in 37 milliseconds