Home
last modified time | relevance | path

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

1234

/external/tcpdump/
Dprint-bgp.c485 const u_char *pptr, u_int itemlen, char *buf, u_int buflen) in decode_prefix4() argument
490 ND_TCHECK(pptr[0]); in decode_prefix4()
492 plen = pptr[0]; in decode_prefix4()
499 ND_TCHECK2(pptr[1], plenbytes); in decode_prefix4()
501 memcpy(&addr, &pptr[1], plenbytes); in decode_prefix4()
518 const u_char *pptr, u_int itemlen, char *buf, u_int buflen) in decode_labeled_prefix4() argument
524 ND_TCHECK2(pptr[0], 4); in decode_labeled_prefix4()
526 plen = pptr[0]; /* get prefix length */ in decode_labeled_prefix4()
547 ND_TCHECK2(pptr[4], plenbytes); in decode_labeled_prefix4()
549 memcpy(&addr, &pptr[4], plenbytes); in decode_labeled_prefix4()
[all …]
Dprint-syslog.c80 register const u_char *pptr, register u_int len) in syslog_print() argument
92 ND_TCHECK2(*pptr, 1); in syslog_print()
93 if (*(pptr+msg_off) == '<') { in syslog_print()
95 ND_TCHECK2(*(pptr + msg_off), 1); in syslog_print()
96 while ( *(pptr+msg_off) >= '0' && in syslog_print()
97 *(pptr+msg_off) <= '9' && in syslog_print()
99 pri = pri * 10 + (*(pptr+msg_off) - '0'); in syslog_print()
101 ND_TCHECK2(*(pptr + msg_off), 1); in syslog_print()
103 if (*(pptr+msg_off) != '>') { in syslog_print()
134 ND_TCHECK2(*(pptr + msg_off), 1); in syslog_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 …]
Dprint-isoclns.c562 static void osi_print_cksum(netdissect_options *, const uint8_t *pptr, uint16_t checksum,
762 const uint8_t *pptr, u_int length) in clnp_print() argument
770 clnp_header = (const struct clnp_header_t *) pptr; in clnp_print()
774 optr = pptr; in clnp_print()
793 pptr += sizeof(struct clnp_header_t); in clnp_print()
795 dest_address_length = *pptr; in clnp_print()
796 dest_address = pptr + 1; in clnp_print()
798 pptr += (1 + dest_address_length); in clnp_print()
800 source_address_length = *pptr; in clnp_print()
801 source_address = pptr +1; in clnp_print()
[all …]
Dutil.c510 fetch_token(netdissect_options *ndo, const u_char *pptr, u_int idx, u_int len, in fetch_token() argument
516 if (!ND_TTEST(*(pptr + idx))) { in fetch_token()
520 if (!isascii(*(pptr + idx))) { in fetch_token()
524 if (isspace(*(pptr + idx))) { in fetch_token()
528 if (!isprint(*(pptr + idx))) { in fetch_token()
536 tbuf[toklen] = *(pptr + idx); in fetch_token()
550 if (!ND_TTEST(*(pptr + idx))) { in fetch_token()
554 if (*(pptr + idx) == '\r' || *(pptr + idx) == '\n') { in fetch_token()
558 if (!isascii(*(pptr + idx)) || !isprint(*(pptr + idx))) { in fetch_token()
562 if (!isspace(*(pptr + idx))) { in fetch_token()
[all …]
Dprint-zephyr.c84 parse_field(netdissect_options *ndo, char **pptr, int *len) in parse_field() argument
88 if (*len <= 0 || !pptr || !*pptr) in parse_field()
90 if (*pptr > (char *) ndo->ndo_snapend) in parse_field()
93 s = *pptr; in parse_field()
94 while (*pptr <= (char *) ndo->ndo_snapend && *len >= 0 && **pptr) { in parse_field()
95 (*pptr)++; in parse_field()
98 (*pptr)++; in parse_field()
100 if (*len < 0 || *pptr > (char *) ndo->ndo_snapend) in parse_field()
Dprint-lwapp.c165 const u_char *pptr, u_int len, int has_ap_ident) in lwapp_control_print() argument
173 tptr=pptr; in lwapp_control_print()
178 lwapp_trans_header = (const struct lwapp_transport_header *)(pptr+6); in lwapp_control_print()
180 lwapp_trans_header = (const struct lwapp_transport_header *)pptr; in lwapp_control_print()
288 const u_char *pptr, u_int len) in lwapp_data_print() argument
294 tptr=pptr; in lwapp_data_print()
298 lwapp_trans_header = (const struct lwapp_transport_header *)pptr; in lwapp_data_print()
Dprint-bfd.c162 bfd_print(netdissect_options *ndo, register const u_char *pptr, in bfd_print() argument
169 bfd_header = (const struct bfd_header_t *)pptr; in bfd_print()
247 pptr += sizeof (const struct bfd_header_t); in bfd_print()
248 bfd_auth_header = (const struct bfd_auth_header_t *)pptr; in bfd_print()
267 if(!print_unknown_data(ndo, pptr,"\n\t",len)) in bfd_print()
Dprint-dtp.c46 dtp_print (netdissect_options *ndo, const u_char *pptr, u_int length) in dtp_print() argument
54 tptr = pptr; in dtp_print()
71 while (tptr < (pptr+length)) { in dtp_print()
Dchecksum.c140 create_osi_cksum (const uint8_t *pptr, int checksum_offset, int length) in create_osi_cksum() argument
161 pptr++; in create_osi_cksum()
163 c0 = c0 + *(pptr++); in create_osi_cksum()
Dprint-udld.c82 udld_print (netdissect_options *ndo, const u_char *pptr, u_int length) in udld_print() argument
90 tptr = pptr; in udld_print()
115 while (tptr < (pptr+length)) { in udld_print()
Dprint-smtp.c27 smtp_print(netdissect_options *ndo, const u_char *pptr, u_int len) in smtp_print() argument
29 txtproto_print(ndo, pptr, len, "smtp", NULL, 0); in smtp_print()
Dprint-mpcp.c125 mpcp_print(netdissect_options *ndo, register const u_char *pptr, register u_int length) in mpcp_print() argument
141 tptr=pptr; in mpcp_print()
142 mpcp.common_header = (const struct mpcp_common_header_t *)pptr; in mpcp_print()
246 print_unknown_data(ndo,pptr, "\n\t", length); in mpcp_print()
Dprint-ftp.c32 ftp_print(netdissect_options *ndo, const u_char *pptr, u_int len) in ftp_print() argument
34 txtproto_print(ndo, pptr, len, "ftp", NULL, 0); in ftp_print()
Dprint-sip.c50 sip_print(netdissect_options *ndo, const u_char *pptr, u_int len) in sip_print() argument
52 txtproto_print(ndo, pptr, len, "sip", sipcmds, RESP_CODE_SECOND_TOKEN); in sip_print()
Dprint-rtsp.c47 rtsp_print(netdissect_options *ndo, const u_char *pptr, u_int len) in rtsp_print() argument
49 txtproto_print(ndo, pptr, len, "rtsp", rtspcmds, RESP_CODE_SECOND_TOKEN); in rtsp_print()
Dprint-http.c77 http_print(netdissect_options *ndo, const u_char *pptr, u_int len) in http_print() argument
79 txtproto_print(ndo, pptr, len, "http", httpcmds, RESP_CODE_SECOND_TOKEN); in http_print()
/external/webrtc/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/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/
Doverflow.pass.cpp31 char_type* pptr() const {return base::pptr();} in pptr() function
45 assert(f.pptr() == 0); in main()
49 assert(f.pptr() == f.pbase()); in main()
65 assert(f.pptr() == 0); in main()
69 assert(f.pptr() == 0); in main()
84 assert(f.pptr() == 0); in main()
88 assert(f.pptr() == f.pbase()); in main()
104 assert(f.pptr() == 0); in main()
108 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()
/external/libcxx/src/
Dstrstream.cpp147 return static_cast<int>(pptr() - pbase()); in pcount()
155 if (pptr() == epptr()) in overflow()
173 ptrdiff_t nout = pptr() - pbase(); in overflow()
187 *pptr() = static_cast<char>(__c); in overflow()
221 if (egptr() >= pptr()) in underflow()
223 setg(eback(), gptr(), pptr()); in underflow()
249 if (pos_out && pptr() == nullptr) in seekoff()
261 newoff = (pos_in ? gptr() : pptr()) - eback(); in seekoff()
294 if (!((pos_in && gptr() == nullptr) || (pos_out && pptr() == nullptr))) in seekpos()
/external/llvm/test/Bitcode/
Dblockaddress.ll19 define void @doit(i8** nocapture %pptr) {
25 store i8* blockaddress(@doit, %here), i8** %pptr, align 8
34 define void @doitagain(i8** nocapture %pptr) {
40 store i8* blockaddress(@doit, %here), i8** %pptr, align 8
/external/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/
Dswap.pass.cpp38 assert(this->pptr() == old_that.pptr()); in swap()
46 assert(t.pptr() == old_this.pptr()); in swap()
/external/llvm/test/Transforms/Inline/
Dblockaddress.ll6 ; CHECK: store i8* blockaddress(@doit, %here), i8** %pptr, align 8
11 define void @doit(i8** nocapture %pptr, i32 %cond) nounwind uwtable {
17 store i8* blockaddress(@doit, %here), i8** %pptr, align 8
/external/boringssl/src/crypto/bio/
Dbio_mem.c230 char **pptr; in mem_ctrl() local
256 pptr = (char **)ptr; in mem_ctrl()
257 *pptr = (char *)&b->data[0]; in mem_ctrl()
267 pptr = (char **)ptr; in mem_ctrl()
268 *pptr = (char *)b; in mem_ctrl()

1234