/external/qemu/slirp/ |
D | tcp_timer.c | 41 static struct tcpcb *tcp_timers(register struct tcpcb *tp, int timer); 50 register struct tcpcb *tp; in tcp_fasttimo() local 57 if ((tp = (struct tcpcb *)so->so_tcpcb) && in tcp_fasttimo() 58 (tp->t_flags & TF_DELACK)) { in tcp_fasttimo() 59 tp->t_flags &= ~TF_DELACK; in tcp_fasttimo() 60 tp->t_flags |= TF_ACKNOW; in tcp_fasttimo() 62 (void) tcp_output(tp); in tcp_fasttimo() 75 register struct tcpcb *tp; in tcp_slowtimo() local 88 tp = sototcpcb(ip); in tcp_slowtimo() 89 if (tp == 0) in tcp_slowtimo() [all …]
|
D | tcp_output.c | 67 tcp_output(struct tcpcb *tp) argument 69 register struct socket *so = tp->t_socket; 79 DEBUG_ARG("tp = %lx", (long )tp); 87 idle = (tp->snd_max == tp->snd_una); 88 if (idle && tp->t_idle >= tp->t_rxtcur) 94 tp->snd_cwnd = tp->t_maxseg; 97 off = tp->snd_nxt - tp->snd_una; 98 win = min(tp->snd_wnd, tp->snd_cwnd); 100 flags = tcp_outflags[tp->t_state]; 110 if (tp->t_force) { [all …]
|
D | tcp_input.c | 68 #define TCP_REASS(tp, ti, m, so, flags) {\ argument 69 if ((ti)->ti_seq == (tp)->rcv_nxt && \ 70 tcpfrag_list_empty(tp) && \ 71 (tp)->t_state == TCPS_ESTABLISHED) {\ 73 tp->t_flags |= TF_ACKNOW; \ 75 tp->t_flags |= TF_DELACK; \ 76 (tp)->rcv_nxt += (ti)->ti_len; \ 86 (flags) = tcp_reass((tp), (ti), (m)); \ 87 tp->t_flags |= TF_ACKNOW; \ 91 #define TCP_REASS(tp, ti, m, so, flags) { \ argument [all …]
|
D | tftp.c | 53 static int tftp_session_allocate(struct tftp_t *tp) in tftp_session_allocate() argument 73 memcpy(&spt->client_ip, &tp->ip.ip_src, sizeof(spt->client_ip)); in tftp_session_allocate() 74 spt->client_port = tp->udp.uh_sport; in tftp_session_allocate() 81 static int tftp_session_find(struct tftp_t *tp) in tftp_session_find() argument 90 if (!memcmp(&spt->client_ip, &tp->ip.ip_src, sizeof(spt->client_ip))) { in tftp_session_find() 91 if (spt->client_port == tp->udp.uh_sport) { in tftp_session_find() 137 struct tftp_t *tp; in tftp_send_oack() local 148 tp = (void *)m->m_data; in tftp_send_oack() 151 tp->tp_op = htons(TFTP_OACK); in tftp_send_oack() 152 n += snprintf((char *)tp->x.tp_buf + n, sizeof(tp->x.tp_buf) - n, "%s", in tftp_send_oack() [all …]
|
D | slirp.c | 866 static void slirp_tcp_save(QEMUFile *f, struct tcpcb *tp) in slirp_tcp_save() argument 870 qemu_put_sbe16(f, tp->t_state); in slirp_tcp_save() 872 qemu_put_sbe16(f, tp->t_timer[i]); in slirp_tcp_save() 873 qemu_put_sbe16(f, tp->t_rxtshift); in slirp_tcp_save() 874 qemu_put_sbe16(f, tp->t_rxtcur); in slirp_tcp_save() 875 qemu_put_sbe16(f, tp->t_dupacks); in slirp_tcp_save() 876 qemu_put_be16(f, tp->t_maxseg); in slirp_tcp_save() 877 qemu_put_sbyte(f, tp->t_force); in slirp_tcp_save() 878 qemu_put_be16(f, tp->t_flags); in slirp_tcp_save() 879 qemu_put_be32(f, tp->snd_una); in slirp_tcp_save() [all …]
|
/external/qemu/slirp-android/ |
D | tcp_timer.c | 41 static struct tcpcb *tcp_timers(register struct tcpcb *tp, int timer); 50 register struct tcpcb *tp; in tcp_fasttimo() local 57 if ((tp = (struct tcpcb *)so->so_tcpcb) && in tcp_fasttimo() 58 (tp->t_flags & TF_DELACK)) { in tcp_fasttimo() 59 tp->t_flags &= ~TF_DELACK; in tcp_fasttimo() 60 tp->t_flags |= TF_ACKNOW; in tcp_fasttimo() 62 (void) tcp_output(tp); in tcp_fasttimo() 75 register struct tcpcb *tp; in tcp_slowtimo() local 88 tp = sototcpcb(ip); in tcp_slowtimo() 89 if (tp == 0) in tcp_slowtimo() [all …]
|
D | tcp_output.c | 67 tcp_output(struct tcpcb *tp) argument 69 register struct socket *so = tp->t_socket; 79 DEBUG_ARG("tp = %lx", (long )tp); 87 idle = (tp->snd_max == tp->snd_una); 88 if (idle && tp->t_idle >= tp->t_rxtcur) 94 tp->snd_cwnd = tp->t_maxseg; 97 off = tp->snd_nxt - tp->snd_una; 98 win = min(tp->snd_wnd, tp->snd_cwnd); 100 flags = tcp_outflags[tp->t_state]; 110 if (tp->t_force) { [all …]
|
D | tcp_input.c | 68 #define TCP_REASS(tp, ti, m, so, flags) {\ argument 69 if ((ti)->ti_seq == (tp)->rcv_nxt && \ 70 tcpfrag_list_empty(tp) && \ 71 (tp)->t_state == TCPS_ESTABLISHED) {\ 73 tp->t_flags |= TF_ACKNOW; \ 75 tp->t_flags |= TF_DELACK; \ 76 (tp)->rcv_nxt += (ti)->ti_len; \ 86 (flags) = tcp_reass((tp), (ti), (m)); \ 87 tp->t_flags |= TF_ACKNOW; \ 91 #define TCP_REASS(tp, ti, m, so, flags) { \ argument [all …]
|
D | tftp.c | 53 static int tftp_session_allocate(struct tftp_t *tp) in tftp_session_allocate() argument 73 spt->client_ip = ip_geth(tp->ip.ip_src); in tftp_session_allocate() 74 spt->client_port = port_geth(tp->udp.uh_sport); in tftp_session_allocate() 81 static int tftp_session_find(struct tftp_t *tp) in tftp_session_find() argument 90 if (spt->client_ip == ip_geth(tp->ip.ip_src)) { in tftp_session_find() 91 if (spt->client_port == port_geth(tp->udp.uh_sport)) { in tftp_session_find() 137 struct tftp_t *tp; in tftp_send_oack() local 148 tp = (void *)m->m_data; in tftp_send_oack() 151 tp->tp_op = htons(TFTP_OACK); in tftp_send_oack() 152 n += snprintf((char *)tp->x.tp_buf + n, sizeof(tp->x.tp_buf) - n, "%s", in tftp_send_oack() [all …]
|
D | tcp_subr.c | 67 tcp_template(struct tcpcb *tp) in tcp_template() argument 69 struct socket *so = tp->t_socket; in tcp_template() 70 register struct tcpiphdr *n = &tp->t_template; in tcp_template() 105 tcp_respond(struct tcpcb *tp, struct tcpiphdr *ti, struct mbuf *m, in tcp_respond() argument 112 DEBUG_ARG("tp = %lx", (long)tp); in tcp_respond() 119 if (tp) in tcp_respond() 120 win = sbspace(&tp->t_socket->so_rcv); in tcp_respond() 158 if (tp) in tcp_respond() 159 ti->ti_win = htons((u_int16_t) (win >> tp->rcv_scale)); in tcp_respond() 183 register struct tcpcb *tp; in tcp_newtcpcb() local [all …]
|
/external/tcpdump/ |
D | addrtoname.c | 329 struct enamemem *tp; in lookup_emem() local 335 tp = &enametable[(i ^ j) & (HASHNAMESIZE-1)]; in lookup_emem() 336 while (tp->e_nxt) in lookup_emem() 337 if (tp->e_addr0 == i && in lookup_emem() 338 tp->e_addr1 == j && in lookup_emem() 339 tp->e_addr2 == k) in lookup_emem() 340 return tp; in lookup_emem() 342 tp = tp->e_nxt; in lookup_emem() 343 tp->e_addr0 = i; in lookup_emem() 344 tp->e_addr1 = j; in lookup_emem() [all …]
|
D | print-dhcp6.c | 339 const u_char *tp; in dhcp6opt_print() local 370 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() 371 switch (EXTRACT_16BITS(tp)) { in dhcp6opt_print() 375 EXTRACT_16BITS(&tp[2]), in dhcp6opt_print() 376 EXTRACT_32BITS(&tp[4])); in dhcp6opt_print() 378 printf("%02x", tp[i]); in dhcp6opt_print() 390 printf("%02x", tp[i]); in dhcp6opt_print() 401 EXTRACT_16BITS(&tp[2])); in dhcp6opt_print() 403 printf("%02x", tp[i]); in dhcp6opt_print() 412 printf(" type %d)", EXTRACT_16BITS(tp)); in dhcp6opt_print() [all …]
|
D | print-atalk.c | 384 register const struct atNBPtuple *tp = in nbp_print() local 402 if ((const u_char *)tp > ep) { in nbp_print() 412 if ((const u_char *)(tp + 1) > ep) { in nbp_print() 416 (void)nbp_name_print(tp, ep); in nbp_print() 424 if (tp->enumerator) in nbp_print() 425 (void)printf(" [enum=%d]", tp->enumerator); in nbp_print() 426 if (EXTRACT_16BITS(&tp->net) != snet || in nbp_print() 427 tp->node != snode || tp->skt != skt) in nbp_print() 429 ataddr_string(EXTRACT_16BITS(&tp->net), in nbp_print() 430 tp->node), tp->skt); in nbp_print() [all …]
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
D | ptw32_new.c | 46 ptw32_thread_t * tp; in ptw32_new() local 55 tp = (ptw32_thread_t *) t.p; in ptw32_new() 60 tp = (ptw32_thread_t *) calloc (1, sizeof(ptw32_thread_t)); in ptw32_new() 62 if (tp == NULL) in ptw32_new() 68 t.p = tp->ptHandle.p = tp; in ptw32_new() 69 t.x = tp->ptHandle.x = 0; in ptw32_new() 73 tp->seqNumber = ++ptw32_threadSeqNumber; in ptw32_new() 74 tp->sched_priority = THREAD_PRIORITY_NORMAL; in ptw32_new() 75 tp->detachState = PTHREAD_CREATE_JOINABLE; in ptw32_new() 76 tp->cancelState = PTHREAD_CANCEL_ENABLE; in ptw32_new() [all …]
|
D | ptw32_reuse.c | 85 ptw32_thread_t * tp; in ptw32_threadReusePop() local 87 tp = ptw32_threadReuseTop; in ptw32_threadReusePop() 89 ptw32_threadReuseTop = tp->prevReuse; in ptw32_threadReusePop() 96 tp->prevReuse = NULL; in ptw32_threadReusePop() 98 t = tp->ptHandle; in ptw32_threadReusePop() 116 ptw32_thread_t * tp = (ptw32_thread_t *) thread.p; in ptw32_threadReusePush() local 122 t = tp->ptHandle; in ptw32_threadReusePush() 123 memset(tp, 0, sizeof(ptw32_thread_t)); in ptw32_threadReusePush() 126 tp->ptHandle = t; in ptw32_threadReusePush() 130 tp->ptHandle.x += PTW32_THREAD_ID_REUSE_INCREMENT; in ptw32_threadReusePush() [all …]
|
D | pthread_cancel.c | 101 ptw32_thread_t * tp; in pthread_cancel() local 124 tp = (ptw32_thread_t *) thread.p; in pthread_cancel() 129 ptw32_mcs_lock_acquire (&tp->stateLock, &stateLock); in pthread_cancel() 131 if (tp->cancelType == PTHREAD_CANCEL_ASYNCHRONOUS in pthread_cancel() 132 && tp->cancelState == PTHREAD_CANCEL_ENABLE in pthread_cancel() 133 && tp->state < PThreadStateCanceling) in pthread_cancel() 137 tp->state = PThreadStateCanceling; in pthread_cancel() 138 tp->cancelState = PTHREAD_CANCEL_DISABLE; in pthread_cancel() 147 HANDLE threadH = tp->threadH; in pthread_cancel() 153 tp->state = PThreadStateCanceling; in pthread_cancel() [all …]
|
/external/clang/test/Analysis/ |
D | uninit-const.c | 26 int* tp = &t; // expected-note {{'tp' initialized here}} in f_1() local 27 …doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to unini… in f_1() 47 int* tp = p; // expected-note {{'tp' initialized here}} in f_2() local 48 …doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to uninit… in f_2() 64 int* tp = ta; // expected-note {{'tp' initialized here}} in f_5() local 65 …doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to unini… in f_5() 77 int* tp = ta; in f_6() local 78 doStuff_pointerToConstInt(tp); // no-warning in f_6() 150 int* tp = &t; // expected-note {{'tp' initialized here}} in f_variadic_unp_unv() local 151 …doStuff_variadic(tp,v); // expected-warning {{Function call argument is a pointer to uninitialize… in f_variadic_unp_unv() [all …]
|
/external/mksh/src/ |
D | exec.c | 63 struct tbl *tp = NULL; in execute() local 142 tp = findcom(ap[0], FC_BI|FC_FUNC); in execute() 158 if (iosetup(*iowp, tp) < 0) { in execute() 164 if (tp && tp->type == CSHELL && in execute() 165 (tp->flag & SPEC_BI)) in execute() 174 rv = comexec(t, tp, (const char **)ap, flags, xerrok); in execute() 493 comexec(struct op *t, struct tbl * volatile tp, const char **ap, in comexec() argument 536 while (tp && tp->type == CSHELL) { in comexec() 539 if (tp->val.f == c_builtin) { in comexec() 542 tp = NULL; in comexec() [all …]
|
/external/openssl/crypto/bn/asm/ |
D | sparcv9-mont.pl | 71 $tp="%l4"; 114 add %sp,$bias+$frame,$tp 140 st $car1,[$tp] 145 add $tp,4,$tp ! tp++ 155 st $car1,[$tp] 163 st $car1,[$tp+4] 167 st $car1,[$tp+8] 173 add %sp,$bias+$frame,$tp 178 ld [$tp],$tmp1 ! tp[0] 179 ld [$tp+4],$tpj ! tp[1] [all …]
|
D | alpha-mont.pl | 33 $tp="t7"; 104 mov sp,$tp 116 lda $tp,8($tp) 138 stq $lo1,-8($tp) 155 stq $lo1,0($tp) 159 stq $hi1,8($tp) 160 stq AT,16($tp) 191 mov sp,$tp 200 ldq $tj,8($tp) #L0 208 lda $tp,8($tp) [all …]
|
D | mips3-mont.pl | 36 $tp="t3"; 116 move $tp,sp 141 sd $lo1,($tp) 147 PTR_ADD $tp,8 161 sd $lo1,($tp) 165 sd $hi1,8($tp) 166 sd AT,16($tp) 203 move $tp,sp 205 ld $tj,8($tp) 231 ld $tj,16($tp) [all …]
|
D | parisc-mont.pl | 107 $tp="%r31"; 202 ldo `$LOCALS+32+4`($fp),$tp 268 stw $nm1,-4($tp) ; tp[j-1] 270 stw,ma $nm0,8($tp) ; tp[j-1] 291 stw $nm1,-4($tp) ; tp[j-1] 298 stw,ma $nm0,8($tp) ; tp[j-1] 323 stw $nm1,-4($tp) ; tp[j-1] 331 stw $hi0,0($tp) 332 stw $hi1,4($tp) 337 ldo `$LOCALS+32+4`($fp),$tp [all …]
|
/external/blktrace/btt/ |
D | mmap.c | 50 struct blk_io_trace *tp, in convert_to_cpu() argument 57 memcpy(tp, t, sizeof(*tp)); in convert_to_cpu() 59 tp->magic = be32_to_cpu(t->magic); in convert_to_cpu() 60 tp->sequence = be32_to_cpu(t->sequence); in convert_to_cpu() 61 tp->time = be64_to_cpu(t->time); in convert_to_cpu() 62 tp->sector = be64_to_cpu(t->sector); in convert_to_cpu() 63 tp->bytes = be32_to_cpu(t->bytes); in convert_to_cpu() 64 tp->action = be32_to_cpu(t->action); in convert_to_cpu() 65 tp->pid = be32_to_cpu(t->pid); in convert_to_cpu() 66 tp->device = be32_to_cpu(t->device); in convert_to_cpu() [all …]
|
/external/icu/icu4c/source/tools/tzcode/ |
D | scheck.c | 23 register char * tp; local 35 tp = fbuf; 36 while ((*tp++ = c = *fp++) != '\0') { 40 *tp++ = *fp++; 43 *tp++ = '*'; 47 *tp++ = *fp++; 49 *tp++ = *fp++; 51 do *tp++ = *fp++; 53 if ((*tp++ = *fp++) == '\0') 56 *(tp - 1) = '%'; [all …]
|
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
D | scheck.c | 23 register char * tp; local 35 tp = fbuf; 36 while ((*tp++ = c = *fp++) != '\0') { 40 *tp++ = *fp++; 43 *tp++ = '*'; 47 *tp++ = *fp++; 49 *tp++ = *fp++; 51 do *tp++ = *fp++; 53 if ((*tp++ = *fp++) == '\0') 56 *(tp - 1) = '%'; [all …]
|