/dports/lang/tcl87/tcl8.7a5/unix/ |
H A D | tclEpollNotfy.c | 445 if (!timePtr) { in PlatformEventsWait() 447 } else if (!timePtr->tv_sec && !timePtr->tv_usec) { in PlatformEventsWait() 451 if (timePtr->tv_usec) { in PlatformEventsWait() 465 if (timePtr && (timePtr->tv_sec && timePtr->tv_usec)) { in PlatformEventsWait() 468 timersub(timePtr, &tv_delta, timePtr); in PlatformEventsWait() 470 timePtr->tv_sec = 0; in PlatformEventsWait() 471 timePtr->tv_usec = 0; in PlatformEventsWait() 627 if (timePtr != NULL) { in TclpWaitForEvent() 634 if (timePtr->sec != 0 || timePtr->usec != 0) { in TclpWaitForEvent() 635 vTime = *timePtr; in TclpWaitForEvent() [all …]
|
H A D | tclKqueueNotfy.c | 438 struct timeval *timePtr) in PlatformEventsWait() argument 452 if (!timePtr) { in PlatformEventsWait() 454 } else if (!timePtr->tv_sec && !timePtr->tv_usec) { in PlatformEventsWait() 474 if (timePtr && (timePtr->tv_sec && timePtr->tv_usec)) { in PlatformEventsWait() 477 timersub(timePtr, &tv_delta, timePtr); in PlatformEventsWait() 479 timePtr->tv_sec = 0; in PlatformEventsWait() 480 timePtr->tv_usec = 0; in PlatformEventsWait() 637 if (timePtr != NULL) { in TclpWaitForEvent() 644 if (timePtr->sec != 0 || timePtr->usec != 0) { in TclpWaitForEvent() 645 vTime = *timePtr; in TclpWaitForEvent() [all …]
|
H A D | tclUnixTime.c | 69 Tcl_Time *timePtr) in GetTime() argument 71 tclGetTimeProcPtr(timePtr, tclTimeClientData); in GetTime() 333 Tcl_Time *timePtr) /* Location to store time information. */ in Tcl_GetTime() argument 335 GetTime(timePtr); in Tcl_GetTime() 387 const time_t *timePtr) /* Pointer to the number of seconds since the in TclpGmtime() argument 397 gmtime_r(timePtr, &tsdPtr->gmtime_buf); in TclpGmtime() 400 memcpy(&tsdPtr->gmtime_buf, gmtime(timePtr), sizeof(struct tm)); in TclpGmtime() 437 localtime_r(timePtr, &tsdPtr->localtime_buf); in TclpLocaltime() 553 Tcl_Time *timePtr, in NativeGetTime() argument 559 timePtr->sec = tv.tv_sec; in NativeGetTime() [all …]
|
H A D | tclSelectNotfy.c | 653 if (timePtr->sec != 0 || timePtr->usec != 0) { in TclpWaitForEvent() 654 vTime = *timePtr; in TclpWaitForEvent() 656 timePtr = &vTime; in TclpWaitForEvent() 688 if (timePtr != NULL && timePtr->sec == 0 && (timePtr->usec == 0 in TclpWaitForEvent() 710 timePtr = NULL; in TclpWaitForEvent() 746 if (timePtr) { in TclpWaitForEvent() 747 timeout = timePtr->sec * 1000 + timePtr->usec / 1000; in TclpWaitForEvent() 756 if (timePtr != NULL) { in TclpWaitForEvent() 968 timePtr = NULL; in NotifierThreadProc() 991 timePtr = &poll; in NotifierThreadProc() [all …]
|
H A D | tclXtNotify.c | 87 static void SetTimer(const Tcl_Time * timePtr); 88 static int WaitForEvent(const Tcl_Time * timePtr); 269 const Tcl_Time *timePtr) /* Timeout value, may be NULL. */ in SetTimer() argument 281 if (timePtr) { in SetTimer() 282 timeout = timePtr->sec * 1000 + timePtr->usec / 1000; in SetTimer() 633 const Tcl_Time *timePtr) /* Maximum block time, or NULL. */ in WaitForEvent() argument 643 if (timePtr) { in WaitForEvent() 644 timeout = timePtr->sec * 1000 + timePtr->usec / 1000; in WaitForEvent() 652 Tcl_SetTimer(timePtr); in WaitForEvent()
|
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/tclUnix/ |
H A D | tclUnixTime.c | 288 Tcl_GetTime(timePtr) in Tcl_GetTime() argument 293 timePtr->sec = time((time_t *) NULL) 294 timePtr->usec = 0; 298 timePtr->sec = tv.tv_sec; 299 timePtr->usec = tv.tv_usec; 393 ThreadSafeGMTime(timePtr) in ThreadSafeGMTime() argument 394 CONST time_t *timePtr; /* Pointer to the number of seconds in ThreadSafeGMTime() 406 gmtime_r(timePtr, tmPtr); 433 ThreadSafeLocalTime(timePtr) in ThreadSafeLocalTime() argument 434 CONST time_t *timePtr; /* Pointer to the number of seconds in ThreadSafeLocalTime() [all …]
|
H A D | tclXtNotify.c | 90 static void SetTimer _ANSI_ARGS_((Tcl_Time * timePtr)); 91 static int WaitForEvent _ANSI_ARGS_((Tcl_Time * timePtr)); 270 SetTimer(timePtr) in SetTimer() argument 271 Tcl_Time *timePtr; /* Timeout value, may be NULL. */ in SetTimer() 283 if (timePtr) { 284 timeout = timePtr->sec * 1000 + timePtr->usec / 1000; 643 Tcl_Time *timePtr) /* Maximum block time, or NULL. */ in WaitForEvent() argument 653 if (timePtr) { in WaitForEvent() 654 timeout = timePtr->sec * 1000 + timePtr->usec / 1000; in WaitForEvent() 662 Tcl_SetTimer(timePtr); in WaitForEvent()
|
H A D | tclUnixNotfy.c | 401 Tcl_SetTimer(timePtr) in Tcl_SetTimer() argument 411 tclStubs.tcl_SetTimer(timePtr); 698 Tcl_WaitForEvent(timePtr) in Tcl_WaitForEvent() argument 713 return tclStubs.tcl_WaitForEvent(timePtr); 722 if (timePtr) { 723 timeout.tv_sec = timePtr->sec; 724 timeout.tv_usec = timePtr->usec; 751 if (timePtr != NULL && timePtr->sec == 0 && timePtr->usec == 0) { 762 timePtr = NULL; 985 timePtr = NULL; [all …]
|
/dports/net-im/libpurple/pidgin-2.14.8/libpurple/plugins/tcl/ |
H A D | tcl_glib.c | 93 static void tcl_set_timer(CONST86 Tcl_Time *timePtr); 94 static int tcl_wait_for_event(CONST86 Tcl_Time *timePtr); 127 static void tcl_set_timer(CONST86 Tcl_Time *timePtr) in tcl_set_timer() argument 134 if (timePtr == NULL) { in tcl_set_timer() 139 interval = timePtr->sec * 1000 + (timePtr->usec ? timePtr->usec / 1000 : 0); in tcl_set_timer() 144 static int tcl_wait_for_event(CONST86 Tcl_Time *timePtr) in tcl_wait_for_event() argument 146 if (!timePtr || (timePtr->sec == 0 && timePtr->usec == 0)) { in tcl_wait_for_event() 150 tcl_set_timer(timePtr); in tcl_wait_for_event()
|
/dports/net-im/pidgin/pidgin-2.14.8/libpurple/plugins/tcl/ |
H A D | tcl_glib.c | 93 static void tcl_set_timer(CONST86 Tcl_Time *timePtr); 94 static int tcl_wait_for_event(CONST86 Tcl_Time *timePtr); 127 static void tcl_set_timer(CONST86 Tcl_Time *timePtr) in tcl_set_timer() argument 134 if (timePtr == NULL) { in tcl_set_timer() 139 interval = timePtr->sec * 1000 + (timePtr->usec ? timePtr->usec / 1000 : 0); in tcl_set_timer() 144 static int tcl_wait_for_event(CONST86 Tcl_Time *timePtr) in tcl_wait_for_event() argument 146 if (!timePtr || (timePtr->sec == 0 && timePtr->usec == 0)) { in tcl_wait_for_event() 150 tcl_set_timer(timePtr); in tcl_wait_for_event()
|
/dports/net-im/finch/pidgin-2.14.8/libpurple/plugins/tcl/ |
H A D | tcl_glib.c | 93 static void tcl_set_timer(CONST86 Tcl_Time *timePtr); 94 static int tcl_wait_for_event(CONST86 Tcl_Time *timePtr); 127 static void tcl_set_timer(CONST86 Tcl_Time *timePtr) in tcl_set_timer() argument 134 if (timePtr == NULL) { in tcl_set_timer() 139 interval = timePtr->sec * 1000 + (timePtr->usec ? timePtr->usec / 1000 : 0); in tcl_set_timer() 144 static int tcl_wait_for_event(CONST86 Tcl_Time *timePtr) in tcl_wait_for_event() argument 146 if (!timePtr || (timePtr->sec == 0 && timePtr->usec == 0)) { in tcl_wait_for_event() 150 tcl_set_timer(timePtr); in tcl_wait_for_event()
|
/dports/lang/tcl86/tcl8.6.12/unix/ |
H A D | tclUnixTime.c | 314 Tcl_Time *timePtr) /* Location to store time information. */ in Tcl_GetTime() argument 316 tclGetTimeProcPtr(timePtr, tclTimeClientData); in Tcl_GetTime() 367 const time_t *timePtr) /* Pointer to the number of seconds since the in TclpGmtime() argument 377 gmtime_r(timePtr, &tsdPtr->gmtime_buf); in TclpGmtime() 380 memcpy(&tsdPtr->gmtime_buf, gmtime(timePtr), sizeof(struct tm)); in TclpGmtime() 406 const time_t *timePtr) /* Pointer to the number of seconds since the in TclpLocaltime() argument 417 localtime_r(timePtr, &tsdPtr->localtime_buf); in TclpLocaltime() 507 Tcl_Time *timePtr, in NativeScaleTime() argument 532 Tcl_Time *timePtr, in NativeGetTime() argument 538 timePtr->sec = tv.tv_sec; in NativeGetTime() [all …]
|
H A D | tclUnixNotfy.c | 891 if (timePtr != NULL) { in Tcl_WaitForEvent() 898 if (timePtr->sec != 0 || timePtr->usec != 0) { in Tcl_WaitForEvent() 899 vTime = *timePtr; in Tcl_WaitForEvent() 901 timePtr = &vTime; in Tcl_WaitForEvent() 932 if (timePtr != NULL && timePtr->sec == 0 && (timePtr->usec == 0 in Tcl_WaitForEvent() 954 timePtr = NULL; in Tcl_WaitForEvent() 990 if (timePtr) { in Tcl_WaitForEvent() 991 timeout = timePtr->sec * 1000 + timePtr->usec / 1000; in Tcl_WaitForEvent() 1213 timePtr = NULL; in NotifierThreadProc() 1236 timePtr = &poll; in NotifierThreadProc() [all …]
|
H A D | tclXtNotify.c | 87 static void SetTimer(const Tcl_Time * timePtr); 88 static int WaitForEvent(const Tcl_Time * timePtr); 269 const Tcl_Time *timePtr) /* Timeout value, may be NULL. */ in SetTimer() argument 281 if (timePtr) { in SetTimer() 282 timeout = timePtr->sec * 1000 + timePtr->usec / 1000; in SetTimer() 633 const Tcl_Time *timePtr) /* Maximum block time, or NULL. */ in WaitForEvent() argument 643 if (timePtr) { in WaitForEvent() 644 timeout = timePtr->sec * 1000 + timePtr->usec / 1000; in WaitForEvent() 652 Tcl_SetTimer(timePtr); in WaitForEvent()
|
/dports/lang/tcl85/tcl8.5.19/unix/ |
H A D | tclUnixTime.c | 362 Tcl_Time *timePtr) /* Location to store time information. */ in Tcl_GetTime() argument 364 (*tclGetTimeProcPtr) (timePtr, tclTimeClientData); in Tcl_GetTime() 415 CONST time_t *timePtr) /* Pointer to the number of seconds since the in TclpGmtime() argument 425 gmtime_r(timePtr, &(tsdPtr->gmtime_buf)); in TclpGmtime() 428 memcpy(&(tsdPtr->gmtime_buf), gmtime(timePtr), sizeof(struct tm)); in TclpGmtime() 454 CONST time_t *timePtr) /* Pointer to the number of seconds since the in TclpLocaltime() argument 465 localtime_r(timePtr, &(tsdPtr->localtime_buf)); in TclpLocaltime() 555 Tcl_Time *timePtr, in NativeScaleTime() argument 580 Tcl_Time *timePtr, in NativeGetTime() argument 586 timePtr->sec = tv.tv_sec; in NativeGetTime() [all …]
|
H A D | tclUnixNotfy.c | 888 if (timePtr->sec != 0 || timePtr->usec != 0) { in Tcl_WaitForEvent() 889 vTime = *timePtr; in Tcl_WaitForEvent() 891 timePtr = &vTime; in Tcl_WaitForEvent() 922 if (timePtr != NULL && timePtr->sec == 0 && (timePtr->usec == 0 in Tcl_WaitForEvent() 944 timePtr = NULL; in Tcl_WaitForEvent() 980 if (timePtr) { in Tcl_WaitForEvent() 981 timeout = timePtr->sec * 1000 + timePtr->usec / 1000; in Tcl_WaitForEvent() 990 if (timePtr != NULL) { in Tcl_WaitForEvent() 1200 timePtr = NULL; in NotifierThreadProc() 1223 timePtr = &poll; in NotifierThreadProc() [all …]
|
H A D | tclXtNotify.c | 84 static void SetTimer(Tcl_Time * timePtr); 85 static int WaitForEvent(Tcl_Time * timePtr); 266 Tcl_Time *timePtr) /* Timeout value, may be NULL. */ in SetTimer() argument 278 if (timePtr) { in SetTimer() 279 timeout = timePtr->sec * 1000 + timePtr->usec / 1000; in SetTimer() 630 Tcl_Time *timePtr) /* Maximum block time, or NULL. */ in WaitForEvent() argument 640 if (timePtr) { in WaitForEvent() 641 timeout = timePtr->sec * 1000 + timePtr->usec / 1000; in WaitForEvent() 649 Tcl_SetTimer(timePtr); in WaitForEvent()
|
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libtksh/tcl/ |
H A D | tclNotify.c | 421 Tcl_SetMaxBlockTime(timePtr) in Tcl_SetMaxBlockTime() argument 422 Tcl_Time *timePtr; /* Specifies a maximum elapsed time for in Tcl_SetMaxBlockTime() 426 if (!blockTimeSet || (timePtr->sec < blockTime.sec) 427 || ((timePtr->sec == blockTime.sec) 428 && (timePtr->usec < blockTime.usec))) { 429 blockTime = *timePtr; 466 Tcl_Time *timePtr; local 540 timePtr = &blockTime; 542 timePtr = &blockTime; 544 timePtr = NULL; [all …]
|
/dports/shells/ksh93/ast-93u/src/lib/libtksh/tcl/ |
H A D | tclNotify.c | 421 Tcl_SetMaxBlockTime(timePtr) in Tcl_SetMaxBlockTime() argument 422 Tcl_Time *timePtr; /* Specifies a maximum elapsed time for in Tcl_SetMaxBlockTime() 426 if (!blockTimeSet || (timePtr->sec < blockTime.sec) 427 || ((timePtr->sec == blockTime.sec) 428 && (timePtr->usec < blockTime.usec))) { 429 blockTime = *timePtr; 466 Tcl_Time *timePtr; local 540 timePtr = &blockTime; 542 timePtr = &blockTime; 544 timePtr = NULL; [all …]
|
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libtksh/tcl/ |
H A D | tclNotify.c | 421 Tcl_SetMaxBlockTime(timePtr) in Tcl_SetMaxBlockTime() argument 422 Tcl_Time *timePtr; /* Specifies a maximum elapsed time for in Tcl_SetMaxBlockTime() 426 if (!blockTimeSet || (timePtr->sec < blockTime.sec) 427 || ((timePtr->sec == blockTime.sec) 428 && (timePtr->usec < blockTime.usec))) { 429 blockTime = *timePtr; 466 Tcl_Time *timePtr; local 540 timePtr = &blockTime; 542 timePtr = &blockTime; 544 timePtr = NULL; [all …]
|
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/Core/HLE/ |
H A D | sceKernelTime.cpp | 188 tm* timePtr = localtime(&emulatedTime); in KernelTimeNowFormatted() local 189 bool DST = timePtr->tm_isdst != 0; in KernelTimeNowFormatted() 190 u8 seconds = timePtr->tm_sec; in KernelTimeNowFormatted() 191 u8 minutes = timePtr->tm_min; in KernelTimeNowFormatted() 192 u8 hours = timePtr->tm_hour; in KernelTimeNowFormatted() 194 hours = timePtr->tm_hour + 1; in KernelTimeNowFormatted() 195 u8 days = timePtr->tm_mday; in KernelTimeNowFormatted() 196 u8 months = timePtr->tm_mon + 1; in KernelTimeNowFormatted() 197 u16 years = timePtr->tm_year + 1900; in KernelTimeNowFormatted()
|
/dports/emulators/ppsspp/ppsspp-1.12.3/Core/HLE/ |
H A D | sceKernelTime.cpp | 188 tm* timePtr = localtime(&emulatedTime); in KernelTimeNowFormatted() local 189 bool DST = timePtr->tm_isdst != 0; in KernelTimeNowFormatted() 190 u8 seconds = timePtr->tm_sec; in KernelTimeNowFormatted() 191 u8 minutes = timePtr->tm_min; in KernelTimeNowFormatted() 192 u8 hours = timePtr->tm_hour; in KernelTimeNowFormatted() 194 hours = timePtr->tm_hour + 1; in KernelTimeNowFormatted() 195 u8 days = timePtr->tm_mday; in KernelTimeNowFormatted() 196 u8 months = timePtr->tm_mon + 1; in KernelTimeNowFormatted() 197 u16 years = timePtr->tm_year + 1900; in KernelTimeNowFormatted()
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/Core/HLE/ |
H A D | sceKernelTime.cpp | 188 tm* timePtr = localtime(&emulatedTime); in KernelTimeNowFormatted() local 189 bool DST = timePtr->tm_isdst != 0; in KernelTimeNowFormatted() 190 u8 seconds = timePtr->tm_sec; in KernelTimeNowFormatted() 191 u8 minutes = timePtr->tm_min; in KernelTimeNowFormatted() 192 u8 hours = timePtr->tm_hour; in KernelTimeNowFormatted() 194 hours = timePtr->tm_hour + 1; in KernelTimeNowFormatted() 195 u8 days = timePtr->tm_mday; in KernelTimeNowFormatted() 196 u8 months = timePtr->tm_mon + 1; in KernelTimeNowFormatted() 197 u16 years = timePtr->tm_year + 1900; in KernelTimeNowFormatted()
|
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/tclWin/ |
H A D | tclWinNotify.c | 266 Tcl_Time *timePtr) /* Maximum block time, or NULL. */ in Tcl_SetTimer() argument 278 tclStubs.tcl_SetTimer(timePtr); in Tcl_SetTimer() 294 if (!timePtr) { in Tcl_SetTimer() 302 timeout = timePtr->sec * 1000 + timePtr->usec / 1000; in Tcl_SetTimer() 432 Tcl_Time *timePtr) /* Maximum block time, or NULL. */ in Tcl_WaitForEvent() argument 446 return tclStubs.tcl_WaitForEvent(timePtr); in Tcl_WaitForEvent() 454 if (timePtr) { in Tcl_WaitForEvent() 455 timeout = timePtr->sec * 1000 + timePtr->usec / 1000; in Tcl_WaitForEvent()
|
/dports/lang/tcl85/tcl8.5.19/win/ |
H A D | tclWinNotify.c | 258 Tcl_Time *timePtr) /* Maximum block time, or NULL. */ in Tcl_SetTimer() argument 269 tclStubs.tcl_SetTimer(timePtr); in Tcl_SetTimer() 283 if (!timePtr) { in Tcl_SetTimer() 291 timeout = timePtr->sec * 1000 + timePtr->usec / 1000; in Tcl_SetTimer() 419 Tcl_Time *timePtr) /* Maximum block time, or NULL. */ in Tcl_WaitForEvent() argument 432 return tclStubs.tcl_WaitForEvent(timePtr); in Tcl_WaitForEvent() 439 if (timePtr) { in Tcl_WaitForEvent() 447 myTime.sec = timePtr->sec; in Tcl_WaitForEvent() 448 myTime.usec = timePtr->usec; in Tcl_WaitForEvent()
|