Lines Matching refs:proc
34 Tcl_FileProc *proc; /* Procedure to call, in the style of
38 ClientData clientData; /* Argument to pass to proc. */
74 Tcl_TimerProc *proc; /* Procedure to call. */
75 ClientData clientData; /* Argument to pass to proc. */
117 Tcl_IdleProc (*proc); /* Procedure to call. */
118 ClientData clientData; /* Value to pass to proc. */
218 Tcl_ExitProc *proc; /* Procedure to call when process exits. */
219 ClientData clientData; /* One word of information to pass to proc. */
310 * ready in the way indicated by mask, proc will be invoked.
312 * to proc. If file is already registered then the old mask
313 * and proc and clientData values will be replaced with
320 Tcl_CreateFileHandler(file, mask, proc, clientData)
325 * proc should be called. */
326 Tcl_FileProc *proc; /* Procedure to call for each
328 ClientData clientData; /* Arbitrary data to pass to proc. */
366 filePtr->proc = proc;
530 fileEvPtr->header.proc = FileHandlerEventProc;
603 (*filePtr->proc)(filePtr->clientData, mask);
624 * When milliseconds have elapsed, proc will be invoked
631 Tcl_CreateTimerHandler(milliseconds, proc, clientData)
633 * before invoking proc. */
634 Tcl_TimerProc *proc; /* Procedure to invoke. */
635 ClientData clientData; /* Arbitrary data to pass to proc. */
665 timerHandlerPtr->proc = proc;
748 * When milliseconds have elapsed, proc will be invoked
755 Tcl_CreateModalTimeout(milliseconds, proc, clientData)
757 * before invoking proc. */
758 Tcl_TimerProc *proc; /* Procedure to invoke. */
759 ClientData clientData; /* Arbitrary data to pass to proc. */
784 timerHandlerPtr->proc = proc;
809 * match proc and clientData.
815 Tcl_DeleteModalTimeout(proc, clientData)
816 Tcl_TimerProc *proc; /* Callback procedure for the timeout. */
817 ClientData clientData; /* Arbitrary data to pass to proc. */
823 if ((timerHandlerPtr->proc != proc)
956 timerEvPtr->header.proc = TimerHandlerEventProc;
1032 (*timerHandlerPtr->proc)(timerHandlerPtr->clientData);
1061 (*timerHandlerPtr->proc)(timerHandlerPtr->clientData);
1073 * Arrange for proc to be invoked the next time the system is
1088 Tcl_DoWhenIdle(proc, clientData)
1089 Tcl_IdleProc *proc; /* Procedure to invoke. */
1090 ClientData clientData; /* Arbitrary value to pass to proc. */
1095 idlePtr->proc = proc;
1120 * If the proc/clientData combination were on the when-idle list,
1127 Tcl_CancelIdleCall(proc, clientData)
1128 Tcl_IdleProc *proc; /* Procedure that was previously registered. */
1129 ClientData clientData; /* Arbitrary value to pass to proc. */
1136 while ((idlePtr->proc == proc)
1239 (*idlePtr->proc)(idlePtr->clientData);
1508 Tcl_CreateExitHandler(proc, clientData)
1509 Tcl_ExitProc *proc; /* Procedure to invoke. */
1510 ClientData clientData; /* Arbitrary value to pass to proc. */
1515 exitPtr->proc = proc;
1527 * This procedure cancels an existing exit handler matching proc
1534 * If there is an exit handler corresponding to proc and clientData
1542 Tcl_DeleteExitHandler(proc, clientData)
1543 Tcl_ExitProc *proc; /* Procedure that was previously registered. */
1544 ClientData clientData; /* Arbitrary value to pass to proc. */
1550 if ((exitPtr->proc == proc)
1597 (*exitPtr->proc)(exitPtr->clientData);
1696 cmdInfo.proc = Tcl_AfterCmd;