/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/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)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/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)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/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)
|
/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...] |
/external/libppp/src/ |
timer.c | 65 timer_Stop(struct pppTimer *tp) 72 StopTimerNoBlock(tp); 77 timer_Start(struct pppTimer *tp) 88 if (tp->state != TIMER_STOPPED) 89 StopTimerNoBlock(tp); 91 if (tp->load == 0) { 92 log_Printf(LogTIMER, "%s timer[%p] has 0 load!\n", tp->name, tp); 98 * We just need to insert tp in the correct relative place. We don't 106 if (ticks + t->rest >= tp->load 192 struct pppTimer *tp, *exp, *next; local [all...] |
/external/tcpdump/ |
addrtoname.c | 324 struct enamemem *tp; local 330 tp = &enametable[(i ^ j) & (HASHNAMESIZE-1)]; 331 while (tp->e_nxt) 332 if (tp->e_addr0 == i && 333 tp->e_addr1 == j && 334 tp->e_addr2 == k) 335 return tp; 337 tp = tp->e_nxt; 338 tp->e_addr0 = i 356 struct enamemem *tp; local 400 struct enamemem *tp; local 442 struct protoidmem *tp; local 469 register struct enamemem *tp; local 516 register struct enamemem *tp; local 543 register struct hnamemem *tp; local 570 register struct protoidmem *tp; local 598 register struct enamemem *tp; local 626 register struct hnamemem *tp; local 645 register struct hnamemem *tp; local 665 register struct hnamemem *tp; local 766 register struct protoidmem *tp; local 817 register struct enamemem *tp; local 1123 register struct hnamemem *tp; local [all...] |
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); 107 p = (u_char *)tp->th_stuff; 109 p = (u_char *)&tp->th_block; 121 if (length <= (u_int)(p - (const u_char *)&tp->th_block)) 136 TCHECK(tp->th_block); 137 printf(" block %d", EXTRACT_16BITS(&tp->th_block)); 142 TCHECK(tp->th_code) [all...] |
/cts/tests/tests/text/src/android/text/style/cts/ |
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...] |
ScaleXSpanTest.java | 46 TextPaint tp = new TextPaint(); local 47 tp.setTextScaleX(2.0f); 48 scaleXSpan.updateDrawState(tp); 49 assertEquals(2.0f * proportion, tp.getTextScaleX()); 51 tp.setTextScaleX(-3.0f); 52 scaleXSpan.updateDrawState(tp); 53 assertEquals(-3.0f * proportion, tp.getTextScaleX()); 67 TextPaint tp = new TextPaint(); local 68 tp.setTextScaleX(2.0f); 69 scaleXSpan.updateMeasureState(tp); [all...] |
StyleSpanTest.java | 54 TextPaint tp = new TextPaint(); local 56 tp.setTypeface(tf); 58 assertNotNull(tp.getTypeface()); 59 assertEquals(Typeface.NORMAL, tp.getTypeface().getStyle()); 61 styleSpan.updateMeasureState(tp); 63 assertNotNull(tp.getTypeface()); 64 assertEquals(Typeface.BOLD, tp.getTypeface().getStyle()); 77 TextPaint tp = new TextPaint(); local 79 tp.setTypeface(tf); 81 assertNotNull(tp.getTypeface()) [all...] |
UnderlineSpanTest.java | 41 TextPaint tp = new TextPaint(); local 42 tp.setUnderlineText(false); 43 assertFalse(tp.isUnderlineText()); 45 underlineSpan.updateDrawState(tp); 46 assertTrue(tp.isUnderlineText());
|
AbsoluteSizeSpanTest.java | 53 TextPaint tp = new TextPaint(); local 54 absoluteSizeSpan.updateMeasureState(tp); 55 assertEquals(1.0f, tp.getTextSize()); 58 absoluteSizeSpan.updateMeasureState(tp); 59 assertEquals(10.0f, tp.getTextSize()); 73 TextPaint tp = new TextPaint(); local 74 absoluteSizeSpan.updateDrawState(tp); 75 assertEquals(2.0f, tp.getTextSize()); 79 absoluteSizeSpan.updateDrawState(tp); 80 assertEquals(20.0f, tp.getTextSize()) [all...] |
TypefaceSpanTest.java | 51 TextPaint tp = new TextPaint(); local 52 assertNull(tp.getTypeface()); 54 typefaceSpan.updateMeasureState(tp); 56 assertNotNull(tp.getTypeface()); 58 assertEquals(Typeface.NORMAL, tp.getTypeface().getStyle()); 71 TextPaint tp = new TextPaint(); local 72 assertNull(tp.getTypeface()); 74 typefaceSpan.updateDrawState(tp); 76 assertNotNull(tp.getTypeface()); 78 assertEquals(Typeface.NORMAL, tp.getTypeface().getStyle()) [all...] |
/external/grub/netboot/ |
tulip.c | 433 static struct tulip_private *tp; 518 printf("%s: %s\n", tp->nic_name, str); 583 if (tp->chip_id == LC82C168) { 594 if (tp->chip_id == COMET) { 643 if (tp->chip_id == LC82C168) { 653 if (tp->chip_id == COMET) { 742 unsigned char *p, *ee_data = tp->eeprom; 750 tp->mtable = 0; 768 tp->nic_name, eeprom_fixups[i].name, tp->nic_name) 432 static struct tulip_private *tp; variable in typeref:struct:tulip_private [all...] |
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
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));
|
/bionic/libc/upstream-netbsd/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;
|
/frameworks/base/core/java/android/text/style/ |
MetricAffectingSpan.java | 64 public void updateDrawState(TextPaint tp) { 65 mStyle.updateDrawState(tp); 72 public void updateMeasureState(TextPaint tp) { 73 mStyle.updateMeasureState(tp);
|
/external/qemu/slirp/ |
tftp.c | 53 static int tftp_session_allocate(struct tftp_t *tp) 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) 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->x.tp_buf + n, sizeof(tp->x.tp_buf) - n, "%s" 178 struct tftp_t *tp; local 221 struct tftp_t *tp; local 414 struct tftp_t *tp = (struct tftp_t *)m->m_data; local [all...] |
/external/qemu/slirp-android/ |
tftp.c | 53 static int tftp_session_allocate(struct tftp_t *tp) 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) 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->x.tp_buf + n, sizeof(tp->x.tp_buf) - n, "%s" 180 struct tftp_t *tp; local 225 struct tftp_t *tp; local 420 struct tftp_t *tp = (struct tftp_t *)m->m_data; local [all...] |
/cts/tests/tests/holo/src/android/holo/cts/modifiers/ |
DatePickerModifier.java | 30 DatePicker tp = (DatePicker) view; local 31 tp.updateDate(2011, 4, 20);
|
/external/openssh/openbsd-compat/ |
inet_ntop.c | 118 char *tp, *ep; local 158 tp = tmp; 160 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { 165 if (tp + 1 >= ep) 167 *tp++ = ':'; 173 if (tp + 1 >= ep) 175 *tp++ = ':'; 180 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp))) 182 tp += strlen(tp) [all...] |