Searched refs:time_struct (Results 1 - 12 of 12) sorted by relevance

/external/ltp/testcases/kernel/io/disktest/
H A Dstats.c62 fmt_time_t time_struct; local
307 time_struct = format_time(hread_time);
310 hread_time, time_struct.hours,
311 time_struct.minutes,
312 time_struct.seconds);
315 time_struct = format_time(hwrite_time);
318 hwrite_time, time_struct.hours,
319 time_struct.minutes,
320 time_struct.seconds);
325 time_struct
[all...]
H A Dsfunc.c660 fmt_time_t time_struct; local
662 time_struct.days = seconds / 86400;
663 time_struct.hours = (seconds % 86400) / 3600;
664 time_struct.minutes = (seconds % 3600) / 60;
665 time_struct.seconds = seconds % 60;
667 return time_struct;
/external/stressapptest/src/
H A Dlogger.cc45 struct tm time_struct; local
46 localtime_r(&raw_time, &time_struct);
48 &time_struct);
/external/google-breakpad/src/testing/gtest/src/
H A Dgtest.cc3208 const struct tm* const time_struct = localtime(&seconds); // NOLINT local
3211 const struct tm* const time_struct = localtime(&seconds); // NOLINT local
3213 if (time_struct == NULL)
3217 time_struct->tm_year + 1900,
3218 time_struct->tm_mon + 1,
3219 time_struct->tm_mday,
3220 time_struct->tm_hour,
3221 time_struct->tm_min,
3222 time_struct->tm_sec);
/external/mesa3d/src/gtest/src/
H A Dgtest.cc3228 const struct tm* const time_struct = localtime(&seconds); // NOLINT local
3231 const struct tm* const time_struct = localtime(&seconds); // NOLINT local
3233 if (time_struct == NULL)
3237 return StreamableToString(time_struct->tm_year + 1900) + "-" +
3238 String::FormatIntWidth2(time_struct->tm_mon + 1) + "-" +
3239 String::FormatIntWidth2(time_struct->tm_mday) + "T" +
3240 String::FormatIntWidth2(time_struct->tm_hour) + ":" +
3241 String::FormatIntWidth2(time_struct->tm_min) + ":" +
3242 String::FormatIntWidth2(time_struct->tm_sec);
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/
H A Dgtest.cc3223 struct tm time_struct; local
3225 if (localtime_s(&time_struct, &seconds) != 0)
3228 if (localtime_r(&seconds, &time_struct) == NULL)
3233 return StreamableToString(time_struct.tm_year + 1900) + "-" +
3234 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" +
3235 String::FormatIntWidth2(time_struct.tm_mday) + "T" +
3236 String::FormatIntWidth2(time_struct.tm_hour) + ":" +
3237 String::FormatIntWidth2(time_struct.tm_min) + ":" +
3238 String::FormatIntWidth2(time_struct.tm_sec);
/external/googletest/googletest/src/
H A Dgtest.cc3598 struct tm time_struct; local
3599 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct))
3602 return StreamableToString(time_struct.tm_year + 1900) + "-" +
3603 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" +
3604 String::FormatIntWidth2(time_struct.tm_mday) + "T" +
3605 String::FormatIntWidth2(time_struct.tm_hour) + ":" +
3606 String::FormatIntWidth2(time_struct.tm_min) + ":" +
3607 String::FormatIntWidth2(time_struct.tm_sec);
/external/libvpx/libvpx/third_party/googletest/src/src/
H A Dgtest.cc3576 struct tm time_struct; local
3577 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct))
3580 return StreamableToString(time_struct.tm_year + 1900) + "-" +
3581 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" +
3582 String::FormatIntWidth2(time_struct.tm_mday) + "T" +
3583 String::FormatIntWidth2(time_struct.tm_hour) + ":" +
3584 String::FormatIntWidth2(time_struct.tm_min) + ":" +
3585 String::FormatIntWidth2(time_struct.tm_sec);
/external/scapy/scapy/layers/
H A Ddns.py693 time_struct = time.gmtime(self._convert_seconds(packed_seconds))
694 return time.strftime("%a %b %d %H:%M:%S %Y", time_struct)
/external/v8/testing/gtest/src/
H A Dgtest.cc3573 struct tm time_struct; local
3574 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct))
3577 return StreamableToString(time_struct.tm_year + 1900) + "-" +
3578 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" +
3579 String::FormatIntWidth2(time_struct.tm_mday) + "T" +
3580 String::FormatIntWidth2(time_struct.tm_hour) + ":" +
3581 String::FormatIntWidth2(time_struct.tm_min) + ":" +
3582 String::FormatIntWidth2(time_struct.tm_sec);
/external/vulkan-validation-layers/tests/gtest-1.7.0/fused-src/gtest/
H A Dgtest-all.cc4712 const struct tm* const time_struct = localtime(&seconds); // NOLINT local
4715 const struct tm* const time_struct = localtime(&seconds); // NOLINT local
4717 if (time_struct == NULL)
4721 return StreamableToString(time_struct->tm_year + 1900) + "-" +
4722 String::FormatIntWidth2(time_struct->tm_mon + 1) + "-" +
4723 String::FormatIntWidth2(time_struct->tm_mday) + "T" +
4724 String::FormatIntWidth2(time_struct->tm_hour) + ":" +
4725 String::FormatIntWidth2(time_struct->tm_min) + ":" +
4726 String::FormatIntWidth2(time_struct->tm_sec);
/external/python/cpython3/Lib/test/
H A Dtest_xmlrpc.py378 time_struct = time.struct_time(
380 localtime_mock.return_value = time_struct

Completed in 1510 milliseconds