Searched refs:bp (Results 1 - 25 of 433) sorted by relevance

1234567891011>>

/external/tcpdump/
H A Dprint-carp.c48 carp_print(netdissect_options *ndo, register const u_char *bp, register u_int len, int ttl) argument
53 ND_TCHECK(bp[0]);
54 version = (bp[0] & 0xf0) >> 4;
55 type = bp[0] & 0x0f;
65 ND_TCHECK(bp[2]);
66 ND_TCHECK(bp[5]);
68 bp[1], bp[5], bp[2], bp[
[all...]
H A Dprint-dvmrp.c69 register const u_char *bp, register u_int len)
75 if (bp >= ep)
78 ND_TCHECK(bp[1]);
79 type = bp[1];
82 bp += 8;
90 if (print_probe(ndo, bp, ep, len) < 0)
98 if (print_report(ndo, bp, ep, len) < 0)
109 if (print_neighbors(ndo, bp, ep, len) < 0)
123 bp -= 4;
124 ND_TCHECK2(bp[
68 dvmrp_print(netdissect_options *ndo, register const u_char *bp, register u_int len) argument
162 print_report(netdissect_options *ndo, register const u_char *bp, register const u_char *ep, register u_int len) argument
220 print_probe(netdissect_options *ndo, register const u_char *bp, register const u_char *ep, register u_int len) argument
251 print_neighbors(netdissect_options *ndo, register const u_char *bp, register const u_char *ep, register u_int len) argument
283 print_neighbors2(netdissect_options *ndo, register const u_char *bp, register const u_char *ep, register u_int len) argument
333 print_prune(netdissect_options *ndo, register const u_char *bp) argument
347 print_graft(netdissect_options *ndo, register const u_char *bp) argument
358 print_graft_ack(netdissect_options *ndo, register const u_char *bp) argument
[all...]
H A Dprint-otv.c39 otv_print(netdissect_options *ndo, const u_char *bp, u_int len) argument
50 flags = *bp;
51 bp += 1;
53 overlay_id = EXTRACT_24BITS(bp);
54 bp += 3;
56 instance_id = EXTRACT_24BITS(bp);
57 bp += 4;
64 ether_print(ndo, bp, len - 8, len - 8, NULL, NULL);
H A Dprint-geonet.c59 const u_char *bp)
66 version = bp[0];
67 msg_type = bp[1];
75 const u_char *bp)
77 uint16_t dest = EXTRACT_16BITS(bp+0);
78 uint16_t src = EXTRACT_16BITS(bp+2);
84 const u_char *bp)
88 ND_PRINT((ndo, "GN_ADDR:%s ", linkaddr_string (ndo, bp, 0, GEONET_ADDR_LEN)));
90 if (!ND_TTEST2(*(bp+12), 8))
92 lat = EXTRACT_32BITS(bp
58 print_btp_body(netdissect_options *ndo, const u_char *bp) argument
74 print_btp(netdissect_options *ndo, const u_char *bp) argument
83 print_long_pos_vector(netdissect_options *ndo, const u_char *bp) argument
105 geonet_print(netdissect_options *ndo, const u_char *eth, const u_char *bp, u_int length) argument
[all...]
H A Dprint-pim.c137 static void pimv2_print(netdissect_options *, register const u_char *bp, register u_int len, u_int cksum);
141 register const u_char *bp, register u_int len)
147 if (ND_TTEST2(bp[0], 30) && bp[11] == 1 &&
148 ((njoin = EXTRACT_16BITS(&bp[20])) + EXTRACT_16BITS(&bp[22])) == 1) {
151 ND_PRINT((ndo, " RPF %s ", ipaddr_string(ndo, bp)));
152 hold = EXTRACT_16BITS(&bp[6]);
158 ipaddr_string(ndo, &bp[26]), bp[2
140 pimv1_join_prune_print(netdissect_options *ndo, register const u_char *bp, register u_int len) argument
227 pimv1_print(netdissect_options *ndo, register const u_char *bp, register u_int len) argument
322 cisco_autorp_print(netdissect_options *ndo, register const u_char *bp, register u_int len) argument
417 pim_print(netdissect_options *ndo, register const u_char *bp, register u_int len, u_int cksum) argument
522 pimv2_addr_print(netdissect_options *ndo, const u_char *bp, enum pimv2_addrtype at, int silent) argument
624 pimv2_print(netdissect_options *ndo, register const u_char *bp, register u_int len, u_int cksum) argument
[all...]
H A Dprint-calm-fast.c35 * This is the top level routine of the printer. 'bp' points
39 calm_fast_print(netdissect_options *ndo, const u_char *eth, const u_char *bp, u_int length) argument
41 int srcNwref = bp[0];
42 int dstNwref = bp[1];
44 bp += 2;
51 ND_DEFAULTPRINT(bp, length);
H A Dprint-vrrp.c106 register const u_char *bp, register u_int len,
112 ND_TCHECK(bp[0]);
113 version = (bp[0] & 0xf0) >> 4;
114 type = bp[0] & 0x0f;
121 ND_TCHECK(bp[2]);
122 ND_PRINT((ndo, ", vrid %u, prio %u", bp[1], bp[2]));
123 ND_TCHECK(bp[5]);
126 auth_type = bp[4];
128 ND_PRINT((ndo, ", intvl %us, length %u", bp[
105 vrrp_print(netdissect_options *ndo, register const u_char *bp, register u_int len, register const u_char *bp2, int ttl) argument
[all...]
H A Dprint-gre.c86 gre_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
94 vers = EXTRACT_16BITS(bp) & GRE_VERS_MASK;
99 gre_print_0(ndo, bp, len);
102 gre_print_1(ndo, bp, len);
111 gre_print_0(netdissect_options *ndo, const u_char *bp, u_int length) argument
116 flags = EXTRACT_16BITS(bp);
122 bp += 2;
126 prot = EXTRACT_16BITS(bp);
128 bp += 2;
134 ND_PRINT((ndo, ", sum 0x%x", EXTRACT_16BITS(bp)));
231 gre_print_1(netdissect_options *ndo, const u_char *bp, u_int length) argument
311 gre_sre_print(netdissect_options *ndo, uint16_t af, uint8_t sreoff, uint8_t srelen, const u_char *bp, u_int len) argument
331 gre_sre_ip_print(netdissect_options *ndo, uint8_t sreoff, uint8_t srelen, const u_char *bp, u_int len) argument
366 gre_sre_asn_print(netdissect_options *ndo, uint8_t sreoff, uint8_t srelen, const u_char *bp, u_int len) argument
[all...]
H A Dprint-vxlan.c41 vxlan_print(netdissect_options *ndo, const u_char *bp, u_int len) argument
51 flags = *bp;
52 bp += 4;
54 vni = EXTRACT_24BITS(bp);
55 bp += 4;
61 ether_print(ndo, bp, len - 8, len - 8, NULL, NULL);
H A Dprint-beep.c40 beep_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
43 if (l_strnstart("MSG", 4, (const char *)bp, length)) /* A REQuest */
45 else if (l_strnstart("RPY ", 4, (const char *)bp, length))
47 else if (l_strnstart("ERR ", 4, (const char *)bp, length))
49 else if (l_strnstart("ANS ", 4, (const char *)bp, length))
51 else if (l_strnstart("NUL ", 4, (const char *)bp, length))
53 else if (l_strnstart("SEQ ", 4, (const char *)bp, length))
55 else if (l_strnstart("END", 4, (const char *)bp, length))
H A Dprint-igmp.c106 register const u_char *bp, register u_int len)
108 register const struct tr_query *tr = (const struct tr_query *)(bp + 8);
128 register const u_char *bp, register u_int len)
130 register const struct tr_query *tr = (const struct tr_query *)(bp + 8);
150 register const u_char *bp, register u_int len)
160 ND_TCHECK2(bp[6], 2);
161 ngroups = EXTRACT_16BITS(&bp[6]);
171 ND_TCHECK2(bp[group+4], 4);
172 ND_PRINT((ndo, " [gaddr %s", ipaddr_string(ndo, &bp[group+4])));
174 bp[grou
105 print_mtrace(netdissect_options *ndo, register const u_char *bp, register u_int len) argument
127 print_mresp(netdissect_options *ndo, register const u_char *bp, register u_int len) argument
149 print_igmpv3_report(netdissect_options *ndo, register const u_char *bp, register u_int len) argument
203 print_igmpv3_query(netdissect_options *ndo, register const u_char *bp, register u_int len) argument
259 igmp_print(netdissect_options *ndo, register const u_char *bp, register u_int len) argument
[all...]
H A Dprint-ntp.c207 register const struct ntpdata *bp; local
210 bp = (struct ntpdata *)cp;
212 ND_TCHECK(bp->status);
214 version = (int)(bp->status & VERSIONMASK) >> 3;
217 mode = bp->status & MODEMASK;
229 leapind = bp->status & LEAPMASK;
234 ND_TCHECK(bp->stratum);
236 bp->stratum,
237 tok2str(ntp_stratum_values, (bp->stratum >=2 && bp
[all...]
H A Dprint-ip6opts.c45 ip6_sopt_print(netdissect_options *ndo, const u_char *bp, int len) argument
51 if (bp[i] == IP6OPT_PAD1)
55 optlen = bp[i + 1] + 2;
62 switch (bp[i]) {
75 ND_PRINT((ndo, ", sopt_type %d: trunc)", bp[i]));
78 ND_PRINT((ndo, ", sopt_type 0x%02x: len=%d", bp[i], bp[i + 1]));
89 ip6_opt_print(netdissect_options *ndo, const u_char *bp, int len) argument
97 if (bp[i] == IP6OPT_PAD1)
101 optlen = bp[
174 hbhopt_print(netdissect_options *ndo, register const u_char *bp) argument
194 dstopt_print(netdissect_options *ndo, register const u_char *bp) argument
[all...]
H A Dprint-vjc.c76 vjc_print(netdissect_options *ndo, register const char *bp, u_short proto _U_) argument
80 switch (bp[0] & 0xf0) {
93 if (bp[1] & (0x80 >> i))
96 if (bp[1])
98 ND_PRINT((ndo, "C=0x%02x ", bp[2]));
99 ND_PRINT((ndo, "sum=0x%04x ", *(u_short *)&bp[3]));
107 ND_PRINT((ndo, "(vjc type=0x%02x) ", bp[0] & 0xf0));
/external/v8/test/mjsunit/regress/
H A Dregress-debug-code-recompilation.js40 bp = Debug.setBreakPoint(f, 0, 0);
41 Debug.clearBreakPoint(bp);
43 bp = Debug.setBreakPoint(f, 0, 0);
44 Debug.clearBreakPoint(bp);
45 bp = Debug.setBreakPoint(f, 0, 0);
46 Debug.clearBreakPoint(bp);
48 bp = Debug.setBreakPoint(f, 0, 0);
49 Debug.clearBreakPoint(bp);
/external/ltrace/
H A Dbreakpoints.c63 breakpoint_on_hit(struct breakpoint *bp, struct process *proc) argument
65 assert(bp != NULL);
66 if (bp->cbs != NULL && bp->cbs->on_hit != NULL)
67 (bp->cbs->on_hit)(bp, proc);
71 breakpoint_on_continue(struct breakpoint *bp, struct process *proc) argument
73 assert(bp != NULL);
74 if (bp->cbs != NULL && bp
81 breakpoint_on_retract(struct breakpoint *bp, struct process *proc) argument
89 breakpoint_on_install(struct breakpoint *bp, struct process *proc) argument
97 breakpoint_get_return_bp(struct breakpoint **ret, struct breakpoint *bp, struct process *proc) argument
165 breakpoint_init_base(struct breakpoint *bp, arch_addr_t addr, struct library_symbol *libsym) argument
180 breakpoint_init(struct breakpoint *bp, struct process *proc, arch_addr_t addr, struct library_symbol *libsym) argument
194 breakpoint_set_callbacks(struct breakpoint *bp, struct bp_callbacks *cbs) argument
202 breakpoint_destroy(struct breakpoint *bp) argument
211 breakpoint_clone(struct breakpoint *retp, struct process *new_proc, struct breakpoint *bp) argument
234 breakpoint_turn_on(struct breakpoint *bp, struct process *proc) argument
246 breakpoint_turn_off(struct breakpoint *bp, struct process *proc) argument
258 struct breakpoint *bp = malloc(sizeof *bp); local
278 struct breakpoint *bp = malloc(sizeof *bp); local
301 insert_breakpoint(struct process *proc, struct breakpoint *bp) argument
341 struct breakpoint *bp = NULL; local
352 delete_breakpoint(struct process *proc, struct breakpoint *bp) argument
370 breakpoint_name(const struct breakpoint *bp) argument
377 breakpoint_library(const struct breakpoint *bp) argument
403 entry_breakpoint_on_hit(struct breakpoint *bp, struct process *proc) argument
412 entry_breakpoint_init(struct process *proc, struct breakpoint *bp, arch_addr_t addr, struct library *lib) argument
[all...]
H A Dbreakpoint.h47 void (*on_hit)(struct breakpoint *bp, struct process *proc);
48 void (*on_continue)(struct breakpoint *bp, struct process *proc);
49 void (*on_install)(struct breakpoint *bp, struct process *proc);
50 void (*on_retract)(struct breakpoint *bp, struct process *proc);
59 struct breakpoint *bp, struct process *proc);
73 void breakpoint_on_hit(struct breakpoint *bp, struct process *proc);
77 void breakpoint_on_continue(struct breakpoint *bp, struct process *proc);
86 void breakpoint_on_retract(struct breakpoint *bp, struct process *proc);
92 void breakpoint_on_install(struct breakpoint *bp, struct process *proc);
97 struct breakpoint *bp, struc
[all...]
/external/boringssl/src/crypto/asn1/
H A Dt_pkey.c63 int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, argument
71 if(!BIO_indent(bp,off,128))
75 if (BIO_printf(bp, "%s 0\n", number) <= 0)
82 if (BIO_printf(bp,"%s %s%lu (%s0x%lx)\n",number,neg,
89 if (BIO_printf(bp,"%s%s",number,
102 if(BIO_puts(bp,"\n") <= 0
103 || !BIO_indent(bp,off+4,128))
106 if (BIO_printf(bp,"%02x%s",buf[i],((i+1) == n)?"":":")
109 if (BIO_write(bp,"\n",1) <= 0) return(0);
/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/google-breakpad/src/common/mac/
H A Dbootstrap_compat.cc35 kern_return_t BootstrapRegister(mach_port_t bp, argument
38 return bootstrap_register(bp, service_name, sp);
/external/v8/test/mjsunit/
H A Ddebug-conditional-breakpoints.js53 bp = Debug.setBreakPoint(f, 0, 0, '{{{');
56 Debug.clearBreakPoint(bp);
60 bp = Debug.setBreakPoint(f, 0, 0, 'false');
63 Debug.clearBreakPoint(bp);
67 bp = Debug.setBreakPoint(f, 0, 0, 'true');
70 Debug.clearBreakPoint(bp);
74 bp = Debug.setBreakPoint(f, 0, 0, '"a" == "a"');
77 Debug.clearBreakPoint(bp);
79 bp = Debug.setBreakPoint(f, 0, 0, "'a' == 'a'");
82 Debug.clearBreakPoint(bp);
[all...]
/external/libunwind/src/mi/
H A D_ReadSLEB.c8 unsigned char *bp = *dpp; local
12 byte = *bp++;
23 *dpp = bp;
H A D_ReadULEB.c8 unsigned char *bp = *dpp; local
12 byte = *bp++;
18 *dpp = bp;
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill/
H A Duninitialized_fill.pass.cpp46 B* bp = (B*)pool; local
49 std::uninitialized_fill(bp, bp+N, B());
55 assert(bp[i].data_ == 0);
58 std::uninitialized_fill(bp, bp+2, B());
60 assert(bp[i].data_ == 1);
65 Nasty* bp = (Nasty*)pool; local
68 std::uninitialized_fill(bp, bp
[all...]
/external/openssh/openbsd-compat/
H A Dstrptime.c70 const unsigned char *bp; local
80 bp = (unsigned char *)buf;
87 while (isspace(*bp))
88 bp++;
101 if (c != *bp++)
126 if (!(bp = _strptime(bp, _ctloc(d_t_fmt), tm, 0)))
132 if (!(bp = _strptime(bp, "%m/%d/%y", tm, 0)))
138 if (!(bp
[all...]

Completed in 5993 milliseconds

1234567891011>>