Home
last modified time | relevance | path

Searched refs:tm1 (Results 1 – 25 of 1431) sorted by relevance

12345678910>>...58

/dports/devel/p5-Time-Moment/Time-Moment-0.44/t/
H A D200_compare.t15 is($tm1->is_before($tm2), !!1, "$tm1 is before $tm2");
20 is($tm2->is_after($tm1), !!1, "$tm2 is after $tm1");
23 is($tm1->is_equal($tm1), !!1, "$tm1 is equal $tm1");
28 cmp_ok($tm1->compare($tm1), '==', 0, "$tm1 ->compare $tm1");
31 cmp_ok($tm1, '!=', $tm2, "$tm1 != $tm2");
32 cmp_ok($tm1, '<', $tm2, "$tm1 < $tm2");
33 cmp_ok($tm1, '<=', $tm2, "$tm1 <= $tm2");
34 cmp_ok($tm1, '==', $tm1, "$tm1 == $tm1");
36 cmp_ok($tm2, '!=', $tm1, "$tm2 != $tm1");
37 cmp_ok($tm2, '>', $tm1, "$tm2 > $tm1");
[all …]
H A D450_delta_time.t77 is($tm1->delta_hours($tm2), 0, "$tm1->delta_hours($tm2)");
78 is($tm1->delta_minutes($tm2), 0, "$tm1->delta_minutes($tm2)");
79 is($tm1->delta_seconds($tm2), 0, "$tm1->delta_seconds($tm2)");
80 is($tm1->delta_milliseconds($tm2), 0, "$tm1->delta_milliseconds($tm2)");
81 is($tm1->delta_microseconds($tm2), 0, "$tm1->delta_microseconds($tm2)");
82 is($tm1->delta_nanoseconds($tm2), 0, "$tm1->delta_nanoseconds($tm2)");
84 is($tm2->delta_hours($tm1), 0, "$tm2->delta_hours($tm1)");
85 is($tm2->delta_minutes($tm1), 0, "$tm2->delta_minutes($tm1)");
86 is($tm2->delta_seconds($tm1), 0, "$tm2->delta_seconds($tm1)");
87 is($tm2->delta_milliseconds($tm1), 0, "$tm2->delta_milliseconds($tm1)");
[all …]
/dports/sysutils/py-pytsk/pytsk3-20210419/sleuthkit/tsk/fs/
H A Dfatfs_utils.c139 struct tm tm1;
148 if ((tm1.tm_sec < 0) || (tm1.tm_sec > 60))
149 tm1.tm_sec = 0;
153 tm1.tm_sec++;
156 if ((tm1.tm_min < 0) || (tm1.tm_min > 59))
157 tm1.tm_min = 0; in fatfs_make_mbr()
160 if ((tm1.tm_hour < 0) || (tm1.tm_hour > 23))
164 if ((tm1.tm_mday < 1) || (tm1.tm_mday > 31))
168 if ((tm1.tm_mon < 0) || (tm1.tm_mon > 11))
175 if ((tm1.tm_year < 0) || (tm1.tm_year > 137))
[all …]
/dports/sysutils/sleuthkit/sleuthkit-4.7.0/tsk/fs/
H A Dfatfs_utils.c139 struct tm tm1; in fatfs_dos_2_unix_time() local
148 if ((tm1.tm_sec < 0) || (tm1.tm_sec > 60)) in fatfs_dos_2_unix_time()
149 tm1.tm_sec = 0; in fatfs_dos_2_unix_time()
153 tm1.tm_sec++; in fatfs_dos_2_unix_time()
156 if ((tm1.tm_min < 0) || (tm1.tm_min > 59)) in fatfs_dos_2_unix_time()
157 tm1.tm_min = 0; in fatfs_dos_2_unix_time()
160 if ((tm1.tm_hour < 0) || (tm1.tm_hour > 23)) in fatfs_dos_2_unix_time()
164 if ((tm1.tm_mday < 1) || (tm1.tm_mday > 31)) in fatfs_dos_2_unix_time()
168 if ((tm1.tm_mon < 0) || (tm1.tm_mon > 11)) in fatfs_dos_2_unix_time()
175 if ((tm1.tm_year < 0) || (tm1.tm_year > 137)) in fatfs_dos_2_unix_time()
[all …]
/dports/sysutils/ipa/ipa-2.1.2/src/
H A Dipastat_time.c120 if (tm1->tm_year > tm2->tm_year) in cmp_ipa_tm()
123 if (tm1->tm_mon > tm2->tm_mon) in cmp_ipa_tm()
125 if (tm1->tm_mon == tm2->tm_mon) { in cmp_ipa_tm()
383 struct tm *tm1, *tm2; in opt_tint_add() local
445 tm1 = &tint->tm1; in opt_tint_add()
455 tm1->tm_year, tm1->tm_mon, tm1->tm_mday, in opt_tint_add()
456 tm1->tm_hour, tm1->tm_min, tm1->tm_sec, in opt_tint_add()
491 #define tm1 opt_tint_default.tm1 in opt_tint_init() macro
495 tm1.tm_mday = 1; in opt_tint_init()
497 tm1.tm_hour = tm1.tm_min = tm1.tm_sec = tm2.tm_min = tm2.tm_sec = 0; in opt_tint_init()
[all …]
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/
H A DTestZKDelegationTokenSecretManager.java99 tm1.init(); in testMultiNodeOperations()
109 tm1.verifyToken(token); in testMultiNodeOperations()
121 tm1.verifyToken(token); in testMultiNodeOperations()
143 tm1.init(); in testNodeUpAferAWhile()
217 tm1.init(); in testRenewTokenSingleManager()
224 tm1.verifyToken(token); in testRenewTokenSingleManager()
237 tm1.init(); in testCancelTokenSingleManager()
290 tm1.init(); in testStopThreads()
307 tm1.destroy(); in testStopThreads()
341 tm1.init(); in testACLs()
[all …]
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/ec_order/include/LiDIA/
H A Dtrace_mod.h48 friend int compare(const trace_mod & tm1, const trace_mod & tm2);
93 int compare(const trace_mod & tm1, const trace_mod & tm2);
102 inline int compare(const trace_mod & tm1, const trace_mod & tm2) in compare() argument
104 if (&tm1 == &tm2) in compare()
106 if (tm1.inv_density == tm2.inv_density) in compare()
109 return (tm1.inv_density < tm2.inv_density ? -1 : 1); in compare()
116 return (compare (tm1, tm2) == -1);
123 return (compare (tm1, tm2) <= 0);
130 return (compare (tm1, tm2) == 0);
137 return (compare (tm1, tm2) == 1);
[all …]
/dports/math/cgal/CGAL-5.3/include/CGAL/Polygon_mesh_processing/internal/Corefinement/
H A DFace_graph_output_builder.h421 : tm1(tm1), tm2(tm2) in Face_graph_output_builder()
581 vertex_descriptor p2 = target(next(h1, tm1), tm1); in operator()
659 if ( opposite(next(h1, tm1), tm1) == prev(opposite(h1, tm1), tm1) ) in operator()
664 if ( opposite(prev(h1, tm1), tm1) == next(opposite(h1, tm1), tm1) ) in operator()
777 …out << "Looking at triangles around edge " << tm1.point(source(h1, tm1)) << " " << tm1.point(targe… in operator()
796 get(fids1, is_border(h1,tm1) ? face(opposite(h1,tm1),tm1) in operator()
960 vertex_descriptor p1=target(next(opposite(h1,tm1),tm1),tm1); in operator()
1017 vertex_descriptor p1=target(next(opposite(h1,tm1),tm1),tm1); in operator()
1018 vertex_descriptor p2=target(next(h1,tm1),tm1); in operator()
1598 while (!is_border( opposite(nh, tm1), tm1 ) ) in operator()
[all …]
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/lib/
H A Dposixtm.c169 struct tm tm1; in posixtime() local
170 tm1.tm_sec = tm0.tm_sec; in posixtime()
171 tm1.tm_min = tm0.tm_min; in posixtime()
172 tm1.tm_hour = tm0.tm_hour; in posixtime()
173 tm1.tm_mday = tm0.tm_mday; in posixtime()
174 tm1.tm_mon = tm0.tm_mon; in posixtime()
175 tm1.tm_year = tm0.tm_year; in posixtime()
176 tm1.tm_wday = -1; in posixtime()
177 tm1.tm_isdst = -1; in posixtime()
178 time_t t = mktime (&tm1); in posixtime()
[all …]
/dports/sysutils/coreutils/coreutils-8.32/lib/
H A Dposixtm.c178 struct tm tm1; in posixtime() local
184 tm1.tm_sec = tm0.tm_sec; in posixtime()
185 tm1.tm_min = tm0.tm_min; in posixtime()
186 tm1.tm_hour = tm0.tm_hour; in posixtime()
187 tm1.tm_mday = tm0.tm_mday; in posixtime()
188 tm1.tm_mon = tm0.tm_mon; in posixtime()
189 tm1.tm_year = tm0.tm_year; in posixtime()
190 tm1.tm_wday = -1; in posixtime()
191 tm1.tm_isdst = -1; in posixtime()
192 t = mktime (&tm1); in posixtime()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dgmdifftest.c24 struct tm tm1, tm2, o1; in check_time() local
33 OPENSSL_gmtime(&t1, &tm1); in check_time()
34 o1 = tm1; in check_time()
35 OPENSSL_gmtime_adj(&tm1, 0, offset); in check_time()
36 if (!TEST_int_eq(tm1.tm_year, tm2.tm_year) in check_time()
37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon) in check_time()
38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday) in check_time()
39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()
40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min) in check_time()
41 || !TEST_int_eq(tm1.tm_sec, tm2.tm_sec) in check_time()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dgmdifftest.c24 struct tm tm1, tm2, o1; in check_time() local
33 OPENSSL_gmtime(&t1, &tm1); in check_time()
34 o1 = tm1; in check_time()
35 OPENSSL_gmtime_adj(&tm1, 0, offset); in check_time()
36 if (!TEST_int_eq(tm1.tm_year, tm2.tm_year) in check_time()
37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon) in check_time()
38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday) in check_time()
39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()
40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min) in check_time()
41 || !TEST_int_eq(tm1.tm_sec, tm2.tm_sec) in check_time()
[all …]
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dgmdifftest.c24 struct tm tm1, tm2, o1; in check_time() local
33 OPENSSL_gmtime(&t1, &tm1); in check_time()
34 o1 = tm1; in check_time()
35 OPENSSL_gmtime_adj(&tm1, 0, offset); in check_time()
36 if (!TEST_int_eq(tm1.tm_year, tm2.tm_year) in check_time()
37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon) in check_time()
38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday) in check_time()
39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()
40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min) in check_time()
41 || !TEST_int_eq(tm1.tm_sec, tm2.tm_sec) in check_time()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dgmdifftest.c24 struct tm tm1, tm2, o1; in check_time() local
33 OPENSSL_gmtime(&t1, &tm1); in check_time()
34 o1 = tm1; in check_time()
35 OPENSSL_gmtime_adj(&tm1, 0, offset); in check_time()
36 if (!TEST_int_eq(tm1.tm_year, tm2.tm_year) in check_time()
37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon) in check_time()
38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday) in check_time()
39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()
40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min) in check_time()
41 || !TEST_int_eq(tm1.tm_sec, tm2.tm_sec) in check_time()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dgmdifftest.c24 struct tm tm1, tm2, o1; in check_time() local
33 OPENSSL_gmtime(&t1, &tm1); in check_time()
34 o1 = tm1; in check_time()
35 OPENSSL_gmtime_adj(&tm1, 0, offset); in check_time()
36 if (!TEST_int_eq(tm1.tm_year, tm2.tm_year) in check_time()
37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon) in check_time()
38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday) in check_time()
39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()
40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min) in check_time()
41 || !TEST_int_eq(tm1.tm_sec, tm2.tm_sec) in check_time()
[all …]
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dgmdifftest.c24 struct tm tm1, tm2, o1; in check_time() local
33 OPENSSL_gmtime(&t1, &tm1); in check_time()
34 o1 = tm1; in check_time()
35 OPENSSL_gmtime_adj(&tm1, 0, offset); in check_time()
36 if (!TEST_int_eq(tm1.tm_year, tm2.tm_year) in check_time()
37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon) in check_time()
38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday) in check_time()
39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()
40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min) in check_time()
41 || !TEST_int_eq(tm1.tm_sec, tm2.tm_sec) in check_time()
[all …]
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dgmdifftest.c24 struct tm tm1, tm2, o1; in check_time() local
33 OPENSSL_gmtime(&t1, &tm1); in check_time()
34 o1 = tm1; in check_time()
35 OPENSSL_gmtime_adj(&tm1, 0, offset); in check_time()
36 if (!TEST_int_eq(tm1.tm_year, tm2.tm_year) in check_time()
37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon) in check_time()
38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday) in check_time()
39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()
40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min) in check_time()
41 || !TEST_int_eq(tm1.tm_sec, tm2.tm_sec) in check_time()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dgmdifftest.c24 struct tm tm1, tm2, o1; in check_time() local
33 OPENSSL_gmtime(&t1, &tm1); in check_time()
34 o1 = tm1; in check_time()
35 OPENSSL_gmtime_adj(&tm1, 0, offset); in check_time()
36 if (!TEST_int_eq(tm1.tm_year, tm2.tm_year) in check_time()
37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon) in check_time()
38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday) in check_time()
39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()
40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min) in check_time()
41 || !TEST_int_eq(tm1.tm_sec, tm2.tm_sec) in check_time()
[all …]
/dports/security/openssl/openssl-1.1.1n/test/
H A Dgmdifftest.c24 struct tm tm1, tm2, o1; in check_time() local
33 OPENSSL_gmtime(&t1, &tm1); in check_time()
34 o1 = tm1; in check_time()
35 OPENSSL_gmtime_adj(&tm1, 0, offset); in check_time()
36 if (!TEST_int_eq(tm1.tm_year, tm2.tm_year) in check_time()
37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon) in check_time()
38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday) in check_time()
39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()
40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min) in check_time()
41 || !TEST_int_eq(tm1.tm_sec, tm2.tm_sec) in check_time()
[all …]
/dports/security/openssl-static/openssl-1.1.1l/test/
H A Dgmdifftest.c24 struct tm tm1, tm2, o1; in check_time() local
33 OPENSSL_gmtime(&t1, &tm1); in check_time()
34 o1 = tm1; in check_time()
35 OPENSSL_gmtime_adj(&tm1, 0, offset); in check_time()
36 if (!TEST_int_eq(tm1.tm_year, tm2.tm_year) in check_time()
37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon) in check_time()
38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday) in check_time()
39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()
40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min) in check_time()
41 || !TEST_int_eq(tm1.tm_sec, tm2.tm_sec) in check_time()
[all …]
/dports/sysutils/edk2/edk2-edk2-stable202102/CryptoPkg/Library/OpensslLib/openssl/test/
H A Dgmdifftest.c24 struct tm tm1, tm2, o1; in check_time() local
33 OPENSSL_gmtime(&t1, &tm1); in check_time()
34 o1 = tm1; in check_time()
35 OPENSSL_gmtime_adj(&tm1, 0, offset); in check_time()
36 if (!TEST_int_eq(tm1.tm_year, tm2.tm_year) in check_time()
37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon) in check_time()
38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday) in check_time()
39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()
40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min) in check_time()
41 || !TEST_int_eq(tm1.tm_sec, tm2.tm_sec) in check_time()
[all …]
/dports/mail/rmilter/rmilter-1.10.0/src/
H A Dgreylist.c106 if (tm1) { in greylisting_check_hash()
107 free (tm1); in greylisting_check_hash()
115 tm1 = NULL; in greylisting_check_hash()
147 if (tm1) { in greylisting_check_hash()
148 free (tm1); in greylisting_check_hash()
155 if (tm1) { in greylisting_check_hash()
156 free (tm1); in greylisting_check_hash()
170 if (tm1 && tm1->tv_sec > tm.tv_sec) { in greylisting_check_hash()
180 free (tm1); in greylisting_check_hash()
201 if (tm1) { in greylisting_check_hash()
[all …]
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/test/
H A Dgmdifftest.c24 struct tm tm1, tm2, o1; in check_time() local
33 OPENSSL_gmtime(&t1, &tm1); in check_time()
34 o1 = tm1; in check_time()
35 if (!TEST_true(OPENSSL_gmtime_adj(&tm1, 0, offset)) in check_time()
36 || !TEST_int_eq(tm1.tm_year, tm2.tm_year) in check_time()
37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon) in check_time()
38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday) in check_time()
39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()
40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min) in check_time()
41 || !TEST_int_eq(tm1.tm_sec, tm2.tm_sec) in check_time()
[all …]
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/test/
H A Dgmdifftest.c24 struct tm tm1, tm2, o1; in check_time() local
33 OPENSSL_gmtime(&t1, &tm1); in check_time()
34 o1 = tm1; in check_time()
35 if (!TEST_true(OPENSSL_gmtime_adj(&tm1, 0, offset)) in check_time()
36 || !TEST_int_eq(tm1.tm_year, tm2.tm_year) in check_time()
37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon) in check_time()
38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday) in check_time()
39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()
40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min) in check_time()
41 || !TEST_int_eq(tm1.tm_sec, tm2.tm_sec) in check_time()
[all …]
/dports/security/acmed/acmed-0.18.0/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/test/
H A Dgmdifftest.c24 struct tm tm1, tm2, o1; in check_time() local
33 OPENSSL_gmtime(&t1, &tm1); in check_time()
34 o1 = tm1; in check_time()
35 if (!TEST_true(OPENSSL_gmtime_adj(&tm1, 0, offset)) in check_time()
36 || !TEST_int_eq(tm1.tm_year, tm2.tm_year) in check_time()
37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon) in check_time()
38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday) in check_time()
39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()
40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min) in check_time()
41 || !TEST_int_eq(tm1.tm_sec, tm2.tm_sec) in check_time()
[all …]

12345678910>>...58