Home
last modified time | relevance | path

Searched refs:time_t (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/openbmc/linux/tools/laptop/dslm/
H A Ddslm.c58 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 Drtc.c42 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/openbmc/meta-openembedded/meta-gnome/recipes-gnome/gthumb/gthumb/
H A D283c9483afd1215378c8b9871f51cd61770e53e7.patch4 Subject: [PATCH] migrate-catalogs: properly use time_t for localtime()
7 'date' variable from 'time_t' to 'long', to ensure the right type is
8 handled by sscanf(). The problem is that, in case 'time_t' is not the
14 to 'time_t' and use the right format specifier for it in sscanf();
17 a date timestamp was read from the file, set it to a new 'time_t'
18 variable which is then used for localtime(). Since 'time_t' is big at
36 + time_t date_as_time = date;
/openbmc/linux/tools/include/uapi/asm-generic/
H A Dsocket.h138 #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/arch/sparc/include/uapi/asm/
H A Dsocket.h147 #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/parisc/include/uapi/asm/
H A Dsocket.h144 #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/alpha/include/uapi/asm/
H A Dsocket.h153 #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/mips/include/uapi/asm/
H A Dsocket.h164 #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/linux/include/uapi/asm-generic/
H A Dsocket.h149 #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/openbmc/poky/meta/recipes-extended/at/at/
H A Dposixtm.c45 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 Dtime_t.patch7 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 Dvsock_perf.c41 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/poky/meta/recipes-devtools/dosfstools/dosfstools/
H A Dsource-date-epoch.patch38 time_t now;
49 - mtime = (now != (time_t)-1) ? localtime(&now) : NULL;
65 + mtime = (now != (time_t)-1) ? localtime(&now) : NULL;
88 - if (gettimeofday(&now, NULL) != 0 || now.tv_sec == (time_t)-1 || now.tv_sec < 0) {
103 + } else if (gettimeofday(&now, NULL) != 0 || now.tv_sec == (time_t)-1 || now.tv_sec < 0) {
123 if (create_time != (time_t)-1) {
141 - if (gettimeofday(&create_timeval, NULL) == 0 && create_timeval.tv_sec != (time_t)-1)
152 + } else if (gettimeofday(&create_timeval, NULL) == 0 && create_timeval.tv_sec != (time_t)-1) {
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/lowpan-tools/lowpan-tools/
H A D0001-addrdb-coord-config-parse.y-add-missing-time.h-inclu.patch9 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/u-boot/tools/
H A Dimagetool.c150 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/pldm/libpldmresponder/test/
H A Dlibpldmresponder_bios_test.cpp30 time_t epochTime = mktime(&time); in TEST()
50 std::time_t ret = 1555132693; in TEST()
59 std::time_t timeSec = 0; in TEST()
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-dvb/tvheadend/tvheadend/
H A D0001-adjust-for-64bit-time_t.patch4 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/openbmc/meta-openembedded/meta-oe/recipes-support/pidgin/pidgin-sipe/
H A D0001-sipe-consider-64bit-time_t-when-printing.patch4 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 Dvsyscall.c6 typedef time_t (*time_func)(time_t *);
/openbmc/qemu/include/sysemu/
H A Drtc.h45 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 Dtime.h16 time_t time(time_t *tptr) in time()
/openbmc/openbmc/meta-openembedded/meta-xfce/recipes-xfce/xfwm4/xfwm4/
H A Dxfwm4-fix-incompatible-pointer-type-error.patch10 | .../usr/include/startup-notification-1.0/libsn/sn-monitor.h:84:79: note: expected 'time_t *' {aka…
11 | 84 | time_t *tv_sec,
35 + sn_startup_sequence_get_last_active_time (sequence, (time_t *)&l_sec, &l_usec);
/openbmc/u-boot/include/linux/
H A Dstat.h116 time_t st_atime;
118 time_t st_mtime;
120 time_t st_ctime;
/openbmc/u-boot/post/drivers/
H A Drtc.c61 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()
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop/
H A Dgnome-desktop-thumbnail-don-t-assume-time_t-is-long.patch4 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;

12345678910>>...12