Searched refs:bp (Results 26 - 50 of 671) sorted by relevance

1234567891011>>

/macosx-10.10.1/BerkeleyDB-21/db/repmgr/
H A Drepmgr_auto.c13 __repmgr_handshake_marshal(env, argp, bp)
16 u_int8_t *bp;
18 DB_HTONS_COPYOUT(env, bp, argp->port);
19 DB_HTONL_COPYOUT(env, bp, argp->priority);
27 __repmgr_handshake_unmarshal(env, argp, bp, max, nextp)
30 u_int8_t *bp;
36 DB_NTOHS_COPYIN(env, argp->port, bp);
37 DB_NTOHL_COPYIN(env, argp->priority, bp);
40 *nextp = bp;
54 __repmgr_ack_marshal(env, argp, bp)
[all...]
/macosx-10.10.1/tcpdump-61/tcpdump/
H A Dprint-ip6opts.c74 ip6_sopt_print(const u_char *bp, int len) argument
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[
139 ip6_opt_print(const u_char *bp, int len) argument
292 hbhopt_print(register const u_char *bp) argument
312 dstopt_print(register const u_char *bp) argument
[all...]
H A Dprint-gre.c92 gre_print(const u_char *bp, u_int length) argument
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) argument
124 flags = EXTRACT_16BITS(bp);
130 bp += 2;
134 prot = EXTRACT_16BITS(bp);
136 bp += 2;
142 printf(", sum 0x%x", EXTRACT_16BITS(bp));
241 gre_print_1(const u_char *bp, u_int length) argument
321 gre_sre_print(u_int16_t af, u_int8_t sreoff, u_int8_t srelen, const u_char *bp, u_int len) argument
340 gre_sre_ip_print(u_int8_t sreoff, u_int8_t srelen, const u_char *bp, u_int len) argument
374 gre_sre_asn_print(u_int8_t sreoff, u_int8_t srelen, const u_char *bp, u_int len) argument
[all...]
H A Dprint-vxlan.c44 vxlan_print(const u_char *bp, u_int len) argument
54 flags = *bp;
55 bp += 4;
57 vni = EXTRACT_24BITS(bp);
58 bp += 4;
72 ether_print(gndo, bp, len - 8, len - 8, NULL, NULL);
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-igmp.c110 print_mtrace(register const u_char *bp, register u_int len) argument
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) argument
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) argument
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[grou
208 print_igmpv3_query(register const u_char *bp, register u_int len) argument
264 igmp_print(register const u_char *bp, register u_int len) argument
[all...]
H A Dprint-ntp.c87 register const struct ntpdata *bp; local
90 bp = (struct ntpdata *)cp;
92 TCHECK(bp->status);
94 version = (int)(bp->status & VERSIONMASK) >> 3;
97 mode = bp->status & MODEMASK;
109 leapind = bp->status & LEAPMASK;
114 TCHECK(bp->stratum);
116 bp->stratum,
117 tok2str(ntp_stratum_values, (bp->stratum >=2 && bp
[all...]
H A Dprint-rx.c449 rx_print(register const u_char *bp, int length, int sport, int dport, argument
456 if (snapend - bp < (int)sizeof (struct rx_header)) {
461 rxh = (struct rx_header *) bp;
516 rx_cache_insert(bp, (const struct ip *) bp2, dport);
520 fs_print(bp, length);
523 cb_print(bp, length);
526 prot_print(bp, length);
529 vldb_print(bp, length);
532 kauth_print(bp, length);
535 vol_print(bp, lengt
602 rx_cache_insert(const u_char *bp, const struct ip *ip, int dport) argument
804 fs_print(register const u_char *bp, int length) argument
976 fs_reply_print(register const u_char *bp, int length, int32_t opcode) argument
1143 cb_print(register const u_char *bp, int length) argument
1225 cb_reply_print(register const u_char *bp, int length, int32_t opcode) argument
1274 prot_print(register const u_char *bp, int length) argument
1417 prot_reply_print(register const u_char *bp, int length, int32_t opcode) argument
1529 vldb_print(register const u_char *bp, int length) argument
1622 vldb_reply_print(register const u_char *bp, int length, int32_t opcode) argument
1809 kauth_print(register const u_char *bp, int length) argument
1902 kauth_reply_print(register const u_char *bp, int length, int32_t opcode) argument
1953 vol_print(register const u_char *bp, int length) argument
2154 vol_reply_print(register const u_char *bp, int length, int32_t opcode) argument
2288 bos_print(register const u_char *bp, int length) argument
2379 bos_reply_print(register const u_char *bp, int length, int32_t opcode) argument
2437 ubik_print(register const u_char *bp) argument
2546 ubik_reply_print(register const u_char *bp, int length, int32_t opcode) argument
2609 rx_ack_print(register const u_char *bp, int length) argument
[all...]
H A Dprint-pgm.c158 pgm_print(register const u_char *bp, register u_int length, argument
177 pgm = (struct pgm_header *)bp;
277 bp = (u_char *) (spm + 1);
278 TCHECK2(*bp, addr_size);
279 nla = bp;
280 bp += addr_size;
299 bp = (u_char *) (poll + 1);
324 bp = (u_char *) (polr + 1);
325 TCHECK2(*bp, addr_size);
326 nla = bp;
[all...]
/macosx-10.10.1/less-25/less/
H A Dch.c86 #define FOR_BUFS_IN_CHAIN(h,bp) \
87 for (bp = thisfile->hashtbl[h].buf_hnext; \
88 bp != END_OF_HCHAIN(h); bp = bp->hnext)
90 #define HASH_RM(bp) \
91 (bp)->hnext->hprev = (bp)->hprev; \
92 (bp)->hprev->hnext = (bp)
132 register struct buf *bp; local
388 register struct buf *bp; local
426 register struct buf *bp; local
513 register struct buf *bp, *firstbp; local
631 register struct buf *bp; local
696 register struct buf *bp; local
736 register struct buf *bp; local
[all...]
/macosx-10.10.1/man-16/man/src/
H A Dman-config.c48 char *bp; local
52 bp = buf + len;
53 if(!strncmp (buf, paths[i].name, len) && (!*bp || whitespace(*bp))) {
54 while(whitespace(*bp))
55 bp++;
56 paths[i].path = my_strdup(bp);
75 adddir (const char *bp, int mandatory) { argument
79 while (whitespace(*bp))
80 bp
137 addglobdir(const char *bp, int mandatory) argument
163 addext(char *bp) argument
227 char *bp; local
[all...]
/macosx-10.10.1/network_cmds-457/rtadvd.tproj/
H A Dadvcap.c132 * Get an entry for terminal name in buffer bp,
137 tgetent(bp, name)
138 char *bp, *name;
143 return (getent(bp, name, cp));
147 getent(bp, name, cp)
148 char *bp, *name, *cp;
155 tbuf = bp;
173 cp = bp;
185 if (cp > bp && cp[-1] == '\\') {
191 if (cp >= bp
346 char *bp = tbuf; local
380 char *bp = tbuf; local
408 char *bp = tbuf; local
[all...]
/macosx-10.10.1/postfix-255/postfix/src/util/
H A Dsane_basename.c69 char *sane_basename(VSTRING *bp, const char *path) argument
78 if (bp == 0) {
79 bp = buf;
80 if (bp == 0)
81 bp = buf = vstring_alloc(10);
88 return (STR(vstring_strcpy(bp, ".")));
97 return (STR(vstring_strcpy(bp, "/")));
108 return (STR(vstring_strncpy(bp, first + 1, last - first)));
113 char *sane_dirname(VSTRING *bp, const char *path) argument
121 if (bp
[all...]
H A Dvbuf_print.c10 /* VBUF *vbuf_print(bp, format, ap)
11 /* VBUF *bp;
98 #define VBUF_SKIP(bp) { \
99 while ((bp)->cnt > 0 && *(bp)->ptr) \
100 (bp)->ptr++, (bp)->cnt--; \
109 #define VBUF_STRCAT(bp, s) { \
113 VBUF_PUT((bp), _ch); \
118 VBUF *vbuf_print(VBUF *bp, cons argument
[all...]
H A Dargv_split.c67 char *bp = saved_string; local
70 while ((arg = mystrtok(&bp, delim)) != 0)
83 char *bp = saved_string; local
88 while (count-- > 1 && (arg = mystrtok(&bp, delim)) != 0)
90 if (*bp)
91 bp += strspn(bp, delim);
92 if (*bp)
93 argv_add(argvp, bp, (char *) 0);
104 char *bp local
[all...]
H A Dvstream.c530 #define VSTREAM_BUF_COUNT(bp, n) \
531 ((bp)->flags & VSTREAM_FLAG_READ ? -(n) : (n))
533 #define VSTREAM_BUF_AT_START(bp) { \
534 (bp)->cnt = VSTREAM_BUF_COUNT((bp), (bp)->len); \
535 (bp)->ptr = (bp)->data; \
538 #define VSTREAM_BUF_AT_OFFSET(bp, offset) { \
539 (bp)
602 vstream_buf_init(VBUF *bp, int flags) argument
618 vstream_buf_alloc(VBUF *bp, ssize_t len) argument
649 vstream_buf_wipe(VBUF *bp) argument
662 VBUF *bp = &stream->buf; local
801 vstream_buf_get_ready(VBUF *bp) argument
923 vstream_buf_put_ready(VBUF *bp) argument
972 vstream_buf_space(VBUF *bp, ssize_t want) argument
1041 VBUF *bp = &stream->buf; local
1093 VBUF *bp = &stream->buf; local
1156 VBUF *bp = &stream->buf; local
1538 VBUF *bp; local
[all...]
/macosx-10.10.1/OpenSSL098-52/src/crypto/ocsp/
H A Docsp_prn.c69 static int ocsp_certid_print(BIO *bp, OCSP_CERTID* a, int indent) argument
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,
135 OCSP_REQUEST_print(BIO *bp, OCSP_REQUEST* o, unsigned long flags) argument
181 OCSP_RESPONSE_print(BIO *bp, OCSP_RESPONSE* o, unsigned long flags) argument
[all...]
/macosx-10.10.1/bash-94.1.2/bash-3.2/
H A Dinput.c164 BUFFERED_STREAM *bp; local
166 bp = (BUFFERED_STREAM *)xmalloc (sizeof (BUFFERED_STREAM));
168 buffers[fd] = bp;
169 bp->b_fd = fd;
170 bp->b_buffer = buffer;
171 bp->b_size = bufsize;
172 bp->b_used = bp->b_inputp = bp->b_flag = 0;
174 bp
507 BUFFERED_STREAM *bp; local
550 BUFFERED_STREAM *bp; local
602 BUFFERED_STREAM *bp; local
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/fileops/
H A Dfileops_auto.c22 u_int8_t *bp; local
28 bp = recbuf;
32 LOGCOPY_32(env, &argp->type, bp);
33 bp += sizeof(argp->type);
35 LOGCOPY_32(env, &argp->txnp->txnid, bp);
36 bp += sizeof(argp->txnp->txnid);
38 LOGCOPY_TOLSN(env, &argp->prev_lsn, bp);
39 bp += sizeof(DB_LSN);
42 LOGCOPY_32(env,&argp->name.size, bp);
43 bp
77 u_int8_t *bp; local
227 u_int8_t *bp; local
285 u_int8_t *bp; local
444 u_int8_t *bp; local
521 u_int8_t *bp; local
696 u_int8_t *bp; local
804 u_int8_t *bp; local
975 u_int8_t *bp; local
1045 u_int8_t *bp; local
[all...]
/macosx-10.10.1/ntp-92/libntp/
H A Dnumtohost.c24 char *bp; local
39 LIB_GETBUF(bp);
41 bp[LIB_BUFLENGTH-1] = '\0';
42 (void) strncpy(bp, hp->h_name, LIB_BUFLENGTH-1);
43 return bp;
/macosx-10.10.1/OpenSSH-189/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...]
/macosx-10.10.1/OpenSSL098-52/src/ssl/
H A Dssl_txt.c81 int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x) argument
87 if (BIO_puts(bp,"SSL-Session:\n") <= 0) goto err;
100 if (BIO_printf(bp," Protocol : %s\n",s) <= 0) goto err;
106 if (BIO_printf(bp," Cipher : %06lX\n",x->cipher_id&0xffffff) <= 0)
111 if (BIO_printf(bp," Cipher : %04lX\n",x->cipher_id&0xffff) <= 0)
117 if (BIO_printf(bp," Cipher : %s\n",((x->cipher == NULL)?"unknown":x->cipher->name)) <= 0)
120 if (BIO_puts(bp," Session-ID: ") <= 0) goto err;
123 if (BIO_printf(bp,"%02X",x->session_id[i]) <= 0) goto err;
125 if (BIO_puts(bp,"\n Session-ID-ctx: ") <= 0) goto err;
128 if (BIO_printf(bp,"
[all...]
/macosx-10.10.1/ncurses-44/ncurses/form/
H A Dfty_ipv4.c53 char *bp = field_buffer(field, 0); local
57 if (isdigit(UChar(*bp))) /* Must start with digit */
59 num = sscanf(bp, "%u.%u.%u.%u%n", &d1, &d2, &d3, &d4, &len);
62 bp += len; /* Make bp point to what sscanf() left */
63 while (isspace(UChar(*bp)))
64 bp++; /* Allow trailing whitespace */
67 return ((num != 4 || *bp || d1 > 255 || d2 > 255
/macosx-10.10.1/BerkeleyDB-21/db/dbreg/
H A Ddbreg_auto.c24 u_int8_t *bp; local
30 bp = recbuf;
34 LOGCOPY_32(env, &argp->type, bp);
35 bp += sizeof(argp->type);
37 LOGCOPY_32(env, &argp->txnp->txnid, bp);
38 bp += sizeof(argp->txnp->txnid);
40 LOGCOPY_TOLSN(env, &argp->prev_lsn, bp);
41 bp += sizeof(DB_LSN);
43 LOGCOPY_32(env, &argp->opcode, bp);
44 bp
103 u_int8_t *bp; local
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/qam/
H A Dqam_auto.c27 u_int8_t *bp; local
33 bp = recbuf;
38 LOGCOPY_32(env, &argp->type, bp);
39 bp += sizeof(argp->type);
41 LOGCOPY_32(env, &argp->txnp->txnid, bp);
42 bp += sizeof(argp->txnp->txnid);
44 LOGCOPY_TOLSN(env, &argp->prev_lsn, bp);
45 bp += sizeof(DB_LSN);
47 LOGCOPY_32(env, &uinttmp, bp);
49 bp
87 u_int8_t *bp; local
241 u_int8_t *bp; local
327 u_int8_t *bp; local
513 u_int8_t *bp; local
581 u_int8_t *bp; local
752 u_int8_t *bp; local
840 u_int8_t *bp; local
1039 u_int8_t *bp; local
1115 u_int8_t *bp; local
[all...]

Completed in 292 milliseconds

1234567891011>>