Home
last modified time | relevance | path

Searched refs:tm_ptr (Results 1 – 10 of 10) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/gmtime/
D1-1.c19 struct tm *tm_ptr; in main() local
24 tm_ptr = gmtime(&the_time); in main()
29 if ((tm_ptr->tm_sec >= 0) && (tm_ptr->tm_sec < 60)) { in main()
30 printf("sec %02d\n", tm_ptr->tm_sec); in main()
37 if ((tm_ptr->tm_min >= 0) && (tm_ptr->tm_min <= 59)) { in main()
38 printf("min %02d\n", tm_ptr->tm_min); in main()
45 if ((tm_ptr->tm_hour >= 0) && (tm_ptr->tm_hour <= 23)) { in main()
46 printf("hour %02d\n", tm_ptr->tm_hour); in main()
53 if ((tm_ptr->tm_mday >= 1) && (tm_ptr->tm_mday <= 31)) { in main()
54 printf("mday %02d\n", tm_ptr->tm_mday); in main()
[all …]
D2-1.c19 struct tm *tm_ptr; in main() local
23 tm_ptr = NULL; in main()
24 tm_ptr = gmtime(&the_time); in main()
26 if (tm_ptr != NULL) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mktime/
D1-1.c18 struct tm tm_ptr; variable
24 tm_ptr.tm_year = 2001 - 1900; in main()
25 tm_ptr.tm_mon = 7 - 1; in main()
26 tm_ptr.tm_mday = 4; in main()
27 tm_ptr.tm_hour = 0; in main()
28 tm_ptr.tm_min = 0; in main()
29 tm_ptr.tm_sec = 1; in main()
30 tm_ptr.tm_isdst = -1; in main()
32 tps = mktime(&tm_ptr); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/strftime/
D3-1.c19 struct tm *tm_ptr; in main() local
25 tm_ptr = localtime(&the_time); in main()
26 result = strftime(buf, sizeof(buf), "%A %d %B, %I:%S %p", tm_ptr); in main()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest.cc3563 struct tm* tm_ptr = localtime(&seconds); // NOLINT in PortableLocaltime()
3564 if (tm_ptr == NULL) in PortableLocaltime()
3566 *out = *tm_ptr; in PortableLocaltime()
/external/mesa3d/src/gtest/src/
Dgtest.cc3562 struct tm* tm_ptr = localtime(&seconds); // NOLINT in PortableLocaltime()
3563 if (tm_ptr == NULL) in PortableLocaltime()
3565 *out = *tm_ptr; in PortableLocaltime()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/
Dgtest.cc3562 struct tm* tm_ptr = localtime(&seconds); // NOLINT in PortableLocaltime()
3563 if (tm_ptr == NULL) in PortableLocaltime()
3565 *out = *tm_ptr; in PortableLocaltime()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest.cc3626 struct tm* tm_ptr = localtime(&seconds); // NOLINT in PortableLocaltime()
3627 if (tm_ptr == NULL) in PortableLocaltime()
3629 *out = *tm_ptr; in PortableLocaltime()
/external/googletest/googletest/src/
Dgtest.cc3670 struct tm* tm_ptr = localtime(&seconds); // NOLINT in PortableLocaltime()
3671 if (tm_ptr == nullptr) return false; in PortableLocaltime()
3672 *out = *tm_ptr; in PortableLocaltime()
/external/epid-sdk/ext/gtest/
Dgtest-all.cc5014 struct tm* tm_ptr = localtime(&seconds); // NOLINT in PortableLocaltime()
5015 if (tm_ptr == NULL) in PortableLocaltime()
5017 *out = *tm_ptr; in PortableLocaltime()