Home
last modified time | relevance | path

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

123456789

/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/poky/meta/recipes-extended/xinetd/xinetd/
H A D0001-Use-monotonic-time.patch39 time_t nowtime;
87 time_t now ;
122 time_t current_time ;
134 time_t nowtime;
144 time_t nowtime, new_time;
148 …new_time = (time_t)nowtime+(60*SC_DENY_TIME(SVC_CONF(sp))); if (difftime(new_t…
155 - time_t nowtime = time(NULL);
156 + time_t nowtime = _time(NULL);
274 +time_t _time(time_t *t)
286 @@ -68,7 +77,7 @@ int xtimer_add( void (*func)(void), time_t secs )
[all …]
/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/openbmc/poky/meta/recipes-extended/at/at/
H A Dposixtm.c88 time_t now; in year()
186 posixtime (time_t *p, const char *s, unsigned int syntax_bits) in posixtime()
199 time_t t; in posixtime()
208 if (t != (time_t) -1) in posixtime()
305 time_t t; in main()
/openbmc/qemu/tests/tcg/x86_64/
H A Dvsyscall.c6 typedef time_t (*time_func)(time_t *);
/openbmc/qemu/include/system/
H A Drtc.h45 void qemu_get_timedate(struct tm *tm, time_t offset);
56 time_t qemu_timedate_diff(struct tm *tm);
/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/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/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-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)
H A D0001-Align-structs-casts-with-time_t-elements-to-8byte-bo.patch4 Subject: [PATCH] Align structs casts with time_t elements to 8byte boundary
6 This helps with 64bit time_t conversion, especially where these
7 structures are typcasted to another struct types which have time_t
/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/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/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/u-boot/include/linux/
H A Dstat.h116 time_t st_atime;
118 time_t st_mtime;
120 time_t st_ctime;
/openbmc/qemu/hw/rtc/
H A Dm48t59-internal.h48 time_t time_offset;
49 time_t stop_time;
/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;
/openbmc/phosphor-host-ipmid/user_channel/
H A Dpasswd_mgr.hpp68 std::time_t fileLastUpdatedTime;
130 std::time_t getUpdatedFileTime();
H A Dchannel_mgmt.hpp253 std::time_t nvFileLastUpdatedTime;
254 std::time_t voltFileLastUpdatedTime;
417 std::time_t getUpdatedFileTime(const std::string& fileName);
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/openhpi/files/
H A Dopenhpi-fix-alignment-issue.patch15 + time_t the_time;
19 - *(time_t *)tb->Data);
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gnome/libwnck/files/
H A D0001-Fix-build-issue-caused-by-OE-core-changes-to-startup.patch15 …clude/startup-notification-1.0/libsn/sn-monitor.h:84:79: note: expected 'time_t *' {aka 'long long…
16 84 | time_t *tv_sec,
37 + (time_t *) &tv_sec, &tv_usec);
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/dvb-apps/files/
H A D0001-dvbdate-Remove-Obsoleted-stime-API-calls.patch17 @@ -309,7 +309,10 @@ int atsc_scan_date(time_t *rx_time, unsi
19 int set_time(time_t * new_time)
/openbmc/bmcweb/test/redfish-core/include/utils/
H A Dtime_utils_test.cpp90 EXPECT_EQ(getDateTimeStdtime(std::time_t{-1234567}), in TEST()
94 EXPECT_EQ(getDateTimeStdtime(std::time_t{0}), "1970-01-01T00:00:00+00:00"); in TEST()
97 EXPECT_EQ(getDateTimeStdtime(std::numeric_limits<std::time_t>::max()), in TEST()
99 EXPECT_EQ(getDateTimeStdtime(std::numeric_limits<std::time_t>::min()), in TEST()
/openbmc/qemu/hw/ppc/
H A Dspapr_rtc.c43 time_t guest_s; in spapr_rtc_read()
102 time_t new_s; in rtas_set_time_of_day()
143 time_t host_s; in spapr_rtc_realize()

123456789