/third_party/grpc/src/core/lib/surface/ |
D | channel_init.cc | 34 size_t num_slots; member 44 g_slots[i].num_slots = 0; in grpc_channel_init_init() 55 if (g_slots[type].cap_slots == g_slots[type].num_slots) { in grpc_channel_init_register_stage() 61 stage_slot* s = &g_slots[type].slots[g_slots[type].num_slots++]; in grpc_channel_init_register_stage() 62 s->insertion_order = g_slots[type].num_slots; in grpc_channel_init_register_stage() 80 qsort(g_slots[i].slots, g_slots[i].num_slots, sizeof(*g_slots[i].slots), in grpc_channel_init_finalize() 101 for (size_t i = 0; i < g_slots[type].num_slots; i++) { in grpc_channel_init_create_stack()
|
/third_party/libevdev/libevdev/ |
D | libevdev.c | 71 if (unlikely(slot > dev->num_slots)) { in slot_value() 72 log_bug(dev, "Slot %d exceeds number of slots (%d)\n", slot, dev->num_slots); in slot_value() 226 dev->num_slots = -1; in libevdev_reset() 338 if (dev->num_slots == -1 || in reset_tracking_ids() 342 for (int slot = 0; slot < dev->num_slots; slot++) in reset_tracking_ids() 349 dev->num_slots = -1; in free_slots() 368 if (dev->num_slots != -1) { in init_slots() 377 dev->num_slots = abs_info->maximum + 1; in init_slots() 378 dev->mt_slot_vals = calloc(dev->num_slots * ABS_MT_CNT, sizeof(int)); in init_slots() 543 if (dev->num_slots != -1) { in libevdev_set_fd() [all …]
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_vue_map.c | 207 vue_map->num_slots = slot; in brw_compute_vue_map() 277 vue_map->num_slots = slot; in brw_compute_tess_vue_map() 303 vue_map->num_slots, in brw_print_vue_map() 307 for (int i = 0; i < vue_map->num_slots; i++) { in brw_print_vue_map() 318 vue_map->num_slots, vue_map->separate ? "SSO" : "non-SSO"); in brw_print_vue_map() 319 for (int i = 0; i < vue_map->num_slots; i++) { in brw_print_vue_map()
|
D | gfx6_gs_visitor.cpp | 66 (prog_data->vue_map.num_slots + 1) * in emit_prolog() 143 for (int slot = 0; slot < prog_data->vue_map.num_slots; ++slot) { in gs_emit_vertex() 266 brw_imm_d(prog_data->vue_map.num_slots))); in emit_urb_write_header() 399 for (; slot < prog_data->vue_map.num_slots; ++slot) { in emit_thread_end() 432 complete = slot >= prog_data->vue_map.num_slots; in emit_thread_end() 698 return vertex * (prog_data->vue_map.num_slots + 1) + slot; in get_vertex_output_offset_for_varying()
|
D | brw_clip_util.c | 241 for (slot = 0; slot < c->vue_map.num_slots; slot++) { in brw_clip_interp_vertex() 300 if (c->vue_map.num_slots % 2) { in brw_clip_interp_vertex() 301 GLuint delta = brw_vue_slot_to_offset(c->vue_map.num_slots); in brw_clip_interp_vertex() 401 for (int i = 0; i < c->vue_map.num_slots; i++) { in brw_clip_copy_flatshaded_attributes()
|
D | brw_compile_clip.c | 53 c.nr_regs = (c.vue_map.num_slots + 1)/2; in brw_compile_clip()
|
D | brw_compile_sf.c | 191 for (i = 0; i < c->vue_map.num_slots; i++) { in copy_flatshaded_attributes() 205 for (i = 0; i < c->vue_map.num_slots; i++) in count_flatshaded_attributes() 826 c.vue_map.varying_to_slot[BRW_VARYING_SLOT_PNTC] = c.vue_map.num_slots; in brw_compile_sf() 827 c.vue_map.slot_to_varying[c.vue_map.num_slots++] = BRW_VARYING_SLOT_PNTC; in brw_compile_sf() 830 c.nr_attr_regs = (c.vue_map.num_slots + 1)/2 - c.urb_entry_read_offset; in brw_compile_sf()
|
D | brw_interpolation_map.c | 95 for (int i = 0; i < vue_map->num_slots; i++) { in brw_setup_vue_interpolation()
|
/third_party/boost/libs/signals2/test/ |
D | regression_test.cpp | 56 BOOST_CHECK(sig.num_slots() == 2); in slot_connect_test() 58 BOOST_CHECK(sig.num_slots() == 1); in slot_connect_test() 62 BOOST_CHECK(sig.num_slots() == 2); in slot_connect_test()
|
D | signal_n_test.cpp | 262 BOOST_CHECK(sig.num_slots() == 1); in test_extended_slot() 264 BOOST_CHECK(sig.num_slots() == 0); in test_extended_slot() 274 BOOST_CHECK(sig.num_slots() == 1); in test_extended_slot() 276 BOOST_CHECK(sig.num_slots() == 0); in test_extended_slot() 287 BOOST_CHECK(sig.num_slots() == 1); in test_extended_slot() 289 BOOST_CHECK(sig.num_slots() == 0); in test_extended_slot()
|
D | signal_test.cpp | 195 BOOST_CHECK(sig.num_slots() == 1); in test_extended_slot() 197 BOOST_CHECK(sig.num_slots() == 0); in test_extended_slot() 207 BOOST_CHECK(sig.num_slots() == 1); in test_extended_slot() 209 BOOST_CHECK(sig.num_slots() == 0); in test_extended_slot() 220 BOOST_CHECK(sig.num_slots() == 1); in test_extended_slot() 222 BOOST_CHECK(sig.num_slots() == 0); in test_extended_slot()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_mediump.c | 81 unsigned num_slots = sem.num_slots; in nir_recompute_io_bases() local 83 num_slots = (num_slots + sem.high_16bits + 1) / 2; in nir_recompute_io_bases() 86 for (unsigned i = 0; i < num_slots; i++) in nir_recompute_io_bases() 89 for (unsigned i = 0; i < num_slots; i++) in nir_recompute_io_bases() 106 unsigned num_slots = sem.num_slots; in nir_recompute_io_bases() local 108 num_slots = (num_slots + sem.high_16bits + 1) / 2; in nir_recompute_io_bases()
|
D | nir_lower_passthrough_edgeflags.c | 52 load_sem.num_slots = 1; in lower_impl() 64 semantics.num_slots = 1; in lower_impl()
|
D | nir_gather_info.c | 447 unsigned num_slots = (semantics.num_slots + semantics.high_16bits + 1) / 2; in gather_intrinsic_info() local 449 BITFIELD_RANGE(semantics.location - VARYING_SLOT_VAR0_16BIT, num_slots); in gather_intrinsic_info() 451 slot_mask = BITFIELD64_RANGE(semantics.location, semantics.num_slots); in gather_intrinsic_info() 452 assert(util_bitcount64(slot_mask) == semantics.num_slots); in gather_intrinsic_info()
|
D | nir_linking_helpers.c | 363 uint64_t slots_used_mask, unsigned num_slots) in mark_all_used_slots() argument 368 BITFIELD64_RANGE(var->data.location - loc_offset, num_slots); in mark_all_used_slots() 406 unsigned num_slots = glsl_count_attribute_slots(type, false); in remap_slots_and_components() local 418 BITFIELD64_RANGE(var->data.location - loc_offset, num_slots); in remap_slots_and_components() 438 mark_all_used_slots(var, slots_used_tmp, used, num_slots); in remap_slots_and_components() 442 num_slots); in remap_slots_and_components() 445 for (unsigned i = 0; i < num_slots; i++) { in remap_slots_and_components()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/ |
D | cache_numa.cc | 127 size_t num_slots = slots.size(); in Allocate() local 128 std::uniform_int_distribution<size_t> distribution(0, num_slots - 1); in Allocate() 140 inx = (inx + 1) % num_slots; in Allocate()
|
/third_party/libinput/src/ |
D | evdev-totem.c | 802 int num_slots; in evdev_totem_create() local 812 num_slots = libevdev_get_num_slots(device->evdev); in evdev_totem_create() 813 if (num_slots <= 0) in evdev_totem_create() 817 slots = zalloc(num_slots * sizeof(*totem->slots)); in evdev_totem_create() 819 for (int slot = 0; slot < num_slots; ++slot) { in evdev_totem_create() 824 totem->nslots = num_slots; in evdev_totem_create()
|
D | evdev-mt-touchpad.c | 610 (tp->nfingers_down == tp->num_slots && nfake_touches == tp->num_slots)) in tp_restore_synaptics_touches() 622 for (i = 0; i < tp->num_slots; i++) { in tp_restore_synaptics_touches() 675 tp->nactive_slots < tp->num_slots) { in tp_process_fake_touches() 678 tp->num_slots, in tp_process_fake_touches() 686 tp->num_slots = tp->nactive_slots; in tp_process_fake_touches() 690 start = tp->has_mt ? tp->num_slots : 0; in tp_process_fake_touches() 1222 for (i = 0; i < (int)tp->num_slots; i++) { in tp_unhover_pressure() 1243 } else if (nfake_touches <= tp->num_slots || in tp_unhover_pressure() 1244 tp->num_slots == 1) { in tp_unhover_pressure() 1259 if (nfake_touches <= tp->num_slots || in tp_unhover_pressure() [all …]
|
D | evdev-mt-touchpad-gestures.c | 55 for (i = 0; i < tp->num_slots; i++) { in tp_get_touches_delta() 413 for (i = 1; i < ntouches && i < tp->num_slots; i++) { in tp_gesture_handle_state_none() 488 tp->gesture.finger_count > tp->num_slots) in tp_gesture_handle_state_unknown() 587 if (tp->gesture.finger_count > tp->num_slots || in tp_gesture_handle_state_unknown() 873 tp->gesture.enabled = !tp->semi_mt && tp->num_slots > 1; in tp_init_gesture()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_link_uniforms.c | 154 const unsigned num_slots = var->num_state_slots; in update_array_sizes() local 155 if (num_slots > 0) { in update_array_sizes() 157 (max_array_size * (num_slots / glsl_array_size(var->type))); in update_array_sizes() 221 unsigned num_slots = glsl_get_component_slots(uniform->type); in nir_setup_uniform_remap_tables() local 230 data_pos += num_slots; in nir_setup_uniform_remap_tables() 281 unsigned num_slots = glsl_get_component_slots(uniform->type); in nir_setup_uniform_remap_tables() local 292 data_pos += num_slots; in nir_setup_uniform_remap_tables() 321 unsigned num_slots = glsl_get_component_slots(uniform->type); in nir_setup_uniform_remap_tables() local 337 data_pos += num_slots; in nir_setup_uniform_remap_tables() 358 unsigned num_slots = glsl_get_component_slots(uniform->type); in nir_setup_uniform_remap_tables() local [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_threaded_context.c | 107 to_call_check(void *ptr, unsigned num_slots) in to_call_check() argument 111 tc_assert(call->num_slots == num_slots); in to_call_check() 119 #define call_size_with_slots(type, num_slots) size_to_slots( \ argument 120 sizeof(struct type) + sizeof(((struct type*)NULL)->slot[0]) * (num_slots)) 290 unsigned num_slots) in tc_add_sized_call() argument 293 assert(num_slots <= TC_SLOTS_PER_BATCH); in tc_add_sized_call() 296 if (unlikely(next->num_total_slots + num_slots > TC_SLOTS_PER_BATCH)) { in tc_add_sized_call() 305 next->num_total_slots += num_slots; in tc_add_sized_call() 311 call->num_slots = num_slots; in tc_add_sized_call() 324 #define tc_add_slot_based_call(tc, execute, type, num_slots) \ argument [all …]
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_nir.c | 108 unsigned num_slots = indirect ? nir_intrinsic_io_semantics(intr).num_slots : 1; in scan_io_usage() local 111 assert(driver_location + num_slots <= ARRAY_SIZE(info->input)); in scan_io_usage() 113 for (unsigned i = 0; i < num_slots; i++) { in scan_io_usage() 136 assert(driver_location + num_slots <= ARRAY_SIZE(info->output_usagemask)); in scan_io_usage() 138 for (unsigned i = 0; i < num_slots; i++) { in scan_io_usage()
|
D | si_shader_llvm_resources.c | 284 unsigned num_slots = image ? ctx->num_images : ctx->num_samplers; in si_nir_load_sampler_desc() local 285 assert(const_index < num_slots || dynamic_index); in si_nir_load_sampler_desc() 302 index = si_llvm_bound_index(ctx, index, num_slots); in si_nir_load_sampler_desc()
|
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_context.cpp | 60 num_slots = has_trans ? 5 : 4; in init()
|
/third_party/mesa3d/src/gallium/tools/trace/ |
D | dump_state.py | 397 def _update(self, array, start_slot, num_slots, states): argument 400 num_slots = 1 402 while len(array) < start_slot + num_slots: 404 for i in range(num_slots):
|