Searched refs:t2 (Results 1 - 25 of 29) sorted by relevance

12

/bind-9.11.3/bin/tests/bigtest/
H A Dtests.sh29 2) t2=`expr ${t2:-0} + 1`;;
40 if test ${t1:-0} -ne 0 -o ${t2:-0} -ne 0 -o ${t3:-0} -ne 0
42 echo "$x timeouts: t1=${t1:-0} t2=${t2:-0} t3=${t3:-0}"
/bind-9.11.3/bin/tests/
H A Dtimer_test.c25 isc_task_t *t1, *t2, *t3; variable
118 RUNTIME_CHECK(isc_task_create(manager, 0, &t2) ==
124 RUNTIME_CHECK(isc_task_onshutdown(t2, shutdown_task, two) ==
130 printf("task 2: %p\n", t2);
137 &interval, t2, timeout, two, &ti2) ==
154 isc_task_detach(&t2);
H A Dtask_test.c63 isc_task_t *t1 = NULL, *t2 = NULL; local
87 RUNTIME_CHECK(isc_task_create(manager, 0, &t2) == ISC_R_SUCCESS);
93 RUNTIME_CHECK(isc_task_onshutdown(t2, my_shutdown, two) ==
112 &interval, t2, my_tick, bar, &ti2) ==
116 printf("task 2 = %p\n", t2);
160 isc_task_send(t2, &event);
169 isc_task_send(t2, &event);
182 isc_task_detach(&t2);
H A Dshutdown_test.c164 t_info *t1, *t2; local
190 t2 = new_task(mctx2, NULL);
191 isc_task_attach(t2->task, &t1->peer);
192 isc_task_attach(t1->task, &t2->peer);
H A Dsock_test.c260 isc_task_t *t1, *t2; local
310 t2 = NULL;
311 RUNTIME_CHECK(isc_task_create(manager, 0, &t2) == ISC_R_SUCCESS);
314 RUNTIME_CHECK(isc_task_onshutdown(t2, my_shutdown, two) ==
318 printf("task 2 = %p\n", t2);
367 RUNTIME_CHECK(isc_socket_connect(so2, &sockaddr, t2,
375 isc_task_detach(&t2);
H A Dadb_test.c54 static isc_task_t *t1, *t2; variable
258 result = dns_adb_createfind(adb, t2, lookup_callback, client,
342 t2 = NULL;
343 result = isc_task_create(taskmgr, 0, &t2);
344 check_result(result, "isc_task_create t2");
347 printf("task 2 = %p\n", t2);
398 isc_task_detach(&t2);
H A Ddb_test.c354 char t2[256]; local
833 isc_buffer_init(&tb2, t2, sizeof(t2));
/bind-9.11.3/lib/isc/unix/include/isc/
H A Dtime.h177 isc_time_compare(const isc_time_t *t1, const isc_time_t *t2);
179 * Compare the times referenced by 't1' and 't2'
183 *\li 't1' and 't2' are valid pointers.
187 *\li -1 t1 < t2 (comparing times, not pointers)
188 *\li 0 t1 = t2
189 *\li 1 t1 > t2
225 isc_time_microdiff(const isc_time_t *t1, const isc_time_t *t2);
227 * Find the difference in microseconds between time t1 and time t2.
228 * t2 is the subtrahend of t1; ie, difference = t1 - t2
[all...]
/bind-9.11.3/lib/isc/win32/include/isc/
H A Dtime.h164 isc_time_compare(const isc_time_t *t1, const isc_time_t *t2);
166 * Compare the times referenced by 't1' and 't2'
170 * 't1' and 't2' are valid pointers.
174 * -1 t1 < t2 (comparing times, not pointers)
175 * 0 t1 = t2
176 * 1 t1 > t2
212 isc_time_microdiff(const isc_time_t *t1, const isc_time_t *t2);
214 * Find the difference in milliseconds between time t1 and time t2.
215 * t2 is the subtrahend of t1; ie, difference = t1 - t2
[all...]
/bind-9.11.3/lib/isc/unix/
H A Dtime.c234 isc_time_compare(const isc_time_t *t1, const isc_time_t *t2) { argument
235 REQUIRE(t1 != NULL && t2 != NULL);
236 INSIST(t1->nanoseconds < NS_PER_S && t2->nanoseconds < NS_PER_S);
238 if (t1->seconds < t2->seconds)
240 if (t1->seconds > t2->seconds)
242 if (t1->nanoseconds < t2->nanoseconds)
244 if (t1->nanoseconds > t2->nanoseconds)
300 isc_time_microdiff(const isc_time_t *t1, const isc_time_t *t2) { argument
303 REQUIRE(t1 != NULL && t2 != NULL);
304 INSIST(t1->nanoseconds < NS_PER_S && t2
[all...]
/bind-9.11.3/unit/atf-src/atf-c++/detail/
H A Dauto_array_test.cpp122 auto_array< test_array > t2(t1);
146 auto_array< test_array > t2 = test_array::do_copy(t1); local
232 auto_array< test_array > t2; local
233 t2 = t1;
258 auto_array< test_array > t2; local
259 t2 = test_array::do_copy(t1);
/bind-9.11.3/unit/atf-src/tools/
H A Dauto_array_test.cpp123 auto_array< test_array > t2(t1);
147 auto_array< test_array > t2 = test_array::do_copy(t1); local
233 auto_array< test_array > t2; local
234 t2 = t1;
259 auto_array< test_array > t2; local
260 t2 = test_array::do_copy(t1);
H A Dparser.hpp473 const token_type& t2,
478 if (t.type() != t1 && t.type() != t2)
489 const token_type& t2,
495 if (t.type() != t1 && t.type() != t2 && t.type() != t3)
506 const token_type& t2,
513 if (t.type() != t1 && t.type() != t2 && t.type() != t3 &&
525 const token_type& t2,
535 if (t.type() != t1 && t.type() != t2 && t.type() != t3 &&
548 const token_type& t2,
559 if (t.type() != t1 && t.type() != t2
472 expect(const token_type& t1, const token_type& t2, const std::string& textual) argument
488 expect(const token_type& t1, const token_type& t2, const token_type& t3, const std::string& textual) argument
505 expect(const token_type& t1, const token_type& t2, const token_type& t3, const token_type& t4, const std::string& textual) argument
524 expect(const token_type& t1, const token_type& t2, const token_type& t3, const token_type& t4, const token_type& t5, const token_type& t6, const token_type& t7, const std::string& textual) argument
547 expect(const token_type& t1, const token_type& t2, const token_type& t3, const token_type& t4, const token_type& t5, const token_type& t6, const token_type& t7, const token_type& t8, const std::string& textual) argument
[all...]
H A Dfs_test.cpp462 tools::fs::path t2("non-existent");
469 t2 = td2.get_path();
471 ATF_REQUIRE(t2.str().find("XXXXXX") == std::string::npos);
472 ATF_REQUIRE(t1 != t2);
475 ATF_REQUIRE( tools::fs::exists(t2));
488 tools::fs::file_info fi2(t2);
502 ATF_REQUIRE(t2.str() != "non-existent");
503 ATF_REQUIRE(!tools::fs::exists(t2));
H A Dreader.cpp328 tools::parser::token t2 = t; local
334 if (t2.type() == tc_so_type) {
337 assert(t2.type() == tc_se_type);
/bind-9.11.3/lib/isc/win32/
H A Dtime.c149 isc_time_compare(const isc_time_t *t1, const isc_time_t *t2) { argument
150 REQUIRE(t1 != NULL && t2 != NULL);
152 return ((int)CompareFileTime(&t1->absolute, &t2->absolute));
198 isc_time_microdiff(const isc_time_t *t1, const isc_time_t *t2) { argument
202 REQUIRE(t1 != NULL && t2 != NULL);
206 i2.LowPart = t2->absolute.dwLowDateTime;
207 i2.HighPart = t2->absolute.dwHighDateTime;
/bind-9.11.3/bin/tests/sockaddr/
H A Dt_sockaddr.c114 t2(void) { function
125 { (PFV) t2, "isc_netaddr_masktoprefixlen" },
/bind-9.11.3/bin/tests/system/logfileconfig/
H A Dtests.sh302 t2=`$PERL -e 'print time()."\n";'`
303 t=`expr ${t2:-0} - ${t1:-0}`
338 t2=`$PERL -e 'print time()."\n";'`
339 t=`expr ${t2:-0} - ${t1:-0}`
/bind-9.11.3/bin/tests/system/mkeys/
H A Dtests.sh176 t2=`grep "trust pending" ns2/managed-keys.bind`
178 [ -n "$t2" ] || ret=1
179 [ "$t1" = "$t2" ] && ret=1
186 t1=$t2
214 t2=`grep "trust pending" ns2/managed-keys.bind`
215 [ -n "$t2" ] || ret=1
216 [ "$t1" = "$t2" ] && ret=1
223 t1=$t2
248 t2=`grep "trust pending" ns2/managed-keys.bind`
249 [ -n "$t2" ] || re
[all...]
/bind-9.11.3/bin/tests/master/
H A Dt_master.c189 t2(void) { function
315 { (PFV) t2, "ISC_R_UNEXPECTEDEND" },
/bind-9.11.3/bin/tests/system/chain/ans4/
H A Dans.py152 t2 = t + delta
154 expiry=t2.strftime('%Y%m%d000000')
/bind-9.11.3/lib/isc/
H A Dtimer.c825 isc__timer_t *t1, *t2; local
828 t2 = v2;
830 REQUIRE(VALID_TIMER(t2));
832 if (isc_time_compare(&t1->due, &t2->due) < 0)
/bind-9.11.3/bin/tests/system/rpzrecurse/
H A Dtests.sh366 t2=`$PERL -e 'print time()."\n";'`
367 p1=`expr $t2 - $t1`
/bind-9.11.3/bin/tests/timers/
H A Dt_timers.c395 t2(void) { function
1111 { (PFV) t2, "timer_create" },
/bind-9.11.3/bin/tests/dst/
H A Dt_dst.c911 * during the test but that t2() verifies data that has been
1014 t2(void) { function
1032 { (PFV) t2, "signature ineffability" },

Completed in 44 milliseconds

12