Searched refs:t1 (Results 1 - 25 of 30) sorted by relevance

12

/bind-9.11.3/bin/tests/
H A Dtask_test.c63 isc_task_t *t1 = NULL, *t2 = NULL; local
86 RUNTIME_CHECK(isc_task_create(manager, 0, &t1) == ISC_R_SUCCESS);
91 RUNTIME_CHECK(isc_task_onshutdown(t1, my_shutdown, one) ==
106 &interval, t1, my_tick, foo, &ti1) ==
115 printf("task 1 = %p\n", t1);
133 isc_task_send(t1, &event);
136 isc_task_send(t1, &event);
139 isc_task_send(t1, &event);
142 isc_task_send(t1, &event);
145 isc_task_send(t1,
[all...]
H A Dtimer_test.c25 isc_task_t *t1, *t2, *t3; variable
116 RUNTIME_CHECK(isc_task_create(manager, 0, &t1) ==
122 RUNTIME_CHECK(isc_task_onshutdown(t1, shutdown_task, one) ==
129 printf("task 1: %p\n", t1);
142 &interval, t1, tick, one, &ti1) ==
153 isc_task_detach(&t1);
H A Dsock_test.c260 isc_task_t *t1, *t2; local
308 t1 = NULL;
309 RUNTIME_CHECK(isc_task_create(manager, 0, &t1) == ISC_R_SUCCESS);
312 RUNTIME_CHECK(isc_task_onshutdown(t1, my_shutdown, one) ==
317 printf("task 1 = %p\n", t1);
344 RUNTIME_CHECK(isc_socket_accept(so1, t1, my_listen, xso1)
350 &interval, t1, timeout, so1, &ti1) ==
374 isc_task_detach(&t1);
H A Dshutdown_test.c164 t_info *t1, *t2; local
189 t1 = new_task(mctx, NULL);
191 isc_task_attach(t2->task, &t1->peer);
192 isc_task_attach(t1->task, &t2->peer);
H A Dadb_test.c54 static isc_task_t *t1, *t2; variable
339 t1 = NULL;
340 result = isc_task_create(taskmgr, 0, &t1);
341 check_result(result, "isc_task_create t1");
346 printf("task 1 = %p\n", t1);
397 isc_task_detach(&t1);
H A Ddb_test.c353 char t1[256]; local
755 isc_buffer_init(&tb1, t1, sizeof(t1));
832 isc_buffer_init(&tb1, t1, sizeof(t1));
/bind-9.11.3/bin/tests/bigtest/
H A Dtests.sh28 1) t1=`expr ${t1:-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/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
[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
[all...]
/bind-9.11.3/unit/atf-src/atf-c++/detail/
H A Dauto_array_test.cpp118 auto_array< test_array > t1(new test_array[10]);
122 auto_array< test_array > t2(t1);
142 auto_array< test_array > t1(new test_array[10]);
146 auto_array< test_array > t2 = test_array::do_copy(t1);
228 auto_array< test_array > t1(new test_array[10]);
233 t2 = t1;
254 auto_array< test_array > t1(new test_array[10]);
259 t2 = test_array::do_copy(t1);
/bind-9.11.3/unit/atf-src/tools/
H A Dauto_array_test.cpp119 auto_array< test_array > t1(new test_array[10]);
123 auto_array< test_array > t2(t1);
143 auto_array< test_array > t1(new test_array[10]);
147 auto_array< test_array > t2 = test_array::do_copy(t1);
229 auto_array< test_array > t1(new test_array[10]);
234 t2 = t1;
255 auto_array< test_array > t1(new test_array[10]);
260 t2 = test_array::do_copy(t1);
H A Dparser.hpp457 parser< TKZ >::expect(const token_type& t1, argument
462 if (t.type() != t1)
472 parser< TKZ >::expect(const token_type& t1, argument
478 if (t.type() != t1 && t.type() != t2)
488 parser< TKZ >::expect(const token_type& t1, argument
495 if (t.type() != t1 && t.type() != t2 && t.type() != t3)
505 parser< TKZ >::expect(const token_type& t1, argument
513 if (t.type() != t1 && t.type() != t2 && t.type() != t3 &&
524 parser< TKZ >::expect(const token_type& t1, argument
535 if (t.type() != t1
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.cpp461 tools::fs::path t1("non-existent");
468 t1 = td1.get_path();
470 ATF_REQUIRE(t1.str().find("XXXXXX") == std::string::npos);
472 ATF_REQUIRE(t1 != t2);
474 ATF_REQUIRE( tools::fs::exists(t1));
477 tools::fs::file_info fi1(t1);
500 ATF_REQUIRE(t1.str() != "non-existent");
501 ATF_REQUIRE(!tools::fs::exists(t1));
/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
[all...]
/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);
204 i1.LowPart = t1->absolute.dwLowDateTime;
205 i1.HighPart = t1->absolute.dwHighDateTime;
/bind-9.11.3/bin/tests/sockaddr/
H A Dt_sockaddr.c55 t1(void) { function
124 { (PFV) t1, "isc_sockaddr_eqaddrprefix" },
/bind-9.11.3/bin/tests/system/logfileconfig/
H A Dtests.sh299 t1=`$PERL -e 'print time()."\n";'`
303 t=`expr ${t2:-0} - ${t1:-0}`
335 t1=`$PERL -e 'print time()."\n";'`
339 t=`expr ${t2:-0} - ${t1:-0}`
/bind-9.11.3/bin/tests/mem/
H A Dt_mem.c180 t1(void) { function
196 { (PFV) t1, "basic memory subsystem" },
/bind-9.11.3/bin/tests/system/mkeys/
H A Dtests.sh166 t1=`grep "trust pending" ns2/managed-keys.bind`
179 [ "$t1" = "$t2" ] && ret=1
186 t1=$t2
216 [ "$t1" = "$t2" ] && ret=1
223 t1=$t2
250 [ "$t1" = "$t2" ] && ret=1
257 t1=$t2
288 [ "$t1" = "$t2" ] && ret=1
544 # machines, when $t1 equals $t2 due to the time elapsed between "rndc
550 t1
[all...]
/bind-9.11.3/bin/tests/master/
H A Dt_master.c177 t1(void) { function
314 { (PFV) t1, "ISC_R_SUCCESS" },
/bind-9.11.3/bin/tests/system/chain/ans4/
H A Dans.py151 t1 = t - delta
153 inception=t1.strftime('%Y%m%d000000')
/bind-9.11.3/bin/tests/hashes/
H A Dt_hashes.c440 t1(void) function
482 { (PFV) t1, "hashes" },
/bind-9.11.3/lib/isc/
H A Dtimer.c825 isc__timer_t *t1, *t2; local
827 t1 = v1;
829 REQUIRE(VALID_TIMER(t1));
832 if (isc_time_compare(&t1->due, &t2->due) < 0)
/bind-9.11.3/bin/tests/system/rpzrecurse/
H A Dtests.sh364 t1=`$PERL -e 'print time()."\n";'`
367 p1=`expr $t2 - $t1`
/bind-9.11.3/bin/tests/timers/
H A Dt_timers.c355 t1(void) { function
1110 { (PFV) t1, "timer_create" },

Completed in 1093 milliseconds

12