| /openbsd-src/gnu/gcc/gcc/ |
| H A D | bitmap.h | 86 extern void bitmap_clear (bitmap); 89 extern void bitmap_copy (bitmap, bitmap); 92 extern bool bitmap_equal_p (bitmap, bitmap); 95 extern bool bitmap_intersect_p (bitmap, bitmap); 99 extern bool bitmap_intersect_compl_p (bitmap, bitmap); 105 extern unsigned long bitmap_count_bits (bitmap); 111 extern void bitmap_and (bitmap, bitmap, bitmap); 112 extern void bitmap_and_into (bitmap, bitmap); 113 extern void bitmap_and_compl (bitmap, bitmap, bitmap); 114 extern bool bitmap_and_compl_into (bitmap, bitmap); [all …]
|
| H A D | df.h | 127 typedef void (*df_alloc_function) (struct dataflow *, bitmap, bitmap); 135 typedef void (*df_reset_function) (struct dataflow *, bitmap); 142 typedef void (*df_local_compute_function) (struct dataflow *, bitmap, bitmap); 145 typedef void (*df_init_function) (struct dataflow *, bitmap); 148 typedef void (*df_dataflow_function) (struct dataflow *, bitmap, bitmap, 161 typedef void (*df_finalizer_function) (struct dataflow*, bitmap); 360 bitmap blocks_to_scan; 364 bitmap blocks_to_analyze; 373 bitmap hardware_regs_used; /* The set of hardware registers used. */ 374 bitmap entry_block_defs; /* The set of hardware registers live on entry to the function. */ [all …]
|
| H A D | ipa-reference.h | 32 bitmap statics_read; 33 bitmap statics_written; 46 bitmap statics_read; 47 bitmap statics_written; 48 bitmap statics_not_read; 49 bitmap statics_not_written; 75 bitmap ipa_reference_get_read_local (tree fn); 76 bitmap ipa_reference_get_written_local (tree fn); 77 bitmap ipa_reference_get_read_global (tree fn); 78 bitmap ipa_reference_get_written_global (tree fn); [all …]
|
| H A D | bitmap.c | 38 static void bitmap_elem_to_freelist (bitmap, bitmap_element *); 39 static void bitmap_element_free (bitmap, bitmap_element *); 40 static bitmap_element *bitmap_element_allocate (bitmap); 42 static void bitmap_element_link (bitmap, bitmap_element *); 43 static bitmap_element *bitmap_elt_insert_after (bitmap, bitmap_element *, unsigned int); 44 static void bitmap_elt_clear_from (bitmap, bitmap_element *); 45 static bitmap_element *bitmap_find_bit (bitmap, unsigned int); 50 bitmap_elem_to_freelist (bitmap head, bitmap_element *elt) in bitmap_elem_to_freelist() 71 bitmap_element_free (bitmap head, bitmap_element *elt) in bitmap_element_free() 101 bitmap_element_allocate (bitmap head) in bitmap_element_allocate() [all …]
|
| H A D | df-problems.c | 54 static bitmap seen_in_block = NULL; 55 static bitmap seen_in_insn = NULL; 145 bitmap 162 bitmap 246 static inline bitmap 247 df_ref_bitmap (bitmap *maps, unsigned int regno, int start, int count) in df_ref_bitmap() 249 bitmap ids = maps[regno]; in df_ref_bitmap() 322 bitmap *use_sites; /* Bitmap of uses for each pseudo. */ 325 bitmap sparse_invalidated_by_call; 327 bitmap dense_invalidated_by_call; [all …]
|
| H A D | tree-ssa-loop-manip.c | 157 add_exit_phis_var (tree var, bitmap livein, bitmap exits) in add_exit_phis_var() 159 bitmap def; in add_exit_phis_var() 185 add_exit_phis (bitmap names_to_rename, bitmap *use_blocks, bitmap loop_exits) in add_exit_phis() 198 static bitmap 201 bitmap exits = BITMAP_ALLOC (NULL); in get_loops_exits() 225 find_uses_to_rename_use (basic_block bb, tree use, bitmap *use_blocks, in find_uses_to_rename_use() 226 bitmap need_phis) in find_uses_to_rename_use() 262 find_uses_to_rename_stmt (tree stmt, bitmap *use_blocks, bitmap need_phis) in find_uses_to_rename_stmt() 278 find_uses_to_rename_bb (basic_block bb, bitmap *use_blocks, bitmap need_phis) in find_uses_to_rename_bb() 300 find_uses_to_rename (bitmap changed_bbs, bitmap *use_blocks, bitmap need_phis) in find_uses_to_rename() [all …]
|
| H A D | ipa-type-escape.c | 68 static bitmap results_of_malloc; 71 static bitmap been_there_done_that; 72 static bitmap bitmap_tmp; 101 static bitmap global_types_exposed_parameter; 102 static bitmap global_types_full_escape; 105 static bitmap global_types_seen; 447 bitmap field_type_map = (bitmap) result->value; in ipa_type_escape_field_does_not_clobber_p() 465 bitmap map = NULL; in mark_type() 834 bitmap type_map; in mark_interesting_addressof() 853 type_map = (bitmap) result->value; in mark_interesting_addressof() [all …]
|
| H A D | tree-into-ssa.c | 70 bitmap def_blocks; 73 bitmap phi_blocks; 77 bitmap livein_blocks; 117 static bitmap syms_to_rename; 122 static bitmap names_to_release; 135 static bitmap blocks_with_phis_to_rewrite; 148 bitmap set; 173 bitmap virtual_symbols; 183 bitmap kills; 221 static bitmap blocks_to_update; [all …]
|
| H A D | tree-ssa-dse.c | 75 bitmap stores; 83 bitmap stores; 103 static void record_voperand_set (bitmap, bitmap *, unsigned int); 123 record_voperand_set (bitmap global, bitmap *local, unsigned int uid) in record_voperand_set() 387 bitmap stores = dse_gd->stores; in dse_finalize_block()
|
| /openbsd-src/regress/sys/uvm/blist/ |
| H A D | test-5.out | 7 (0000,64): bitmap ffffffffffffffff big=64 8 (0040,64): bitmap ffffffffffffffff big=64 9 (0080,64): bitmap ffffffffffffffff big=64 10 (00c0,64): bitmap ffffffffffffffff big=64 11 (0100,64): bitmap ffffffffffffffff big=64 12 (0140,64): bitmap ffffffffffffffff big=64 13 (0180,64): bitmap ffffffffffffffff big=64 14 (01c0,64): bitmap ffffffffffffffff big=64 15 (0200,64): bitmap ffffffffffffffff big=64 16 (0240,64): bitmap ffffffffffffffff big=64 [all …]
|
| H A D | test-1.out | 8 (0000,64): bitmap fffffffffffffffe big=64 9 (0040,64): bitmap ffffffffffffffff big=64 10 (0080,64): bitmap ffffffffffffffff big=64 11 (00c0,64): bitmap ffffffffffffffff big=64 12 (0100,64): bitmap ffffffffffffffff big=64 13 (0140,64): bitmap ffffffffffffffff big=64 14 (0180,64): bitmap ffffffffffffffff big=64 15 (01c0,64): bitmap ffffffffffffffff big=64 16 (0200,64): bitmap ffffffffffffffff big=64 17 (0240,64): bitmap ffffffffffffffff big=64 [all …]
|
| H A D | test-2.out | 14 (0000,64): bitmap 0000000000000000 big=0 15 (0040,64): bitmap ffffffffffffffff big=64 16 (0080,64): bitmap 0000000000000000 big=64 17 (00c0,64): bitmap ffffffffffffffff big=64 18 (0100,64): bitmap ffffffffffffffff big=64 19 (0140,64): bitmap ffffffffffffffff big=64 20 (0180,64): bitmap ffffffffffffffff big=64 21 (01c0,64): bitmap ffffffffffffffff big=64 22 (0200,64): bitmap ffffffffffffffff big=64 23 (0240,64): bitmap ffffffffffffffff big=64 [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/ |
| H A D | bitmap.h | 67 typedef struct bitmap_head_def *bitmap; typedef 82 extern void bitmap_clear PARAMS ((bitmap)); 85 extern void bitmap_copy PARAMS ((bitmap, bitmap)); 88 extern int bitmap_equal_p PARAMS ((bitmap, bitmap)); 91 extern int bitmap_operation PARAMS ((bitmap, bitmap, bitmap, enum bitmap_bits)); 95 extern void bitmap_ior_and_compl PARAMS ((bitmap, bitmap, bitmap)); 98 extern void bitmap_clear_bit PARAMS ((bitmap, int)); 101 extern void bitmap_set_bit PARAMS ((bitmap, int)); 104 extern int bitmap_bit_p PARAMS ((bitmap, int)); 107 extern void debug_bitmap PARAMS ((bitmap)); [all …]
|
| H A D | df.h | 107 bitmap rd_kill; 108 bitmap rd_gen; 109 bitmap rd_in; 110 bitmap rd_out; 112 bitmap ru_kill; 113 bitmap ru_gen; 114 bitmap ru_in; 115 bitmap ru_out; 117 bitmap lr_def; 118 bitmap lr_use; [all …]
|
| H A D | bitmap.c | 47 static void bitmap_elem_to_freelist PARAMS ((bitmap, bitmap_element *)); 48 static void bitmap_element_free PARAMS ((bitmap, bitmap_element *)); 49 static bitmap_element *bitmap_element_allocate PARAMS ((bitmap)); 51 static void bitmap_element_link PARAMS ((bitmap, bitmap_element *)); 52 static bitmap_element *bitmap_find_bit PARAMS ((bitmap, unsigned int)); 57 bitmap head; in bitmap_elem_to_freelist() 77 bitmap head; in bitmap_element_free() 107 bitmap head; in bitmap_element_allocate() 205 bitmap head; in bitmap_element_link() 262 bitmap head; in bitmap_clear() [all …]
|
| H A D | df.c | 205 static void df_refs_unlink PARAMS ((struct df *, bitmap)); 224 static void df_refs_record PARAMS((struct df *, bitmap)); 227 static void df_reg_def_chain_create PARAMS((struct df *, bitmap)); 229 static void df_reg_use_chain_create PARAMS((struct df *, bitmap)); 230 static void df_bb_du_chain_create PARAMS((struct df *, basic_block, bitmap)); 231 static void df_du_chain_create PARAMS((struct df *, bitmap)); 233 static void df_ud_chain_create PARAMS((struct df *, bitmap)); 235 static void df_rd_local_compute PARAMS((struct df *, bitmap)); 237 static void df_ru_local_compute PARAMS((struct df *, bitmap)); 239 static void df_lr_local_compute PARAMS((struct df *, bitmap)); [all …]
|
| /openbsd-src/usr.bin/ssh/ |
| H A D | bitmap.h | 25 struct bitmap; 28 struct bitmap *bitmap_new(void); 31 void bitmap_free(struct bitmap *b); 34 void bitmap_zero(struct bitmap *b); 37 int bitmap_test_bit(struct bitmap *b, u_int n); 40 int bitmap_set_bit(struct bitmap *b, u_int n); 43 void bitmap_clear_bit(struct bitmap *b, u_int n); 46 size_t bitmap_nbits(struct bitmap *b); 49 size_t bitmap_nbytes(struct bitmap *b); 52 int bitmap_to_string(struct bitmap *b, void *p, size_t l); [all …]
|
| H A D | bitmap.c | 29 struct bitmap { struct 35 struct bitmap * argument 38 struct bitmap *ret; in bitmap_new() 52 bitmap_free(struct bitmap *b) in bitmap_free() 63 bitmap_zero(struct bitmap *b) in bitmap_zero() 70 bitmap_test_bit(struct bitmap *b, u_int n) in bitmap_test_bit() 80 reserve(struct bitmap *b, u_int n) in reserve() 99 bitmap_set_bit(struct bitmap *b, u_int n) in bitmap_set_bit() 115 retop(struct bitmap *b) in retop() 124 bitmap_clear_bit(struct bitmap *b, u_int n) in bitmap_clear_bit() [all …]
|
| H A D | krl.c | 551 put_bitmap(struct sshbuf *buf, struct bitmap *bitmap) in put_bitmap() argument 557 len = bitmap_nbytes(bitmap); in put_bitmap() 560 if (bitmap_to_string(bitmap, blob, len) != 0) { in put_bitmap() 579 struct bitmap *bitmap = NULL; in revoked_certs_generate() local 625 if ((r = put_bitmap(sect, bitmap)) != 0) in revoked_certs_generate() 627 bitmap_free(bitmap); in revoked_certs_generate() 628 bitmap = NULL; in revoked_certs_generate() 648 if ((bitmap = bitmap_new()) == NULL) { in revoked_certs_generate() 679 if (bitmap_set_bit(bitmap, in revoked_certs_generate() 697 if ((r = put_bitmap(sect, bitmap)) != 0) in revoked_certs_generate() [all …]
|
| /openbsd-src/usr.sbin/unbound/testcode/ |
| H A D | unitverify.c | 373 unitest_nsec_has_type_rdata(char* bitmap, size_t len, uint16_t type) in unitest_nsec_has_type_rdata() 375 return nsecbitmap_has_type_rdata((uint8_t*)bitmap, len, type); 378 /** Test NSEC type bitmap routine */ in nsectest() 382 /* bitmap starts at type bitmap rdata field */ in nsectest() local 384 char* bitmap = "\000\006\100\001\000\000\000\003" in nsectest() 391 unit_assert(!unitest_nsec_has_type_rdata(bitmap, len, 0)); in nsectest() 392 unit_assert(unitest_nsec_has_type_rdata(bitmap, len, LDNS_RR_TYPE_A)); in nsectest() 393 unit_assert(!unitest_nsec_has_type_rdata(bitmap, len, 2)); in nsectest() 394 unit_assert(!unitest_nsec_has_type_rdata(bitmap, le in nsectest() 371 unitest_nsec_has_type_rdata(char * bitmap,size_t len,uint16_t type) unitest_nsec_has_type_rdata() argument [all...] |
| /openbsd-src/sys/dev/pci/drm/i915/selftests/ |
| H A D | i915_syncmap.c | 62 for_each_set_bit(i, (unsigned long *)&p->bitmap, KSYNCMAP) { in __sync_print() 77 for_each_set_bit(i, (unsigned long *)&p->bitmap, KSYNCMAP) { in __sync_print() 80 last << 1 | !!(p->bitmap >> (i + 1)), in __sync_print() 183 if (hweight32((*sync)->bitmap) != 1) { in check_one() 185 (*sync)->bitmap, hweight32((*sync)->bitmap)); in check_one() 189 err = check_seqno((*sync), ilog2((*sync)->bitmap), seqno); in check_one() 252 if (hweight32((*sync)->bitmap) != 1) { in check_leaf() 254 context, (*sync)->bitmap, hweight32((*sync)->bitmap)); in check_leaf() 258 err = check_seqno((*sync), ilog2((*sync)->bitmap), seqno); in check_leaf() 314 if (hweight32(join->bitmap) != 2) { in igt_syncmap_join_above() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/ext/Opcode/ |
| H A D | Opcode.xs | 36 static void set_opset_bits (pTHX_ char *bitmap, SV *bitspec, int on, const char *opname); 55 U8 *bitmap; in op_names_init() local 70 bitmap = (U8*)SvPV(opset_all, len); in op_names_init() 71 memset(bitmap, 0xFF, len-1); /* deal with last byte specially, see below */ in op_names_init() 73 bitmap[len-1] = (PL_maxo & 0x07) ? ((U8) (~(0xFF << (PL_maxo & 0x07)))) in op_names_init() 164 set_opset_bits(pTHX_ char *bitmap, SV *bitspec, int on, const char *opname) in set_opset_bits() argument 176 bitmap[offset] |= 1 << bit; in set_opset_bits() 178 bitmap[offset] &= ~(1 << bit); in set_opset_bits() 187 while(len-- > 0) bitmap[len] |= specbits[len]; in set_opset_bits() 189 while(len-- > 0) bitmap[len] &= ~specbits[len]; in set_opset_bits() [all …]
|
| /openbsd-src/lib/libssl/ |
| H A D | d1_pkt.c | 182 static int dtls1_record_replay_check(SSL *s, DTLS1_BITMAP *bitmap, 184 static void dtls1_record_bitmap_update(SSL *s, DTLS1_BITMAP *bitmap, 412 DTLS1_BITMAP *bitmap; in dtls1_get_record() local 498 bitmap = dtls1_get_bitmap(s, rr, &is_next_epoch); in dtls1_get_record() 499 if (bitmap == NULL) in dtls1_get_record() 511 !dtls1_record_replay_check(s, bitmap, rr->seq_num)) in dtls1_get_record() 529 dtls1_record_bitmap_update(s, bitmap, rr->seq_num); in dtls1_get_record() 538 dtls1_record_bitmap_update(s, bitmap, rr->seq_num); in dtls1_get_record() 1047 dtls1_record_replay_check(SSL *s, DTLS1_BITMAP *bitmap, in dtls1_record_replay_check() argument 1053 cmp = satsub64be(seq, bitmap in dtls1_record_replay_check() 1066 dtls1_record_bitmap_update(SSL * s,DTLS1_BITMAP * bitmap,const unsigned char * seq) dtls1_record_bitmap_update() argument [all...] |
| /openbsd-src/sys/dev/pci/drm/i915/ |
| H A D | i915_syncmap.c | 76 unsigned int bitmap; member 95 BUILD_BUG_ON(KSYNCMAP > BITS_PER_TYPE((*root)->bitmap)); in i915_syncmap_init() 192 if (!(p->bitmap & BIT(idx))) in i915_syncmap_is_later() 209 p->bitmap = 0; in __sync_alloc_leaf() 218 p->bitmap |= BIT(idx); in __sync_set_seqno() 226 p->bitmap |= BIT(idx); in __sync_set_child() 300 GEM_BUG_ON(!(p->parent->bitmap & BIT(idx))); in __sync_set() 374 while ((i = ffs(p->bitmap))) { in __sync_free() 375 p->bitmap &= ~0u << i; in __sync_free()
|
| /openbsd-src/sys/arch/i386/pci/ |
| H A D | pci_intr_fixup.c | 105 u_int16_t bitmap; member 313 l->bitmap = pir->linkmap[pin].bitmap; in pciintr_link_alloc() 396 else if (pir->linkmap[pin].bitmap != l->bitmap) { in pciintr_link_init() 405 pir->linkmap[pin].bitmap, l->bitmap)); in pciintr_link_init() 407 l->bitmap &= pir->linkmap[pin].bitmap; in pciintr_link_init() 433 if (pciintr_bitmap_count_irq(l->bitmap, &irq) == 1) { in pciintr_guess_irq() 484 if (pciintr_bitmap_count_irq(l->bitmap, &irq) == 1) { in pciintr_link_fixup() 502 (irq = ffs(l->bitmap & pciirq)) > 0) { in pciintr_link_fixup() 524 (irq = ffs(l->bitmap & pcibios_irqs_hint)) > 0) { in pciintr_link_fixup() 569 (l->bitmap & 0x0e00) ? (l->bitmap & 0x0e00) in pci_intr_route_link() [all …]
|