/ast/src/lib/libast/aso/ |
H A D | asorelax.c | 35 #include <time.h>
|
/ast/src/lib/libpp/ |
H A D | ppcontext.c | 54 if (op->time) free(op->time);
|
/ast/src/lib/libast/tm/ |
H A D | tmxleap.c | 47 for (lp = &tm_data.leap[0]; sec < (lp->time - lp->total); lp++);
|
H A D | tvgettime.c | 56 if ((tv->tv_sec = time(NiL)) != s)
|
H A D | tmxmake.c | 36 * time zone and leap seconds accounted for in return value 59 for (lp = &tm_data.leap[0]; n < lp->time; lp++); 62 if (n == lp->time && (leapsec = (lp->total - (lp+1)->total)) < 0) 131 * time zone and leap seconds accounted for in return value
|
H A D | tmxtime.c | 83 * time zone adjustments 130 for (lp = &tm_data.leap[0]; t < lp->time - (lp+1)->total; lp++); 133 if (t <= (lp->time + n) && (n > 0 && sec > 59 || n < 0 && sec > (59 + n) && sec <= 59))
|
/ast/src/cmd/nmake/ |
H A D | make.c | 157 if (r == a && r->time && (!(r->property & P_target) || !(r->property & (P_archive|P_command|P_make)))) 159 r->time = CURTIME; 369 r0->time = ((r1->property & P_accept) || state.accept) ? OLDTIME : CURTIME; 373 r0->time = OLDTIME; 374 r->time = r0->time; 381 tevent = ((r->property & P_metarule) && (r1->property & P_implicit) && r1->action) ? 0 : r->time; 471 tevent = r->time; 483 otime = r->time; 485 if (r0->time) [all...] |
H A D | state.c | 167 error(2, "STATEVIEW %s [%s] test %d [%s] -> %s [%s]", name, s ? timestr(s->time) : "no rule", view, timestr(r->time), v ? v->name : null, v ? timestr(v->time) : "no rule"); 173 if (s && (op == RULE && (s->event >= v->event && s->event || !v->time && (v->property & P_force)) || op == PREREQS && s->time >= v->time)) 175 if (v->time == r->time || accept || r->view == view || (r->property & (P_state|P_use|P_virtual)) || state.believe && view >= (state.believe - 1)) 181 if (r->statedata && (!v->statedata && *r->statedata || v->statedata && !streq(r->statedata, v->statedata) || r->time > v->time)) [all...] |
H A D | trap.c | 44 Seconds_t time; member in struct:Alarms_s 114 * set next wakeup time 127 else if (trap.alarms->time <= now) 130 t = trap.alarms->time - now; 143 error(level, "%6s %s %s", fmtelapsed((a->time >= now) ? (a->time - now) : 0, 1), timestr(tmxsns(a->time, 0)), a->rule->name); 198 x->time = t; 201 if (t <= a->time) 299 while ((a = trap.alarms) && a->time < [all...] |
H A D | archive.c | 60 * d==0 updates the modify time of preselected members (see artouch()) 81 addfile(d, ent->name, ((r = staterule(RULE, NiL, ent->name, -1)) && ent->mtime == tmxsec(r->time)) ? r->time : tmxsns(ent->mtime, 0)); 88 staterule(RULE, r, NiL, 1)->time = r->time = tmxsns(ent->mtime, 0); 118 * touch the modify time of an archive member (and the archive itself!)
|
H A D | bind.c | 184 r->time = 0; 210 x->time = d->time; 216 r->time = x->time; 223 d->time = r->time = tmxgetmtime(&st); 261 if (n->time < date) 262 n->time = date; 264 message((-12, "%s: %s %s [duplicate member]", d->name, name, timestr(n->time))); [all...] |
H A D | variable.c | 88 else if (sp && (all || ((x->property & P_state) || x->scan || (y = staterule(PREREQS, x, NiL, 0)) && y->scan || !r->scan) && !(x->property & (P_use|P_virtual)) && (!(x->property & P_ignore) || (x->property & P_parameter)) && (!(x->property & P_dontcare) || x->time))) 351 e = (c == '>' && !(state.questionable & 0x01000000) && (z = staterule(RULE, r, NiL, -1))) ? z->time : r->time; 356 (!(r->property & P_archive) && (p->rule->time >= state.start || p->rule->time > e || !(z = staterule(RULE, p->rule, NiL, -1)) || !z->time || !(state.questionable & 0x01000000) && z->time > e) || 357 (r->property & P_archive) && !(p->rule->dynamic & D_member) && p->rule->time))))
|
H A D | command.c | 160 r->status = r->time ? EXISTS : (r->property & P_dontcare) ? IGNORE : FAILED; 200 x->time = state.start; 202 rhs_rule.time = x->time + 1; 303 if (r || state.targetcontext && (!r || !r->time) && (st.st_mode = (S_IRWXU|S_IRWXG|S_IRWXO)) && tmxsetmtime(&st, state.start)) 324 r->time = tmxgetmtime(&st); 354 tm = r->time; 355 r->time = p->context.time; 356 p->context.time [all...] |
/ast/src/lib/libtksh/tcl/ |
H A D | tclEvent.c | 32 int readyMask; /* Events that were ready the last time that 69 * list sorted by time (earliest event first). 73 Tcl_Time time; /* When timer is to fire. */ member in struct:TimerHandler 92 * in the list is used at any given time. 105 Tcl_Time time; /* All timer events that specify this member in struct:TimerEvent 106 * time or earlier are ready 130 * each time Tcl_DoOneEvent starts calling 241 * the last time through the event loop. */ 259 * allow different behavior for exit-time processing, e.g. in closing of 552 * it should stay on the queue. The only time th [all...] |
H A D | tclUnixTime.c | 5 * obtain time values from the operating system. 30 return time(NiL); 87 return time((time_t *) NULL); 99 * start time is also system dependant. 102 * Number of clicks from some start time. 156 * time zone in this struct (very lame) then use the timezone variable. 159 * The gettimeofday system call can also be used to determine the time 247 * Gets the current system time in seconds and microseconds 251 * Returns the current time in timePtr. 261 Tcl_Time *timePtr; /* Location to store time informatio [all...] |
/ast/src/cmd/coshell/ |
H A D | job.c | 80 jp->lost = cs.time + UPDATE; 115 if (sp->update <= cs.time && sp->errors < ERRORS) update(sp); 116 if (jp->lost && jp->lost < cs.time) 127 if (!jp->busy && state.grace) jp->busy = cs.time + state.grace; 128 else if (jp->busy < cs.time) 175 else if (cs.time > jp->start + LOST) 177 message((-4, "jobcheck: %s: possibly hung %s", sp->name, fmtelapsed(cs.time - sp->start, 1))); 235 state.real += cs.time - state.clock; 249 jp->shell->update = cs.time + state.disable;
|
H A D | shell.c | 114 sp->start = cs.time; 115 if (sp->update > cs.time + UPDATE) 116 sp->update = cs.time + UPDATE; 121 sp->override = cs.time + (sp->home ? HOME : OVERRIDE); 164 sp->stat.up = sp->start - cs.time; 165 sp->update = cs.time + FORGET; 192 sp->start = cs.time; 236 if (cs.time > state.access) info(SET, NiL); 290 state.clock = cs.time; 302 jp->start = cs.time; [all...] |
H A D | schedule.c | 205 if (cs.time - (unsigned long)tt > LOST) 207 tt = cs.time; 217 * dp worst open from last time [close after dt] 246 else if (cs.time > ap->start + LOST) 250 ap->update = cs.time + 2 * LOST; 253 if (ap->update <= cs.time && ap->errors < ERRORS) update(ap); 257 if (cs.time > ap->override) 266 ap->override = cs.time - 1; 270 if (ap->home) ap->override = cs.time + HOME; 276 if (ap->update <= cs.time [all...] |
/ast/src/lib/libtksh/include/ |
H A D | tclPort.h | 6 #include <time.h>
|
/ast/src/cmd/cs/ |
H A D | pid.c | 140 n += sfsprintf(m + n, sizeof(state->buf) - n, "%6d %ld", pp->pid, pp->expire - cs.time); 200 pp->expire = cs.time + (pp->decay = state->expire); 234 if (pp->expire <= cs.time) 253 pp->expire = cs.time + pp->decay; 265 else wakeup -= cs.time;
|
/ast/src/lib/libcs/ |
H A D | csstat.c | 78 if ((n = stat(buf, &st)) || (state->time - CS_STAT_DOWN) > (unsigned long)st.st_ctime) 109 sp->up = -(((a & 0x7ff) << ((a >> 11) & 0x1f)) + (long)(state->time - (unsigned long)st.st_ctime));
|
H A D | csslib.h | 41 #define TOSS(k) while(CSTOSS(k,cs.time)<=CS_KEY_MAX)
|
/ast/src/cmd/3d/ |
H A D | utimensat3d.c | 53 else atime = mtime = time((time_t*)0);
|
H A D | utimets3d.c | 53 else atime = mtime = time((time_t*)0);
|
/ast/src/lib/libast/path/ |
H A D | pathcheck.c | 64 n = time(NiL);
|