/bionic/libc/upstream-netbsd/lib/libc/string/ |
memccpy.c | 52 unsigned char *tp = t; local 56 if ((*tp++ = *fp++) == uc) 57 return (tp);
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
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)
|
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_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;
|
ptw32_threadDestroy.c | 45 ptw32_thread_t * tp = (ptw32_thread_t *) thread.p; local 48 if (tp != NULL) 53 memcpy (&threadCopy, tp, sizeof (threadCopy));
|
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_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...] |
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_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;
|
pthread_mutex_consistent.c | 120 ptw32_thread_t* tp = (ptw32_thread_t*)self.p; local 123 list = &tp->robustMxList;
|
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->stateLock, &stateLock) [all...] |
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...] |
/system/core/toolbox/upstream-netbsd/lib/libc/string/ |
swab.c | 52 char *tp; local 62 tp = (char *)to; 63 #define STEP temp = *fp++,*tp++ = *fp++,*tp++ = temp
|
/cts/hostsidetests/theme/app/src/android/theme/app/modifiers/ |
DatePickerModifier.java | 30 DatePicker tp = (DatePicker) view; local 31 tp.updateDate(2011, 4, 20);
|
/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/libnl/lib/route/link/ |
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;
|
/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;
|
/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...] |
MaskFilterSpanTest.java | 37 TextPaint tp = new TextPaint(); local 38 assertNull(tp.getMaskFilter()); 40 maskFilterSpan.updateDrawState(tp); 41 assertSame(mf, tp.getMaskFilter());
|
RasterizerSpanTest.java | 48 TextPaint tp = new TextPaint(); local 49 assertNull(tp.getRasterizer()); 51 rasterizerSpan.updateDrawState(tp); 52 assertSame(rasterizer, tp.getRasterizer());
|
StrikethroughSpanTest.java | 43 TextPaint tp = new TextPaint(); local 44 tp.setStrikeThruText(false); 45 assertFalse(tp.isStrikeThruText()); 47 strikethroughSpan.updateDrawState(tp); 48 assertTrue(tp.isStrikeThruText());
|
UnderlineSpanTest.java | 41 TextPaint tp = new TextPaint(); local 42 tp.setUnderlineText(false); 43 assertFalse(tp.isUnderlineText()); 45 underlineSpan.updateDrawState(tp); 46 assertTrue(tp.isUnderlineText());
|
/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...] |
/bionic/libc/upstream-openbsd/lib/libc/net/ |
inet_ntop.c | 104 char *tp, *ep; local 144 tp = tmp; 146 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { 151 if (tp + 1 >= ep) { 155 *tp++ = ':'; 161 if (tp + 1 >= ep) { 165 *tp++ = ':'; 170 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp))) 172 tp += strlen(tp) [all...] |