Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/external/tcpdump/
Daddrtoname.c326 struct enamemem *tp; in lookup_emem() local
332 tp = &enametable[(i ^ j) & (HASHNAMESIZE-1)]; in lookup_emem()
333 while (tp->e_nxt) in lookup_emem()
334 if (tp->e_addr0 == i && in lookup_emem()
335 tp->e_addr1 == j && in lookup_emem()
336 tp->e_addr2 == k) in lookup_emem()
337 return tp; in lookup_emem()
339 tp = tp->e_nxt; in lookup_emem()
340 tp->e_addr0 = i; in lookup_emem()
341 tp->e_addr1 = j; in lookup_emem()
[all …]
Dprint-dhcp6.c280 const u_char *tp; in dhcp6opt_print() local
311 tp = (u_char *)(dh6o + 1); in dhcp6opt_print()
312 switch (EXTRACT_16BITS(tp)) { in dhcp6opt_print()
316 EXTRACT_16BITS(&tp[2]), in dhcp6opt_print()
317 EXTRACT_32BITS(&tp[4]))); in dhcp6opt_print()
319 ND_PRINT((ndo, "%02x", tp[i])); in dhcp6opt_print()
331 ND_PRINT((ndo, "%02x", tp[i])); in dhcp6opt_print()
342 EXTRACT_16BITS(&tp[2]))); in dhcp6opt_print()
344 ND_PRINT((ndo, "%02x", tp[i])); in dhcp6opt_print()
353 ND_PRINT((ndo, " type %d)", EXTRACT_16BITS(tp))); in dhcp6opt_print()
[all …]
Dprint-atalk.c382 register const struct atNBPtuple *tp = in nbp_print() local
400 if ((const u_char *)tp > ep) { in nbp_print()
409 if ((const u_char *)(tp + 1) > ep) { in nbp_print()
413 (void)nbp_name_print(ndo, tp, ep); in nbp_print()
421 if (tp->enumerator) in nbp_print()
422 ND_PRINT((ndo, " [enum=%d]", tp->enumerator)); in nbp_print()
423 if (EXTRACT_16BITS(&tp->net) != snet || in nbp_print()
424 tp->node != snode || tp->skt != skt) in nbp_print()
426 ataddr_string(ndo, EXTRACT_16BITS(&tp->net), in nbp_print()
427 tp->node), tp->skt)); in nbp_print()
[all …]
Dprint-tftp.c110 register const struct tftphdr *tp; in tftp_print() local
115 tp = (const struct tftphdr *)bp; in tftp_print()
121 ND_TCHECK(tp->th_opcode); in tftp_print()
122 opcode = EXTRACT_16BITS(&tp->th_opcode); in tftp_print()
134 p = (u_char *)tp->th_stuff; in tftp_print()
145 if (length <= (u_int)(p - (const u_char *)&tp->th_block)) in tftp_print()
160 ND_TCHECK(tp->th_block); in tftp_print()
161 ND_PRINT((ndo, " block %d", EXTRACT_16BITS(&tp->th_block))); in tftp_print()
166 ND_TCHECK(tp->th_code); in tftp_print()
168 EXTRACT_16BITS(&tp->th_code)))); in tftp_print()
[all …]
/external/curl/lib/
Dinet_pton.c97 unsigned char tmp[INADDRSZ], *tp; in inet_pton4() local
101 tp = tmp; in inet_pton4()
102 *tp = 0; in inet_pton4()
107 unsigned int val = *tp * 10 + (unsigned int)(pch - digits); in inet_pton4()
109 if(saw_digit && *tp == 0) in inet_pton4()
113 *tp = (unsigned char)val; in inet_pton4()
123 *++tp = 0; in inet_pton4()
154 unsigned char tmp[IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local
159 memset((tp = tmp), 0, IN6ADDRSZ); in inet_pton6()
160 endp = tp + IN6ADDRSZ; in inet_pton6()
[all …]
Dinet_ntop.c87 char *tp; in inet_ntop6() local
126 tp = tmp; in inet_ntop6()
131 *tp++ = ':'; in inet_ntop6()
138 *tp++ = ':'; in inet_ntop6()
144 if(!inet_ntop4(src+12, tp, sizeof(tmp) - (tp - tmp))) { in inet_ntop6()
148 tp += strlen(tp); in inet_ntop6()
151 tp += snprintf(tp, 5, "%lx", words[i]); in inet_ntop6()
157 *tp++ = ':'; in inet_ntop6()
158 *tp++ = '\0'; in inet_ntop6()
162 if((size_t)(tp - tmp) > size) { in inet_ntop6()
/external/clang/test/Analysis/
Duninit-const.c26 int* tp = &t; // expected-note {{'tp' initialized here}} in f_1() local
27 …doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to unini… in f_1()
47 int* tp = p; // expected-note {{'tp' initialized here}} in f_2() local
48 …doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to uninit… in f_2()
64 int* tp = ta; // expected-note {{'tp' initialized here}} in f_5() local
65 …doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to unini… in f_5()
77 int* tp = ta; in f_6() local
78 doStuff_pointerToConstInt(tp); // no-warning in f_6()
150 int* tp = &t; // expected-note {{'tp' initialized here}} in f_variadic_unp_unv() local
151 …doStuff_variadic(tp,v); // expected-warning {{Function call argument is a pointer to uninitialize… in f_variadic_unp_unv()
[all …]
/external/mksh/src/
Dexec.c62 struct tbl *tp = NULL; in execute() local
146 tp = findcom(ap[0], FC_BI|FC_FUNC); in execute()
162 if (iosetup(*iowp, tp) < 0) { in execute()
168 if (tp && tp->type == CSHELL && in execute()
169 (tp->flag & SPEC_BI)) in execute()
178 rv = comexec(t, tp, (const char **)ap, flags, xerrok); in execute()
496 comexec(struct op *t, struct tbl * volatile tp, const char **ap, in comexec() argument
542 while (tp && tp->type == CSHELL) { in comexec()
545 if (tp->val.f == c_builtin) { in comexec()
548 tp = NULL; in comexec()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITestExtended.java53 TestParams tp = new TestParams(); in TestExtended() local
158 tp.bi = BreakIterator.getWordInstance(tp.currentLocale); in TestExtended()
163 tp.bi = BreakIterator.getCharacterInstance(tp.currentLocale); in TestExtended()
168 tp.bi = BreakIterator.getLineInstance(tp.currentLocale); in TestExtended()
173 tp.bi = BreakIterator.getSentenceInstance(tp.currentLocale); in TestExtended()
178 tp.bi = BreakIterator.getTitleInstance(tp.currentLocale); in TestExtended()
190 tp.currentLocale = new ULocale(localeName); in TestExtended()
197 tp.dataToBreak.setLength(0); in TestExtended()
198 Arrays.fill(tp.expectedBreaks, 0); in TestExtended()
199 Arrays.fill(tp.srcCol, 0); in TestExtended()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITestExtended.java57 TestParams tp = new TestParams(); in TestExtended() local
162 tp.bi = BreakIterator.getWordInstance(tp.currentLocale); in TestExtended()
167 tp.bi = BreakIterator.getCharacterInstance(tp.currentLocale); in TestExtended()
172 tp.bi = BreakIterator.getLineInstance(tp.currentLocale); in TestExtended()
177 tp.bi = BreakIterator.getSentenceInstance(tp.currentLocale); in TestExtended()
182 tp.bi = BreakIterator.getTitleInstance(tp.currentLocale); in TestExtended()
194 tp.currentLocale = new ULocale(localeName); in TestExtended()
201 tp.dataToBreak.setLength(0); in TestExtended()
202 Arrays.fill(tp.expectedBreaks, 0); in TestExtended()
203 Arrays.fill(tp.srcCol, 0); in TestExtended()
[all …]
/external/boringssl/src/crypto/bn/asm/
Darmv8-mont.pl49 $ovf, $i,$j,$tp,$tj) = map("x$_",6..17,19..24);
78 sub $tp,sp,$num,lsl#3
82 and $tp,$tp,#-16 // ABI says so
92 mov sp,$tp // alloca
128 str $lo1,[$tp],#8 // tp[j-1]
145 stp $lo1,$hi1,[$tp]
151 add $tp,sp,#8
176 ldr $tj,[$tp],#8 // tp[j]
193 str $lo1,[$tp,#-16] // tp[j-1]
197 ldr $tj,[$tp],#8 // tp[j]
[all …]
/external/blktrace/btt/
Dmmap.c50 struct blk_io_trace *tp, in convert_to_cpu() argument
57 memcpy(tp, t, sizeof(*tp)); in convert_to_cpu()
59 tp->magic = be32_to_cpu(t->magic); in convert_to_cpu()
60 tp->sequence = be32_to_cpu(t->sequence); in convert_to_cpu()
61 tp->time = be64_to_cpu(t->time); in convert_to_cpu()
62 tp->sector = be64_to_cpu(t->sector); in convert_to_cpu()
63 tp->bytes = be32_to_cpu(t->bytes); in convert_to_cpu()
64 tp->action = be32_to_cpu(t->action); in convert_to_cpu()
65 tp->pid = be32_to_cpu(t->pid); in convert_to_cpu()
66 tp->device = be32_to_cpu(t->device); in convert_to_cpu()
[all …]
/external/openssh/openbsd-compat/
Dinet_ntop.c118 char *tp, *ep; in inet_ntop6() local
158 tp = tmp; in inet_ntop6()
160 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { in inet_ntop6()
165 if (tp + 1 >= ep) in inet_ntop6()
167 *tp++ = ':'; in inet_ntop6()
173 if (tp + 1 >= ep) in inet_ntop6()
175 *tp++ = ':'; in inet_ntop6()
180 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp))) in inet_ntop6()
182 tp += strlen(tp); in inet_ntop6()
185 advance = snprintf(tp, ep - tp, "%x", words[i]); in inet_ntop6()
[all …]
/external/tlsdate/src/compat/
Dclock.h34 struct timespec tp; member
36 mach_timespec_t tp;
38 void *tp;
40 struct timespec tp;
42 struct timespec tp;
44 struct timespec tp;
46 struct timespec tp;
48 struct timespec tp;
62 #define CLOCK_SEC(time) ((time)->tp.tv_sec)
63 #define CLOCK_MSEC(time) ((time)->tp.tv_nsec / 1000000)
[all …]
/external/iputils/
Drdisc.c1313 struct table *tp; in find_router() local
1315 tp = table; in find_router()
1316 while (tp) { in find_router()
1317 if (tp->router.s_addr == addr.s_addr) in find_router()
1318 return (tp); in find_router()
1319 tp = tp->next; in find_router()
1326 struct table *tp; in max_preference() local
1329 tp = table; in max_preference()
1330 while (tp) { in max_preference()
1331 if (tp->preference > max) in max_preference()
[all …]
/external/icu/icu4c/source/tools/tzcode/
Dscheck.c15 register char * tp; in scheck() local
27 tp = fbuf; in scheck()
36 while ((*tp++ = c = *fp++) != '\0') { in scheck()
41 char *t = tp; in scheck()
47 tp = t; in scheck()
50 *tp++ = '*'; in scheck()
53 if ((*tp++ = *fp++) == '\0') in scheck()
57 *(tp - 1) = '%'; in scheck()
58 *tp++ = 'c'; in scheck()
59 *tp = '\0'; in scheck()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DNinePatchTest.java58 TestPatch tp; in create() local
63 tp = new TestPatch("20px width"); in create()
65 tp.ninePatch.setLeftWidth(bWidth); in create()
66 tp.ninePatch.setRightWidth(bWidth); in create()
67 tp.ninePatch.setTopHeight(bWidth); in create()
68 tp.ninePatch.setBottomHeight(bWidth); in create()
69 ninePatches.add(tp); in create()
71 tp = new TestPatch("fat left"); in create()
72 tp.ninePatch.setLeftWidth(3 * tp.ninePatch.getRightWidth()); in create()
73 ninePatches.add(tp); in create()
[all …]
/external/c-ares/
Dinet_ntop.c128 char *tp; in inet_ntop6() local
169 tp = tmp; in inet_ntop6()
175 *tp++ = ':'; in inet_ntop6()
180 *tp++ = ':'; in inet_ntop6()
185 if (!inet_ntop4(src+12, tp, sizeof(tmp) - (tp - tmp))) in inet_ntop6()
187 tp += strlen(tp); in inet_ntop6()
190 tp += sprintf(tp, "%x", words[i]); in inet_ntop6()
195 *tp++ = ':'; in inet_ntop6()
196 *tp++ = '\0'; in inet_ntop6()
201 if ((size_t)(tp - tmp) > size) { in inet_ntop6()
Dinet_net_pton.c282 unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_net_pton_ipv6() local
292 memset((tp = tmp), '\0', NS_IN6ADDRSZ); in inet_net_pton_ipv6()
293 endp = tp + NS_IN6ADDRSZ; in inet_net_pton_ipv6()
323 colonp = tp; in inet_net_pton_ipv6()
327 if (tp + NS_INT16SZ > endp) in inet_net_pton_ipv6()
329 *tp++ = (unsigned char)((val >> 8) & 0xff); in inet_net_pton_ipv6()
330 *tp++ = (unsigned char)(val & 0xff); in inet_net_pton_ipv6()
336 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in inet_net_pton_ipv6()
337 getv4(curtok, tp, &bits) > 0) { in inet_net_pton_ipv6()
338 tp += NS_INADDRSZ; in inet_net_pton_ipv6()
[all …]
/external/tcpdump/missing/
Dinet_ntop.c109 char *tp; in inet_ntop_v6() local
151 tp = tmp; in inet_ntop_v6()
159 *tp++ = ':'; in inet_ntop_v6()
166 *tp++ = ':'; in inet_ntop_v6()
173 if (!inet_ntop_v4(src+12, tp, sizeof(tmp) - (tp - tmp))) in inet_ntop_v6()
178 tp += strlen(tp); in inet_ntop_v6()
181 tp += sprintf (tp, "%lx", words[i]); in inet_ntop_v6()
187 *tp++ = ':'; in inet_ntop_v6()
188 *tp++ = '\0'; in inet_ntop_v6()
192 if ((size_t)(tp - tmp) > size) in inet_ntop_v6()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_shader_state.c136 struct nvc0_program *tp = nvc0->tctlprog; in nvc0_tctlprog_validate() local
138 if (tp && nvc0_program_validate(nvc0, tp)) { in nvc0_tctlprog_validate()
139 if (tp->tp.tess_mode != ~0) { in nvc0_tctlprog_validate()
141 PUSH_DATA (push, tp->tp.tess_mode); in nvc0_tctlprog_validate()
145 PUSH_DATA (push, tp->code_base); in nvc0_tctlprog_validate()
147 PUSH_DATA (push, tp->max_gpr); in nvc0_tctlprog_validate()
149 if (tp->tp.input_patch_size <= 32) in nvc0_tctlprog_validate()
150 IMMED_NVC0(push, NVC0_3D(PATCH_VERTICES), tp->tp.input_patch_size); in nvc0_tctlprog_validate()
155 nvc0_program_update_context_state(nvc0, tp, 1); in nvc0_tctlprog_validate()
162 struct nvc0_program *tp = nvc0->tevlprog; in nvc0_tevlprog_validate() local
[all …]
/external/kernel-headers/original/uapi/linux/
Datmsvc.h51 #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pcr : \ argument
52 (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp).max_pcr : \
53 (tp).min_pcr ? (tp).min_pcr : ATM_MAX_PCR)
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/
Daddress.pass.cpp22 T* tp = new T(); in test_address() local
23 const T* ctp = tp; in test_address()
25 assert(a.address(*tp) == tp); in test_address()
26 assert(a.address(*ctp) == tp); in test_address()
27 delete tp; in test_address()
/external/blktrace/
Dblktrace.c538 static void tracer_wait_unblock(struct tracer *tp) in tracer_wait_unblock() argument
541 while (!tp->is_done && !tracers_run) in tracer_wait_unblock()
546 static void tracer_signal_ready(struct tracer *tp, in tracer_signal_ready() argument
551 tp->status = status; in tracer_signal_ready()
1456 static inline int net_sendfile_data(struct tracer *tp, struct io_info *iop) in net_sendfile_data() argument
1460 if (net_send_header(iop->ofd, tp->cpu, dpp->buts_name, iop->ready)) in net_sendfile_data()
1573 static void close_ios(struct tracer *tp) in close_ios() argument
1575 while (tp->nios > 0) { in close_ios()
1576 struct io_info *iop = &tp->ios[--tp->nios]; in close_ios()
1592 free(tp->ios); in close_ios()
[all …]
/external/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.addressof/
Daddressof.pass.cpp37 A* tp = new A; in main() local
38 const A* ctp = tp; in main()
39 assert(std::addressof(*tp) == tp); in main()
40 assert(std::addressof(*ctp) == tp); in main()
41 delete tp; in main()

12345678910>>...12