/netbsd/crypto/external/bsd/netpgp/dist/src/netpgpverify/ |
H A D | bufgap.c | 47 #define BEFSUB(bp, n) ((bp)->buf[(int)((bp)->size - (n) - 1)]) argument 180 AFTSUB(bp, bp->abc) = BEFSUB(bp, bp->bbc); in bufgap_forwards() 183 &BEFSUB(bp, bp->bbc), in bufgap_forwards() 203 AFTSUB(bp, bp->abc) = BEFSUB(bp, bp->bbc); in bufgap_forwards() 206 &BEFSUB(bp, bp->bbc), in bufgap_forwards() 241 BEFSUB(bp, bp->bbc) = AFTSUB(bp, bp->abc); in bufgap_backwards() 244 &AFTSUB(bp, bp->abc), in bufgap_backwards() 264 BEFSUB(bp, bp->bbc) = AFTSUB(bp, bp->abc); in bufgap_backwards() 391 bp->abc + bp->bbc; in bufgap_size() 407 if (bp->bbc + bp->abc == bp->size) { in bufgap_insert() [all …]
|
/netbsd/crypto/external/bsd/netpgp/dist/src/lib/ |
H A D | bufgap.c | 58 #define BEFSUB(bp, n) ((bp)->buf[(int)((bp)->size - (n) - 1)]) argument 191 AFTSUB(bp, bp->abc) = BEFSUB(bp, bp->bbc); in bufgap_forwards() 194 &BEFSUB(bp, bp->bbc), in bufgap_forwards() 214 AFTSUB(bp, bp->abc) = BEFSUB(bp, bp->bbc); in bufgap_forwards() 217 &BEFSUB(bp, bp->bbc), in bufgap_forwards() 252 BEFSUB(bp, bp->bbc) = AFTSUB(bp, bp->abc); in bufgap_backwards() 255 &AFTSUB(bp, bp->abc), in bufgap_backwards() 275 BEFSUB(bp, bp->bbc) = AFTSUB(bp, bp->abc); in bufgap_backwards() 402 bp->abc + bp->bbc; in bufgap_size() 418 if (bp->bbc + bp->abc == bp->size) { in bufgap_insert() [all …]
|
/netbsd/games/hunt/huntd/ |
H A D | shots.c | 87 for (bp = blist; bp != NULL; bp = next) { in moveshots() 134 for (bp = blist; bp != NULL; bp = next) { in moveshots() 217 zapshot(bp->b_next, bp); in move_normal_shot() 223 zapshot(bp->b_next, bp); in move_normal_shot() 495 opposite(bp->b_face, Maze[bp->b_y][bp->b_x])) { in move_drone() 519 bp->b_over = Maze[bp->b_y][bp->b_x]; in save_bullet() 556 Maze[bp->b_y][bp->b_x] = bp->b_type; in save_bullet() 992 for (bp = blist; bp != NULL; bp = bp->b_next) { in zapshot() 1014 for (bp = blist; bp != NULL; bp = bp->b_next) in explshot() 1070 for (bp = Bullets; bp != NULL; bp = bp->b_next) in is_bullet() [all …]
|
/netbsd/sbin/fsck_lfs/ |
H A D | bufcache.c | 129 bp->b_hashval = vl_hash(bp->b_vp, bp->b_lblkno); in bufrehash() 162 free(bp); in buf_destroy() 206 if (bp->b_vp == vp && bp->b_lblkno == lbn) { in incore() 239 bp->b_data = erealloc(bp->b_data, size); in getblk() 255 if (bp) in getblk() 278 bp = ecalloc(1, sizeof(*bp)); in getblk() 281 bp->b_blkno = bp->b_lblkno = lbn; in getblk() 298 reassignbuf(bp, bp->b_vp); in bwrite() 330 if (LIST_FIRST(&bufhash[bp->b_hashval]) != bp) { in brelse() 362 memset(bp->b_data, 0, bp->b_bcount); in bread() [all …]
|
/netbsd/external/bsd/tcpdump/dist/ |
H A D | print-pim.c | 155 if (ND_TTEST2(bp[0], 30) && bp[11] == 1 && in pimv1_join_prune_print() 166 ipaddr_string(ndo, &bp[26]), bp[25] & 0x3f, in pimv1_join_prune_print() 183 bp += 4; in pimv1_join_prune_print() 194 bp += 4; in pimv1_join_prune_print() 201 bp += 4; in pimv1_join_prune_print() 212 bp += 4; in pimv1_join_prune_print() 219 bp += 4; in pimv1_join_prune_print() 227 bp += 4; in pimv1_join_prune_print() 410 bp += 4; in cisco_autorp_print() 441 ipaddr_string(ndo, &bp[2]), bp[1])); in cisco_autorp_print() [all …]
|
H A D | print-dvmrp.c | 89 bp += 8; in dvmrp_print() 129 bp -= 4; in dvmrp_print() 133 bp += 4; in dvmrp_print() 183 mask = (uint32_t)0xff << 24 | bp[0] << 16 | bp[1] << 8 | bp[2]; in print_report() 193 bp += 3; in print_report() 240 bp += 4; in print_probe() 270 bp += 4; in print_neighbors() 280 bp += 4; in print_neighbors() 304 bp += 4; in print_neighbors2() 325 bp += 4; in print_neighbors2() [all …]
|
H A D | print-pgm.c | 495 bp += 2; in pgm_print() 506 bp += 2; in pgm_print() 508 bp += 4; in pgm_print() 510 bp += 4; in pgm_print() 512 bp += 4; in pgm_print() 518 bp += 2; in pgm_print() 528 bp += 4; in pgm_print() 541 bp += 2; in pgm_print() 543 bp += 4; in pgm_print() 555 bp += 2; in pgm_print() [all …]
|
H A D | print-gre.c | 133 bp += 2; in gre_print_0() 140 bp += 2; in gre_print_0() 148 bp += 2; in gre_print_0() 155 bp += 2; in gre_print_0() 164 bp += 4; in gre_print_0() 173 bp += 4; in gre_print_0() 256 bp += 2; in gre_print_1() 267 bp += 2; in gre_print_1() 279 bp += 4; in gre_print_1() 287 bp += 4; in gre_print_1() [all …]
|
/netbsd/external/gpl3/gdb/dist/gdbserver/ |
H A D | mem-break.cc | 311 for (bp = proc->breakpoints; bp != NULL; bp = bp->next) in any_persistent_commands() 335 for (bp = proc->raw_breakpoints; bp != NULL; bp = bp->next) in find_enabled_raw_code_breakpoint_at() 353 for (bp = proc->raw_breakpoints; bp != NULL; bp = bp->next) in find_raw_breakpoint_at() 996 for (bp = proc->breakpoints; bp != NULL; bp = bp->next) in find_gdb_breakpoint() 1554 for (bp = proc->raw_breakpoints; bp != NULL; bp = bp->next) in uninsert_breakpoints_at() 1595 for (bp = proc->breakpoints; bp != NULL; bp = bp->next) in uninsert_single_step_breakpoints() 1703 for (bp = proc->breakpoints; bp != NULL; bp = bp->next) in reinsert_single_step_breakpoints() 1840 for (bp = proc->breakpoints; bp != NULL; bp = bp->next) in single_step_breakpoint_inserted_here() 1902 for (bp = proc->breakpoints; bp != NULL; bp = bp->next) in validate_breakpoints() 1954 for (; bp != NULL; bp = bp->next) in check_mem_read() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdbserver/ |
H A D | mem-break.cc | 311 for (bp = proc->breakpoints; bp != NULL; bp = bp->next) in any_persistent_commands() 335 for (bp = proc->raw_breakpoints; bp != NULL; bp = bp->next) in find_enabled_raw_code_breakpoint_at() 353 for (bp = proc->raw_breakpoints; bp != NULL; bp = bp->next) in find_raw_breakpoint_at() 996 for (bp = proc->breakpoints; bp != NULL; bp = bp->next) in find_gdb_breakpoint() 1554 for (bp = proc->raw_breakpoints; bp != NULL; bp = bp->next) in uninsert_breakpoints_at() 1595 for (bp = proc->breakpoints; bp != NULL; bp = bp->next) in uninsert_single_step_breakpoints() 1703 for (bp = proc->breakpoints; bp != NULL; bp = bp->next) in reinsert_single_step_breakpoints() 1840 for (bp = proc->breakpoints; bp != NULL; bp = bp->next) in single_step_breakpoint_inserted_here() 1902 for (bp = proc->breakpoints; bp != NULL; bp = bp->next) in validate_breakpoints() 1954 for (; bp != NULL; bp = bp->next) in check_mem_read() [all …]
|
/netbsd/sys/kern/ |
H A D | vfs_bio.c | 889 reassignbuf(bp, bp->b_vp); in bwrite() 976 KASSERT(bp->b_vp == NULL || bp->b_objlock == bp->b_vp->v_interlock); in bdwrite() 983 reassignbuf(bp, bp->b_vp); in bdwrite() 1008 VOP_BWRITE(bp->b_vp, bp); in bawrite() 1099 reassignbuf(bp, bp->b_vp); in brelsel() 1243 bp->b_blkno = bp->b_lblkno = bp->b_rawblkno = blkno; in getblk() 1573 bp->b_bcount = bp->b_bufsize = 0; in buf_trim() 1614 (uintptr_t)bp, bp->b_oflags, in biowait() 2075 (bp->b_bcount < bp->b_bufsize || bp->b_resid > 0)) { in nestiobuf_iodone() 2112 bp->b_resid = bp->b_bcount = size; in nestiobuf_setup() [all …]
|
/netbsd/usr.sbin/bootp/bootptest/ |
H A D | print-bootp.c | 114 dump_hex(bp->bp_chaddr, bp->bp_hlen); in bootp_print() 127 TCHECK(bp->bp_ciaddr, sizeof(bp->bp_ciaddr)); in bootp_print() 132 TCHECK(bp->bp_yiaddr, sizeof(bp->bp_yiaddr)); in bootp_print() 137 TCHECK(bp->bp_siaddr, sizeof(bp->bp_siaddr)); in bootp_print() 142 TCHECK(bp->bp_giaddr, sizeof(bp->bp_giaddr)); in bootp_print() 146 TCHECK(bp->bp_sname[0], sizeof(bp->bp_sname)); in bootp_print() 154 TCHECK(bp->bp_file[0], sizeof(bp->bp_file)); in bootp_print() 316 printfn(bp, bp + len); in rfc1048_print() 363 if (isascii(*bp) && isprint(*bp)) { in rfc1048_print() 365 printfn(bp, bp + len); in rfc1048_print() [all …]
|
/netbsd/sys/arch/luna68k/stand/boot/ |
H A D | bmd.c | 186 bp->bc_esc = &bp->bc_escseq[0]; in bmd_escape() 201 if (bp->bc_row > bp->bc_ymin) { in bmd_escape_0() 225 bp->bc_row = bp->bc_ymin; in bmd_escape_0() 238 bp->bc_esc = &bp->bc_escseq[0]; in bmd_escape_0() 255 bp->bc_esc = &bp->bc_escseq[0]; 267 bp->bc_row = row + bp->bc_ymin; 270 bp->bc_esc = &bp->bc_escseq[0]; 315 bp->bc_row = bp->bc_ymin; in bmdinit() 327 bp->bc_col = bp->bc_xmin; in bmdinit() 329 bp->bc_esc = &bp->bc_escseq[0]; in bmdinit() [all …]
|
/netbsd/regress/sys/uvm/pdsim/ |
H A D | lirs.c | 80 bp->b_irr, in buf_print() 88 struct buf *bp; in dump() local 106 bp = &bufs[i]; in dump() 120 struct buf *bp; in reclaim() local 139 struct buf *bp; in prune() local 158 struct buf *bp; in reclaim_l() local 197 struct buf *bp; in fault() local 204 bp = &bufs[i]; in fault() 207 bp->b_irr = -1; in fault() 209 bp->b_irr = ts - bp->b_lastts - 1; in fault() [all …]
|
/netbsd/external/cddl/osnet/dist/lib/libdtrace/common/ |
H A D | dt_buf.c | 54 bp->dbu_buf = bp->dbu_ptr = dt_zalloc(dtp, len); in dt_buf_create() 60 bp->dbu_err = 0; in dt_buf_create() 70 bp->dbu_name, (ulong_t)bp->dbu_len, bp->dbu_resizes); in dt_buf_destroy() 78 if ((bp->dbu_ptr = bp->dbu_buf) != NULL) in dt_buf_reset() 81 dt_buf_create(dtp, bp, bp->dbu_name, bp->dbu_len); in dt_buf_reset() 88 size_t off = (size_t)(bp->dbu_ptr - bp->dbu_buf); in dt_buf_write() 96 if (bp->dbu_ptr + adj + len > bp->dbu_buf + bp->dbu_len) { in dt_buf_write() 101 while (bp->dbu_ptr + adj + len > bp->dbu_buf + new_len) { in dt_buf_write() 141 size_t off = (size_t)(bp->dbu_ptr - bp->dbu_buf); in dt_buf_offset() 148 return (bp->dbu_ptr - bp->dbu_buf); in dt_buf_len() [all …]
|
/netbsd/external/bsd/mdocml/dist/ |
H A D | eqn_term.c | 47 eqn_box(p, bp); in term_eqn() 60 if ((bp->type == EQN_LIST && bp->expectargs > 1) || in eqn_box() 61 (bp->type == EQN_PILE && (bp->prev || bp->next)) || in eqn_box() 62 (bp->parent != NULL && (bp->parent->pos == EQNPOS_SQRT || in eqn_box() 64 ((bp->top != NULL || bp->bottom != NULL) && in eqn_box() 66 bp->parent->pos != EQNPOS_OVER && bp->next != NULL) || in eqn_box() 68 (bp->type == EQN_SUBEXPR && bp->pos != EQNPOS_SQRT && in eqn_box() 83 term_word(p, bp->left != NULL ? bp->left : "("); in eqn_box() 98 if ((cp = strchr(bp->text, '\0')) > bp->text && in eqn_box() 170 term_word(p, bp->right != NULL ? bp->right : ")"); in eqn_box() [all …]
|
/netbsd/lib/libc/db/hash/ |
H A D | hash_buf.c | 120 if (!bp || (bp->addr != addr)) in __get_buf() 136 if (!bp) { in __get_buf() 168 bp = LRU; in newbuf() 190 if ((bp->addr != 0) || (bp->flags & BUF_BUCKET)) { in newbuf() 199 bp->addr, (int)IS_BUCKET(bp->flags), 0)) in newbuf() 255 bp->addr, (bp->ovfl ? bp->ovfl->addr : 0), 0); in newbuf() 266 (bp ? bp->addr : 0)); in newbuf() 307 for (bp = LRU; bp != &hashp->bufhead;) { in __buf_free() 309 if (bp->addr || IS_BUCKET(bp->flags)) { in __buf_free() 312 bp->addr, IS_BUCKET(bp->flags), 0)) in __buf_free() [all …]
|
/netbsd/lib/libc/time/ |
H A D | strptime.c | 276 bp = conv_num(bp, &i, 0, 99); in strptime_l() 316 bp = conv_num(bp, &i, 1, 366); in strptime_l() 329 bp = conv_num(bp, &i, 1, 12); in strptime_l() 357 if (*bp < '0' || *bp > '9') { in strptime_l() 390 bp = conv_num(bp, &i, 0, 53); in strptime_l() 406 bp = conv_num(bp, &i, 1, 7); in strptime_l() 415 bp = conv_num(bp, &i, 0, 99); in strptime_l() 427 bp = conv_num(bp, &i, 1, 53); in strptime_l() 432 bp = conv_num(bp, &i, 0, 9999); in strptime_l() 440 bp = conv_num(bp, &i, 0, 99); in strptime_l() [all …]
|
/netbsd/lib/libc/db/mpool/ |
H A D | mpool.c | 128 BKT *bp; in mpool_newf() local 169 BKT *bp; in mpool_delete() local 186 free(bp); in mpool_delete() 199 BKT *bp; in mpool_get() local 284 (mp->pgin)(mp->pgcookie, bp->pgno, bp->page); in mpool_get() 297 BKT *bp; in mpool_put() local 323 BKT *bp; in mpool_close() local 344 BKT *bp; in mpool_sync() local 364 BKT *bp; in mpool_bkt() local 428 (mp->pgout)(mp->pgcookie, bp->pgno, bp->page); in mpool_write() [all …]
|
/netbsd/distrib/utils/more/ |
H A D | ch.c | 118 for (bp = buf_head; bp != END_OF_CHAIN; bp = bp->next) in fch_get() 173 n = iread(file, &bp->data[bp->datasize], BUFSIZ - bp->datasize); in fch_get() 183 p = &bp->data[bp->datasize]; in fch_get() 194 bp->data[bp->datasize++] = EOI; in fch_get() 227 bp->next->prev = bp->prev; in fch_get() 228 bp->prev->next = bp->next; in fch_get() 255 for (bp = buf_head; bp != END_OF_CHAIN; bp = bp->next) 421 for (bp = buf_head; bp != END_OF_CHAIN; bp = bp->next) 453 for (bp = &newbufs[0]; bp < &newbufs[nnew]; bp++) { 454 bp->next = bp + 1; [all …]
|
/netbsd/external/gpl3/gcc/dist/gcc/ |
H A D | tree-streamer-out.cc | 88 bp_pack_value (bp, 0, 4); in pack_ts_base_value_fields() 99 bp_pack_value (bp, 0, 1); in pack_ts_base_value_fields() 113 bp_pack_value (bp, 0, 1); in pack_ts_base_value_fields() 132 bp_pack_value (bp, 0, 8); in pack_ts_base_value_fields() 137 bp_pack_value (bp, 0, 8); in pack_ts_base_value_fields() 142 bp_pack_value (bp, 0, 8); in pack_ts_base_value_fields() 145 bp_pack_value (bp, 0, 9); in pack_ts_base_value_fields() 173 bp_pack_value (bp, r.cl, 2); in pack_ts_real_cst_value_fields() 175 bp_pack_value (bp, r.sign, 1); in pack_ts_real_cst_value_fields() 346 bp_pack_value (bp, vla_p, 1); in pack_ts_type_common_value_fields() [all …]
|
H A D | tree-streamer-out.c | 87 bp_pack_value (bp, 0, 4); in pack_ts_base_value_fields() 98 bp_pack_value (bp, 0, 1); in pack_ts_base_value_fields() 112 bp_pack_value (bp, 0, 1); in pack_ts_base_value_fields() 126 bp_pack_value (bp, 0, 8); in pack_ts_base_value_fields() 131 bp_pack_value (bp, 0, 8); in pack_ts_base_value_fields() 136 bp_pack_value (bp, 0, 8); in pack_ts_base_value_fields() 139 bp_pack_value (bp, 0, 9); in pack_ts_base_value_fields() 167 bp_pack_value (bp, r.cl, 2); in pack_ts_real_cst_value_fields() 169 bp_pack_value (bp, r.sign, 1); in pack_ts_real_cst_value_fields() 337 bp_pack_value (bp, vla_p, 1); in pack_ts_type_common_value_fields() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/gcc/ |
H A D | tree-streamer-out.c | 87 bp_pack_value (bp, 0, 4); in pack_ts_base_value_fields() 98 bp_pack_value (bp, 0, 1); in pack_ts_base_value_fields() 112 bp_pack_value (bp, 0, 1); in pack_ts_base_value_fields() 126 bp_pack_value (bp, 0, 8); in pack_ts_base_value_fields() 131 bp_pack_value (bp, 0, 8); in pack_ts_base_value_fields() 136 bp_pack_value (bp, 0, 8); in pack_ts_base_value_fields() 139 bp_pack_value (bp, 0, 9); in pack_ts_base_value_fields() 167 bp_pack_value (bp, r.cl, 2); in pack_ts_real_cst_value_fields() 169 bp_pack_value (bp, r.sign, 1); in pack_ts_real_cst_value_fields() 337 bp_pack_value (bp, vla_p, 1); in pack_ts_type_common_value_fields() [all …]
|
/netbsd/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
H A D | spa.h | 330 ((wp) != &(bp)->blk_prop && (wp) != &(bp)->blk_birth) 401 #define BP_IS_EMBEDDED(bp) BF64_GET((bp)->blk_prop, 39, 1) argument 412 #define BP_GET_TYPE(bp) BF64_GET((bp)->blk_prop, 48, 8) argument 415 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5) argument 418 #define BP_GET_DEDUP(bp) BF64_GET((bp)->blk_prop, 62, 1) argument 421 #define BP_GET_BYTEORDER(bp) BF64_GET((bp)->blk_prop, 63, 1) argument 426 (bp)->blk_phys_birth ? (bp)->blk_phys_birth : (bp)->blk_birth) 435 #define BP_GET_FILL(bp) (BP_IS_EMBEDDED(bp) ? 1 : (bp)->blk_fill) argument 445 BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp)) 499 #define BP_IDENTITY(bp) (ASSERT(!BP_IS_EMBEDDED(bp)), &(bp)->blk_dva[0]) argument [all …]
|
/netbsd/external/bsd/byacc/dist/ |
H A D | symtab.c | 37 bucket *bp; in make_bucket() local 42 NO_SPACE(bp); in make_bucket() 44 bp->link = 0; in make_bucket() 45 bp->next = 0; in make_bucket() 50 bp->tag = 0; in make_bucket() 53 bp->prec = 0; in make_bucket() 64 return (bp); in make_bucket() 73 bp = *bpp; in lookup() 75 while (bp) in lookup() 80 bp = *bpp; in lookup() [all …]
|