Searched refs:tm_ptr (Results 1 – 9 of 9) sorted by relevance
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/gmtime/ |
D | 1-1.c | 19 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 …]
|
D | 2-1.c | 19 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/ |
D | 1-1.c | 18 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/ |
D | 3-1.c | 19 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/ |
D | udp_proxy.c | 784 struct timeval *tm_ptr = NULL; in main() local 917 tm_ptr = &tm; in main() 919 tm_ptr = NULL; in main() 929 if ((ret = select(nb_fds, &read_fds, NULL, NULL, tm_ptr)) < 0) { in main()
|
/third_party/mesa3d/src/gtest/src/ |
D | gtest.cc | 3721 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/googletest/googletest/src/ |
D | gtest.cc | 4103 struct tm* tm_ptr = localtime(&seconds); // NOLINT in PortableLocaltime() 4104 if (tm_ptr == nullptr) return false; in PortableLocaltime() 4105 *out = *tm_ptr; in PortableLocaltime()
|
/third_party/node/deps/googletest/src/ |
D | gtest.cc | 4138 struct tm* tm_ptr = localtime(&seconds); // NOLINT in PortableLocaltime() 4139 if (tm_ptr == nullptr) return false; in PortableLocaltime() 4140 *out = *tm_ptr; in PortableLocaltime()
|
/third_party/cef/tools/distrib/gtest/ |
D | gtest-all.cc | 5586 struct tm* tm_ptr = localtime(&seconds); // NOLINT in PortableLocaltime() 5587 if (tm_ptr == nullptr) return false; in PortableLocaltime() 5588 *out = *tm_ptr; in PortableLocaltime()
|