/freebsd-11.0-release/crypto/openssh/openbsd-compat/ |
H A D | strptime.c | 70 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...] |
/freebsd-11.0-release/contrib/tcpdump/ |
H A D | print-vjc.c | 76 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));
|
H A D | print-pgm.c | 147 register const u_char *bp, register u_int length, 166 pgm = (struct pgm_header *)bp; 263 bp = (u_char *) (spm + 1); 264 ND_TCHECK2(*bp, addr_size); 265 nla = bp; 266 bp += addr_size; 285 bp = (u_char *) (poll + 1); 310 bp = (u_char *) (polr + 1); 311 ND_TCHECK2(*bp, addr_size); 312 nla = bp; 146 pgm_print(netdissect_options *ndo, register const u_char *bp, register u_int length, register const u_char *bp2) argument [all...] |
H A D | print-geneve.c | 89 geneve_opts_print(netdissect_options *ndo, const u_char *bp, u_int len) argument 101 opt_class = EXTRACT_16BITS(bp); 102 opt_type = *(bp + 2); 103 opt_len = 4 + ((*(bp + 3) & OPT_LEN_MASK) * 4); 115 uint32_t *print_data = (uint32_t *)(bp + 4); 126 bp += opt_len; 132 geneve_print(netdissect_options *ndo, const u_char *bp, u_int len) argument 144 ND_TCHECK2(*bp, 8); 146 ver_opt = *bp; 147 bp [all...] |
/freebsd-11.0-release/contrib/ncurses/form/ |
H A D | fty_ipv4.c | 53 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
|
H A D | fty_int.c | 169 unsigned char *bp = (unsigned char *)field_buffer(field, 0); local 170 char *s = (char *)bp; 175 while (*bp && *bp == ' ') 176 bp++; 177 if (*bp) 179 if (*bp == '-') 180 bp++; 182 if (*bp) 187 wchar_t *list = _nc_Widen_String((char *)bp, [all...] |
H A D | fty_num.c | 187 unsigned char *bp = (unsigned char *)field_buffer(field, 0); local 188 char *s = (char *)bp; 194 while (*bp && *bp == ' ') 195 bp++; 196 if (*bp) 198 if (*bp == '-' || *bp == '+') 199 bp++; 201 if (*bp) [all...] |
/freebsd-11.0-release/contrib/gdb/gdb/ |
H A D | mem-break.c | 48 const unsigned char *bp; local 52 bp = BREAKPOINT_FROM_PC (&addr, &bplen); 53 if (bp == NULL) 61 val = target_write_memory (addr, (char *) bp, bplen); 70 const unsigned char *bp; local 74 bp = BREAKPOINT_FROM_PC (&addr, &bplen); 75 if (bp == NULL)
|
/freebsd-11.0-release/contrib/bmake/ |
H A D | buf.h | 97 #define Buf_AddByte(bp, byte) do { \ 98 int _count = ++(bp)->count; \ 100 if (__predict_false(_count >= (bp)->size)) \ 101 Buf_Expand_1(bp); \ 102 _ptr = (bp)->buffer + _count; \ 109 #define Buf_Size(bp) ((bp)->count)
|
/freebsd-11.0-release/usr.sbin/ppp/ |
H A D | vjcomp.c | 73 vj_LayerPush(struct bundle *bundle, struct link *l __unused, struct mbuf *bp, argument 80 bp = m_pullup(bp); 81 pip = (struct ip *)MBUF_CTOP(bp); 84 type = sl_compress_tcp(bp, pip, &bundle->ncp.ipcp.vj.cslc, 95 m_settype(bp, MB_VJOUT); 101 m_settype(bp, MB_VJOUT); 106 m_freem(bp); 111 return bp; 115 VjUncompressTcp(struct ipcp *ipcp, struct mbuf *bp, u_cha argument 165 vj_LayerPull(struct bundle *bundle, struct link *l __unused, struct mbuf *bp, u_short *proto) argument [all...] |
H A D | async.c | 103 async_LayerPush(struct bundle *b __unused, struct link *l, struct mbuf *bp, argument 112 if (!p || m_length(bp) > HDLCSIZE) { 113 m_freem(bp); 117 oldcnt = m_length(bp); 121 wp = bp; 128 m_freem(bp); 137 m_freem(bp); 138 bp = m_get(cnt, MB_ASYNCOUT); 139 memcpy(MBUF_CTOP(bp), p->async.xbuff, cnt); 140 bp 149 struct mbuf *bp; local 190 async_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp, u_short *proto __unused) argument [all...] |
/freebsd-11.0-release/sys/sys/ |
H A D | buf.h | 152 * B_ASYNC VOP calls on bp's are usually async whether or not 157 * B_PAGING Indicates that bp is being used by the paging system or 158 * some paging system and that the bp is not linked into 269 #define BUF_LOCKINIT(bp) \ 270 lockinit(&(bp)->b_lock, PRIBIO + 4, buf_wmesg, 0, 0) 275 #define BUF_LOCK(bp, locktype, interlock) \ 276 _lockmgr_args_rw(&(bp)->b_lock, (locktype), (interlock), \ 283 #define BUF_TIMELOCK(bp, locktype, interlock, wmesg, catch, timo) \ 284 _lockmgr_args_rw(&(bp)->b_lock, (locktype) | LK_TIMELOCK, \ 292 #define BUF_UNLOCK(bp) d 386 bwrite(struct buf *bp) argument 397 bstrategy(struct buf *bp) argument 409 buf_start(struct buf *bp) argument 416 buf_complete(struct buf *bp) argument 423 buf_deallocate(struct buf *bp) argument 430 buf_countdeps(struct buf *bp, int i) argument 475 buf_mapped(struct buf *bp) argument [all...] |
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | spa.h | 145 * overhead, three DVAs per bp, plus one more bit in case we do anything 233 * fill count number of non-zero blocks under this bp 234 * checksum[4] 256-bit checksum of the data this bp describes 286 * bp's they are stored in units of SPA_MINBLOCKSHIFT. 295 #define BPE_GET_ETYPE(bp) \ 296 (ASSERT(BP_IS_EMBEDDED(bp)), \ 297 BF64_GET((bp)->blk_prop, 40, 8)) 298 #define BPE_SET_ETYPE(bp, t) do { \ 299 ASSERT(BP_IS_EMBEDDED(bp)); \ 300 BF64_SET((bp) [all...] |
/freebsd-11.0-release/crypto/openssl/crypto/asn1/ |
H A D | t_x509.c | 100 int X509_print(BIO *bp, X509 *x) argument 102 return X509_print_ex(bp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT); 105 int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags, argument 127 if (BIO_write(bp, "Certificate:\n", 13) <= 0) 129 if (BIO_write(bp, " Data:\n", 10) <= 0) 134 if (BIO_printf(bp, "%8sVersion: %lu (0x%lx)\n", "", l + 1, l) <= 0) 139 if (BIO_write(bp, " Serial Number:", 22) <= 0) 151 if (BIO_printf(bp, " %s%lu (%s0x%lx)\n", neg, l, neg, l) <= 0) 155 if (BIO_printf(bp, "\n%12s%s", "", neg) <= 0) 159 if (BIO_printf(bp, " 266 X509_ocspid_print(BIO *bp, X509 *x) argument 316 X509_signature_dump(BIO *bp, const ASN1_STRING *sig, int indent) argument 339 X509_signature_print(BIO *bp, X509_ALGOR *sigalg, ASN1_STRING *sig) argument 364 ASN1_STRING_print(BIO *bp, const ASN1_STRING *v) argument 393 ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm) argument 408 ASN1_GENERALIZEDTIME_print(BIO *bp, const ASN1_GENERALIZEDTIME *tm) argument 460 ASN1_UTCTIME_print(BIO *bp, const ASN1_UTCTIME *tm) argument 501 X509_NAME_print(BIO *bp, X509_NAME *name, int obase) argument [all...] |
H A D | asn1_par.c | 69 static int asn1_print_info(BIO *bp, int tag, int xclass, int constructed, 71 static int asn1_parse2(BIO *bp, const unsigned char **pp, long length, 73 static int asn1_print_info(BIO *bp, int tag, int xclass, int constructed, argument 84 if (BIO_write(bp, p, 6) < 6) 86 BIO_indent(bp, indent, 128); 100 if (BIO_printf(bp, fmt, p) <= 0) 107 int ASN1_parse(BIO *bp, const unsigned char *pp, long len, int indent) argument 109 return (asn1_parse2(bp, &pp, len, 0, 0, indent, 0)); 112 int ASN1_parse_dump(BIO *bp, const unsigned char *pp, long len, int indent, argument 115 return (asn1_parse2(bp, 118 asn1_parse2(BIO *bp, const unsigned char **pp, long length, int offset, int depth, int indent, int dump) argument [all...] |
/freebsd-11.0-release/sys/geom/vinum/ |
H A D | geom_vinum_plex.c | 54 gv_plex_start(struct gv_plex *p, struct bio *bp) argument 62 bcount = bp->bio_length; 63 addr = bp->bio_data; 64 boff = bp->bio_offset; 75 wp = gv_raid5_start(p, bp, addr, boff, bcount); 91 len = gv_plex_normal_request(p, bp, boff, bcount, addr); 196 gv_plex_normal_request(struct gv_plex *p, struct bio *bp, off_t boff, argument 214 &real_len, &sdno, (bp->bio_pflags & GV_BIO_GROW)); 217 bioq_disksort(p->rqueue, bp); 244 if (bp 301 gv_plex_normal_done(struct gv_plex *p, struct bio *bp) argument 327 gv_plex_raid5_done(struct gv_plex *p, struct bio *bp) argument 450 gv_check_parity(struct gv_plex *p, struct bio *bp, struct gv_raid5_packet *wp) argument 505 gv_normal_parity(struct gv_plex *p, struct bio *bp, struct gv_raid5_packet *wp) argument 539 struct bio *bp; local 550 gv_post_bio(struct gv_softc *sc, struct bio *bp) argument 566 struct bio *bp; local 601 gv_sync_complete(struct gv_plex *to, struct bio *bp) argument 680 struct bio *bp; local 714 gv_grow_complete(struct gv_plex *p, struct bio *bp) argument 785 struct bio *bp, *cbp; local 827 gv_init_complete(struct gv_plex *p, struct bio *bp) argument 891 struct bio *bp; local 936 gv_parity_complete(struct gv_plex *p, struct bio *bp) argument 993 gv_rebuild_complete(struct gv_plex *p, struct bio *bp) argument [all...] |
/freebsd-11.0-release/sys/kern/ |
H A D | vfs_cluster.c | 96 struct buf *bp, *rbp, *reqbp; local 122 *bpp = reqbp = bp = getblk(vp, lblkno, size, 0, 0, gbflags); 123 if (bp == NULL) 132 if (bp->b_flags & B_CACHE) { 135 } else if ((bp->b_flags & B_RAM) == 0) { 138 bp->b_flags &= ~B_RAM; 168 reqbp = bp = NULL; 174 off_t firstread = bp->b_offset; 178 KASSERT(bp->b_offset != NOOFFSET, 222 bp 338 struct buf *bp, *tbp; local 648 cluster_write(struct vnode *vp, struct buf *bp, u_quad_t filesize, int seqcount, int gbflags) argument 803 struct buf *bp, *tbp; local 1055 struct buf *bp; local [all...] |
H A D | kern_physio.c | 44 struct bio *bp; local 94 bp = g_alloc_bio(); 130 g_reset_bio(bp); 132 bp->bio_cmd = BIO_READ; 135 bp->bio_cmd = BIO_WRITE; 138 bp->bio_offset = uio->uio_offset; 139 bp->bio_data = uio->uio_iov[i].iov_base; 140 bp->bio_length = uio->uio_iov[i].iov_len; 141 if (bp->bio_length > dev->si_iosize_max) 142 bp [all...] |
/freebsd-11.0-release/sys/dev/nand/ |
H A D | nand_geom.c | 94 nand_strategy(struct bio *bp) argument 98 chip = (struct nand_chip *)bp->bio_disk->d_drv1; 100 bp->bio_driver1 = BIO_NAND_STD; 103 bp->bio_cmd == BIO_READ ? "READ" : 104 (bp->bio_cmd == BIO_WRITE ? "WRITE" : 105 (bp->bio_cmd == BIO_DELETE ? "DELETE" : "UNKNOWN")), 109 bioq_insert_tail(&chip->bioq, bp); 115 nand_strategy_raw(struct bio *bp) argument 119 chip = (struct nand_chip *)bp->bio_disk->d_drv1; 122 bp 154 nand_getattr(struct bio *bp) argument 312 struct bio *bp; local 443 struct bio *bp; local [all...] |
/freebsd-11.0-release/contrib/ipfilter/ipsd/ |
H A D | slinux.c | 45 int ack_recv(bp) 46 char *bp; 55 bcopy(bp, (char *)&tip, sizeof(tip)); 56 bcopy(bp + (ip.ip_hl << 2), (char *)tcp, sizeof(*tcp)); 69 register u_char *bp = buf; local 85 if (bp[12] != 0x8 || bp[13] != 0) 93 if (((bp[14+9] != IPPROTO_TCP) && 94 (bp[14+9] != IPPROTO_UDP)) || 95 (bp[1 [all...] |
/freebsd-11.0-release/contrib/ntp/libntp/ |
H A D | numtohost.c | 24 char *bp; local 39 LIB_GETBUF(bp); 40 strlcpy(bp, hp->h_name, LIB_BUFLENGTH); 42 return bp;
|
/freebsd-11.0-release/contrib/nvi/common/ |
H A D | args.h | 23 CHAR_T *bp; /* Argument. */ member in struct:_args
|
/freebsd-11.0-release/contrib/mdocml/ |
H A D | eqn_html.c | 31 eqn_box(struct html *p, const struct eqn_box *bp) argument 38 if (NULL == bp) 47 if (EQN_MATRIX == bp->type) { 48 if (NULL == bp->first) 50 if (EQN_LIST != bp->first->type) { 51 eqn_box(p, bp->first); 54 if (NULL == (parent = bp->first->first)) 64 parent = bp->first->first; 90 switch (bp->pos) { 119 if (bp [all...] |
/freebsd-11.0-release/lib/libutil/ |
H A D | kinfo_getvmobject.c | 42 char *buf, *bp, *ep; local 67 bp = buf; 69 while (bp < ep) { 70 kvo = (struct kinfo_vmobject *)(uintptr_t)bp; 71 bp += kvo->kvo_structsize; 82 bp = buf; 84 while (bp < ep) { 85 kvo = (struct kinfo_vmobject *)(uintptr_t)bp; 87 bp += kvo->kvo_structsize;
|
/freebsd-11.0-release/contrib/wpa/src/drivers/ |
H A D | driver_nl80211_android.c | 81 int ret = 0, i = 0, bp; local 84 bp = WEXT_PNOSETUP_HEADER_SIZE; 85 os_memcpy(buf, WEXT_PNOSETUP_HEADER, bp); 86 buf[bp++] = WEXT_PNO_TLV_PREFIX; 87 buf[bp++] = WEXT_PNO_TLV_VERSION; 88 buf[bp++] = WEXT_PNO_TLV_SUBVERSION; 89 buf[bp++] = WEXT_PNO_TLV_RESERVED; 94 if ((bp + WEXT_PNO_SSID_HEADER_SIZE + MAX_SSID_LEN + 100 buf[bp++] = WEXT_PNO_SSID_SECTION; 101 buf[bp [all...] |