Home
last modified time | relevance | path

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

12345678910>>...13

/dports/misc/posixtestsuite/posixtestsuite/conformance/interfaces/gmtime/
H A D1-1.c20 struct tm *tm_ptr; in main() local
25 tm_ptr = gmtime(&the_time); in main()
30 if ((tm_ptr->tm_sec >= 0) && (tm_ptr->tm_sec < 60 )) { in main()
31 printf("sec %02d\n", tm_ptr->tm_sec); in main()
38 if ((tm_ptr->tm_min >= 0) && (tm_ptr->tm_min <= 59 )) { in main()
46 if ((tm_ptr->tm_hour >= 0) && (tm_ptr->tm_hour <= 23 )) { in main()
54 if ((tm_ptr->tm_mday >= 1) && (tm_ptr->tm_mday <= 31 )) { in main()
62 if ((tm_ptr->tm_mon >= 0) && (tm_ptr->tm_mon <= 11 )) { in main()
80 if ((tm_ptr->tm_wday >= 0) && (tm_ptr->tm_wday <= 6 )) { in main()
88 if ((tm_ptr->tm_yday >= 0) && (tm_ptr->tm_yday <= 365 )) { in main()
[all …]
H A D2-1.c20 struct tm *tm_ptr; in main() local
24 tm_ptr = NULL; in main()
25 tm_ptr = gmtime(&the_time); in main()
27 if (tm_ptr != NULL) { in main()
/dports/misc/posixtestsuite/posixtestsuite/conformance/interfaces/mktime/
H A D1-1.c19 struct tm tm_ptr; variable
26 tm_ptr.tm_year = 2001 - 1900; in main()
27 tm_ptr.tm_mon = 7 - 1; in main()
28 tm_ptr.tm_mday = 4; in main()
29 tm_ptr.tm_hour = 0; in main()
30 tm_ptr.tm_min = 0; in main()
31 tm_ptr.tm_sec = 1; in main()
32 tm_ptr.tm_isdst = -1; in main()
34 tps = mktime(&tm_ptr); in main()
/dports/devel/emscripten/emscripten-2.0.3/tests/core/
H A Dtest_time.cpp16 struct tm* tm_ptr; in main() local
27 tm_ptr = gmtime(&xmas2002); in main()
28 printf("sec: %d\n", tm_ptr->tm_sec); in main()
29 printf("min: %d\n", tm_ptr->tm_min); in main()
30 printf("hour: %d\n", tm_ptr->tm_hour); in main()
31 printf("day: %d\n", tm_ptr->tm_mday); in main()
32 printf("mon: %d\n", tm_ptr->tm_mon); in main()
33 printf("year: %d\n", tm_ptr->tm_year); in main()
34 printf("wday: %d\n", tm_ptr->tm_wday); in main()
133 tm_ptr = gmtime(&xmas2002); in main()
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/cpp/src/gandiva/precompiled/
H A Depoch_time_point_test.cc33 struct tm* tm_ptr; in TEST() local
36 tm_ptr = _gmtime64(&tsec); in TEST()
40 tm_ptr = gmtime_r(&tsec, &tm); in TEST()
43 EXPECT_EQ(tp.TmYear(), tm_ptr->tm_year); in TEST()
44 EXPECT_EQ(tp.TmMon(), tm_ptr->tm_mon); in TEST()
45 EXPECT_EQ(tp.TmYday(), tm_ptr->tm_yday); in TEST()
46 EXPECT_EQ(tp.TmMday(), tm_ptr->tm_mday); in TEST()
47 EXPECT_EQ(tp.TmWday(), tm_ptr->tm_wday); in TEST()
48 EXPECT_EQ(tp.TmHour(), tm_ptr->tm_hour); in TEST()
49 EXPECT_EQ(tp.TmMin(), tm_ptr->tm_min); in TEST()
[all …]
/dports/databases/arrow/apache-arrow-6.0.1/cpp/src/gandiva/precompiled/
H A Depoch_time_point_test.cc33 struct tm* tm_ptr; in TEST() local
36 tm_ptr = _gmtime64(&tsec); in TEST()
40 tm_ptr = gmtime_r(&tsec, &tm); in TEST()
43 EXPECT_EQ(tp.TmYear(), tm_ptr->tm_year); in TEST()
44 EXPECT_EQ(tp.TmMon(), tm_ptr->tm_mon); in TEST()
45 EXPECT_EQ(tp.TmYday(), tm_ptr->tm_yday); in TEST()
46 EXPECT_EQ(tp.TmMday(), tm_ptr->tm_mday); in TEST()
47 EXPECT_EQ(tp.TmWday(), tm_ptr->tm_wday); in TEST()
48 EXPECT_EQ(tp.TmHour(), tm_ptr->tm_hour); in TEST()
49 EXPECT_EQ(tp.TmMin(), tm_ptr->tm_min); in TEST()
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/cpp/src/gandiva/precompiled/
H A Depoch_time_point_test.cc33 struct tm* tm_ptr; in TEST() local
36 tm_ptr = _gmtime64(&tsec); in TEST()
40 tm_ptr = gmtime_r(&tsec, &tm); in TEST()
43 EXPECT_EQ(tp.TmYear(), tm_ptr->tm_year); in TEST()
44 EXPECT_EQ(tp.TmMon(), tm_ptr->tm_mon); in TEST()
45 EXPECT_EQ(tp.TmYday(), tm_ptr->tm_yday); in TEST()
46 EXPECT_EQ(tp.TmMday(), tm_ptr->tm_mday); in TEST()
47 EXPECT_EQ(tp.TmWday(), tm_ptr->tm_wday); in TEST()
48 EXPECT_EQ(tp.TmHour(), tm_ptr->tm_hour); in TEST()
49 EXPECT_EQ(tp.TmMin(), tm_ptr->tm_min); in TEST()
[all …]
/dports/sysutils/boxbackup-devel/boxbackup-0.11_trunk_2979/lib/common/
H A DBoxTime.cpp123 struct tm tm_now, *tm_ptr = &tm_now; in FormatTime() local
126 if ((tm_ptr = localtime(&seconds)) != NULL) in FormatTime()
135 buf << std::setw(4) << (tm_ptr->tm_year + 1900) << "-" << in FormatTime()
136 std::setw(2) << (tm_ptr->tm_mon + 1) << "-" << in FormatTime()
137 std::setw(2) << (tm_ptr->tm_mday) << " "; in FormatTime()
140 buf << std::setw(2) << tm_ptr->tm_hour << ":" << in FormatTime()
141 std::setw(2) << tm_ptr->tm_min << ":" << in FormatTime()
142 std::setw(2) << tm_ptr->tm_sec; in FormatTime()
/dports/comms/linrad/linrad-04.02/
H A Dextra.c98 struct tm *tm_ptr; in users_extra() local
182 tm_ptr=gmtime(&the_time); in users_extra()
184 tm_ptr->tm_mday, tm_ptr->tm_mon+1,tm_ptr->tm_year+1900, in users_extra()
185 tm_ptr->tm_hour,tm_ptr->tm_min, tm_ptr->tm_sec ); in users_extra()
/dports/emulators/gxemul/gxemul-0.6.3/src/machines/
H A Dmachine_playstation2.cc61 struct tm *tm_ptr; in MACHINE_SETUP() local
142 tm_ptr = gmtime(&timet); in MACHINE_SETUP()
145 * 1048576 - 0x1000 + 0x10 + 1, int_to_bcd(tm_ptr->tm_sec)); in MACHINE_SETUP()
147 * 1048576 - 0x1000 + 0x10 + 2, int_to_bcd(tm_ptr->tm_min)); in MACHINE_SETUP()
149 * 1048576 - 0x1000 + 0x10 + 3, int_to_bcd(tm_ptr->tm_hour)); in MACHINE_SETUP()
151 * 1048576 - 0x1000 + 0x10 + 5, int_to_bcd(tm_ptr->tm_mday)); in MACHINE_SETUP()
153 * 1048576 - 0x1000 + 0x10 + 6, int_to_bcd(tm_ptr->tm_mon+1)); in MACHINE_SETUP()
155 * 1048576 - 0x1000 + 0x10 + 7, int_to_bcd(tm_ptr->tm_year-100)); in MACHINE_SETUP()
/dports/net-mgmt/nagios/nagios-3.5.1/common/
H A Dshared.c396 struct tm *tm_ptr, tm_s; in get_datetime_string() local
416 tm_ptr = gmtime_r(&t, &tm_s); in get_datetime_string()
418 tm_ptr = localtime_r(&t, &tm_s); in get_datetime_string()
420 hour = tm_ptr->tm_hour; in get_datetime_string()
421 minute = tm_ptr->tm_min; in get_datetime_string()
422 second = tm_ptr->tm_sec; in get_datetime_string()
423 month = tm_ptr->tm_mon + 1; in get_datetime_string()
424 day = tm_ptr->tm_mday; in get_datetime_string()
425 year = tm_ptr->tm_year + 1900; in get_datetime_string()
436 weekdays[tm_ptr->tm_wday], months[tm_ptr->tm_mon], day, in get_datetime_string()
[all …]
/dports/math/cgal/CGAL-5.3/include/CGAL/
H A DSide_of_triangle_mesh.h101 const TriangleMesh* tm_ptr; variable
134 , tm_ptr(&tmesh)
212 tm_ptr = std::move(other.tm_ptr);
258 CGAL_assertion(tm_ptr != nullptr && opt_vpm!=boost::none); in operator()
261 tree_ptr = new AABB_tree(faces(*tm_ptr).first, in operator()
262 faces(*tm_ptr).second, in operator()
263 *tm_ptr, *opt_vpm); in operator()
300 CGAL_assertion(tm_ptr != nullptr && opt_vpm!=boost::none); in operator()
303 tree_ptr = new AABB_tree(faces(*tm_ptr).first, in operator()
304 faces(*tm_ptr).second, in operator()
[all …]
/dports/net-mgmt/nagios4/nagios-4.4.6/contrib/
H A Ddaemonchk.c186 struct tm *tm_ptr; in get_expire_time_string() local
200 tm_ptr = gmtime(&t); in get_expire_time_string()
202 hour = tm_ptr->tm_hour; in get_expire_time_string()
203 minute = tm_ptr->tm_min; in get_expire_time_string()
204 second = tm_ptr->tm_sec; in get_expire_time_string()
205 day = tm_ptr->tm_mday; in get_expire_time_string()
206 year = tm_ptr->tm_year + 1900; in get_expire_time_string()
208 …uffer_length, "%s, %d %s %d %02d:%02d:%02d GMT", weekdays[tm_ptr->tm_wday], day, months[tm_ptr->tm… in get_expire_time_string()
/dports/net-mgmt/nagios/nagios-3.5.1/contrib/
H A Ddaemonchk.c186 struct tm *tm_ptr; in get_expire_time_string() local
200 tm_ptr = gmtime(&t); in get_expire_time_string()
202 hour = tm_ptr->tm_hour; in get_expire_time_string()
203 minute = tm_ptr->tm_min; in get_expire_time_string()
204 second = tm_ptr->tm_sec; in get_expire_time_string()
205 day = tm_ptr->tm_mday; in get_expire_time_string()
206 year = tm_ptr->tm_year + 1900; in get_expire_time_string()
208 …uffer_length, "%s, %d %s %d %02d:%02d:%02d GMT", weekdays[tm_ptr->tm_wday], day, months[tm_ptr->tm… in get_expire_time_string()
/dports/net-mgmt/nagios4/nagios-4.4.6/common/
H A Dshared.c526 struct tm *tm_ptr, tm_s; in get_datetime_string() local
546 tm_ptr = gmtime_r(&t, &tm_s); in get_datetime_string()
550 hour = tm_ptr->tm_hour; in get_datetime_string()
551 minute = tm_ptr->tm_min; in get_datetime_string()
552 second = tm_ptr->tm_sec; in get_datetime_string()
553 month = tm_ptr->tm_mon + 1; in get_datetime_string()
554 day = tm_ptr->tm_mday; in get_datetime_string()
555 year = tm_ptr->tm_year + 1900; in get_datetime_string()
558 tzone = tm_ptr->tm_zone; in get_datetime_string()
566 weekdays[tm_ptr->tm_wday], months[tm_ptr->tm_mon], day, in get_datetime_string()
[all …]
/dports/math/cgal/CGAL-5.3/examples/Polygon_mesh_processing/
H A Dcorefinement_consecutive_bool_op.cpp30 Mesh* tm_ptr; member
37 : tm_ptr(nullptr) in Exact_vertex_point_map()
42 , tm_ptr(&tm) in Exact_vertex_point_map()
51 CGAL_precondition(map.tm_ptr!=nullptr); in get()
58 CGAL_precondition(map.tm_ptr!=nullptr); in put()
61 map.tm_ptr->point(k)=map.to_input(p); in put()
H A Dcorefinement_OM_union.cpp30 Mesh* tm_ptr; member
37 : tm_ptr(nullptr) in Exact_vertex_point_map()
42 , tm_ptr(&tm) in Exact_vertex_point_map()
51 CGAL_precondition(map.tm_ptr!=nullptr); in get()
58 CGAL_precondition(map.tm_ptr!=nullptr); in put()
61 put(boost::vertex_point, *map.tm_ptr, k, map.to_input(p)); in put()
/dports/emulators/qemu-utils/qemu-4.2.1/tests/
H A Dds1338-test.c37 struct tm *tm_ptr = gmtime(&now); in send_and_receive() local
42 g_assert_cmpuint(bcd2bin(resp[4]), == , tm_ptr->tm_mday); in send_and_receive()
43 g_assert_cmpuint(bcd2bin(resp[5]), == , 1 + tm_ptr->tm_mon); in send_and_receive()
44 g_assert_cmpuint(2000 + bcd2bin(resp[6]), == , 1900 + tm_ptr->tm_year); in send_and_receive()
/dports/emulators/qemu5/qemu-5.2.0/tests/qtest/
H A Dds1338-test.c37 struct tm *tm_ptr = gmtime(&now); in send_and_receive() local
42 g_assert_cmpuint(bcd2bin(resp[4]), == , tm_ptr->tm_mday); in send_and_receive()
43 g_assert_cmpuint(bcd2bin(resp[5]), == , 1 + tm_ptr->tm_mon); in send_and_receive()
44 g_assert_cmpuint(2000 + bcd2bin(resp[6]), == , 1900 + tm_ptr->tm_year); in send_and_receive()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/tests/qtest/
H A Dds1338-test.c37 struct tm *tm_ptr = gmtime(&now); in send_and_receive() local
42 g_assert_cmpuint(bcd2bin(resp[4]), == , tm_ptr->tm_mday); in send_and_receive()
43 g_assert_cmpuint(bcd2bin(resp[5]), == , 1 + tm_ptr->tm_mon); in send_and_receive()
44 g_assert_cmpuint(2000 + bcd2bin(resp[6]), == , 1900 + tm_ptr->tm_year); in send_and_receive()
/dports/emulators/qemu42/qemu-4.2.1/tests/
H A Dds1338-test.c37 struct tm *tm_ptr = gmtime(&now); in send_and_receive() local
42 g_assert_cmpuint(bcd2bin(resp[4]), == , tm_ptr->tm_mday); in send_and_receive()
43 g_assert_cmpuint(bcd2bin(resp[5]), == , 1 + tm_ptr->tm_mon); in send_and_receive()
44 g_assert_cmpuint(2000 + bcd2bin(resp[6]), == , 1900 + tm_ptr->tm_year); in send_and_receive()
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/tests/qtest/
H A Dds1338-test.c37 struct tm *tm_ptr = gmtime(&now); in send_and_receive() local
42 g_assert_cmpuint(bcd2bin(resp[4]), == , tm_ptr->tm_mday); in send_and_receive()
43 g_assert_cmpuint(bcd2bin(resp[5]), == , 1 + tm_ptr->tm_mon); in send_and_receive()
44 g_assert_cmpuint(2000 + bcd2bin(resp[6]), == , 1900 + tm_ptr->tm_year); in send_and_receive()
/dports/emulators/qemu/qemu-6.2.0/tests/qtest/
H A Dds1338-test.c37 struct tm *tm_ptr = gmtime(&now); in send_and_receive() local
42 g_assert_cmpuint(bcd2bin(resp[4]), == , tm_ptr->tm_mday); in send_and_receive()
43 g_assert_cmpuint(bcd2bin(resp[5]), == , 1 + tm_ptr->tm_mon); in send_and_receive()
44 g_assert_cmpuint(2000 + bcd2bin(resp[6]), == , 1900 + tm_ptr->tm_year); in send_and_receive()
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/tests/qtest/
H A Dds1338-test.c37 struct tm *tm_ptr = gmtime(&now); in send_and_receive() local
42 g_assert_cmpuint(bcd2bin(resp[4]), == , tm_ptr->tm_mday); in send_and_receive()
43 g_assert_cmpuint(bcd2bin(resp[5]), == , 1 + tm_ptr->tm_mon); in send_and_receive()
44 g_assert_cmpuint(2000 + bcd2bin(resp[6]), == , 1900 + tm_ptr->tm_year); in send_and_receive()
/dports/emulators/qemu60/qemu-6.0.0/tests/qtest/
H A Dds1338-test.c37 struct tm *tm_ptr = gmtime(&now); in send_and_receive() local
42 g_assert_cmpuint(bcd2bin(resp[4]), == , tm_ptr->tm_mday); in send_and_receive()
43 g_assert_cmpuint(bcd2bin(resp[5]), == , 1 + tm_ptr->tm_mon); in send_and_receive()
44 g_assert_cmpuint(2000 + bcd2bin(resp[6]), == , 1900 + tm_ptr->tm_year); in send_and_receive()

12345678910>>...13