/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_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 | ptw32_threadDestroy.c | 45 ptw32_thread_t * tp = (ptw32_thread_t *) thread.p; local 48 if (tp != NULL) 53 memcpy (&threadCopy, tp, sizeof (threadCopy));
|
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 | 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 | 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 | pthread_setschedparam.c | 76 ptw32_thread_t * tp = (ptw32_thread_t *) thread.p; local 104 ptw32_mcs_lock_acquire (&tp->threadLock, &threadLock); 107 if (0 == SetThreadPriority (tp->threadH, prio)) 117 tp->sched_priority = priority;
|
H A D | create.c | 87 ptw32_thread_t * tp; local 119 tp = (ptw32_thread_t *) thread.p; 121 priority = tp->sched_priority; 138 tp->sigmask = ((ptw32_thread_t *)self.p)->sigmask; 146 tp->detachState = a->detachstate; 190 tp->state = run ? PThreadStateInitial : PThreadStateSuspended; 192 tp->keys = NULL; 205 tp->threadH = 213 (unsigned *) &(tp->thread)); 237 ptw32_mcs_lock_acquire(&tp [all...] |
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_mutex_consistent.c | 120 ptw32_thread_t* tp = (ptw32_thread_t*)self.p; local 123 list = &tp->robustMxList;
|
/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/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/libnl/lib/route/link/ |
H A D | api.c | 79 struct rtnl_link_info_ops *t, **tp; local 81 for (tp = &info_ops; (t=*tp) != NULL; tp = &t->io_next) 93 *tp = t->io_next;
|
/external/chromium_org/components/nacl/loader/nonsfi/ |
H A D | irt_clock.cc | 53 int IrtClockGetTime(nacl_irt_clockid_t clk_id, struct nacl_abi_timespec* tp) { argument 62 TimeSpecToNaClAbiTimeSpec(host_tp, tp);
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
H A D | p5-cxx03-extra-copy.cpp | 33 T *tp = dp; // expected-error{{cannot initialize a variable of type 'int *' with an lvalue of type 'double *'}} local
|
H A D | p5-cxx0x-no-extra-copy.cpp | 30 T *tp = dp; local
|
/external/libcxx/src/ |
H A D | chrono.cpp | 123 struct timespec tp; variable in typeref:struct:chrono::timespec 124 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp)) 126 return time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec));
|
/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/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...] |
/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...] |
/external/tcpdump/ |
H A D | 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); 102 p = (u_char *)tp->th_stuff; 113 if (length <= (u_int)(p - (const u_char *)&tp->th_block)) 128 TCHECK(tp->th_block); 129 printf(" block %d", EXTRACT_16BITS(&tp->th_block)); 134 TCHECK(tp->th_code); 136 EXTRACT_16BITS(&tp [all...] |
/external/iproute2/tc/ |
H A D | f_route.c | 39 struct tc_police tp; local 45 memset(&tp, 0, sizeof(tp));
|
/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...] |