Home
last modified time | relevance | path

Searched refs:tm_ptr (Results 1 - 8 of 8) sorted by relevance

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/gmtime/
H A 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 in main()
[all...]
H A 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()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mktime/
H A D1-1.c18 static 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()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/strftime/
H A 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()
/third_party/mbedtls/programs/test/
H A Dudp_proxy.c771 struct timeval *tm_ptr = NULL; in main() local
904 tm_ptr = &tm; in main()
906 tm_ptr = NULL; in main()
916 if ((ret = select(nb_fds, &read_fds, NULL, NULL, tm_ptr)) < 0) { in main()
/third_party/googletest/googletest/src/
H A Dgtest.cc4103 struct tm* tm_ptr = localtime(&seconds); // NOLINT
4104 if (tm_ptr == nullptr) return false;
4105 *out = *tm_ptr;
/third_party/mesa3d/src/gtest/src/
H A Dgtest.cc3721 struct tm* tm_ptr = localtime(&seconds); // NOLINT in PortableLocaltime()
3722 if (tm_ptr == nullptr) return false; in PortableLocaltime()
3723 *out = *tm_ptr; in PortableLocaltime()
/third_party/node/deps/googletest/src/
H A Dgtest.cc4123 struct tm* tm_ptr = localtime(&seconds); // NOLINT
4124 if (tm_ptr == nullptr) return false;
4125 *out = *tm_ptr;

Completed in 24 milliseconds