Searched defs:tp (Results 151 - 175 of 184) sorted by path

12345678

/external/qemu/distrib/sdl-1.2.15/src/stdlib/
H A DSDL_malloc.c3576 tchunkptr tp = (tchunkptr)p; local
3583 unlink_large_chunk(m, tp);
3593 insert_large_chunk(m, tp, psize);
/external/qemu/slirp-android/
H A Dslirp.c1269 static void slirp_tcp_save(QEMUFile *f, struct tcpcb *tp) argument
1273 qemu_put_sbe16(f, tp->t_state);
1275 qemu_put_sbe16(f, tp->t_timer[i]);
1276 qemu_put_sbe16(f, tp->t_rxtshift);
1277 qemu_put_sbe16(f, tp->t_rxtcur);
1278 qemu_put_sbe16(f, tp->t_dupacks);
1279 qemu_put_be16(f, tp->t_maxseg);
1280 qemu_put_sbyte(f, tp->t_force);
1281 qemu_put_be16(f, tp->t_flags);
1282 qemu_put_be32(f, tp
1362 slirp_tcp_load(QEMUFile *f, struct tcpcb *tp) argument
[all...]
H A Dsocket.c275 struct tcpcb *tp = sototcpcb(so); local
289 tp->snd_up = tp->snd_una + so->so_snd.sb_cc;
290 tp->t_force = 1;
291 tcp_output(tp);
292 tp->t_force = 0;
H A Dtcp_input.c59 * control block tp. Return TH_FIN if reassembly now includes
68 #define TCP_REASS(tp, ti, m, so, flags) {\
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
116 tcp_reass(register struct tcpcb *tp, register struct tcpiphdr *ti, struct mbuf *m) argument
240 register struct tcpcb *tp = NULL; local
1504 tcp_dooptions(struct tcpcb *tp, u_char *cp, int cnt, struct tcpiphdr *ti) argument
1591 struct tcpcb *tp = sototcpcb(so); local
1615 tcp_xmit_timer(register struct tcpcb *tp, int rtt) argument
1703 tcp_mss(struct tcpcb *tp, u_int offer) argument
[all...]
H A Dtcp_output.c67 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
584 tcp_setpersist(struct tcpcb *tp) argument
[all...]
H A Dtcp_subr.c67 tcp_template(struct tcpcb *tp) argument
69 struct socket *so = tp->t_socket;
70 register struct tcpiphdr *n = &tp->t_template;
96 * template for a connection tp->t_template. If flags are given
105 tcp_respond(struct tcpcb *tp, struct tcpiphdr *ti, struct mbuf *m, argument
112 DEBUG_ARG("tp = %lx", (long)tp);
119 if (tp)
120 win = sbspace(&tp->t_socket->so_rcv);
158 if (tp)
183 register struct tcpcb *tp; local
223 tcp_drop(struct tcpcb *tp, int err) argument
255 tcp_close(struct tcpcb *tp) argument
307 struct tcpcb *tp = intotcpcb(inp); local
330 tcp_sockclosed(struct tcpcb *tp) argument
592 struct tcpcb *tp; local
[all...]
H A Dtcp_timer.c41 static struct tcpcb *tcp_timers(register struct tcpcb *tp, int timer);
50 register struct tcpcb *tp; local
57 if ((tp = (struct tcpcb *)so->so_tcpcb) &&
58 (tp->t_flags & TF_DELACK)) {
59 tp->t_flags &= ~TF_DELACK;
60 tp->t_flags |= TF_ACKNOW;
62 (void) tcp_output(tp);
75 register struct tcpcb *tp; local
88 tp = sototcpcb(ip);
89 if (tp
116 tcp_canceltimers(struct tcpcb *tp) argument
131 tcp_timers(register struct tcpcb *tp, int timer) argument
[all...]
H A Dtftp.c53 static int tftp_session_allocate(struct tftp_t *tp) argument
73 spt->client_ip = ip_geth(tp->ip.ip_src);
74 spt->client_port = port_geth(tp->udp.uh_sport);
81 static int tftp_session_find(struct tftp_t *tp) argument
90 if (spt->client_ip == ip_geth(tp->ip.ip_src)) {
91 if (spt->client_port == port_geth(tp->udp.uh_sport)) {
137 struct tftp_t *tp; local
148 tp = (void *)m->m_data;
151 tp->tp_op = htons(TFTP_OACK);
152 n += snprintf((char *)tp
180 struct tftp_t *tp; local
222 struct tftp_t *tp; local
279 tftp_handle_rrq(struct tftp_t *tp, int pktlen) argument
397 tftp_handle_ack(struct tftp_t *tp, int pktlen) argument
416 struct tftp_t *tp = (struct tftp_t *)m->m_data; local
[all...]
/external/qemu/slirp/
H A Dslirp.c866 static void slirp_tcp_save(QEMUFile *f, struct tcpcb *tp) argument
870 qemu_put_sbe16(f, tp->t_state);
872 qemu_put_sbe16(f, tp->t_timer[i]);
873 qemu_put_sbe16(f, tp->t_rxtshift);
874 qemu_put_sbe16(f, tp->t_rxtcur);
875 qemu_put_sbe16(f, tp->t_dupacks);
876 qemu_put_be16(f, tp->t_maxseg);
877 qemu_put_sbyte(f, tp->t_force);
878 qemu_put_be16(f, tp->t_flags);
879 qemu_put_be32(f, tp
959 slirp_tcp_load(QEMUFile *f, struct tcpcb *tp) argument
[all...]
H A Dsocket.c267 struct tcpcb *tp = sototcpcb(so); local
281 tp->snd_up = tp->snd_una + so->so_snd.sb_cc;
282 tp->t_force = 1;
283 tcp_output(tp);
284 tp->t_force = 0;
H A Dtcp_input.c59 * control block tp. Return TH_FIN if reassembly now includes
68 #define TCP_REASS(tp, ti, m, so, flags) {\
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
116 tcp_reass(register struct tcpcb *tp, register struct tcpiphdr *ti, struct mbuf *m) argument
240 register struct tcpcb *tp = NULL; local
1498 tcp_dooptions(struct tcpcb *tp, u_char *cp, int cnt, struct tcpiphdr *ti) argument
1585 struct tcpcb *tp = sototcpcb(so); local
1609 tcp_xmit_timer(register struct tcpcb *tp, int rtt) argument
1697 tcp_mss(struct tcpcb *tp, u_int offer) argument
[all...]
H A Dtcp_output.c67 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
584 tcp_setpersist(struct tcpcb *tp) argument
[all...]
H A Dtcp_subr.c65 tcp_template(struct tcpcb *tp) argument
67 struct socket *so = tp->t_socket;
68 register struct tcpiphdr *n = &tp->t_template;
94 * template for a connection tp->t_template. If flags are given
103 tcp_respond(struct tcpcb *tp, struct tcpiphdr *ti, struct mbuf *m, argument
110 DEBUG_ARG("tp = %lx", (long)tp);
117 if (tp)
118 win = sbspace(&tp->t_socket->so_rcv);
156 if (tp)
181 register struct tcpcb *tp; local
221 tcp_drop(struct tcpcb *tp, int err) argument
253 tcp_close(struct tcpcb *tp) argument
305 struct tcpcb *tp = intotcpcb(inp); local
328 tcp_sockclosed(struct tcpcb *tp) argument
436 struct tcpcb *tp; local
[all...]
H A Dtcp_timer.c41 static struct tcpcb *tcp_timers(register struct tcpcb *tp, int timer);
50 register struct tcpcb *tp; local
57 if ((tp = (struct tcpcb *)so->so_tcpcb) &&
58 (tp->t_flags & TF_DELACK)) {
59 tp->t_flags &= ~TF_DELACK;
60 tp->t_flags |= TF_ACKNOW;
62 (void) tcp_output(tp);
75 register struct tcpcb *tp; local
88 tp = sototcpcb(ip);
89 if (tp
116 tcp_canceltimers(struct tcpcb *tp) argument
131 tcp_timers(register struct tcpcb *tp, int timer) argument
[all...]
H A Dtftp.c53 static int tftp_session_allocate(struct tftp_t *tp) argument
73 memcpy(&spt->client_ip, &tp->ip.ip_src, sizeof(spt->client_ip));
74 spt->client_port = tp->udp.uh_sport;
81 static int tftp_session_find(struct tftp_t *tp) argument
90 if (!memcmp(&spt->client_ip, &tp->ip.ip_src, sizeof(spt->client_ip))) {
91 if (spt->client_port == tp->udp.uh_sport) {
137 struct tftp_t *tp; local
148 tp = (void *)m->m_data;
151 tp->tp_op = htons(TFTP_OACK);
152 n += snprintf((char *)tp
178 struct tftp_t *tp; local
221 struct tftp_t *tp; local
276 tftp_handle_rrq(struct tftp_t *tp, int pktlen) argument
395 tftp_handle_ack(struct tftp_t *tp, int pktlen) argument
414 struct tftp_t *tp = (struct tftp_t *)m->m_data; local
[all...]
/external/qemu/util/
H A Doslib-win32.c170 int qemu_gettimeofday(qemu_timeval *tp) argument
177 if(tp) {
179 tp->tv_usec=(long)((_now.ns100 / 10ULL) % 1000000ULL );
180 tp->tv_sec= (long)((_now.ns100 - _W32_FT_OFFSET) / 10000000ULL);
/external/regex-re2/re2/
H A Dnfa.cc220 Thread** tp = &q->find(id)->second; local
237 *tp = t;
269 *tp = t;
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
H A Djavassist-3.14.0-GA.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/bytecode/ javassist/bytecode/analysis/ javassist/bytecode/annotation/ javassist/ ...
/external/skia/src/effects/
H A DSkBlurMask.cpp549 uint8_t* tp = tmpBuffer.get(); local
557 w = boxBlur(sp, src.fRowBytes, tp, loRadius, hiRadius, w, h, false);
558 w = boxBlur(tp, w, dp, hiRadius, loRadius, w, h, false);
559 w = boxBlur(dp, w, tp, hiRadius, hiRadius, w, h, true);
561 h = boxBlur(tp, h, dp, loRadius, hiRadius, h, w, false);
562 h = boxBlur(dp, h, tp, hiRadius, loRadius, h, w, false);
563 h = boxBlur(tp, h, dp, hiRadius, hiRadius, h, w, true);
565 w = boxBlur(sp, src.fRowBytes, tp, rx, rx, w, h, true);
566 h = boxBlur(tp, h, dp, ry, ry, h, w, true);
571 w = boxBlurInterp(sp, src.fRowBytes, tp, r
[all...]
/external/stressapptest/src/
H A Ddisk_blocks.cc137 struct timeval tp; local
139 gettimeofday(&tp, NULL);
140 ts.tv_sec = tp.tv_sec;
141 ts.tv_nsec = tp.tv_usec * 1000;
/external/tcpdump/
H A Daddrtoname.c329 struct enamemem *tp; local
335 tp = &enametable[(i ^ j) & (HASHNAMESIZE-1)];
336 while (tp->e_nxt)
337 if (tp->e_addr0 == i &&
338 tp->e_addr1 == j &&
339 tp->e_addr2 == k)
340 return tp;
342 tp = tp->e_nxt;
343 tp
361 struct enamemem *tp; local
408 struct enamemem *tp; local
450 struct protoidmem *tp; local
477 register struct enamemem *tp; local
525 register struct enamemem *tp; local
552 register struct enamemem *tp; local
585 register struct hnamemem *tp; local
612 register struct protoidmem *tp; local
640 register struct enamemem *tp; local
668 register struct hnamemem *tp; local
687 register struct hnamemem *tp; local
707 register struct hnamemem *tp; local
808 register struct protoidmem *tp; local
859 register struct enamemem *tp; local
1165 register struct hnamemem *tp; local
[all...]
H A Dprint-atalk.c384 register const struct atNBPtuple *tp = local
402 if ((const u_char *)tp > ep) {
412 if ((const u_char *)(tp + 1) > ep) {
416 (void)nbp_name_print(tp, ep);
424 if (tp->enumerator)
425 (void)printf(" [enum=%d]", tp->enumerator);
426 if (EXTRACT_16BITS(&tp->net) != snet ||
427 tp->node != snode || tp->skt != skt)
429 ataddr_string(EXTRACT_16BITS(&tp
476 nbp_tuple_print(register const struct atNBPtuple *tp, register const u_char *ep, register u_short snet, register u_char snode, register u_char skt) argument
506 nbp_name_print(const struct atNBPtuple *tp, register const u_char *ep) argument
541 register struct hnamemem *tp, *tp2; local
[all...]
H A Dprint-dhcp6.c339 const u_char *tp; local
370 tp = (u_char *)(dh6o + 1);
371 switch (EXTRACT_16BITS(tp)) {
375 EXTRACT_16BITS(&tp[2]),
376 EXTRACT_32BITS(&tp[4]));
378 printf("%02x", tp[i]);
390 printf("%02x", tp[i]);
401 EXTRACT_16BITS(&tp[2]));
403 printf("%02x", tp[i]);
412 printf(" type %d)", EXTRACT_16BITS(tp));
[all...]
/external/tcpdump/missing/
H A Dinet_ntop.c113 char *tp; local
153 tp = tmp;
161 *tp++ = ':';
168 *tp++ = ':';
175 if (!inet_ntop_v4(src+12, tp, sizeof(tmp) - (tp - tmp)))
180 tp += strlen(tp);
183 tp += sprintf (tp, "
[all...]

Completed in 454 milliseconds

12345678