Searched refs:td (Results 26 - 50 of 1053) sorted by path

1234567891011>>

/freebsd-11-stable/contrib/tnftp/src/
H A Dftp.c1654 struct timeval endtime, now, td; local
1678 timersub(&endtime, &now, &td);
1679 timeout = td.tv_sec * 1000 + td.tv_usec/1000;
H A Dprogressbar.c138 struct timeval td; local
252 timersub(&now, &start, &td);
253 elapsed = td.tv_sec + (td.tv_usec / 1000000.0);
314 struct timeval now, td, wait; local
326 timersub(&now, &start, &td);
327 elapsed = td.tv_sec + (td.tv_usec / 1000000.0);
H A Dutil.c1333 struct timeval endtime, now, td; local
1404 timersub(&endtime, &now, &td);
1405 timeout = td.tv_sec * 1000 + td.tv_usec/1000;
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/
H A Dftp.c1443 struct timeval td; local
1450 td.tv_sec = t1->tv_sec - t0->tv_sec;
1451 td.tv_usec = t1->tv_usec - t0->tv_usec;
1452 if (td.tv_usec < 0) {
1453 td.tv_sec--;
1454 td.tv_usec += 1000000;
1456 s = td.tv_sec + (td.tv_usec / 1000000.);
/freebsd-11-stable/crypto/heimdal/lib/asn1/
H A Dcheck-gen.c718 struct test_data td[] = { local
737 for (i = 0; i < sizeof(td)/sizeof(td[0]); i++) {
740 buf = map_alloc(OVERRUN, td[i].data, td[i].len, &page);
742 ret = decode_TESTuint32(buf, td[i].len, &u, &sz);
744 if (td[i].ok) {
749 if (td[i].ok == 0) {
753 if (td[i].expected_len != sz) {
/freebsd-11-stable/crypto/openssl/crypto/aes/asm/
H A Daes-586.pl1232 my ($i,$td,@s)=@_;
1243 &movz ($out,&BP(-128,$td,$out,1));
1247 &movz ($tmp,&BP(-128,$td,$tmp,1));
1255 &movz ($tmp,&BP(-128,$td,$tmp,1));
1262 &movz ($tmp,&BP(-128,$td,$tmp,1));
1591 { my ($i,$td,@s) = @_;
1602 &mov ($out,&DWP(0,$td,$out,8));
1606 &xor ($out,&DWP(3,$td,$tmp,8));
1612 &xor ($out,&DWP(2,$td,$tmp,8));
1617 &xor ($out,&DWP(1,$td,
[all...]
H A Daes-ia64.S447 s/td/te/g;
H A Daes-x86_64.pl1498 { my ($i,$ptr,$te,$td) = @_;
/freebsd-11-stable/crypto/openssl/crypto/dh/
H A Ddhtest.c535 const rfc5114_td *td = NULL; local
539 td = rfctd + i;
541 dhA = td->get_param();
542 dhB = td->get_param();
546 dhA->priv_key = BN_bin2bn(td->xA, td->xA_len, NULL);
547 dhA->pub_key = BN_bin2bn(td->yA, td->yA_len, NULL);
549 dhB->priv_key = BN_bin2bn(td->xB, td
[all...]
/freebsd-11-stable/gnu/usr.bin/gdb/kgdb/
H A Dkthr.c78 struct thread td; local
89 if (kvm_read(kvm, addr, &td, sizeof(td)) !=
90 sizeof(td)) {
97 if (td.td_tid == dumptid)
99 else if (td.td_oncpu != NOCPU &&
100 CPU_ISSET(td.td_oncpu, &stopped_cpus))
101 kt->pcb = kgdb_trgt_core_pcb(td.td_oncpu);
103 kt->pcb = (uintptr_t)td.td_pcb;
104 kt->kstack = td
[all...]
/freebsd-11-stable/lib/libc/rpc/
H A Dauth_time.c231 * td = "server" - "client"
233 * td - Time difference
240 __rpc_get_time_offset(struct timeval *td, nis_server *srv, char *thost, argument
264 td->tv_sec = 0;
265 td->tv_usec = 0;
492 td->tv_sec = (thetime < tv.tv_sec) ? - delta : delta;
493 td->tv_usec = 0;
/freebsd-11-stable/lib/libc/tests/nss/
H A Dgetaddrinfo_test.c415 struct addrinfo_test_data td, td_snap; local
433 TEST_DATA_INIT(addrinfo, &td, clone_addrinfo, free_addrinfo);
441 rv = TEST_SNAPSHOT_FILE_READ(addrinfo, hostlist_file, &td,
471 ATF_CHECK(DO_2PASS_TEST(addrinfo, &td, &td_snap,
477 snapshot_file, &td, sdump_addrinfo) == 0);
486 TEST_DATA_DESTROY(addrinfo, &td);
H A Dgethostby_test.c930 struct hostent_test_data td, td_addr, td_snap; local
970 TEST_DATA_INIT(hostent, &td, clone_hostent, free_hostent);
984 rv = TEST_SNAPSHOT_FILE_READ(hostent, hostlist_file, &td,
1018 rv = DO_2PASS_TEST(hostent, &td, &td_snap,
1022 rv = DO_1PASS_TEST(hostent, &td,
1032 rv = DO_1PASS_TEST(hostent, &td,
1036 rv = DO_1PASS_TEST(hostent, &td,
1042 &td, sdump_hostent);
1047 rv = DO_1PASS_TEST(hostent, &td,
1063 TEST_DATA_DESTROY(hostent, &td);
[all...]
H A Dgetpw_test.c239 passwd_fill_test_data(struct passwd_test_data *td) argument
246 TEST_DATA_APPEND(passwd, td, pwd);
302 passwd_check_ambiguity(struct passwd_test_data *td, struct passwd *pwd) argument
305 return (TEST_DATA_FIND(passwd, td, pwd, compare_passwd,
378 struct passwd_test_data td, td_snap, td_2pass; local
381 TEST_DATA_INIT(passwd, &td, clone_passwd, free_passwd);
404 rv = passwd_fill_test_data(&td);
411 rv = DO_1PASS_TEST(passwd, &td,
412 passwd_test_getpwnam, (void *)&td);
419 rv = DO_1PASS_TEST(passwd, &td,
[all...]
H A Dgetusershell_test.c139 struct usershell_test_data td, td_snap; local
145 TEST_DATA_INIT(usershell, &td, clone_usershell, free_usershell);
152 TEST_DATA_APPEND(usershell, &td, &ushell);
179 rv = DO_2PASS_TEST(usershell, &td, &td_snap,
185 &td, sdump_usershell);
195 TEST_DATA_DESTROY(usershell, &td);
H A Dtestutil.h58 #define TEST_DATA_INIT(ent, td, clonef, freef)\
59 __##ent##_test_data_init(td, clonef, freef)
60 #define TEST_DATA_DESTROY(ent, td) __##ent##_test_data_destroy(td)
61 #define TEST_DATA_APPEND(ent, td, d) __##ent##_test_data_append(td, d)
62 #define TEST_DATA_FOREACH(ent, td, f, mdata)\
63 __##ent##_test_data_foreach(td, f, mdata)
66 #define TEST_DATA_FIND(ent, td, d, fcmp, mdata)\
67 __##ent##_test_data_find(td,
[all...]
/freebsd-11-stable/lib/libedit/
H A Dtty.c456 #define tty__gettabs(td) ((((td)->c_oflag & TAB3) == TAB3) ? 0 : 1)
457 #define tty__geteightbit(td) (((td)->c_cflag & CSIZE) == CS8)
458 #define tty__cooked_mode(td) ((td)->c_lflag & ICANON)
611 tty__getspeed(struct termios *td) argument
615 if ((spd = cfgetispeed(td)) == 0)
616 spd = cfgetospeed(td);
732 tty__getchar(struct termios *td, unsigne argument
814 tty__setchar(struct termios *td, unsigned char *s) argument
[all...]
/freebsd-11-stable/lib/libkvm/
H A Dkvm_vnet.c86 struct thread td; local
151 if (kvm_read(kd, tdp, &td, sizeof(td)) !=
152 sizeof(td)) {
157 if (td.td_tid == dumptid) {
158 credp = (uintptr_t)td.td_ucred;
161 tdp = (uintptr_t)TAILQ_NEXT(&td, td_plist);
/freebsd-11-stable/lib/librt/
H A Dsigev_thread.c372 pthread_t td; local
414 ret = _pthread_create(&td, &sn->sn_attr, worker_routine, sn);
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_affinity.c42 _pthread_setaffinity_np(pthread_t td, size_t cpusetsize, const cpuset_t *cpusetp) argument
48 if (td == curthread) {
53 } else if ((error = _thr_find_thread(curthread, td, 0)) == 0) {
54 tid = TID(td);
59 THR_THREAD_UNLOCK(curthread, td);
65 _pthread_getaffinity_np(pthread_t td, size_t cpusetsize, cpuset_t *cpusetp) argument
71 if (td == curthread) {
76 } else if ((error = _thr_find_thread(curthread, td, 0)) == 0) {
77 tid = TID(td);
82 THR_THREAD_UNLOCK(curthread, td);
[all...]
H A Dthr_cond.c412 struct pthread *td; local
441 td = _sleepq_first(sq);
442 mp = td->mutex_obj;
443 cvp->__has_user_waiters = _sleepq_remove(sq, td);
451 &td->wake_addr->value;
454 waddr = &td->wake_addr->value;
469 drop_cb(struct pthread *td, void *arg) argument
475 mp = td->mutex_obj;
483 &td->wake_addr->value;
490 ba->waddrs[ba->count++] = &td
[all...]
H A Dthr_sleepq.c116 _sleepq_add(void *wchan, struct pthread *td) argument
124 SLIST_INSERT_HEAD(&sq->sq_freeq, td->sleepqueue, sq_flink);
126 sq = td->sleepqueue;
131 td->sleepqueue = NULL;
132 td->wchan = wchan;
134 TAILQ_INSERT_HEAD(&sq->sq_blocked, td, wle);
136 TAILQ_INSERT_TAIL(&sq->sq_blocked, td, wle);
140 _sleepq_remove(struct sleepqueue *sq, struct pthread *td) argument
144 TAILQ_REMOVE(&sq->sq_blocked, td, wle);
147 td
162 struct pthread *td; local
[all...]
/freebsd-11-stable/sbin/ggate/ggated/
H A Dggated.c531 pthread_t td; local
574 error = pthread_create(&td, NULL, send_thread, conn);
579 error = pthread_create(&td, NULL, recv_thread, conn);
/freebsd-11-stable/sbin/hastd/
H A Dprimary.c968 pthread_t td; local
1053 error = pthread_create(&td, NULL, guard_thread, res);
1063 error = pthread_create(&td, NULL, ctrl_thread, res);
1089 error = pthread_create(&td, NULL, ggate_recv_thread, res);
1091 error = pthread_create(&td, NULL, local_send_thread, res);
1093 error = pthread_create(&td, NULL, remote_send_thread, res);
1095 error = pthread_create(&td, NULL, remote_recv_thread, res);
1097 error = pthread_create(&td, NULL, ggate_send_thread, res);
H A Dsecondary.c417 pthread_t td; local
500 error = pthread_create(&td, NULL, ctrl_thread, res);
506 error = pthread_create(&td, NULL, recv_thread, res);
508 error = pthread_create(&td, NULL, disk_thread, res);

Completed in 265 milliseconds

1234567891011>>