HomeSort by relevance Sort by last modified time
    Searched refs:tp (Results 1 - 25 of 267) 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);
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;
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/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;
  /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/icu/icu4c/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...]
  /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...]
RelativeSizeSpanTest.java 54 TextPaint tp = new TextPaint(); local
55 tp.setTextSize(2.0f);
56 float oldSize = tp.getTextSize();
57 relativeSizeSpan.updateMeasureState(tp);
58 assertEquals(2.0f * proportion, tp.getTextSize());
61 tp.setTextSize(-3.0f);
62 oldSize = tp.getTextSize();
63 relativeSizeSpan.updateMeasureState(tp);
64 assertEquals(oldSize * proportion, tp.getTextSize());
78 TextPaint tp = new TextPaint() local
    [all...]
SubscriptSpanTest.java 41 // the expected result is: tp.baselineShift -= (int) (tp.ascent() / 2)
44 TextPaint tp = new TextPaint(); local
45 float ascent = tp.ascent();
47 tp.baselineShift = baselineShift;
49 subscriptSpan.updateMeasureState(tp);
50 assertEquals(baselineShift - (int) (ascent / 2), tp.baselineShift);
61 // the expected result is: tp.baselineShift -= (int) (tp.ascent() / 2)
64 TextPaint tp = new TextPaint() local
    [all...]
SuperscriptSpanTest.java 41 // the expected result is: tp.baselineShift += (int) (tp.ascent() / 2)
44 TextPaint tp = new TextPaint(); local
45 float ascent = tp.ascent();
47 tp.baselineShift = baselineShift;
49 superscriptSpan.updateMeasureState(tp);
50 assertEquals(baselineShift + (int) (ascent / 2), tp.baselineShift);
61 // the expected result is: tp.baselineShift += (int) (tp.ascent() / 2)
64 TextPaint tp = new TextPaint() local
    [all...]
  /external/clang/test/Analysis/
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 = ta 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/
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;
  /bionic/libc/kernel/uapi/linux/
atmsvc.h 46 #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pcr : (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp).max_pcr : (tp).min_pcr ? (tp).min_pcr : ATM_MAX_PCR)
  /development/ndk/platforms/android-L/include/linux/
atmsvc.h 46 #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pcr : (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp).max_pcr : (tp).min_pcr ? (tp).min_pcr : ATM_MAX_PCR)
  /external/kernel-headers/original/uapi/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/upstream-openbsd/lib/libc/net/
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;
128 u_char tmp[IN6ADDRSZ], *tp, *endp, *colonp; local
133 memset((tp = tmp), '\0', IN6ADDRSZ);
134 endp = tp + IN6ADDRSZ;
164 colonp = tp;
169 if (tp + INT16SZ > endp
    [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...]
  /bionic/libc/upstream-netbsd/lib/libc/string/
memccpy.c 52 unsigned char *tp = t; local
56 if ((*tp++ = *fp++) == uc)
57 return (tp);
  /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;
  /cts/hostsidetests/theme/app/src/android/theme/app/modifiers/
DatePickerModifier.java 30 DatePicker tp = (DatePicker) view; local
31 tp.updateDate(2011, 4, 20);

Completed in 738 milliseconds

1 2 3 4 5 6 7 8 91011