HomeSort by relevance Sort by last modified time
    Searched refs:tp (Results 1 - 25 of 540) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
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->detachState = PTHREAD_CREATE_JOINABLE
    [all...]
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->ptHandle.x += PTW32_THREAD_ID_REUSE_INCREMENT
    [all...]
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;
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)
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->state = PThreadStateCanceling
    [all...]
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);
  /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...]
  /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...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/allocator.members/
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;
  /frameworks/base/core/java/android/text/
TextPaint.java 57 * Copy the fields from tp into this TextPaint, including the
60 public void set(TextPaint tp) {
61 super.set(tp);
63 bgColor = tp.bgColor;
64 baselineShift = tp.baselineShift;
65 linkColor = tp.linkColor;
66 drawableState = tp.drawableState;
67 density = tp.density;
68 underlineColor = tp.underlineColor;
69 underlineThickness = tp.underlineThickness
    [all...]
  /external/chromium_org/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...]
  /cts/tests/tests/text/src/android/text/style/cts/
ClickableSpanTest.java 31 TextPaint tp = new TextPaint(); local
32 tp.linkColor = Color.RED;
33 tp.setUnderlineText(false);
34 assertFalse(tp.isUnderlineText());
36 clickableSpan.updateDrawState(tp);
37 assertEquals(Color.RED, tp.getColor());
38 assertTrue(tp.isUnderlineText());
40 tp.linkColor = Color.BLUE;
41 clickableSpan.updateDrawState(tp);
42 assertEquals(Color.BLUE, tp.getColor())
    [all...]
  /frameworks/wilhelm/src/
ThreadPool.c 25 ThreadPool *tp = (ThreadPool *) context; local
26 assert(NULL != tp);
28 Closure *pClosure = ThreadPool_remove(tp);
81 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads);
87 SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads)
89 assert(NULL != tp);
90 memset(tp, 0, sizeof(ThreadPool));
91 tp->mShutdown = SL_BOOLEAN_FALSE;
98 err = pthread_mutex_init(&tp->mMutex, (const pthread_mutexattr_t *) NULL);
103 err = pthread_cond_init(&tp->mCondNotFull, (const pthread_condattr_t *) NULL)
    [all...]
  /prebuilts/gcc/linux-x86/host/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...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/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...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/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);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/specialized.algorithms/specialized.addressof/
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/chromium_org/native_client_sdk/src/libraries/nacl_io/
ostime.h 16 int clock_gettime(clockid_t clock_id, struct timespec *tp);
17 int clock_settime(clockid_t clock_id, const struct timespec *tp);

Completed in 447 milliseconds

1 2 3 4 5 6 7 8 91011>>