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

/bind-9.6-ESV-R11/bin/tests/
H A Dtimer_test.c33 isc_task_t *t1, *t2, *t3; variable
122 RUNTIME_CHECK(isc_task_create(manager, 0, &t2) ==
128 RUNTIME_CHECK(isc_task_onshutdown(t2, shutdown_task, "2") ==
134 printf("task 2: %p\n", t2);
141 &interval, t2, timeout, "2", &ti2) ==
158 isc_task_detach(&t2);
H A Dtask_test.c64 isc_task_t *t1 = NULL, *t2 = NULL; local
88 RUNTIME_CHECK(isc_task_create(manager, 0, &t2) == ISC_R_SUCCESS);
94 RUNTIME_CHECK(isc_task_onshutdown(t2, my_shutdown, "2") ==
113 &interval, t2, my_tick, "bar", &ti2) ==
117 printf("task 2 = %p\n", t2);
157 isc_task_send(t2, &event);
166 isc_task_send(t2, &event);
179 isc_task_detach(&t2);
H A Dsock_test.c252 isc_task_t *t1, *t2; local
302 t2 = NULL;
303 RUNTIME_CHECK(isc_task_create(manager, 0, &t2) == ISC_R_SUCCESS);
306 RUNTIME_CHECK(isc_task_onshutdown(t2, my_shutdown, "2") ==
310 printf("task 2 = %p\n", t2);
359 RUNTIME_CHECK(isc_socket_connect(so2, &sockaddr, t2,
367 isc_task_detach(&t2);
H A Dshutdown_test.c171 t_info *t1, *t2; local
197 t2 = new_task(mctx2, NULL);
198 isc_task_attach(t2->task, &t1->peer);
199 isc_task_attach(t1->task, &t2->peer);
H A Dadb_test.c62 static isc_task_t *t1, *t2; variable
265 result = dns_adb_createfind(adb, t2, lookup_callback, client,
349 t2 = NULL;
350 result = isc_task_create(taskmgr, 0, &t2);
351 check_result(result, "isc_task_create t2");
354 printf("task 2 = %p\n", t2);
405 isc_task_detach(&t2);
H A Ddb_test.c362 char t2[256]; local
844 isc_buffer_init(&tb2, t2, sizeof(t2));
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dtime.c239 isc_time_compare(const isc_time_t *t1, const isc_time_t *t2) { argument
240 REQUIRE(t1 != NULL && t2 != NULL);
241 INSIST(t1->nanoseconds < NS_PER_S && t2->nanoseconds < NS_PER_S);
243 if (t1->seconds < t2->seconds)
245 if (t1->seconds > t2->seconds)
247 if (t1->nanoseconds < t2->nanoseconds)
249 if (t1->nanoseconds > t2->nanoseconds)
305 isc_time_microdiff(const isc_time_t *t1, const isc_time_t *t2) { argument
308 REQUIRE(t1 != NULL && t2 != NULL);
309 INSIST(t1->nanoseconds < NS_PER_S && t2
[all...]
/bind-9.6-ESV-R11/lib/isc/unix/include/isc/
H A Dtime.h179 isc_time_compare(const isc_time_t *t1, const isc_time_t *t2);
181 * Compare the times referenced by 't1' and 't2'
185 *\li 't1' and 't2' are valid pointers.
189 *\li -1 t1 < t2 (comparing times, not pointers)
190 *\li 0 t1 = t2
191 *\li 1 t1 > t2
227 isc_time_microdiff(const isc_time_t *t1, const isc_time_t *t2);
229 * Find the difference in microseconds between time t1 and time t2.
230 * t2 is the subtrahend of t1; ie, difference = t1 - t2
[all...]
/bind-9.6-ESV-R11/lib/isc/win32/include/isc/
H A Dtime.h166 isc_time_compare(const isc_time_t *t1, const isc_time_t *t2);
168 * Compare the times referenced by 't1' and 't2'
172 * 't1' and 't2' are valid pointers.
176 * -1 t1 < t2 (comparing times, not pointers)
177 * 0 t1 = t2
178 * 1 t1 > t2
214 isc_time_microdiff(const isc_time_t *t1, const isc_time_t *t2);
216 * Find the difference in milliseconds between time t1 and time t2.
217 * t2 is the subtrahend of t1; ie, difference = t1 - t2
[all...]
/bind-9.6-ESV-R11/unit/atf-src/atf-run/
H A Dfs_test.cpp72 atf::fs::path t2("non-existent");
79 t2 = td2.get_path();
81 ATF_REQUIRE(t2.str().find("XXXXXX") == std::string::npos);
82 ATF_REQUIRE(t1 != t2);
85 ATF_REQUIRE( atf::fs::exists(t2));
98 atf::fs::file_info fi2(t2);
112 ATF_REQUIRE(t2.str() != "non-existent");
113 ATF_REQUIRE(!atf::fs::exists(t2));
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/
H A Dauto_array_test.cpp124 auto_array< test_array > t2(t1);
148 auto_array< test_array > t2 = test_array::do_copy(t1); local
234 auto_array< test_array > t2; local
235 t2 = t1;
260 auto_array< test_array > t2; local
261 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...]
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dtime.c156 isc_time_compare(const isc_time_t *t1, const isc_time_t *t2) { argument
157 REQUIRE(t1 != NULL && t2 != NULL);
159 return ((int)CompareFileTime(&t1->absolute, &t2->absolute));
205 isc_time_microdiff(const isc_time_t *t1, const isc_time_t *t2) { argument
209 REQUIRE(t1 != NULL && t2 != NULL);
213 i2.LowPart = t2->absolute.dwLowDateTime;
214 i2.HighPart = t2->absolute.dwHighDateTime;
/bind-9.6-ESV-R11/bin/tests/sockaddr/
H A Dt_sockaddr.c123 t2(void) { function
134 { t2, "isc_netaddr_masktoprefixlen" },
/bind-9.6-ESV-R11/bin/tests/master/
H A Dt_master.c197 t2(void) { function
323 { t2, "ISC_R_UNEXPECTEDEND" },
/bind-9.6-ESV-R11/unit/atf-src/atf-report/
H A Dreader.cpp329 atf::parser::token t2 = t; local
335 if (t2.type() == tc_so_type) {
338 INV(t2.type() == tc_se_type);
/bind-9.6-ESV-R11/lib/isc/
H A Dtimer.c744 isc_timer_t *t1, *t2; local
747 t2 = v2;
749 REQUIRE(VALID_TIMER(t2));
751 if (isc_time_compare(&t1->due, &t2->due) < 0)
/bind-9.6-ESV-R11/bin/tests/dst/
H A Dt_dst.c837 * during the test but that t2() verifies data that has been
940 t2(void) { function
949 { t2, "signature ineffability" },
/bind-9.6-ESV-R11/bin/tests/timers/
H A Dt_timers.c405 t2(void) { function
1123 { t2, "timer_create" },
/bind-9.6-ESV-R11/bin/tests/rbt/
H A Dt_rbt.c528 t2() { function
1854 { t2, "dns_rbt_addname 1" },
/bind-9.6-ESV-R11/bin/tests/tasks/
H A Dt_tasks.c578 t2(void) { function
2351 { t2, "maxtasks" },
/bind-9.6-ESV-R11/bin/tests/db/
H A Dt_db.c448 t2(void) { function
3122 { t2, "dns_db_iscache" },

Completed in 4892 milliseconds