Searched defs:bp (Results 1 - 25 of 253) sorted by relevance

1234567891011

/external/tcpdump/
H A Dprint-vjc.c85 vjc_print(register const char *bp, u_short proto _U_) argument
89 switch (bp[0] & 0xf0) {
102 if (bp[1] & (0x80 >> i))
105 if (bp[1])
107 printf("C=0x%02x ", bp[2]);
108 printf("sum=0x%04x ", *(u_short *)&bp[3]);
116 printf("(vjc type=0x%02x) ", bp[0] & 0xf0);
H A Dprint-ah.c44 ah_print(register const u_char *bp) argument
51 ah = (const struct ah *)bp;
63 if (bp + sizeof(struct ah) + sumlen > ep)
H A Dprint-frag6.c44 frag6_print(register const u_char *bp, register const u_char *bp2) argument
49 dp = (const struct ip6_frag *)bp;
59 (long)(bp - bp2) - sizeof(struct ip6_frag));
64 (long)(bp - bp2) - sizeof(struct ip6_frag));
H A Dprint-beep.c52 beep_print(const u_char *bp, u_int length) argument
55 if (l_strnstart("MSG", 4, (const char *)bp, length)) /* A REQuest */
57 else if (l_strnstart("RPY ", 4, (const char *)bp, length))
59 else if (l_strnstart("ERR ", 4, (const char *)bp, length))
61 else if (l_strnstart("ANS ", 4, (const char *)bp, length))
63 else if (l_strnstart("NUL ", 4, (const char *)bp, length))
65 else if (l_strnstart("SEQ ", 4, (const char *)bp, length))
67 else if (l_strnstart("END", 4, (const char *)bp, length))
H A Dprint-ipcomp.c51 ipcomp_print(register const u_char *bp, int *nhdr _U_) argument
60 ipcomp = (struct ipcomp *)bp;
H A Dprint-mpls.c61 mpls_print(const u_char *bp, u_int length) argument
67 p = bp;
92 ip_print(gndo, p, length - (p - bp));
100 ip6_print(p, length - (p - bp));
134 ip_print(gndo, p, length - (p - bp));
157 ip6_print(p, length - (p - bp));
167 isoclns_print(p, length - (p - bp), length - (p - bp));
H A Dprint-timed.c47 timed_print(register const u_char *bp) argument
50 struct tsp *tsp = (struct tsp *)bp;
H A Dprint-ether.c80 ether_hdr_print(register const u_char *bp, u_int length) argument
83 ep = (const struct ether_header *)bp;
H A Dprint-ip6.c50 ip6_print(register const u_char *bp, register u_int length) argument
62 ip6 = (const struct ip6_hdr *)bp;
106 ipend = bp + len;
H A Dprint-lane.c64 lane_hdr_print(register const u_char *bp, int length) argument
68 ep = (const struct lecdatahdr_8023 *)bp;
/external/clang/test/Parser/
H A Dpointer_promotion.c8 struct bar *bp; local
13 if (fp < bp) {} // expected-warning {{comparison of distinct pointer types ('struct foo *' and 'struct bar *')}}
/external/clang/test/CXX/expr/expr.cast/
H A Dp4.cpp8 void casting_away_constness(const B &b, const C &c, const B *bp, const C *cp) { argument
19 // CHECK: DeclRefExpr {{.*}} ParmVar {{.*}} 'bp'
20 (void)(C*)bp;
/external/libppp/src/
H A Dsync.c53 struct mbuf *bp, int pri __unused, u_short *proto __unused)
55 log_DumpBp(LogSYNC, "Write", bp);
56 m_settype(bp, MB_SYNCOUT);
57 bp->priv = 0;
58 return bp;
62 sync_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp, argument
71 log_DumpBp(LogSYNC, "Read", bp);
74 len = m_length(bp);
78 m_settype(bp, MB_SYNCIN);
81 return bp;
52 sync_LayerPush(struct bundle *bundle __unused, struct link *l __unused, struct mbuf *bp, int pri __unused, u_short *proto __unused) argument
[all...]
H A Dacf.c59 acf_LayerPush(struct bundle *b __unused, struct link *l, struct mbuf *bp, argument
65 bp = m_prepend(bp, cp, 2, 0);
66 m_settype(bp, MB_ACFOUT);
69 return bp;
73 acf_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp, argument
81 return bp;
84 if (mbuf_View(bp, cp, 2) == 2) {
87 bp = mbuf_Read(bp, c
[all...]
H A Dproto.c56 proto_Prepend(struct mbuf *bp, u_short proto, unsigned comp, int extra) argument
64 bp = m_prepend(bp, cp + 1, 1, extra);
66 bp = m_prepend(bp, cp, 2, extra);
68 return bp;
72 proto_LayerPush(struct bundle *b __unused, struct link *l, struct mbuf *bp, argument
76 bp = proto_Prepend(bp, *proto, l->lcp.his_protocomp,
78 m_settype(bp, MB_PROTOOU
85 proto_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp, u_short *proto) argument
[all...]
/external/openssl/crypto/asn1/
H A Dt_pkey.c65 int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, argument
73 if(!BIO_indent(bp,off,128))
77 if (BIO_printf(bp, "%s 0\n", number) <= 0)
84 if (BIO_printf(bp,"%s %s%lu (%s0x%lx)\n",number,neg,
91 if (BIO_printf(bp,"%s%s",number,
104 if(BIO_puts(bp,"\n") <= 0
105 || !BIO_indent(bp,off+4,128))
108 if (BIO_printf(bp,"%02x%s",buf[i],((i+1) == n)?"":":")
111 if (BIO_write(bp,"\n",1) <= 0) return(0);
/external/openssl/crypto/rsa/
H A Drsa_prn.c82 int RSA_print(BIO *bp, const RSA *x, int off) argument
89 ret = EVP_PKEY_print_private(bp, pk, off, NULL);
/external/openssl/ssl/
H A Dssl_txt.c107 int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x) argument
113 if (BIO_puts(bp,"SSL-Session:\n") <= 0) goto err;
130 if (BIO_printf(bp," Protocol : %s\n",s) <= 0) goto err;
136 if (BIO_printf(bp," Cipher : %06lX\n",x->cipher_id&0xffffff) <= 0)
141 if (BIO_printf(bp," Cipher : %04lX\n",x->cipher_id&0xffff) <= 0)
147 if (BIO_printf(bp," Cipher : %s\n",((x->cipher == NULL)?"unknown":x->cipher->name)) <= 0)
150 if (BIO_puts(bp," Session-ID: ") <= 0) goto err;
153 if (BIO_printf(bp,"%02X",x->session_id[i]) <= 0) goto err;
155 if (BIO_puts(bp,"\n Session-ID-ctx: ") <= 0) goto err;
158 if (BIO_printf(bp,"
[all...]
/external/webkit/Source/WebCore/platform/graphics/
H A DFontFamily.cpp49 const FontFamily* bp; local
50 for (ap = a.next(), bp = b.next(); ap != bp; ap = ap->next(), bp = bp->next()) {
51 if (!ap || !bp)
53 if (ap->family() != bp->family())
/external/ipsec-tools/src/racoon/
H A Dvmbuf.h38 * bp v
49 caddr_t bp; /* pointer to the buffer */ member in struct:_vchar_t_
/external/libmtp/src/
H A Dutil.c50 unsigned char *bp = (unsigned char *) buf; local
54 fprintf(f, "%02x ", *bp);
55 bp++;
77 unsigned char *bp = (unsigned char *) buf; local
87 fprintf(f, "%02x", bp[16*lc+i]);
97 unsigned char ch= bp[16*lc+i];
/external/libpcap/
H A Detherent.c93 char *bp; local
144 bp = e.name;
148 *bp++ = c;
151 *bp = '\0';
/external/openssl/crypto/dsa/
H A Ddsa_prn.c98 int DSA_print(BIO *bp, const DSA *x, int off) argument
105 ret = EVP_PKEY_print_private(bp, pk, off, NULL);
110 int DSAparams_print(BIO *bp, const DSA *x) argument
117 ret = EVP_PKEY_print_params(bp, pk, 4, NULL);
/external/openssl/crypto/lhash/
H A Dlh_stats.c144 BIO *bp; local
146 bp=BIO_new(BIO_s_file());
147 if (bp == NULL) goto end;
148 BIO_set_fp(bp,fp,BIO_NOCLOSE);
149 lh_stats_bio(lh,bp);
150 BIO_free(bp);
156 BIO *bp; local
158 bp=BIO_new(BIO_s_file());
159 if (bp == NULL) goto end;
160 BIO_set_fp(bp,f
168 BIO *bp; local
[all...]
/external/openssl/crypto/pem/
H A Dpem_oth.c70 void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, argument
78 if (!PEM_bytes_read_bio(&data, &len, NULL, name, bp, cb, u))

Completed in 467 milliseconds

1234567891011