/external/qemu/slirp/ |
tcp_timer.c | 41 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 == 0 [all...] |
tcp_output.c | 67 tcp_output(struct tcpcb *tp) 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 [all...] |
tcp_input.c | 59 * 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->t_flags |= TF_ACKNOW; 240 register struct tcpcb *tp = NULL; local 1585 struct tcpcb *tp = sototcpcb(so); local [all...] |
tftp.c | 53 static int tftp_session_allocate(struct tftp_t *tp) 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) 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->x.tp_buf + n, sizeof(tp->x.tp_buf) - n, "%s" 178 struct tftp_t *tp; local 221 struct tftp_t *tp; local 414 struct tftp_t *tp = (struct tftp_t *)m->m_data; local [all...] |
/external/qemu/slirp-android/ |
tcp_timer.c | 41 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 == 0 [all...] |
tcp_output.c | 67 tcp_output(struct tcpcb *tp) 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 [all...] |
tcp_input.c | 59 * 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->t_flags |= TF_ACKNOW; 240 register struct tcpcb *tp = NULL; local 1591 struct tcpcb *tp = sototcpcb(so); local [all...] |
tftp.c | 53 static int tftp_session_allocate(struct tftp_t *tp) 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) 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->x.tp_buf + n, sizeof(tp->x.tp_buf) - n, "%s" 180 struct tftp_t *tp; local 225 struct tftp_t *tp; local 420 struct tftp_t *tp = (struct tftp_t *)m->m_data; local [all...] |
/frameworks/base/core/java/android/text/ |
TextPaint.java | 45 * Copy the fields from tp into this TextPaint, including the 48 public void set(TextPaint tp) { 49 super.set(tp); 51 bgColor = tp.bgColor; 52 baselineShift = tp.baselineShift; 53 linkColor = tp.linkColor; 54 drawableState = tp.drawableState; 55 density = tp.density;
|
/system/media/opensles/libopensles/ |
ThreadPool.c | 25 ThreadPool *tp = (ThreadPool *) context; local 26 assert(NULL != tp); 28 Closure *pClosure = ThreadPool_remove(tp); 49 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads); 55 SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads) 57 assert(NULL != tp); 58 memset(tp, 0, sizeof(ThreadPool)); 59 tp->mShutdown = SL_BOOLEAN_FALSE; 66 err = pthread_mutex_init(&tp->mMutex, (const pthread_mutexattr_t *) NULL); 71 err = pthread_cond_init(&tp->mCondNotFull, (const pthread_condattr_t *) NULL) [all...] |
ThreadPool.h | 53 extern SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads); 54 extern void ThreadPool_deinit(ThreadPool *tp); 55 extern SLresult ThreadPool_add(ThreadPool *tp, void (*handler)(void *, int), void *context, 57 extern Closure *ThreadPool_remove(ThreadPool *tp);
|
/external/chromium/third_party/icu/source/tools/tzcode/ |
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/icu4c/tools/tzcode/ |
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...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
term_entry.h | 73 #define NUM_BOOLEANS(tp) (tp)->num_Booleans 74 #define NUM_NUMBERS(tp) (tp)->num_Numbers 75 #define NUM_STRINGS(tp) (tp)->num_Strings 76 #define EXT_NAMES(tp,i,limit,index,table) (i >= limit) ? tp->ext_Names[index] : table[i] 78 #define NUM_BOOLEANS(tp) BOOLCOUNT 79 #define NUM_NUMBERS(tp) NUMCOUN [all...] |
/frameworks/base/core/java/android/text/style/ |
SubscriptSpan.java | 43 public void updateDrawState(TextPaint tp) { 44 tp.baselineShift -= (int) (tp.ascent() / 2); 48 public void updateMeasureState(TextPaint tp) { 49 tp.baselineShift -= (int) (tp.ascent() / 2);
|
SuperscriptSpan.java | 43 public void updateDrawState(TextPaint tp) { 44 tp.baselineShift += (int) (tp.ascent() / 2); 48 public void updateMeasureState(TextPaint tp) { 49 tp.baselineShift += (int) (tp.ascent() / 2);
|
MetricAffectingSpan.java | 64 public void updateDrawState(TextPaint tp) { 65 mStyle.updateDrawState(tp); 72 public void updateMeasureState(TextPaint tp) { 73 mStyle.updateMeasureState(tp);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
atmsvc.h | 51 #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pcr : \ 52 (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp).max_pcr : \ 53 (tp).min_pcr ? (tp).min_pcr : ATM_MAX_PCR)
|
/bionic/libc/inet/ |
inet_pton.c | 77 u_char tmp[INADDRSZ], *tp; local 81 *(tp = tmp) = 0; 86 u_int new = *tp * 10 + (pch - digits); 95 *tp = new; 99 *++tp = 0; 129 u_char tmp[IN6ADDRSZ], *tp, *endp, *colonp; local 134 memset((tp = tmp), '\0', IN6ADDRSZ); 135 endp = tp + IN6ADDRSZ; 165 colonp = tp; 170 if (tp + INT16SZ > endp [all...] |
/cts/tests/tests/text/src/android/text/style/cts/ |
ClickableSpanTest.java | 44 TextPaint tp = new TextPaint(); local 45 tp.linkColor = Color.RED; 46 tp.setUnderlineText(false); 47 assertFalse(tp.isUnderlineText()); 49 clickableSpan.updateDrawState(tp); 50 assertEquals(Color.RED, tp.getColor()); 51 assertTrue(tp.isUnderlineText()); 53 tp.linkColor = Color.BLUE; 54 clickableSpan.updateDrawState(tp); 55 assertEquals(Color.BLUE, tp.getColor()) [all...] |
/external/blktrace/btt/ |
mmap.c | 50 struct blk_io_trace *tp, 57 memcpy(tp, t, sizeof(*tp)); 59 tp->magic = be32_to_cpu(t->magic); 60 tp->sequence = be32_to_cpu(t->sequence); 61 tp->time = be64_to_cpu(t->time); 62 tp->sector = be64_to_cpu(t->sector); 63 tp->bytes = be32_to_cpu(t->bytes); 64 tp->action = be32_to_cpu(t->action); 65 tp->pid = be32_to_cpu(t->pid) [all...] |
/external/tcpdump/ |
addrtoname.c | 324 struct enamemem *tp; local 330 tp = &enametable[(i ^ j) & (HASHNAMESIZE-1)]; 331 while (tp->e_nxt) 332 if (tp->e_addr0 == i && 333 tp->e_addr1 == j && 334 tp->e_addr2 == k) 335 return tp; 337 tp = tp->e_nxt; 338 tp->e_addr0 = i 356 struct enamemem *tp; local 400 struct enamemem *tp; local 442 struct protoidmem *tp; local 469 register struct enamemem *tp; local 516 register struct enamemem *tp; local 543 register struct hnamemem *tp; local 570 register struct protoidmem *tp; local 598 register struct enamemem *tp; local 626 register struct hnamemem *tp; local 645 register struct hnamemem *tp; local 665 register struct hnamemem *tp; local 766 register struct protoidmem *tp; local 817 register struct enamemem *tp; local 1123 register struct hnamemem *tp; local [all...] |
print-tftp.c | 77 register const struct tftphdr *tp; local 83 tp = (const struct tftphdr *)bp; 89 TCHECK(tp->th_opcode); 90 opcode = EXTRACT_16BITS(&tp->th_opcode); 107 p = (u_char *)tp->th_stuff; 109 p = (u_char *)&tp->th_block; 121 if (length <= (u_int)(p - (const u_char *)&tp->th_block)) 136 TCHECK(tp->th_block); 137 printf(" block %d", EXTRACT_16BITS(&tp->th_block)); 142 TCHECK(tp->th_code) [all...] |
/external/grub/netboot/ |
tulip.c | 433 static struct tulip_private *tp; 518 printf("%s: %s\n", tp->nic_name, str); 583 if (tp->chip_id == LC82C168) { 594 if (tp->chip_id == COMET) { 643 if (tp->chip_id == LC82C168) { 653 if (tp->chip_id == COMET) { 742 unsigned char *p, *ee_data = tp->eeprom; 750 tp->mtable = 0; 768 tp->nic_name, eeprom_fixups[i].name, tp->nic_name) 432 static struct tulip_private *tp; variable in typeref:struct:tulip_private [all...] |
/cts/tools/dasm/src/java_cup/ |
symbol.java | 23 * @param tp a string with the type name. 25 public symbol(String nm, String tp) 31 if (tp == null) tp = "java_cup.runtime.token"; 34 _stack_type = tp;
|