/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/googletest/googletest/src/ |
D | gtest.cc | 3682 struct tm time_struct; in FormatEpochTimeInMillisAsIso8601() local 3683 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsIso8601() 3686 return StreamableToString(time_struct.tm_year + 1900) + "-" + in FormatEpochTimeInMillisAsIso8601() 3687 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" + in FormatEpochTimeInMillisAsIso8601() 3688 String::FormatIntWidth2(time_struct.tm_mday) + "T" + in FormatEpochTimeInMillisAsIso8601() 3689 String::FormatIntWidth2(time_struct.tm_hour) + ":" + in FormatEpochTimeInMillisAsIso8601() 3690 String::FormatIntWidth2(time_struct.tm_min) + ":" + in FormatEpochTimeInMillisAsIso8601() 3691 String::FormatIntWidth2(time_struct.tm_sec); in FormatEpochTimeInMillisAsIso8601() 4044 struct tm time_struct; in FormatEpochTimeInMillisAsRFC3339() local 4045 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsRFC3339() [all …]
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest.cc | 3208 const struct tm* const time_struct = localtime(&seconds); // NOLINT in FormatEpochTimeInMillisAsIso8601() local 3211 const struct tm* const time_struct = localtime(&seconds); // NOLINT in FormatEpochTimeInMillisAsIso8601() local 3213 if (time_struct == NULL) in FormatEpochTimeInMillisAsIso8601() 3217 time_struct->tm_year + 1900, in FormatEpochTimeInMillisAsIso8601() 3218 time_struct->tm_mon + 1, in FormatEpochTimeInMillisAsIso8601() 3219 time_struct->tm_mday, in FormatEpochTimeInMillisAsIso8601() 3220 time_struct->tm_hour, in FormatEpochTimeInMillisAsIso8601() 3221 time_struct->tm_min, in FormatEpochTimeInMillisAsIso8601() 3222 time_struct->tm_sec); in FormatEpochTimeInMillisAsIso8601()
|
/external/libaom/libaom/third_party/googletest/src/googletest/src/ |
D | gtest.cc | 3576 struct tm time_struct; in FormatEpochTimeInMillisAsIso8601() local 3577 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsIso8601() 3580 return StreamableToString(time_struct.tm_year + 1900) + "-" + in FormatEpochTimeInMillisAsIso8601() 3581 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" + in FormatEpochTimeInMillisAsIso8601() 3582 String::FormatIntWidth2(time_struct.tm_mday) + "T" + in FormatEpochTimeInMillisAsIso8601() 3583 String::FormatIntWidth2(time_struct.tm_hour) + ":" + in FormatEpochTimeInMillisAsIso8601() 3584 String::FormatIntWidth2(time_struct.tm_min) + ":" + in FormatEpochTimeInMillisAsIso8601() 3585 String::FormatIntWidth2(time_struct.tm_sec); in FormatEpochTimeInMillisAsIso8601()
|
/external/swiftshader/third_party/llvm-7.0/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/mesa3d/src/gtest/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/epid-sdk/ext/gtest/ |
D | gtest-all.cc | 5027 struct tm time_struct; in FormatEpochTimeInMillisAsIso8601() local 5028 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsIso8601() 5031 return StreamableToString(time_struct.tm_year + 1900) + "-" + in FormatEpochTimeInMillisAsIso8601() 5032 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" + in FormatEpochTimeInMillisAsIso8601() 5033 String::FormatIntWidth2(time_struct.tm_mday) + "T" + in FormatEpochTimeInMillisAsIso8601() 5034 String::FormatIntWidth2(time_struct.tm_hour) + ":" + in FormatEpochTimeInMillisAsIso8601() 5035 String::FormatIntWidth2(time_struct.tm_min) + ":" + in FormatEpochTimeInMillisAsIso8601() 5036 String::FormatIntWidth2(time_struct.tm_sec); in FormatEpochTimeInMillisAsIso8601()
|
/external/python/cpython3/Lib/test/ |
D | test_xmlrpc.py | 466 time_struct = time.struct_time( 468 localtime_mock.return_value = time_struct
|