Home
last modified time | relevance | path

Searched refs:local_time (Results 1 – 11 of 11) sorted by relevance

/third_party/FatFs/source/
Ddiskio.c216 struct tm local_time = {0}; in get_fattime() local
220 if (localtime_r(&seconds, &local_time) == NULL) in get_fattime()
222 if ((local_time.tm_year + 1900) < 1980) { /* year must start at 1980 */ in get_fattime()
227 return ((DWORD)(local_time.tm_year - 80) << 25) | in get_fattime()
228 ((DWORD)(local_time.tm_mon + 1) << 21) | in get_fattime()
229 ((DWORD)local_time.tm_mday << 16) | in get_fattime()
230 ((DWORD)local_time.tm_hour << 11) | in get_fattime()
231 ((DWORD)local_time.tm_min << 5) | in get_fattime()
232 ((DWORD)local_time.tm_sec >> 1); in get_fattime()
/third_party/gn/src/base/
Dlogging.cc201 SYSTEMTIME local_time; in Init() local
202 GetLocalTime(&local_time); in Init()
203 stream_ << std::setfill('0') << std::setw(2) << local_time.wMonth in Init()
204 << std::setw(2) << local_time.wDay << '/' << std::setw(2) in Init()
205 << local_time.wHour << std::setw(2) << local_time.wMinute in Init()
206 << std::setw(2) << local_time.wSecond << '.' << std::setw(3) in Init()
207 << local_time.wMilliseconds << ':'; in Init()
212 struct tm local_time; in Init() local
213 localtime_r(&t, &local_time); in Init()
214 struct tm* tm_time = &local_time; in Init()
/third_party/gstreamer/gstreamer/libs/gst/net/
Dgstnettimepacket.c73 ret->local_time = GST_READ_UINT64_BE (buffer); in gst_net_time_packet_new()
76 ret->local_time = GST_CLOCK_TIME_NONE; in gst_net_time_packet_new()
109 ret->local_time = packet->local_time; in gst_net_time_packet_copy()
137 GST_WRITE_UINT64_BE (ret, packet->local_time); in gst_net_time_packet_serialize()
Dgstnettimepacket.h47 GstClockTime local_time; member
Dgstnetclientclock.c721 packet->local_time = in gst_net_client_internal_clock_thread()
726 GST_TIME_ARGS (packet->local_time)); in gst_net_client_internal_clock_thread()
812 GST_TIME_ARGS (packet->local_time)); in gst_net_client_internal_clock_thread()
819 gst_net_client_internal_clock_observe_times (self, packet->local_time, in gst_net_client_internal_clock_thread()
/third_party/cef/libcef/browser/devtools/
Ddevtools_frontend.cc110 SYSTEMTIME local_time; in WriteTimestamp() local
111 GetLocalTime(&local_time); in WriteTimestamp()
112 stream << std::setfill('0') << std::setw(2) << local_time.wMonth in WriteTimestamp()
113 << std::setw(2) << local_time.wDay << '/' << std::setw(2) in WriteTimestamp()
114 << local_time.wHour << std::setw(2) << local_time.wMinute in WriteTimestamp()
115 << std::setw(2) << local_time.wSecond << '.' << std::setw(3) in WriteTimestamp()
116 << local_time.wMilliseconds; in WriteTimestamp()
121 struct tm local_time; in WriteTimestamp()
122 localtime_r(&t, &local_time); in WriteTimestamp()
123 struct tm* tm_time = &local_time; in WriteTimestamp()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_libc.cc120 inline std::tm* local_time(const std::time_t* timep, std::tm* result) { in local_time() function
143 const std::tm* tmp = local_time(t, &tm2); in make_time()
162 std::tm* tmp = local_time(&mid, &tm); in find_trans()
173 tmp = local_time(&lo, &tm); in find_trans()
210 std::tm* tmp = local_ ? local_time(&t, &tm) : gm_time(&t, &tm); in BreakTime()
/third_party/gstreamer/gstplugins_good/ext/raw1394/
Dgst1394clock.c115 guint64 local_time; in gst_1394_clock_get_internal_time() local
121 raw1394_read_cycle_timer (_1394clock->handle, &cycle_timer, &local_time); in gst_1394_clock_get_internal_time()
/third_party/gstreamer/gstreamer/tests/check/libs/
Dgstnettimeprovider.c85 packet->local_time = local = gst_clock_get_time (clock); in GST_START_TEST()
94 fail_unless (packet->local_time == local, "local time is not the same"); in GST_START_TEST()
/third_party/python/Modules/
D_datetimemodule.c4940 struct tm local_time; in local() local
4949 if (_PyTime_localtime(t, &local_time) != 0) in local()
4951 return utc_to_seconds(local_time.tm_year + 1900, in local()
4952 local_time.tm_mon + 1, in local()
4953 local_time.tm_mday, in local()
4954 local_time.tm_hour, in local()
4955 local_time.tm_min, in local()
4956 local_time.tm_sec); in local()
5896 PyObject *local_time, *utc_time; in local_timezone_from_timestamp() local
5901 local_time = new_datetime(local_time_tm.tm_year + 1900, in local_timezone_from_timestamp()
[all …]
/third_party/ffmpeg/libavformat/
Dwebmdashenc.c99 time_t local_time = time(NULL); in write_header() local
101 struct tm *gmt = gmtime_r(&local_time, &gmt_buffer); in write_header()