| /netbsd-src/external/gpl3/gcc/dist/gcc/objc/ |
| H A D | objc-map.h | 74 tree * GTY ((length ("%h.number_of_slots"))) slots; 144 if (map->slots[i] == OBJC_MAP_PRIVATE_EMPTY_SLOT) in objc_map_get() 147 if (map->slots[i] == key) in objc_map_get() 154 if (map->slots[i] == OBJC_MAP_PRIVATE_EMPTY_SLOT) in objc_map_get() 157 if (map->slots[i] == key) in objc_map_get() 186 if (map->slots[i] == OBJC_MAP_PRIVATE_EMPTY_SLOT) in objc_map_put() 189 map->slots[i] = key; in objc_map_put() 193 if (map->slots[i] == key) in objc_map_put() 276 slot = map->slots[*i]; in objc_map_iterator_move_to_next() 293 return map->slots[i - 1]; in objc_map_iterator_current_key()
|
| H A D | objc-map.cc | 69 map->slots = ggc_cleared_vec_alloc<tree> (initial_capacity); in objc_map_alloc_ggc() 72 if (map->slots == NULL) in objc_map_alloc_ggc() 100 tree *old_slots = map->slots; in objc_map_private_resize() 114 map->slots = ggc_cleared_vec_alloc<tree> (map->number_of_slots); in objc_map_private_resize() 117 if (map->slots == NULL) in objc_map_private_resize() 128 if (map->slots[k] == OBJC_MAP_PRIVATE_EMPTY_SLOT) in objc_map_private_resize() 130 map->slots[k] = old_slots[i]; in objc_map_private_resize() 139 if (map->slots[k] == OBJC_MAP_PRIVATE_EMPTY_SLOT) in objc_map_private_resize() 141 map->slots[k] = old_slots[i]; in objc_map_private_resize()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/objc/ |
| H A D | objc-map.h | 74 tree * GTY ((length ("%h.number_of_slots"))) slots; 144 if (map->slots[i] == OBJC_MAP_PRIVATE_EMPTY_SLOT) in objc_map_get() 147 if (map->slots[i] == key) in objc_map_get() 154 if (map->slots[i] == OBJC_MAP_PRIVATE_EMPTY_SLOT) in objc_map_get() 157 if (map->slots[i] == key) in objc_map_get() 186 if (map->slots[i] == OBJC_MAP_PRIVATE_EMPTY_SLOT) in objc_map_put() 189 map->slots[i] = key; in objc_map_put() 193 if (map->slots[i] == key) in objc_map_put() 276 slot = map->slots[*i]; in objc_map_iterator_move_to_next() 293 return map->slots[i - 1]; in objc_map_iterator_current_key()
|
| H A D | objc-map.c | 69 map->slots = ggc_cleared_vec_alloc<tree> (initial_capacity); in objc_map_alloc_ggc() 72 if (map->slots == NULL) in objc_map_alloc_ggc() 100 tree *old_slots = map->slots; in objc_map_private_resize() 114 map->slots = ggc_cleared_vec_alloc<tree> (map->number_of_slots); in objc_map_private_resize() 117 if (map->slots == NULL) in objc_map_private_resize() 128 if (map->slots[k] == OBJC_MAP_PRIVATE_EMPTY_SLOT) in objc_map_private_resize() 130 map->slots[k] = old_slots[i]; in objc_map_private_resize() 139 if (map->slots[k] == OBJC_MAP_PRIVATE_EMPTY_SLOT) in objc_map_private_resize() 141 map->slots[k] = old_slots[i]; in objc_map_private_resize()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
| H A D | signals.d | 106 if (status >= ST.inemitting || !slots.length) in Signal() 113 foreach (slot; slots[0 .. slots_idx]) in Signal() 123 if (slots[j] is null) in Signal() 126 slots[j] = slots[slots_idx]; in Signal() 143 auto len = slots.length; in Signal() 146 if (slots.length == 0) in Signal() 152 slots = (cast(slot_t*) p)[0 .. len]; in Signal() 162 auto p = core.stdc.stdlib.realloc(slots.ptr, nbytes); in Signal() 165 slots = (cast(slot_t*) p)[0 .. len]; in Signal() 166 slots[slots_idx + 1 .. $] = null; in Signal() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | lra-spills.c | 125 static class slot *slots; variable 146 x = slots[slot_num].mem; in assign_mem_slot() 149 x = assign_stack_local (BLKmode, slots[slot_num].size, in assign_mem_slot() 150 slots[slot_num].align); in assign_mem_slot() 151 slots[slot_num].mem = x; in assign_mem_slot() 206 diff = (int (slots[slot_num1].size.is_constant ()) in pseudo_reg_slot_compare() 207 - int (slots[slot_num2].size.is_constant ())); in pseudo_reg_slot_compare() 333 slots[slot_num].align = MAX (slots[slot_num].align, align); in add_pseudo_to_slot() 334 slots[slot_num].size = upper_bound (slots[slot_num].size, in add_pseudo_to_slot() 337 if (slots[slot_num].regno < 0) in add_pseudo_to_slot() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | lra-spills.cc | 125 static class slot *slots; variable 146 x = slots[slot_num].mem; in assign_mem_slot() 149 x = assign_stack_local (BLKmode, slots[slot_num].size, in assign_mem_slot() 150 slots[slot_num].align); in assign_mem_slot() 151 slots[slot_num].mem = x; in assign_mem_slot() 206 diff = (int (slots[slot_num1].size.is_constant ()) in pseudo_reg_slot_compare() 207 - int (slots[slot_num2].size.is_constant ())); in pseudo_reg_slot_compare() 333 slots[slot_num].align = MAX (slots[slot_num].align, align); in add_pseudo_to_slot() 334 slots[slot_num].size = upper_bound (slots[slot_num].size, in add_pseudo_to_slot() 337 if (slots[slot_num].regno < 0) in add_pseudo_to_slot() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/ |
| H A D | signals.d | 107 if (status >= ST.inemitting || !slots.length) in Signal() 114 foreach (slot; slots[0 .. slots_idx]) in Signal() 124 if (slots[j] is null) in Signal() 127 slots[j] = slots[slots_idx]; in Signal() 144 auto len = slots.length; in Signal() 147 if (slots.length == 0) in Signal() 153 slots = (cast(slot_t*) p)[0 .. len]; in Signal() 163 auto p = core.stdc.stdlib.realloc(slots.ptr, nbytes); in Signal() 166 slots = (cast(slot_t*) p)[0 .. len]; in Signal() 167 slots[slots_idx + 1 .. $] = null; in Signal() [all …]
|
| /netbsd-src/external/gpl2/lvm2/dist/libdm/datastruct/ |
| H A D | hash.c | 30 struct dm_hash_node **slots; member 109 len = sizeof(*(hc->slots)) * new_size; in dm_hash_create() 110 if (!(hc->slots = dm_malloc(len))) { in dm_hash_create() 114 memset(hc->slots, 0, len); in dm_hash_create() 118 dm_free(hc->slots); in dm_hash_create() 129 for (c = t->slots[i]; c; c = n) { in _free_nodes() 138 dm_free(t->slots); in dm_hash_destroy() 148 for (c = &t->slots[h]; *c; c = &((*c)->next)) { in _find() 228 for (c = t->slots[i]; c; c = n) { in dm_hash_iter() 237 memset(t->slots, 0, sizeof(struct dm_hash_node *) * t->num_slots); in dm_hash_wipe() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/ |
| H A D | PathTree.cc | 72 slots = NULL; in construct() 163 int **tmp = slots[i].mvals; in fini() 168 delete[] slots; in fini() 169 slots = NULL; in fini() 240 DBG (assert (slots[slot_idx].vtype == vtype)); in allocate_slot() 245 Slot *old_slots = slots; in allocate_slot() 246 slots = new Slot[nslots]; in allocate_slot() 248 slots[i] = old_slots[i]; in allocate_slot() 251 slots[slot_idx].id = id; in allocate_slot() 252 slots[slot_idx].vtype = vtype; in allocate_slot() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
| H A D | PathTree.cc | 72 slots = NULL; in construct() 163 int **tmp = slots[i].mvals; in fini() 168 delete[] slots; in fini() 169 slots = NULL; in fini() 240 DBG (assert (slots[slot_idx].vtype == vtype)); in allocate_slot() 245 Slot *old_slots = slots; in allocate_slot() 246 slots = new Slot[nslots]; in allocate_slot() 248 slots[i] = old_slots[i]; in allocate_slot() 251 slots[slot_idx].id = id; in allocate_slot() 252 slots[slot_idx].vtype = vtype; in allocate_slot() [all …]
|
| /netbsd-src/sys/uvm/ |
| H A D | uvm_amap.c | 67 amap_roundup_slots(int slots) in amap_roundup_slots() argument 70 return kmem_roundup_size(slots * sizeof(int)) / sizeof(int); in amap_roundup_slots() 150 amap_alloc1(int slots, int padslots, int flags) in amap_alloc1() argument 177 totalslots = amap_roundup_slots(slots + padslots); in amap_alloc1() 184 amap->am_nslot = slots; in amap_alloc1() 237 int slots, padslots; in amap_alloc() local 240 AMAP_B2SLOT(slots, sz); in amap_alloc() 243 amap = amap_alloc1(slots, padslots, waitf); in amap_alloc() 322 int slots; in amap_free() local 329 slots = amap->am_maxslot; in amap_free() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/gas/config/ |
| H A D | tc-mep.c | 932 int slots[5]; /* Indexed off the SLOTS_ATTR enum. */ in mep_check_ivc2_scheduling() local 946 slots[i] = -1; in mep_check_ivc2_scheduling() 950 slots[SLOTS_CORE] = 0; in mep_check_ivc2_scheduling() 976 slots[SLOTS_P1] = 1; in mep_check_ivc2_scheduling() 978 slots[SLOTS_P0S] = 1; in mep_check_ivc2_scheduling() 988 slots[SLOTS_P0S] = 1; in mep_check_ivc2_scheduling() 989 slots[SLOTS_P1] = 2; in mep_check_ivc2_scheduling() 994 slots[SLOTS_P1] = 1; in mep_check_ivc2_scheduling() 995 slots[SLOTS_P0S] = 2; in mep_check_ivc2_scheduling() 1022 slots[SLOTS_P1] = 1; in mep_check_ivc2_scheduling() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/gas/config/ |
| H A D | tc-mep.c | 932 int slots[5]; /* Indexed off the SLOTS_ATTR enum. */ in mep_check_ivc2_scheduling() local 946 slots[i] = -1; in mep_check_ivc2_scheduling() 950 slots[SLOTS_CORE] = 0; in mep_check_ivc2_scheduling() 976 slots[SLOTS_P1] = 1; in mep_check_ivc2_scheduling() 978 slots[SLOTS_P0S] = 1; in mep_check_ivc2_scheduling() 988 slots[SLOTS_P0S] = 1; in mep_check_ivc2_scheduling() 989 slots[SLOTS_P1] = 2; in mep_check_ivc2_scheduling() 994 slots[SLOTS_P1] = 1; in mep_check_ivc2_scheduling() 995 slots[SLOTS_P0S] = 2; in mep_check_ivc2_scheduling() 1022 slots[SLOTS_P1] = 1; in mep_check_ivc2_scheduling() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/ |
| H A D | amdgpu_dce_link_encoder.c | 1218 uint32_t *slots) in fill_stream_allocation_row_info() argument 1224 *slots = stream_allocation->slot_count; in fill_stream_allocation_row_info() 1227 *slots = 0; in fill_stream_allocation_row_info() 1240 uint32_t slots = 0; in dce110_link_encoder_update_mst_stream_allocation_table() local 1257 &slots); in dce110_link_encoder_update_mst_stream_allocation_table() 1260 slots = 0; in dce110_link_encoder_update_mst_stream_allocation_table() 1265 DP_MSE_SAT_SLOT_COUNT0, slots); in dce110_link_encoder_update_mst_stream_allocation_table() 1271 &slots); in dce110_link_encoder_update_mst_stream_allocation_table() 1274 slots = 0; in dce110_link_encoder_update_mst_stream_allocation_table() 1279 DP_MSE_SAT_SLOT_COUNT1, slots); in dce110_link_encoder_update_mst_stream_allocation_table() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/ |
| H A D | amdgpu_dcn10_link_encoder.c | 1184 uint32_t *slots) in fill_stream_allocation_row_info() argument 1190 *slots = stream_allocation->slot_count; in fill_stream_allocation_row_info() 1193 *slots = 0; in fill_stream_allocation_row_info() 1206 uint32_t slots = 0; in dcn10_link_encoder_update_mst_stream_allocation_table() local 1224 &slots); in dcn10_link_encoder_update_mst_stream_allocation_table() 1227 slots = 0; in dcn10_link_encoder_update_mst_stream_allocation_table() 1232 DP_MSE_SAT_SLOT_COUNT0, slots); in dcn10_link_encoder_update_mst_stream_allocation_table() 1238 &slots); in dcn10_link_encoder_update_mst_stream_allocation_table() 1241 slots = 0; in dcn10_link_encoder_update_mst_stream_allocation_table() 1246 DP_MSE_SAT_SLOT_COUNT1, slots); in dcn10_link_encoder_update_mst_stream_allocation_table() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/windows/ |
| H A D | threadaux.d | 329 void*[64] slots = void; in impersonate_thread() 330 memcpy(slots.ptr, tlsSlotsAdr(curteb), slots.sizeof); in impersonate_thread() 333 memcpy(tlsSlotsAdr(curteb), tlsSlotsAdr(teb), slots.sizeof); in impersonate_thread() 341 memcpy(tlsSlotsAdr(teb), tlsSlotsAdr(curteb), slots.sizeof); in impersonate_thread() 344 memcpy(tlsSlotsAdr(curteb), slots.ptr, slots.sizeof); in impersonate_thread()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/ |
| H A D | radeon_dp_mst.c | 73 int slots) in radeon_dp_mst_set_stream_attrib() argument 86 val = NI_DP_MSE_SAT_SLOT_COUNT0(slots) | NI_DP_MSE_SAT_SRC0(fe); in radeon_dp_mst_set_stream_attrib() 147 new_attribs[idx].slots = drm_dp_mst_get_vcpi_slots(&mst_conn->mst_mgr, mst_enc->port); in radeon_dp_mst_update_stream_attribs() 153 new_attribs[i].slots != mst_conn->cur_stream_attribs[i].slots) { in radeon_dp_mst_update_stream_attribs() 154 radeon_dp_mst_set_stream_attrib(primary, i, new_attribs[i].fe, new_attribs[i].slots); in radeon_dp_mst_update_stream_attribs() 156 mst_conn->cur_stream_attribs[i].slots = new_attribs[i].slots; in radeon_dp_mst_update_stream_attribs() 163 mst_conn->cur_stream_attribs[i].slots = 0; in radeon_dp_mst_update_stream_attribs() 398 int ret __unused, slots; in radeon_mst_encoder_dpms() local 451 slots = drm_dp_find_vcpi_slots(&radeon_connector->mst_port->mst_mgr, in radeon_mst_encoder_dpms() 455 mst_enc->pbn, slots); in radeon_mst_encoder_dpms() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | StackColoring.cpp | 524 SmallVector<int, 4> &slots, 617 SmallVector<int, 4> &slots, in isLifetimeStartOrEnd() argument 626 slots.push_back(Slot); in isLifetimeStartOrEnd() 645 slots.push_back(Slot); in isLifetimeStartOrEnd() 767 SmallVector<int, 4> slots; in collectMarkers() local 770 slots.clear(); in collectMarkers() 771 if (isLifetimeStartOrEnd(MI, slots, isStart)) { in collectMarkers() 773 assert(slots.size() == 1 && "unexpected: MI ends multiple slots"); in collectMarkers() 774 int Slot = slots[0]; in collectMarkers() 780 for (auto Slot : slots) { in collectMarkers() [all …]
|
| /netbsd-src/external/bsd/libarchive/dist/libarchive/ |
| H A D | archive_read_set_format.c | 39 int r1, r2, slots, i; in archive_read_set_format() local 102 slots = sizeof(a->formats) / sizeof(a->formats[0]); in archive_read_set_format() 104 for (i = 0; i < slots; i++, a->format++) { in archive_read_set_format()
|
| /netbsd-src/sys/kern/ |
| H A D | subr_thmap.c | 196 atomic_thmap_ptr_t slots[LEVEL_SIZE]; member 453 ASSERT(atomic_load_relaxed(&node->slots[slot]) == THMAP_NULL); in node_insert() 462 atomic_store_relaxed(&node->slots[slot], child); in node_insert() 472 ASSERT(atomic_load_relaxed(&node->slots[slot]) != THMAP_NULL); in node_remove() 478 atomic_store_relaxed(&node->slots[slot], THMAP_NULL); in node_remove() 535 node = atomic_load_consume(&parent->slots[slot]); in get_leaf() 622 node = atomic_load_consume(&parent->slots[off]); in find_edge_node() 677 target = atomic_load_relaxed(&node->slots[*slot]); in find_edge_node_locked() 768 target = atomic_load_relaxed(&parent->slots[slot]); // tagged offset in thmap_put() 822 atomic_store_release(&parent->slots[slot], THMAP_GETOFF(thmap, child)); in thmap_put() [all …]
|
| /netbsd-src/external/gpl2/texinfo/dist/info/ |
| H A D | info.h | 65 #define add_pointer_to_array(pointer, idx, array, slots, grow, type) \ argument 67 if (idx + 2 >= slots) \ 68 array = (type *)(xrealloc (array, (slots += grow) * sizeof (type))); \
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/filters/ |
| H A D | filter-sysfs.c | 105 struct entry *slots[SET_BUCKETS]; member 141 e->next = ds->slots[h]; in _set_insert() 143 ds->slots[h] = e; in _set_insert() 153 for (e = ds->slots[h]; e; e = e->next) in _set_lookup()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/ |
| H A D | nouveau_dma.c | 150 nv50_dma_wait(struct nouveau_channel *chan, int slots, int count) in nv50_dma_wait() argument 155 ret = nv50_dma_push_wait(chan, slots + 1); in nv50_dma_wait() 193 nouveau_dma_wait(struct nouveau_channel *chan, int slots, int size) in nouveau_dma_wait() argument 199 return nv50_dma_wait(chan, slots, size); in nouveau_dma_wait()
|
| /netbsd-src/external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/ |
| H A D | userdatarequest.h | 28 public slots: 31 protected slots:
|