/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
H A D | ptw32_new.c | 46 ptw32_thread_t * tp; local 55 tp = (ptw32_thread_t *) t.p; 60 tp = (ptw32_thread_t *) calloc (1, sizeof(ptw32_thread_t)); 62 if (tp == NULL) 68 t.p = tp->ptHandle.p = tp; 69 t.x = tp->ptHandle.x = 0; 73 tp->seqNumber = ++ptw32_threadSeqNumber; 74 tp->sched_priority = THREAD_PRIORITY_NORMAL; 75 tp [all...] |
H A D | ptw32_reuse.c | 85 ptw32_thread_t * tp; local 87 tp = ptw32_threadReuseTop; 89 ptw32_threadReuseTop = tp->prevReuse; 96 tp->prevReuse = NULL; 98 t = tp->ptHandle; 116 ptw32_thread_t * tp = (ptw32_thread_t *) thread.p; local 122 t = tp->ptHandle; 123 memset(tp, 0, sizeof(ptw32_thread_t)); 126 tp->ptHandle = t; 130 tp [all...] |
H A D | ptw32_processTerminate.c | 67 ptw32_thread_t * tp, * tpNext; local 92 tp = ptw32_threadReuseTop; 93 while (tp != PTW32_THREAD_REUSE_EMPTY) 95 tpNext = tp->prevReuse; 96 free (tp); 97 tp = tpNext;
|
H A D | pthread_kill.c | 79 ptw32_thread_t * tp; local 84 tp = (ptw32_thread_t *) thread.p; 86 if (NULL == tp 87 || thread.x != tp->ptHandle.x 88 || NULL == tp->threadH)
|
H A D | pthread_cancel.c | 101 ptw32_thread_t * tp; local 124 tp = (ptw32_thread_t *) thread.p; 129 ptw32_mcs_lock_acquire (&tp->stateLock, &stateLock); 131 if (tp->cancelType == PTHREAD_CANCEL_ASYNCHRONOUS 132 && tp->cancelState == PTHREAD_CANCEL_ENABLE 133 && tp->state < PThreadStateCanceling) 137 tp->state = PThreadStateCanceling; 138 tp->cancelState = PTHREAD_CANCEL_DISABLE; 147 HANDLE threadH = tp->threadH; 153 tp [all...] |
H A D | pthread_detach.c | 79 ptw32_thread_t * tp = (ptw32_thread_t *) thread.p; local 84 if (NULL == tp 85 || thread.x != tp->ptHandle.x) 89 else if (PTHREAD_CREATE_DETACHED == tp->detachState) 103 ptw32_mcs_lock_acquire (&tp->stateLock, &stateLock); 104 if (tp->state != PThreadStateLast) 106 tp->detachState = PTHREAD_CREATE_DETACHED; 108 else if (tp->detachState != PTHREAD_CREATE_DETACHED) 129 (void) WaitForSingleObject(tp->threadH, INFINITE);
|
H A D | pthread_join.c | 87 ptw32_thread_t * tp = (ptw32_thread_t *) thread.p; local 92 if (NULL == tp 93 || thread.x != tp->ptHandle.x) 97 else if (PTHREAD_CREATE_DETACHED == tp->detachState) 132 result = pthreadCancelableWait (tp->threadH); 138 *value_ptr = tp->exitStatus;
|
H A D | ptw32_threadDestroy.c | 45 ptw32_thread_t * tp = (ptw32_thread_t *) thread.p; local 48 if (tp != NULL) 53 memcpy (&threadCopy, tp, sizeof (threadCopy));
|
/external/qemu/slirp/ |
H A D | 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 116 tcp_canceltimers(struct tcpcb *tp) argument 131 tcp_timers(register struct tcpcb *tp, int timer) argument [all...] |
H A 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 584 tcp_setpersist(struct tcpcb *tp) argument [all...] |
H A D | 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 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 D | tftp.c | 53 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/slirp-android/ |
H A D | 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 116 tcp_canceltimers(struct tcpcb *tp) argument 131 tcp_timers(register struct tcpcb *tp, int timer) argument [all...] |
H A 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 584 tcp_setpersist(struct tcpcb *tp) argument [all...] |
H A D | 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 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 D | tftp.c | 53 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/libcxx/test/utilities/memory/default.allocator/allocator.members/ |
H A D | address.pass.cpp | 22 T* tp = new T(); local 23 const T* ctp = tp; 25 assert(a.address(*tp) == tp); 26 assert(a.address(*ctp) == tp); 27 delete tp;
|
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
H A 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 [all...] |
/external/icu/icu4c/source/tools/tzcode/ |
H A 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 [all...] |
/external/tcpdump/ |
H A D | print-dhcp6.c | 339 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...] |
H A D | addrtoname.c | 329 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...] |
/external/clang/test/Analysis/ |
H A D | uninit-const.c | 26 int* tp = &t; // expected-note {{'tp' initialized here}} local 27 doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to uninitialized value}} 47 int* tp = p; // expected-note {{'tp' initialized here}} local 48 doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to uninitialized value}} 64 int* tp = ta; // expected-note {{'tp' initialized here}} local 65 doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to uninitialized value}} 77 int* tp local 150 int* tp = &t; // expected-note {{'tp' initialized here}} local 158 int* tp = &t; // expected-note {{'tp' initialized here}} local 167 int* tp = &t; local 176 int* tp = &t; local 185 int *tp = &t; local 194 int *tp = &t; // expected-note {{'tp' initialized here}} local 204 int *tp = &t; local 213 int *tp = &t; // expected-note {{'tp' initialized here}} local [all...] |
/external/libcxx/test/utilities/memory/specialized.algorithms/specialized.addressof/ |
H A D | addressof.pass.cpp | 37 A* tp = new A; local 38 const A* ctp = tp; 39 assert(std::addressof(*tp) == tp); 40 assert(std::addressof(*ctp) == tp); 41 delete tp;
|
/external/kernel-headers/original/uapi/linux/ |
H A D | 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)
|
/external/blktrace/btt/ |
H A D | 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 49 convert_to_cpu(struct blk_io_trace *t, struct blk_io_trace *tp, void **pdu) argument [all...] |