/dports/mail/elm/elm2.5.8/src/ |
H A D | date.c | 69 the_time = localtime(&junk); 73 the_time->tm_wday = (the_time->tm_wday + days) % 7; 76 the_time->tm_mday += days; 78 while (the_time->tm_mday > days_in_month[the_time->tm_mon]) { 79 if (the_time->tm_mon == FEB && leapyear(the_time->tm_year+1900)) { 82 the_time->tm_mon += 1; 88 the_time->tm_mday -= days_in_month[the_time->tm_mon]; 89 the_time->tm_mon += 1; 93 if (the_time->tm_mon > MONTHS_IN_YEAR) { 95 the_time->tm_year += 1; [all …]
|
/dports/deskutils/gcal/gcal-4.1/src/ |
H A D | rc-astro.c | 728 the_time = DAY2HH (time_offset) - the_time; 730 the_time = HH2SS (the_time); 742 the_time = DAY2HH (time_offset) - the_time; 744 the_time = HH2SS (the_time); 831 the_time = 1472 if (the_time < 0.0 || the_time >= HOURS_PER_DAY) 1944 the_time = -(the_time - DEGS_PER_24_HOURS); 2154 the_time = DAY2HH (time_offset) - the_time; 2156 the_time = HH2SS (the_time); 2169 the_time = DAY2HH (time_offset) - the_time; [all …]
|
H A D | rc-insert.c | 1587 the_time = 1593 the_time = 1599 the_time = 1609 the_time = -the_time; 1674 the_time--; 1690 the_time++; 2716 the_time = KM2SM (the_time); 2851 the_time = 2907 the_time = 2915 the_time = HOURS_PER_DAY - the_time; [all …]
|
/dports/math/libflame/libflame-5.2.0/src/base/flamec/util/base/ |
H A D | FLA_Clock.c | 43 double the_time; in FLA_Clock_helper() local 44 the_time = 0.0; in FLA_Clock_helper() 47 double the_time, norm_sec; in FLA_Clock_helper() 63 the_time = norm_sec + tsp.tv_nsec * 1.0e-9; in FLA_Clock_helper() 68 double the_time, norm_sec; in FLA_Clock_helper() 84 the_time = norm_sec + tv.tv_usec * 1.0e-6; in FLA_Clock_helper() 88 the_time = 0.0; in FLA_Clock_helper() 94 return the_time; in FLA_Clock_helper() 174 double the_time, norm_sec; in FLA_Clock_helper() local 191 the_time = norm_sec + tv.tv_usec * 1.0e-6; in FLA_Clock_helper() [all …]
|
/dports/net/sctplib/sctplib-1.0.26/sctplib/sctp/ |
H A D | globals.c | 189 struct tm *the_time; in debug_vwrite() local 192 the_time = localtime((time_t *) & (tv.tv_sec)); in debug_vwrite() 195 the_time->tm_hour, in debug_vwrite() 196 the_time->tm_min, the_time->tm_sec, (int) (tv.tv_usec / 1000)) < 1) in debug_vwrite() 245 struct tm *the_time; in event_log1() local 263 the_time = localtime((time_t *) & (tv.tv_sec)); in event_log1() 266 … the_time->tm_hour, the_time->tm_min, the_time->tm_sec, (int) (tv.tv_usec / 1000)); in event_log1() 272 … the_time->tm_hour, the_time->tm_min, the_time->tm_sec, (int) (tv.tv_usec / 1000)); in event_log1()
|
/dports/devel/simgear/simgear-2020.3.11/simgear/timing/ |
H A D | sg_time.hxx | 217 inline time_t sgTimeGetGMT(struct tm* the_time) { in sgTimeGetGMT() argument 219 return sgTimeGetGMT(the_time->tm_year, in sgTimeGetGMT() 220 the_time->tm_mon, in sgTimeGetGMT() 221 the_time->tm_mday, in sgTimeGetGMT() 222 the_time->tm_hour, in sgTimeGetGMT() 223 the_time->tm_min, in sgTimeGetGMT() 224 the_time->tm_sec); in sgTimeGetGMT()
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/util/ |
H A D | system_tick_source.cpp | 107 timespec the_time; in timerNowPosixMonotonicClock() local 110 fassert(16160, !clock_gettime(CLOCK_MONOTONIC, &the_time)); in timerNowPosixMonotonicClock() 114 result = static_cast<long long>(the_time.tv_sec); in timerNowPosixMonotonicClock() 116 result += static_cast<long long>(the_time.tv_nsec); in timerNowPosixMonotonicClock() 133 timespec the_time; in initTickSource() local 134 fassert(16162, !clock_gettime(CLOCK_MONOTONIC, &the_time)); in initTickSource() 135 fassert(16163, static_cast<long long>(the_time.tv_sec) < maxSecs); in initTickSource()
|
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/ |
H A D | whirlygig.c | 166 double new_time = ((the_time % 360 ) / 180.0) * M_PI; in funky() 186 double arg = (double)the_time / frequency; in innie() 188 double fun = 150.0 * cos((double)the_time / 2000.0); in innie() 208 double time = (double)the_time / 100.0; in lissajous() 209 double fun = 15.0 * cos((double)the_time / 800.0); in lissajous() 240 if ((the_time % (max * 2)) < max) 241 amplitude = max - ((the_time % (max * 2)) - max); 243 amplitude = the_time % (max * 2); 269 if ((the_time % (max * 2)) < max) in fun() 270 amplitude = max - ((the_time % (max * 2)) - max); in fun() [all …]
|
/dports/devel/allegro/allegro-4.4.3.1/examples/ |
H A D | excustom.c | 33 struct tm the_time; variable 102 the_time = *t; in clock_proc() 139 if ((the_time.tm_sec != t->tm_sec) || in clock_proc() 140 (the_time.tm_min != t->tm_min) || in clock_proc() 141 (the_time.tm_hour != t->tm_hour)) { in clock_proc() 142 the_time = *t; in clock_proc() 168 draw_hand(temp, the_time.tm_sec, 60, 0, 1, itofix(9)/10, d->fg); in clock_proc() 169 draw_hand(temp, the_time.tm_min, 60, the_time.tm_sec, 60, itofix(5)/6, d->fg); in clock_proc() 170 draw_hand(temp, the_time.tm_hour, 12, the_time.tm_min, 60, itofix(1)/2, d->fg); in clock_proc()
|
/dports/math/blis/blis-0.8.1/frame/base/ |
H A D | bli_clock.c | 118 double the_time = (double) nsec * 1.0e-9 * timebase.numer / timebase.denom; in bli_clock_helper() local 121 gtod_ref_time_sec = the_time; in bli_clock_helper() 123 return the_time - gtod_ref_time_sec; in bli_clock_helper() 132 double the_time, norm_sec; in bli_clock_helper() local 142 the_time = norm_sec + ts.tv_nsec * 1.0e-9; in bli_clock_helper() 144 return the_time; in bli_clock_helper()
|
/dports/devel/efl/efl-1.25.1/src/bin/elementary/ |
H A D | test_calendar.c | 42 m = elm_calendar_mark_add(cal, "checked", gmtime(&the_time), ELM_CALENDAR_MONTHLY); in set_api_state() 43 elm_calendar_selected_time_set(cal, gmtime(&the_time)); in set_api_state() 52 elm_calendar_selected_time_set(cal, gmtime(&the_time)); in set_api_state() 61 elm_calendar_selected_time_set(cal, gmtime(&the_time)); in set_api_state() 69 elm_calendar_selected_time_set(cal, gmtime(&the_time)); in set_api_state() 78 elm_calendar_selected_time_set(cal, gmtime(&the_time)); in set_api_state() 144 time_t the_time = (SEC_PER_YEAR * 41) + (SEC_PER_DAY * 9); /* Set date to DEC 31, 2010 */ in test_calendar() local 145 elm_calendar_selected_time_set(cal, gmtime(&the_time)); in test_calendar() 240 elm_calendar_date_min_set(cal, gmtime(&the_time)); in _calendar_create() 241 the_time = (SEC_PER_YEAR * 42) + (SEC_PER_DAY * 3); /* Set max date to DEC 25, 2011 */ in _calendar_create() [all …]
|
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gdk/directfb/ |
H A D | gdkmain-directfb.c | 293 guint32 the_time = gdk_directfb_get_time (); in gdk_directfb_event_fill() local 302 event->motion.time = the_time; in gdk_directfb_event_fill() 309 event->button.time = the_time; in gdk_directfb_event_fill() 314 event->key.time = the_time; in gdk_directfb_event_fill() 318 event->crossing.time = the_time; in gdk_directfb_event_fill() 321 event->property.time = the_time; in gdk_directfb_event_fill() 326 event->selection.time = the_time; in gdk_directfb_event_fill() 330 event->proximity.time = the_time; in gdk_directfb_event_fill() 338 event->dnd.time = the_time; in gdk_directfb_event_fill() 341 event->scroll.time = the_time; in gdk_directfb_event_fill()
|
/dports/net/pjsip/pjproject-2.11.1/pjlib/src/pj/ |
H A D | os_time_unix.c | 34 struct timeval the_time; in pj_gettimeofday() local 39 rc = gettimeofday(&the_time, NULL); in pj_gettimeofday() 43 p_tv->sec = the_time.tv_sec; in pj_gettimeofday() 44 p_tv->msec = the_time.tv_usec / 1000; in pj_gettimeofday()
|
/dports/science/minc2/minc-release-2.2.00/libsrc/ |
H A D | time_stamp.c | 83 char *str, *the_time; in time_stamp() local 90 the_time = ctime(&timer); in time_stamp() 93 length=strlen(the_time) + strlen(separator) + 2; in time_stamp() 100 (void) strcpy(str, the_time); in time_stamp()
|
/dports/security/clamav-lts/clamav-0.103.5/libclamav/c++/llvm/lib/System/Unix/ |
H A D | TimeValue.inc | 40 struct timeval the_time; 41 timerclear(&the_time); 42 if (0 != ::gettimeofday(&the_time,0)) { 51 static_cast<TimeValue::SecondsType>( the_time.tv_sec + PosixZeroTime.seconds_ ), 52 static_cast<TimeValue::NanoSecondsType>( the_time.tv_usec *
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/MINC/src/libminc/libcommon/ |
H A D | time_stamp.c | 101 char *str, *the_time; in time_stamp() local 109 the_time = ctime(&timer); in time_stamp() 112 length=strlen(the_time) + strlen(separator) + 2; in time_stamp() 121 (void) strcpy(str, the_time); in time_stamp()
|
/dports/editors/gedit/gedit-40.1/plugins/time/ |
H A D | gedit-time-plugin.c | 751 const gchar *the_time) in real_insert_time() argument 770 gchar *the_time; in choose_format_dialog_row_activated() local 782 g_return_if_fail (the_time != NULL); in choose_format_dialog_row_activated() 786 g_free (the_time); in choose_format_dialog_row_activated() 903 gchar *the_time; in choose_format_dialog_response_cb() local 927 the_time = get_time (format); in choose_format_dialog_response_cb() 940 g_free (the_time); in choose_format_dialog_response_cb() 959 gchar *the_time = NULL; in time_cb() local 974 the_time = get_time (cf); in time_cb() 980 the_time = get_time (sf); in time_cb() [all …]
|
/dports/editors/xed/xed-3.2.0/plugins/time/ |
H A D | xed-time-plugin.c | 727 gchar *the_time; in choose_format_dialog_row_activated() local 735 g_return_if_fail (the_time != NULL); in choose_format_dialog_row_activated() 739 g_free (the_time); in choose_format_dialog_row_activated() 879 gchar *the_time; in choose_format_dialog_response_cb() local 908 g_free (the_time); in choose_format_dialog_response_cb() 925 gchar *the_time = NULL; in time_cb() local 940 the_time = get_time (cf); in time_cb() 946 the_time = get_time (sf); in time_cb() 968 g_return_if_fail (the_time != NULL); in time_cb() 970 real_insert_time (buffer, the_time); in time_cb() [all …]
|
/dports/misc/posixtestsuite/posixtestsuite/conformance/interfaces/gmtime/ |
H A D | 1-1.c | 21 time_t the_time; in main() local 24 (void) time(&the_time); in main() 25 tm_ptr = gmtime(&the_time); in main() 26 printf("Raw time is %ld \n", the_time); in main()
|
H A D | 2-1.c | 21 time_t the_time; in main() local 23 (void) time(&the_time); in main() 25 tm_ptr = gmtime(&the_time); in main()
|
/dports/devel/llbuild/swift-llbuild-swift-DEVELOPMENT-SNAPSHOT-2017-12-10-a/lib/llvm/Support/Unix/ |
H A D | TimeValue.inc | 37 struct timeval the_time; 38 timerclear(&the_time); 39 if (0 != ::gettimeofday(&the_time,nullptr)) { 48 static_cast<TimeValue::SecondsType>( the_time.tv_sec + 50 static_cast<TimeValue::NanoSecondsType>( the_time.tv_usec *
|
/dports/misc/posixtestsuite/posixtestsuite/conformance/interfaces/strftime/ |
H A D | 3-1.c | 20 time_t the_time; in main() local 24 (void) time(&the_time); in main() 25 tm_ptr = localtime(&the_time); in main()
|
/dports/editors/pluma/pluma-1.26.0/plugins/time/ |
H A D | pluma-time-plugin.c | 812 const gchar *the_time) in real_insert_time() argument 831 gchar *the_time; in choose_format_dialog_row_activated() local 839 g_return_if_fail (the_time != NULL); in choose_format_dialog_row_activated() 843 g_free (the_time); in choose_format_dialog_row_activated() 996 gchar *the_time; in choose_format_dialog_response_cb() local 1016 the_time = get_time (format); in choose_format_dialog_response_cb() 1025 g_free (the_time); in choose_format_dialog_response_cb() 1042 gchar *the_time = NULL; in time_cb() local 1056 the_time = get_time (cf); in time_cb() 1062 the_time = get_time (sf); in time_cb() [all …]
|
/dports/math/vtk6/VTK-6.2.0/ThirdParty/hdf5/vtkhdf5/src/ |
H A D | H5Omtime.c | 178 time_t *mesg, the_time; in H5O_mtime_decode() local 215 if((time_t)-1 == (the_time = HDmktime(&tm))) in H5O_mtime_decode() 220 the_time += tm.tm_gmtoff; in H5O_mtime_decode() 223 the_time += tm.__tm_gmtoff; in H5O_mtime_decode() 226 the_time -= timezone - (tm.tm_isdst?3600:0); in H5O_mtime_decode() 234 the_time -= tz.tz_minuteswest * 60 - (tm.tm_isdst ? 3600 : 0); in H5O_mtime_decode() 244 the_time -= tz.tz_minuteswest * 60 - (tm.tm_isdst ? 3600 : 0); in H5O_mtime_decode() 262 *mesg = the_time; in H5O_mtime_decode()
|
/dports/sysutils/conan/conan-1.44.0/conans/server/ |
H A D | revision_list.py | 23 def _fix_timestamp(the_time): argument 28 if not isinstance(the_time, float): 29 return the_time 31 return from_timestamp_to_iso8601(the_time)
|