Lines Matching defs:time
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. */
92 * in the list is used at any given time.
105 Tcl_Time time; /* All timer events that specify this
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 the event isn't
591 * since the time when the event was queued, so AND the
594 * the time when the event was queued. This is why the
617 * time in the future.
653 TclpGetTime(&timerHandlerPtr->time);
654 timerHandlerPtr->time.sec += milliseconds/1000;
655 timerHandlerPtr->time.usec += (milliseconds%1000)*1000;
656 if (timerHandlerPtr->time.usec >= 1000000) {
657 timerHandlerPtr->time.usec -= 1000000;
658 timerHandlerPtr->time.sec += 1;
672 * (ordered by event firing time).
677 if ((tPtr2->time.sec > timerHandlerPtr->time.sec)
678 || ((tPtr2->time.sec == timerHandlerPtr->time.sec)
679 && (tPtr2->time.usec > timerHandlerPtr->time.usec))) {
742 * time in the future, independently of all other timer events.
777 TclpGetTime(&timerHandlerPtr->time);
778 timerHandlerPtr->time.sec += milliseconds/1000;
779 timerHandlerPtr->time.usec += (milliseconds%1000)*1000;
780 if (timerHandlerPtr->time.usec >= 1000000) {
781 timerHandlerPtr->time.usec -= 1000000;
782 timerHandlerPtr->time.sec += 1;
871 if ((timerHandlerPtr->time.sec > tPtr2->time.sec)
872 || ((timerHandlerPtr->time.sec == tPtr2->time.sec)
873 && (timerHandlerPtr->time.usec > tPtr2->time.usec))) {
885 blockTime.sec = timerHandlerPtr->time.sec - blockTime.sec;
886 blockTime.usec = timerHandlerPtr->time.usec - blockTime.usec;
937 if ((timerHandlerPtr->time.sec < curTime.sec)
938 || ((timerHandlerPtr->time.sec == curTime.sec)
939 && (timerHandlerPtr->time.usec <= curTime.usec))) {
948 if ((timerHandlerPtr->time.sec < curTime.sec)
949 || ((timerHandlerPtr->time.sec == curTime.sec)
950 && (timerHandlerPtr->time.usec <= curTime.usec))) {
957 timerEvPtr->time.sec = curTime.sec;
958 timerEvPtr->time.usec = curTime.usec;
1004 * it should stay on the queue. The only time the event isn't
1029 if ((timerHandlerPtr->time.sec < timerEvPtr->time.sec)
1030 || ((timerHandlerPtr->time.sec == timerEvPtr->time.sec)
1031 && (timerHandlerPtr->time.usec <= timerEvPtr->time.usec))) {
1049 if ((timerHandlerPtr->time.sec > timerEvPtr->time.sec)
1050 || ((timerHandlerPtr->time.sec == timerEvPtr->time.sec)
1051 && (timerHandlerPtr->time.usec >= timerEvPtr->time.usec))) {
1073 * Arrange for proc to be invoked the next time the system is
1074 * idle (i.e., just before the next time that Tcl_DoOneEvent
1309 * This is the first time a background error has occurred in
1368 * the time the error occurred.
1391 * time, because the eval (above) might have changed the channel.
1615 * Determines if we are in the middle of exit-time cleanup.
2173 * that are present on file at the time of the return. This
2192 int timeout; /* Maximum amount of time to wait for one
2202 * If there is a non-zero finite timeout, compute the time when