/external/ltp/testcases/kernel/io/disktest/ |
D | stats.c | 62 fmt_time_t time_struct; in print_stats() local 307 time_struct = format_time(hread_time); in print_stats() 310 hread_time, time_struct.hours, in print_stats() 311 time_struct.minutes, in print_stats() 312 time_struct.seconds); in print_stats() 315 time_struct = format_time(hwrite_time); in print_stats() 318 hwrite_time, time_struct.hours, in print_stats() 319 time_struct.minutes, in print_stats() 320 time_struct.seconds); in print_stats() 325 time_struct = format_time(read_time); in print_stats() [all …]
|
D | sfunc.c | 660 fmt_time_t time_struct; in format_time() local 662 time_struct.days = seconds / 86400; in format_time() 663 time_struct.hours = (seconds % 86400) / 3600; in format_time() 664 time_struct.minutes = (seconds % 3600) / 60; in format_time() 665 time_struct.seconds = seconds % 60; in format_time() 667 return time_struct; in format_time()
|
/external/stressapptest/src/ |
D | logger.cc | 45 struct tm time_struct; in VLogF() local 46 localtime_r(&raw_time, &time_struct); in VLogF() 48 &time_struct); in VLogF()
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest.cc | 3639 struct tm time_struct; in FormatEpochTimeInMillisAsIso8601() local 3640 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsIso8601() 3643 return StreamableToString(time_struct.tm_year + 1900) + "-" + in FormatEpochTimeInMillisAsIso8601() 3644 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" + in FormatEpochTimeInMillisAsIso8601() 3645 String::FormatIntWidth2(time_struct.tm_mday) + "T" + in FormatEpochTimeInMillisAsIso8601() 3646 String::FormatIntWidth2(time_struct.tm_hour) + ":" + in FormatEpochTimeInMillisAsIso8601() 3647 String::FormatIntWidth2(time_struct.tm_min) + ":" + in FormatEpochTimeInMillisAsIso8601() 3648 String::FormatIntWidth2(time_struct.tm_sec); in FormatEpochTimeInMillisAsIso8601() 4000 struct tm time_struct; in FormatEpochTimeInMillisAsRFC3339() local 4001 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsRFC3339() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/ |
D | gtest.cc | 3695 struct tm time_struct; in FormatEpochTimeInMillisAsIso8601() local 3696 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsIso8601() 3699 return StreamableToString(time_struct.tm_year + 1900) + "-" + in FormatEpochTimeInMillisAsIso8601() 3700 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" + in FormatEpochTimeInMillisAsIso8601() 3701 String::FormatIntWidth2(time_struct.tm_mday) + "T" + in FormatEpochTimeInMillisAsIso8601() 3702 String::FormatIntWidth2(time_struct.tm_hour) + ":" + in FormatEpochTimeInMillisAsIso8601() 3703 String::FormatIntWidth2(time_struct.tm_min) + ":" + in FormatEpochTimeInMillisAsIso8601() 3704 String::FormatIntWidth2(time_struct.tm_sec); in FormatEpochTimeInMillisAsIso8601() 4060 struct tm time_struct; in FormatEpochTimeInMillisAsRFC3339() local 4061 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsRFC3339() [all …]
|
/external/mesa3d/src/gtest/src/ |
D | gtest.cc | 3733 struct tm time_struct; in FormatEpochTimeInMillisAsIso8601() local 3734 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsIso8601() 3737 return StreamableToString(time_struct.tm_year + 1900) + "-" + in FormatEpochTimeInMillisAsIso8601() 3738 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" + in FormatEpochTimeInMillisAsIso8601() 3739 String::FormatIntWidth2(time_struct.tm_mday) + "T" + in FormatEpochTimeInMillisAsIso8601() 3740 String::FormatIntWidth2(time_struct.tm_hour) + ":" + in FormatEpochTimeInMillisAsIso8601() 3741 String::FormatIntWidth2(time_struct.tm_min) + ":" + in FormatEpochTimeInMillisAsIso8601() 3742 String::FormatIntWidth2(time_struct.tm_sec); in FormatEpochTimeInMillisAsIso8601() 4104 struct tm time_struct; in FormatEpochTimeInMillisAsRFC3339() local 4105 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsRFC3339() [all …]
|
/external/googletest/googletest/src/ |
D | gtest.cc | 4111 struct tm time_struct; in FormatEpochTimeInMillisAsIso8601() local 4112 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsIso8601() 4115 return StreamableToString(time_struct.tm_year + 1900) + "-" + in FormatEpochTimeInMillisAsIso8601() 4116 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" + in FormatEpochTimeInMillisAsIso8601() 4117 String::FormatIntWidth2(time_struct.tm_mday) + "T" + in FormatEpochTimeInMillisAsIso8601() 4118 String::FormatIntWidth2(time_struct.tm_hour) + ":" + in FormatEpochTimeInMillisAsIso8601() 4119 String::FormatIntWidth2(time_struct.tm_min) + ":" + in FormatEpochTimeInMillisAsIso8601() 4120 String::FormatIntWidth2(time_struct.tm_sec) + "." + in FormatEpochTimeInMillisAsIso8601() 4560 struct tm time_struct; in FormatEpochTimeInMillisAsRFC3339() local 4561 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsRFC3339() [all …]
|
/external/libaom/libaom/third_party/googletest/src/googletest/src/ |
D | gtest.cc | 3810 struct tm time_struct; in FormatEpochTimeInMillisAsIso8601() local 3811 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsIso8601() 3814 return StreamableToString(time_struct.tm_year + 1900) + "-" + in FormatEpochTimeInMillisAsIso8601() 3815 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" + in FormatEpochTimeInMillisAsIso8601() 3816 String::FormatIntWidth2(time_struct.tm_mday) + "T" + in FormatEpochTimeInMillisAsIso8601() 3817 String::FormatIntWidth2(time_struct.tm_hour) + ":" + in FormatEpochTimeInMillisAsIso8601() 3818 String::FormatIntWidth2(time_struct.tm_min) + ":" + in FormatEpochTimeInMillisAsIso8601() 3819 String::FormatIntWidth2(time_struct.tm_sec); in FormatEpochTimeInMillisAsIso8601() 4162 struct tm time_struct; in FormatEpochTimeInMillisAsRFC3339() local 4163 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsRFC3339() [all …]
|
/external/google-breakpad/src/tools/windows/converter_exe/ |
D | converter.cc | 91 struct tm time_struct; in CurrentDateAndTime() local 92 time_pointer = &time_struct; in CurrentDateAndTime()
|
/external/llvm-project/llvm/utils/unittest/googletest/src/ |
D | gtest.cc | 3575 struct tm time_struct; in FormatEpochTimeInMillisAsIso8601() local 3576 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsIso8601() 3579 return StreamableToString(time_struct.tm_year + 1900) + "-" + in FormatEpochTimeInMillisAsIso8601() 3580 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" + in FormatEpochTimeInMillisAsIso8601() 3581 String::FormatIntWidth2(time_struct.tm_mday) + "T" + in FormatEpochTimeInMillisAsIso8601() 3582 String::FormatIntWidth2(time_struct.tm_hour) + ":" + in FormatEpochTimeInMillisAsIso8601() 3583 String::FormatIntWidth2(time_struct.tm_min) + ":" + in FormatEpochTimeInMillisAsIso8601() 3584 String::FormatIntWidth2(time_struct.tm_sec); in FormatEpochTimeInMillisAsIso8601()
|
/external/scapy/scapy/layers/ |
D | dns.py | 693 time_struct = time.gmtime(self._convert_seconds(packed_seconds)) 694 return time.strftime("%a %b %d %H:%M:%S %Y", time_struct)
|
/external/fmtlib/test/ |
D | gmock-gtest-all.cc | 4585 const struct tm* const time_struct = localtime(&seconds); // NOLINT in FormatEpochTimeInMillisAsIso8601() local 4588 const struct tm* const time_struct = localtime(&seconds); // NOLINT in FormatEpochTimeInMillisAsIso8601() local 4590 if (time_struct == NULL) return ""; // Invalid ms value in FormatEpochTimeInMillisAsIso8601() 4593 return StreamableToString(time_struct->tm_year + 1900) + "-" + in FormatEpochTimeInMillisAsIso8601() 4594 String::FormatIntWidth2(time_struct->tm_mon + 1) + "-" + in FormatEpochTimeInMillisAsIso8601() 4595 String::FormatIntWidth2(time_struct->tm_mday) + "T" + in FormatEpochTimeInMillisAsIso8601() 4596 String::FormatIntWidth2(time_struct->tm_hour) + ":" + in FormatEpochTimeInMillisAsIso8601() 4597 String::FormatIntWidth2(time_struct->tm_min) + ":" + in FormatEpochTimeInMillisAsIso8601() 4598 String::FormatIntWidth2(time_struct->tm_sec); in FormatEpochTimeInMillisAsIso8601()
|
/external/python/cpython3/Lib/test/ |
D | test_xmlrpc.py | 468 time_struct = time.struct_time( 470 localtime_mock.return_value = time_struct
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/ |
D | gmock-gtest-all.cc | 5023 struct tm time_struct; in FormatEpochTimeInMillisAsIso8601() local 5024 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsIso8601() 5027 return StreamableToString(time_struct.tm_year + 1900) + "-" + in FormatEpochTimeInMillisAsIso8601() 5028 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" + in FormatEpochTimeInMillisAsIso8601() 5029 String::FormatIntWidth2(time_struct.tm_mday) + "T" + in FormatEpochTimeInMillisAsIso8601() 5030 String::FormatIntWidth2(time_struct.tm_hour) + ":" + in FormatEpochTimeInMillisAsIso8601() 5031 String::FormatIntWidth2(time_struct.tm_min) + ":" + in FormatEpochTimeInMillisAsIso8601() 5032 String::FormatIntWidth2(time_struct.tm_sec); in FormatEpochTimeInMillisAsIso8601()
|