/openbmc/linux/tools/laptop/dslm/ |
H A D | dslm.c | 58 static char *myctime(time_t time) in myctime() 68 time_t start_time; in measure() 70 time_t last_time; in measure() 72 time_t curr_time = 0; in measure() 73 time_t time_diff; in measure() 74 time_t active_time = 0; in measure() 75 time_t sleep_time = 0; in measure() 76 time_t unknown_time = 0; in measure() 77 time_t total_time = 0; in measure()
|
/openbmc/qemu/system/ |
H A D | rtc.c | 42 static time_t rtc_ref_start_datetime; 49 static time_t qemu_ref_timedate(QEMUClockType clock) in qemu_ref_timedate() 51 time_t value = qemu_clock_get_ms(clock) / 1000; in qemu_ref_timedate() 70 void qemu_get_timedate(struct tm *tm, time_t offset) in qemu_get_timedate() 72 time_t ti = qemu_ref_timedate(rtc_clock); in qemu_get_timedate() 87 time_t qemu_timedate_diff(struct tm *tm) in qemu_timedate_diff() 89 time_t seconds; in qemu_timedate_diff() 112 time_t rtc_start_datetime; in configure_rtc_base_datetime()
|
/openbmc/qemu/tests/tcg/cris/libc/ |
H A D | check_time2.c | 11 time_t x = (time_t) -1; in main() 12 time_t t = time (&x); in main() 14 if (t == (time_t) -1 || t != x) in main()
|
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-httpd/cherokee/cherokee/ |
H A D | 0001-common-internal.h-Define-LLONG_MAX-if-undefined.patch | 6 time_t can also be long long type, therefore check for that as fallback 7 Fixes build on 32bit hosts where time_t is fixed for Y2K38 33 /* time_t limit 37 # define TIME_MAX ((time_t)INT_MAX) 39 # define TIME_MAX ((time_t)LONG_MAX) 41 +# define TIME_MAX ((time_t)LLONG_MAX)
|
/openbmc/linux/tools/include/uapi/asm-generic/ |
H A D | socket.h | 138 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N… 139 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA… 140 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… 142 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW) 143 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
|
/openbmc/linux/include/uapi/asm-generic/ |
H A D | socket.h | 149 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N… 150 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA… 151 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… 153 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW) 154 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
|
/openbmc/linux/arch/sparc/include/uapi/asm/ |
H A D | socket.h | 147 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N… 148 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA… 149 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… 151 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW) 152 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
|
/openbmc/linux/arch/alpha/include/uapi/asm/ |
H A D | socket.h | 153 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N… 154 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA… 155 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… 157 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW) 158 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
|
/openbmc/linux/arch/parisc/include/uapi/asm/ |
H A D | socket.h | 144 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N… 145 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA… 146 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… 148 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW) 149 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
|
/openbmc/linux/arch/mips/include/uapi/asm/ |
H A D | socket.h | 164 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N… 165 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA… 166 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… 168 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW) 169 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
|
/openbmc/openbmc/poky/meta/recipes-extended/at/at/ |
H A D | posixtm.c | 45 time_t mktime (); 90 time_t now; in year() 188 posixtime (time_t *p, const char *s, unsigned int syntax_bits) in posixtime() 201 time_t t; in posixtime() 210 if (t != (time_t) -1) in posixtime() 307 time_t t; in main()
|
/openbmc/openbmc/poky/meta/recipes-graphics/startup-notification/startup-notification-0.12/ |
H A D | time_t.patch | 7 Subject: [PATCH 1/3] Fix crash on 32bit architectures where time_t is 64 bit 9 This is an ABI change on platforms where sizeof(time_t) doesn't equal 11 at present. OpenBSD recently switched to 64bit time_t on all architectures 12 to avoid time_t overflow in 2038 on 32bit machines. 36 + time_t *tv_sec, 47 + time_t *tv_sec, 62 + time_t *tv_sec, 67 + time_t *tv_sec,
|
/openbmc/linux/tools/testing/vsock/ |
H A D | vsock_perf.c | 41 static time_t current_nsec(void) in current_nsec() 126 static float get_gbps(unsigned long bits, time_t ns_delta) in get_gbps() 135 time_t rx_begin_ns; in run_receiver() 136 time_t in_read_ns; in run_receiver() 216 time_t t; in run_receiver() 252 time_t tx_begin_ns; in run_sender() 253 time_t tx_total_ns; in run_sender()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/libidn/libidn/ |
H A D | 0001-largefile.m4-Sync-with-latest-gnulib.patch | 62 +# C code used to probe for time_t that can represent time points more 69 + /* Check that time_t can represent 2**32 - 1 correctly. */ 71 + ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30))) 97 +# options and #defines as necessary to enable large time_t support. 100 +# large values of time_t correctly, as that would require use of 101 +# AC_TRY_RUN. Note also that some systems only support large time_t 146 + but no mechanism for enabling wide 'time_t' was detected. 186 + [the 'time_t' type is currently forced to be 32-bit. 219 +# detect and activate support for large time_t on 32-bit systems. 232 +# Attempt to detect and activate support for large time_t. [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/lowpan-tools/lowpan-tools/ |
H A D | 0001-addrdb-coord-config-parse.y-add-missing-time.h-inclu.patch | 9 The %union definition uses the time_t structure. In order to use this 14 coord-config-parse.y:107:2: error: unknown type name ‘time_t’ 15 time_t timestamp; 43 time_t timestamp;
|
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_bios_test.cpp | 31 time_t epochTime = mktime(&time); in TEST() 51 std::time_t ret = 1555132693; in TEST() 60 std::time_t timeSec = 0; in TEST()
|
/openbmc/u-boot/tools/ |
H A D | imagetool.c | 150 time_t imagetool_get_source_date( in imagetool_get_source_date() 152 time_t fallback) in imagetool_get_source_date() 159 time_t time = (time_t) strtol(source_date_epoch, NULL, 10); in imagetool_get_source_date()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/pidgin/pidgin-sipe/ |
H A D | 0001-sipe-consider-64bit-time_t-when-printing.patch | 4 Subject: [PATCH] sipe: consider 64bit time_t when printing 6 This helps printing 64bit time_t on 32bit architectures 18 @@ -414,8 +414,8 @@ sipe_utils_time_to_str(time_t timestamp)
|
/openbmc/qemu/tests/tcg/x86_64/ |
H A D | vsyscall.c | 6 typedef time_t (*time_func)(time_t *);
|
/openbmc/qemu/include/sysemu/ |
H A D | rtc.h | 45 void qemu_get_timedate(struct tm *tm, time_t offset); 56 time_t qemu_timedate_diff(struct tm *tm);
|
/openbmc/linux/tools/include/nolibc/ |
H A D | time.h | 16 time_t time(time_t *tptr) in time()
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-dvb/tvheadend/tvheadend/ |
H A D | 0001-adjust-for-64bit-time_t.patch | 4 Subject: [PATCH] adjust for 64bit time_t 6 Break assumption about time_t being of certain size, and use intmax_t to 22 @@ -329,9 +329,9 @@ cron_next ( cron_t *c, const time_t now, 57 epggrab_ota_next_arm( time_t next ) 71 + v[i] = (time_t)llabs((long long)(r[i] - t)); 122 - snprintf(buf, sizeof(buf), "%"PRItime_t, (time_t)dvr_entry_get_start_time((dvr_entry_t *)aux, 0)… 131 - snprintf(buf, sizeof(buf), "%"PRItime_t, (time_t)dvr_entry_get_stop_time((dvr_entry_t *)aux)); 165 - (time_t)dvr_entry_get_extra_time_pre(de), 171 - (time_t)dvr_entry_get_extra_time_post(de),
|
/openbmc/u-boot/include/linux/ |
H A D | stat.h | 116 time_t st_atime; 118 time_t st_mtime; 120 time_t st_ctime;
|
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop/ |
H A D | gnome-desktop-thumbnail-don-t-assume-time_t-is-long.patch | 4 Subject: [PATCH 1/2] gnome-desktop-thumbnail: don't convert time_t to long 7 build for X32, where long's size doesn't match that of time_t. 41 time_t thumb_mtime;
|
/openbmc/u-boot/post/drivers/ |
H A D | rtc.c | 61 time_t t = rtc_mktime(tm) + sec; in rtc_post_restore() 117 time_t t; in rtc_post_test() 148 time_t t; in rtc_post_test()
|