Home
last modified time | relevance | path

Searched refs:pptr (Results 1 – 25 of 191) sorted by relevance

12345678

/external/tcpdump/
Dprint-bgp.c531 const u_char *pptr, u_int itemlen, char *buf, u_int buflen) in decode_prefix4() argument
536 ND_TCHECK(pptr[0]); in decode_prefix4()
538 plen = pptr[0]; in decode_prefix4()
545 ND_TCHECK2(pptr[1], plenbytes); in decode_prefix4()
547 memcpy(&addr, &pptr[1], plenbytes); in decode_prefix4()
564 const u_char *pptr, u_int itemlen, char *buf, u_int buflen) in decode_labeled_prefix4() argument
570 ND_TCHECK2(pptr[0], 4); in decode_labeled_prefix4()
572 plen = pptr[0]; /* get prefix length */ in decode_labeled_prefix4()
593 ND_TCHECK2(pptr[4], plenbytes); in decode_labeled_prefix4()
595 memcpy(&addr, &pptr[4], plenbytes); in decode_labeled_prefix4()
[all …]
Dprint-bfd.c181 auth_print(netdissect_options *ndo, register const u_char *pptr) in auth_print() argument
186 pptr += sizeof (const struct bfd_header_t); in auth_print()
187 bfd_auth_header = (const struct bfd_auth_header_t *)pptr; in auth_print()
193 pptr += 2; in auth_print()
194 ND_PRINT((ndo, "\n\t Auth Key ID: %d", *pptr)); in auth_print()
215 pptr++; in auth_print()
218 if (fn_printn(ndo, pptr, bfd_auth_header->auth_len - 3, in auth_print()
244 pptr += 2; in auth_print()
245 ND_TCHECK2(*pptr, 4); in auth_print()
246 ND_PRINT((ndo, ", Sequence Number: 0x%08x", EXTRACT_32BITS(pptr))); in auth_print()
[all …]
Dprint-syslog.c81 register const u_char *pptr, register u_int len) in syslog_print() argument
93 ND_TCHECK2(*pptr, 1); in syslog_print()
94 if (*(pptr+msg_off) == '<') { in syslog_print()
96 ND_TCHECK2(*(pptr + msg_off), 1); in syslog_print()
97 while ( *(pptr+msg_off) >= '0' && in syslog_print()
98 *(pptr+msg_off) <= '9' && in syslog_print()
100 pri = pri * 10 + (*(pptr+msg_off) - '0'); in syslog_print()
102 ND_TCHECK2(*(pptr + msg_off), 1); in syslog_print()
104 if (*(pptr+msg_off) != '>') { in syslog_print()
135 ND_TCHECK2(*(pptr + msg_off), 1); in syslog_print()
[all …]
Dprint-isoclns.c567 static void osi_print_cksum(netdissect_options *, const uint8_t *pptr,
767 const uint8_t *pptr, u_int length) in clnp_print() argument
775 clnp_header = (const struct clnp_header_t *) pptr; in clnp_print()
779 optr = pptr; in clnp_print()
800 while (pptr < ndo->ndo_snapend) in clnp_print()
801 ND_PRINT((ndo, "%02X", *pptr++)); in clnp_print()
810 pptr += sizeof(struct clnp_header_t); in clnp_print()
817 ND_TCHECK(*pptr); in clnp_print()
818 dest_address_length = *pptr; in clnp_print()
819 pptr += 1; in clnp_print()
[all …]
Dprint-forces.c69 int (*print) (netdissect_options *ndo, register const u_char * pptr, register u_int len,
233 int (*print) (netdissect_options *ndo, register const u_char * pptr, register u_int len,
237 static int genoptlv_print(netdissect_options *, register const u_char * pptr, register u_int len,
239 static int recpdoptlv_print(netdissect_options *, register const u_char * pptr, register u_int len,
241 static int invoptlv_print(netdissect_options *, register const u_char * pptr, register u_int len,
445 static int lfbselect_print(netdissect_options *, register const u_char * pptr, register u_int len,
447 static int redirect_print(netdissect_options *, register const u_char * pptr, register u_int len,
449 static int asrtlv_print(netdissect_options *, register const u_char * pptr, register u_int len,
451 static int asttlv_print(netdissect_options *, register const u_char * pptr, register u_int len,
503 int (*print) (netdissect_options *, register const u_char * pptr, register u_int len,
[all …]
Dutil-print.c685 fetch_token(netdissect_options *ndo, const u_char *pptr, u_int idx, u_int len, in fetch_token() argument
691 if (!ND_TTEST(*(pptr + idx))) { in fetch_token()
695 if (!isascii(*(pptr + idx))) { in fetch_token()
699 if (isspace(*(pptr + idx))) { in fetch_token()
703 if (!isprint(*(pptr + idx))) { in fetch_token()
711 tbuf[toklen] = *(pptr + idx); in fetch_token()
725 if (!ND_TTEST(*(pptr + idx))) { in fetch_token()
729 if (*(pptr + idx) == '\r' || *(pptr + idx) == '\n') { in fetch_token()
733 if (!isascii(*(pptr + idx)) || !isprint(*(pptr + idx))) { in fetch_token()
737 if (!isspace(*(pptr + idx))) { in fetch_token()
[all …]
Dsignature.c118 signature_verify(netdissect_options *ndo, const u_char *pptr, u_int plen, in signature_verify() argument
133 if (!ND_TTEST2(pptr, plen)) { in signature_verify()
145 if (sig_ptr + sizeof(sig) > pptr + plen) { in signature_verify()
158 memcpy(packet_copy, pptr, plen); in signature_verify()
163 sig_copy = packet_copy + (sig_ptr - pptr); in signature_verify()
170 (*clear_rtn)((void *)(packet_copy + ((const uint8_t *)clear_arg - pptr))); in signature_verify()
201 signature_verify(netdissect_options *ndo _U_, const u_char *pptr _U_, in signature_verify()
Dprint-slow.c246 register const u_char *pptr, register u_int len) in slow_print() argument
253 ND_TCHECK(*pptr); in slow_print()
254 subtype = *pptr; in slow_print()
263 ND_TCHECK(*(pptr+1)); in slow_print()
264 if (*(pptr+1) != LACP_VERSION) { in slow_print()
265 ND_PRINT((ndo, "LACP version %u packet not supported", *(pptr+1))); in slow_print()
274 ND_TCHECK(*(pptr+1)); in slow_print()
275 if (*(pptr+1) != MARKER_VERSION) { in slow_print()
276 ND_PRINT((ndo, "MARKER version %u packet not supported", *(pptr+1))); in slow_print()
295 *(pptr+1), in slow_print()
[all …]
Dprint-lwapp.c166 const u_char *pptr, u_int len, int has_ap_ident) in lwapp_control_print() argument
174 tptr=pptr; in lwapp_control_print()
179 lwapp_trans_header = (const struct lwapp_transport_header *)(pptr+6); in lwapp_control_print()
181 lwapp_trans_header = (const struct lwapp_transport_header *)pptr; in lwapp_control_print()
289 const u_char *pptr, u_int len) in lwapp_data_print() argument
295 tptr=pptr; in lwapp_data_print()
299 lwapp_trans_header = (const struct lwapp_transport_header *)pptr; in lwapp_data_print()
/external/webrtc/common_audio/signal_processing/
Dauto_corr_to_refl_coef.c26 int16_t *acfptr, *pptr, *wptr, *p1ptr, *w1ptr, ACF[WEBRTC_SPL_MAX_LPC_ORDER], in WebRtcSpl_AutoCorrToReflCoef() local
32 pptr = P; in WebRtcSpl_AutoCorrToReflCoef()
40 *pptr++ = *acfptr++; in WebRtcSpl_AutoCorrToReflCoef()
47 *pptr++ = *acfptr++; in WebRtcSpl_AutoCorrToReflCoef()
88 pptr = P; in WebRtcSpl_AutoCorrToReflCoef()
91 *pptr = WebRtcSpl_AddSatW16(*pptr, tmp); in WebRtcSpl_AutoCorrToReflCoef()
92 pptr++; in WebRtcSpl_AutoCorrToReflCoef()
96 *pptr = WebRtcSpl_AddSatW16(*(pptr + 1), tmp); in WebRtcSpl_AutoCorrToReflCoef()
97 pptr++; in WebRtcSpl_AutoCorrToReflCoef()
98 tmp = (int16_t)(((int32_t)*pptr * (int32_t)*K + 16384) >> 15); in WebRtcSpl_AutoCorrToReflCoef()
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace-tm-spd-tar.c12 int *cptr, *pptr; variable
120 pptr[0] = 1; in trace_tm_spd_tar()
121 pptr[1] = 1; in trace_tm_spd_tar()
137 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_tar()
138 pptr[0] = 0; in ptrace_tm_spd_tar()
139 pptr[1] = 0; in ptrace_tm_spd_tar()
142 while (!pptr[2]) in ptrace_tm_spd_tar()
147 shmdt(&pptr); in ptrace_tm_spd_tar()
152 shmdt(&pptr); in ptrace_tm_spd_tar()
Dptrace-tm-spr.c18 struct shared *cptr, *pptr; variable
100 FAIL_IF(show_tm_spr(child, (struct tm_spr_regs *)&pptr->regs)); in trace_tm_spr()
102 printf("TFHAR: %lx TEXASR: %lx TFIAR: %lx\n", pptr->regs.tm_tfhar, in trace_tm_spr()
103 pptr->regs.tm_texasr, pptr->regs.tm_tfiar); in trace_tm_spr()
105 pptr->flag = 1; in trace_tm_spr()
129 pptr = (struct shared *)shmat(shm_id, NULL, 0); in ptrace_tm_spr()
137 shmdt((void *)pptr); in ptrace_tm_spr()
144 shmdt((void *)pptr); in ptrace_tm_spr()
Dptrace-tm-spd-gpr.c13 int *cptr, *pptr; variable
110 pptr[0] = 1; in trace_tm_spd_gpr()
111 pptr[1] = 1; in trace_tm_spd_gpr()
133 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_gpr()
134 pptr[0] = 0; in ptrace_tm_spd_gpr()
135 pptr[1] = 0; in ptrace_tm_spd_gpr()
137 while (!pptr[2]) in ptrace_tm_spd_gpr()
142 shmdt((void *)pptr); in ptrace_tm_spd_gpr()
147 shmdt((void *)pptr); in ptrace_tm_spd_gpr()
Dptrace-tar.c13 int *pptr; variable
92 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tar()
93 pptr[0] = 0; in ptrace_tar()
94 pptr[1] = 0; in ptrace_tar()
96 while (!pptr[2]) in ptrace_tar()
107 pptr[0] = 1; in ptrace_tar()
110 while (!pptr[1]) in ptrace_tar()
113 shmdt((int *)pptr); in ptrace_tar()
Dptrace-tm-tar.c12 unsigned long *cptr, *pptr; variable
109 pptr[0] = 1; in trace_tm_tar()
125 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_tar()
126 pptr[0] = 0; in ptrace_tm_tar()
129 while (!pptr[1]) in ptrace_tm_tar()
134 shmdt(&pptr); in ptrace_tm_tar()
138 shmdt(&pptr); in ptrace_tm_tar()
Dptrace-gpr.c13 int *cptr, *pptr; variable
87 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_gpr()
88 while (!pptr[1]) in ptrace_gpr()
94 shmdt((void *)pptr); in ptrace_gpr()
99 pptr[0] = 1; in ptrace_gpr()
100 shmdt((void *)pptr); in ptrace_gpr()
Dptrace-tm-spd-vsx.c12 int *cptr, *pptr; variable
119 pptr[0] = 1; in trace_tm_spd_vsx()
120 pptr[1] = 1; in trace_tm_spd_vsx()
151 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_vsx()
152 while (!pptr[2]) in ptrace_tm_spd_vsx()
158 shmdt((void *)pptr); in ptrace_tm_spd_vsx()
163 shmdt((void *)pptr); in ptrace_tm_spd_vsx()
Dptrace-vsx.c12 int *cptr, *pptr; variable
82 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_vsx()
83 while (!pptr[1]) in ptrace_vsx()
89 shmdt((void *)pptr); in ptrace_vsx()
94 pptr[0] = 1; in ptrace_vsx()
95 shmdt((void *)pptr); in ptrace_vsx()
Dptrace-tm-vsx.c12 unsigned long *cptr, *pptr; variable
105 pptr[0] = 1; in trace_tm_vsx()
134 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_vsx()
135 while (!pptr[1]) in ptrace_tm_vsx()
141 shmdt((void *)pptr); in ptrace_tm_vsx()
146 shmdt((void *)pptr); in ptrace_tm_vsx()
Dptrace-tm-gpr.c13 unsigned long *cptr, *pptr; variable
104 pptr[0] = 1; in trace_tm_gpr()
126 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_gpr()
128 while (!pptr[1]) in ptrace_tm_gpr()
136 shmdt((void *)pptr); in ptrace_tm_gpr()
/external/pcre/dist2/src/
Dpcre2_compile.c919 uint32_t *pptr = cb->parsed_pattern; in show_parsed() local
927 uint32_t meta_arg = META_DATA(*pptr); in show_parsed()
929 fprintf(stderr, "+++ %02d %.8x ", (int)(pptr - cb->parsed_pattern), *pptr); in show_parsed()
931 if (*pptr < META_END) in show_parsed()
933 if (*pptr > 32 && *pptr < 128) fprintf(stderr, "%c", *pptr); in show_parsed()
934 pptr++; in show_parsed()
937 else switch (META_CODE(*pptr++)) in show_parsed()
952 GETOFFSET(offset, pptr); in show_parsed()
960 GETOFFSET(offset, pptr); in show_parsed()
967 uint32_t ptype = *pptr >> 16; in show_parsed()
[all …]
/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/
Doverflow.pass.cpp33 char_type* pptr() const {return base::pptr();} in pptr() function
47 assert(f.pptr() == 0); in main()
51 assert(f.pptr() == f.pbase()); in main()
67 assert(f.pptr() == 0); in main()
71 assert(f.pptr() == 0); in main()
86 assert(f.pptr() == 0); in main()
90 assert(f.pptr() == f.pbase()); in main()
106 assert(f.pptr() == 0); in main()
110 assert(f.pptr() == 0); in main()
/external/llvm-project/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/
Doverflow.pass.cpp33 char_type* pptr() const {return base::pptr();} in pptr() function
47 assert(f.pptr() == 0); in main()
51 assert(f.pptr() == f.pbase()); in main()
67 assert(f.pptr() == 0); in main()
71 assert(f.pptr() == 0); in main()
86 assert(f.pptr() == 0); in main()
90 assert(f.pptr() == f.pbase()); in main()
106 assert(f.pptr() == 0); in main()
110 assert(f.pptr() == 0); in main()
/external/llvm-project/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/
Doverflow.pass.cpp35 char_type* pptr() const {return base::pptr();} in pptr() function
48 assert(f.pptr() == 0); in main()
52 assert(f.pptr() == f.pbase()); in main()
66 assert(f.pptr() == 0); in main()
70 assert(f.pptr() == 0); in main()
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/
Doverflow.pass.cpp34 char_type* pptr() const {return base::pptr();} in pptr() function
47 assert(f.pptr() == 0); in main()
51 assert(f.pptr() == f.pbase()); in main()
65 assert(f.pptr() == 0); in main()
69 assert(f.pptr() == 0); in main()

12345678