/external/tcpdump/ |
print-pim.c | 121 static void pimv2_print(register const u_char *bp, register u_int len); 124 pimv1_join_prune_print(register const u_char *bp, register u_int len) 130 if (TTEST2(bp[0], 30) && bp[11] == 1 && 131 ((njoin = EXTRACT_16BITS(&bp[20])) + EXTRACT_16BITS(&bp[22])) == 1) { 134 (void)printf(" RPF %s ", ipaddr_string(bp)); 135 hold = EXTRACT_16BITS(&bp[6]); 141 ipaddr_string(&bp[26]), bp[25] & 0x3f [all...] |
print-dvmrp.c | 76 dvmrp_print(register const u_char *bp, register u_int len) 82 if (bp >= ep) 85 TCHECK(bp[1]); 86 type = bp[1]; 89 bp += 8; 97 if (print_probe(bp, ep, len) < 0) 105 if (print_report(bp, ep, len) < 0) 116 if (print_neighbors(bp, ep, len) < 0) 130 bp -= 4; 131 TCHECK2(bp[0], 4) [all...] |
print-vrrp.c | 88 vrrp_print(register const u_char *bp, register u_int len, int ttl) 93 TCHECK(bp[0]); 94 version = (bp[0] & 0xf0) >> 4; 95 type = bp[0] & 0x0f; 102 TCHECK(bp[2]); 103 printf(", vrid %u, prio %u", bp[1], bp[2]); 104 TCHECK(bp[5]); 105 auth_type = bp[4]; 107 printf(", intvl %us, length %u", bp[5],len) [all...] |
print-bootp.c | 66 register const struct bootp *bp; local 70 bp = (const struct bootp *)cp; 71 TCHECK(bp->bp_op); 74 tok2str(bootp_op_values, "unknown (0x%02x)", bp->bp_op)); 76 if (bp->bp_htype == 1 && bp->bp_hlen == 6 && bp->bp_op == BOOTPREQUEST) { 77 TCHECK2(bp->bp_chaddr[0], 6); 78 printf(" from %s", etheraddr_string(bp->bp_chaddr)); 86 TCHECK(bp->bp_secs) [all...] |
print-vjc.c | 85 vjc_print(register const char *bp, u_short proto _U_) 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);
|
print-pgm.c | 149 pgm_print(register const u_char *bp, register u_int length, 168 pgm = (struct pgm_header *)bp; 268 bp = (u_char *) (spm + 1); 269 TCHECK2(*bp, addr_size); 270 nla = bp; 271 bp += addr_size; 290 bp = (u_char *) (poll + 1); 315 bp = (u_char *) (polr + 1); 316 TCHECK2(*bp, addr_size); 317 nla = bp; [all...] |
print-ip6opts.c | 74 ip6_sopt_print(const u_char *bp, int len) 80 if (bp[i] == IP6OPT_PAD1) 84 optlen = bp[i + 1] + 2; 91 switch (bp[i]) { 107 printf(", ui: 0x%04x ", EXTRACT_16BITS(&bp[i + 2])); 114 printf(", alt-CoA: %s", ip6addr_string(&bp[i+2])); 121 printf(", auth spi: 0x%08x", EXTRACT_32BITS(&bp[i + 2])); 125 printf(", sopt_type %d: trunc)", bp[i]); 128 printf(", sopt_type 0x%02x: len=%d", bp[i], bp[i + 1]) [all...] |
print-gre.c | 92 gre_print(const u_char *bp, u_int length) 100 vers = EXTRACT_16BITS(bp) & GRE_VERS_MASK; 105 gre_print_0(bp, len); 108 gre_print_1(bp, len); 119 gre_print_0(const u_char *bp, u_int length) 124 flags = EXTRACT_16BITS(bp); 130 bp += 2; 134 prot = EXTRACT_16BITS(bp); 136 bp += 2; 142 printf(", sum 0x%x", EXTRACT_16BITS(bp)); [all...] |
print-beep.c | 52 beep_print(const u_char *bp, u_int length) 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))
|
print-igmp.c | 110 print_mtrace(register const u_char *bp, register u_int len) 112 register const struct tr_query *tr = (const struct tr_query *)(bp + 8); 132 print_mresp(register const u_char *bp, register u_int len) 134 register const struct tr_query *tr = (const struct tr_query *)(bp + 8); 154 print_igmpv3_report(register const u_char *bp, register u_int len) 164 TCHECK2(bp[6], 2); 165 ngroups = EXTRACT_16BITS(&bp[6]); 175 TCHECK2(bp[group+4], 4); 176 (void)printf(" [gaddr %s", ipaddr_string(&bp[group+4])); 178 bp[group])) [all...] |
print-rx.c | 434 rx_print(register const u_char *bp, int length, int sport, int dport, 441 if (snapend - bp < (int)sizeof (struct rx_header)) { 446 rxh = (struct rx_header *) bp; 501 rx_cache_insert(bp, (const struct ip *) bp2, dport); 505 fs_print(bp, length); 508 cb_print(bp, length); 511 prot_print(bp, length); 514 vldb_print(bp, length); 517 kauth_print(bp, length); 520 vol_print(bp, length) [all...] |
print-ntp.c | 81 register const struct ntpdata *bp; local 84 bp = (struct ntpdata *)cp; 86 TCHECK(bp->status); 88 version = (int)(bp->status & VERSIONMASK) >> 3; 91 mode = bp->status & MODEMASK; 103 leapind = bp->status & LEAPMASK; 108 TCHECK(bp->stratum); 109 printf(", Stratum %u", bp->stratum); 111 TCHECK(bp->ppoll); 112 printf(", poll %us", bp->ppoll) [all...] |
/external/webkit/WebCore/platform/graphics/ |
FontFamily.cpp | 49 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/chromium/net/third_party/nss/ssl/ |
ssltrace.c | 73 char *bp; local 83 bp = buf; 87 *bp++ = hex[(ch >> 4) & 0xf]; 88 *bp++ = hex[ch & 0xf]; 89 *bp++ = ' '; 95 bp = buf; 99 if (bp > buf) { 134 char *bp; local 143 bp = buf; 146 *bp++ = hex[(ch >> 4) & 0xf] [all...] |
/external/openssl/crypto/asn1/ |
t_pkey.c | 65 int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, 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);
|
asn1_par.c | 65 static int asn1_print_info(BIO *bp, int tag, int xclass,int constructed, 67 static int asn1_parse2(BIO *bp, const unsigned char **pp, long length, 69 static int asn1_print_info(BIO *bp, int tag, int xclass, int constructed, 80 if (BIO_write(bp,p,6) < 6) goto err; 81 BIO_indent(bp,indent,128); 95 if (BIO_printf(bp,fmt,p) <= 0) 102 int ASN1_parse(BIO *bp, const unsigned char *pp, long len, int indent) 104 return(asn1_parse2(bp,&pp,len,0,0,indent,0)); 107 int ASN1_parse_dump(BIO *bp, const unsigned char *pp, long len, int indent, int dump) 109 return(asn1_parse2(bp,&pp,len,0,0,indent,dump)) [all...] |
t_x509.c | 99 int X509_print(BIO *bp, X509 *x) 101 return X509_print_ex(bp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT); 104 int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags, unsigned long cflag) 126 if (BIO_write(bp,"Certificate:\n",13) <= 0) goto err; 127 if (BIO_write(bp," Data:\n",10) <= 0) goto err; 132 if (BIO_printf(bp,"%8sVersion: %lu (0x%lx)\n","",l+1,l) <= 0) goto err; 137 if (BIO_write(bp," Serial Number:",22) <= 0) goto err; 150 if (BIO_printf(bp," %s%lu (%s0x%lx)\n",neg,l,neg,l) <= 0) 156 if (BIO_printf(bp,"\n%12s%s","",neg) <= 0) goto err; 160 if (BIO_printf(bp,"%02x%c",bs->data[i] [all...] |
t_req.c | 91 int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags, unsigned long cflag) 115 if (BIO_write(bp,"Certificate Request:\n",21) <= 0) goto err; 116 if (BIO_write(bp," Data:\n",10) <= 0) goto err; 124 if(BIO_printf(bp,"%8sVersion: %s%lu (%s0x%lx)\n","",neg,l,neg, 130 if (BIO_printf(bp," Subject:%c",mlch) <= 0) goto err; 131 if (X509_NAME_print_ex(bp,ri->subject,nmindent, nmflags) < 0) goto err; 132 if (BIO_write(bp,"\n",1) <= 0) goto err; 136 if (BIO_write(bp," Subject Public Key Info:\n",33) <= 0) 138 if (BIO_printf(bp,"%12sPublic Key Algorithm: ","") <= 0) 140 if (i2a_ASN1_OBJECT(bp, ri->pubkey->algor->algorithm) <= 0 [all...] |
/external/openssl/crypto/ocsp/ |
ocsp_prn.c | 69 static int ocsp_certid_print(BIO *bp, OCSP_CERTID* a, int indent) 71 BIO_printf(bp, "%*sCertificate ID:\n", indent, ""); 73 BIO_printf(bp, "%*sHash Algorithm: ", indent, ""); 74 i2a_ASN1_OBJECT(bp, a->hashAlgorithm->algorithm); 75 BIO_printf(bp, "\n%*sIssuer Name Hash: ", indent, ""); 76 i2a_ASN1_STRING(bp, a->issuerNameHash, V_ASN1_OCTET_STRING); 77 BIO_printf(bp, "\n%*sIssuer Key Hash: ", indent, ""); 78 i2a_ASN1_STRING(bp, a->issuerKeyHash, V_ASN1_OCTET_STRING); 79 BIO_printf(bp, "\n%*sSerial Number: ", indent, ""); 80 i2a_ASN1_INTEGER(bp, a->serialNumber) [all...] |
/external/openssl/ssl/ |
ssl_txt.c | 107 int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x) 113 if (BIO_puts(bp,"SSL-Session:\n") <= 0) goto err; 126 if (BIO_printf(bp," Protocol : %s\n",s) <= 0) goto err; 132 if (BIO_printf(bp," Cipher : %06lX\n",x->cipher_id&0xffffff) <= 0) 137 if (BIO_printf(bp," Cipher : %04lX\n",x->cipher_id&0xffff) <= 0) 143 if (BIO_printf(bp," Cipher : %s\n",((x->cipher == NULL)?"unknown":x->cipher->name)) <= 0) 146 if (BIO_puts(bp," Session-ID: ") <= 0) goto err; 149 if (BIO_printf(bp,"%02X",x->session_id[i]) <= 0) goto err; 151 if (BIO_puts(bp,"\n Session-ID-ctx: ") <= 0) goto err; 154 if (BIO_printf(bp,"%02X",x->sid_ctx[i]) <= 0 [all...] |
/bionic/libc/tzcode/ |
strptime.c | 106 const unsigned char *bp; local 116 bp = (unsigned char *)buf; 123 while (isspace(*bp)) 124 bp++; 137 if (c != *bp++) 161 if (!(bp = _strptime(bp, _ctloc(d_t_fmt), tm, 0))) 167 if (!(bp = _strptime(bp, "%m/%d/%y", tm, 0))) 173 if (!(bp = _strptime(bp, "%H:%M", tm, 0)) [all...] |
/external/openssl/crypto/bn/ |
bntest.c | 94 int test_add(BIO *bp); 95 int test_sub(BIO *bp); 96 int test_lshift1(BIO *bp); 97 int test_lshift(BIO *bp,BN_CTX *ctx,BIGNUM *a_); 98 int test_rshift1(BIO *bp); 99 int test_rshift(BIO *bp,BN_CTX *ctx); 100 int test_div(BIO *bp,BN_CTX *ctx); 101 int test_div_word(BIO *bp); 102 int test_div_recp(BIO *bp,BN_CTX *ctx); 103 int test_mul(BIO *bp); [all...] |
/packages/apps/Email/tests/src/com/android/email/mail/internet/ |
MimeBodyPartTest.java | 40 MimeBodyPart bp = new MimeBodyPart(); local 43 assertNull(bp.getContentId()); 47 bp.setHeader(MimeHeader.HEADER_CONTENT_ID, cid1); 48 assertEquals(cid1, bp.getContentId()); 51 bp.setHeader(MimeHeader.HEADER_CONTENT_ID, "<" + cid1 + ">"); 52 assertEquals(cid1, bp.getContentId());
|
/external/quake/quake/src/QW/client/ |
d_parta.s | 228 cmpw %bp,(%edx) // just one pixel to do 230 movw %bp,(%edx) 241 cmpw %bp,(%edx) 243 movw %bp,(%edx) 246 cmpw %bp,2(%edx) 248 movw %bp,2(%edx) 251 cmpw %bp,(%edx,%esi,1) 253 movw %bp,(%edx,%esi,1) 256 cmpw %bp,2(%edx,%esi,1) 258 movw %bp,2(%edx,%esi,1 [all...] |
/external/quake/quake/src/WinQuake/ |
d_parta.s | 228 cmpw %bp,(%edx) // just one pixel to do 230 movw %bp,(%edx) 241 cmpw %bp,(%edx) 243 movw %bp,(%edx) 246 cmpw %bp,2(%edx) 248 movw %bp,2(%edx) 251 cmpw %bp,(%edx,%esi,1) 253 movw %bp,(%edx,%esi,1) 256 cmpw %bp,2(%edx,%esi,1) 258 movw %bp,2(%edx,%esi,1 [all...] |