/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/ |
H A D | node.c | 37 .slots = (int []) { 54 .slots = (int []) { 61 .slots = (int []) { 68 .slots = (int []) { 74 .slots = (int []) { 80 .slots = (int []) { 86 .slots = (int []) { 92 .slots = (int []) { 98 .slots = (int []) { 104 .slots [all...] |
H A D | instr.c | 64 int *slots = ppir_op_infos[mul->op].slots; in ppir_instr_insert_mul_node() local 66 for (int i = 0; slots[i] != PPIR_INSTR_SLOT_END; i++) { in ppir_instr_insert_mul_node() 68 if (slots[i] == pos) { in ppir_instr_insert_mul_node() 69 if (!instr->slots[pos]) { in ppir_instr_insert_mul_node() 106 instr->slots[pos] = mul; in ppir_instr_insert_mul_node() 157 if (!instr->slots[i]) in ppir_instr_update_src_pipeline() 160 ppir_alu_node *alu = ppir_node_to_alu(instr->slots[i]); in ppir_instr_update_src_pipeline() 167 ppir_node *branch_node = instr->slots[PPIR_INSTR_SLOT_BRANCH]; in ppir_instr_update_src_pipeline() 211 int *slots in ppir_instr_insert_node() local [all...] |
/third_party/glfw/tests/ |
H A D | events.c | 547 Slot* slots; in main() local 601 slots = calloc(count, sizeof(Slot)); in main() 607 slots[i].closeable = GLFW_TRUE; in main() 608 slots[i].number = i + 1; in main() 610 snprintf(title, sizeof(title), "Event Linter (Window %i)", slots[i].number); in main() 615 slots[i].number, in main() 622 slots[i].number, in main() 626 slots[i].window = glfwCreateWindow(width, height, title, monitor, NULL); in main() 627 if (!slots[i].window) in main() 629 free(slots); in main() [all...] |
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/ |
H A D | node.c | 36 .slots = (int []) { 46 .slots = (int []) { GPIR_INSTR_SLOT_MUL1, GPIR_INSTR_SLOT_MUL0, GPIR_INSTR_SLOT_END }, 51 .slots = (int []) { GPIR_INSTR_SLOT_MUL0, GPIR_INSTR_SLOT_END }, 56 .slots = (int []) { GPIR_INSTR_SLOT_MUL0, GPIR_INSTR_SLOT_END }, 62 .slots = (int []) { GPIR_INSTR_SLOT_MUL0, GPIR_INSTR_SLOT_END }, 69 .slots = (int []) { GPIR_INSTR_SLOT_ADD0, GPIR_INSTR_SLOT_ADD1, GPIR_INSTR_SLOT_END }, 74 .slots = (int []) { GPIR_INSTR_SLOT_ADD0, GPIR_INSTR_SLOT_ADD1, GPIR_INSTR_SLOT_END }, 81 .slots = (int []) { GPIR_INSTR_SLOT_ADD0, GPIR_INSTR_SLOT_ADD1, GPIR_INSTR_SLOT_END }, 88 .slots = (int []) { GPIR_INSTR_SLOT_ADD0, GPIR_INSTR_SLOT_ADD1, GPIR_INSTR_SLOT_END }, 95 .slots [all...] |
H A D | instr.c | 55 return instr->slots[GPIR_INSTR_SLOT_ADD1]; in gpir_instr_get_the_other_acc_node() 57 return instr->slots[GPIR_INSTR_SLOT_ADD0]; in gpir_instr_get_the_other_acc_node() 64 /* two ACC slots must share the same op code */ in gpir_instr_check_acc_same_op() 114 gpir_store_node *s = gpir_node_to_store(instr->slots[i]); in gpir_instr_insert_alu_check() 164 gpir_store_node *s = gpir_node_to_store(instr->slots[i]); in gpir_instr_remove_alu() 309 gpir_store_node *s = gpir_node_to_store(instr->slots[j]); in gpir_instr_insert_store_check() 318 if (store->child == instr->slots[j]) in gpir_instr_insert_store_check() 380 gpir_store_node *s = gpir_node_to_store(instr->slots[j]); in gpir_instr_remove_store() 386 if (store->child == instr->slots[j]) in gpir_instr_remove_store() 398 if (!instr->slots[other_slo in gpir_instr_remove_store() [all...] |
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | persistent-node.cc | 27 for (auto& slots : nodes_) { in ClearAllUsedNodes() 28 for (auto& node : *slots) { in ClearAllUsedNodes() 55 nodes_.cbegin(), nodes_.cend(), 0u, [](size_t acc, const auto& slots) { in NodesInUse() 56 return acc + std::count_if(slots->cbegin(), slots->cend(), in NodesInUse() 88 for (auto& slots : nodes_) { in Trace() 90 for (auto& node : *slots) { in Trace() 100 PersistentNode* first_next = (*slots)[0].FreeListNext(); in Trace() 103 CPPGC_DCHECK(!first_next || first_next < &slots->front() || in Trace() 104 first_next > &slots in Trace() [all...] |
/third_party/curl/lib/ |
H A D | hash.c | 60 int slots, in Curl_hash_init() 66 DEBUGASSERT(slots); in Curl_hash_init() 76 h->slots = slots; in Curl_hash_init() 94 #define FETCH_LIST(x,y,z) &x->table[x->hash_func(y, z, x->slots)] 112 DEBUGASSERT(h->slots); in Curl_hash_add() 115 h->table = malloc(h->slots * sizeof(struct Curl_llist)); in Curl_hash_add() 118 for(i = 0; i < h->slots; ++i) in Curl_hash_add() 154 DEBUGASSERT(h->slots); in Curl_hash_delete() 182 DEBUGASSERT(h->slots); in Curl_hash_pick() 59 Curl_hash_init(struct Curl_hash *h, int slots, hash_function hfunc, comp_function comparator, Curl_hash_dtor dtor) Curl_hash_init() argument [all...] |
/third_party/libinput/tools/ |
H A D | libinput-analyze-per-slot-delta.py | 28 # Measures the relative motion between touch events (based on slots) 53 self.slots = [] 58 return " | ".join(self.slots) 62 self.slots.append("+++++++".center(self.width)) 65 self.slots.append("-------".center(self.width)) 68 self.slots.append(("*" * (self.width - 2)).center(self.width)) 70 self.slots.append(" ".center(self.width)) 104 self.slots.append(" ".center(self.width)) 122 self.slots.append(string.ljust(self.width + len(color) + len(reset))) 149 slots [all...] |
H A D | libinput-analyze-touch-down-state.py | 88 "--use-st", action="store_true", help="Ignore slots, use the BTN_TOOL bits" 116 slots = [Slot(i) for i in range(0, nslots)] 117 # We claim the first slots are used just to make the formatting 119 for i in range(min(5, len(slots))): 120 slots[i].used = True 147 s = slots[slot] 155 s = slots[slot] 158 for sl in slots[: slot + 1]: 161 s = slots[slot] 179 current_slot_state = tuple(s.is_active for s in slots) [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | hook-list.c | 33 PA_LLIST_HEAD_INIT(pa_hook_slot, hook->slots); in pa_hook_init() 42 PA_LLIST_REMOVE(pa_hook_slot, hook->slots, slot); in slot_free() 51 while (hook->slots) in pa_hook_done() 52 slot_free(hook, hook->slots); in pa_hook_done() 70 for (where = hook->slots; where; where = where->next) { in pa_hook_connect() 76 PA_LLIST_INSERT_AFTER(pa_hook_slot, hook->slots, prev, slot); in pa_hook_connect() 100 PA_LLIST_FOREACH(slot, hook->slots) { in pa_hook_fire() 111 for (slot = hook->slots; hook->n_dead > 0 && slot; slot = next) { in pa_hook_fire()
|
/third_party/rust/crates/regex/src/ |
H A D | exec.rs | 424 /// Returns the number of capture slots in the regular expression. (There 425 /// are two slots for every capture group, corresponding to possibly empty 584 /// The number of capture slots given should be equal to the total number 585 /// of capture slots in the compiled program. 587 /// Note that the first two slots always correspond to the start and end 595 let slots = locs.as_slots(); in captures_read_at() 596 for slot in slots.iter_mut() { in captures_read_at() 601 match slots.len() { in captures_read_at() 605 slots[0] = Some(s); in captures_read_at() 606 slots[ in captures_read_at() 949 let mut slots = [None, None]; shortest_nfa_type() variables 973 let mut slots = [None, None]; find_nfa() variables [all...] |
H A D | backtrack.rs | 48 slots: &'s mut [Slot], 88 slots: &'s mut [Slot], in exec() 96 let mut b = Bounded { prog, input, matches, slots, m: cache }; in exec() 183 if slot < self.slots.len() { in backtrack() 184 self.slots[slot] = old_pos; in backtrack() 210 if let Some(&old_pos) = self.slots.get(inst.slot) { in step() 219 self.slots[inst.slot] = Some(at.pos()); in step()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | container_memory_test.cc | 237 slot_type slots[100]; in TEST() member 238 } slots; in TEST() local 244 slot_policy::construct(&alloc, &slots.slots[0], CopyableMovableInstance(1), in TEST() 247 slot_policy::transfer(&alloc, &slots.slots[i + 1], &slots.slots[i]); in TEST() 249 slot_policy::destroy(&alloc, &slots.slots[9 in TEST() [all...] |
/third_party/skia/src/sksl/codegen/ |
H A D | SkSLVMCodeGenerator.cpp | 69 explicit Value(size_t slots) { in Value() 70 fVals.resize(slots); in Value() 77 size_t slots() const { return fVals.size(); } in slots() function 156 * getSlot returning the start of the contiguous chunk of slots. 183 skvm::F32 f32(const Value& v) { SkASSERT(v.slots() == 1); return f32(v[0]); } 184 skvm::I32 i32(const Value& v) { SkASSERT(v.slots() == 1); return i32(v[0]); } 188 Value result(v.slots()); 189 for (size_t i = 0; i < v.slots(); ++i) { 562 // Append slots for this variable to our debug slot-info table. 566 // Confirm that we added the expected number of slots [all...] |
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_gs_variant.cpp | 97 unsigned frac_slots = key->varyings.slots[i].location_frac_mask; in d3d12_make_passthrough_gs() 102 snprintf(tmp, ARRAY_SIZE(tmp), "in_%d", key->varyings.slots[i].vars[j].driver_location); in d3d12_make_passthrough_gs() 105 glsl_array_type(key->varyings.slots[i].types[j], 1, false), in d3d12_make_passthrough_gs() 109 in->data.driver_location = key->varyings.slots[i].vars[j].driver_location; in d3d12_make_passthrough_gs() 110 in->data.interpolation = key->varyings.slots[i].vars[j].interpolation; in d3d12_make_passthrough_gs() 111 in->data.compact = key->varyings.slots[i].vars[j].compact; in d3d12_make_passthrough_gs() 113 snprintf(tmp, ARRAY_SIZE(tmp), "out_%d", key->varyings.slots[i].vars[j].driver_location); in d3d12_make_passthrough_gs() 116 key->varyings.slots[i].types[j], in d3d12_make_passthrough_gs() 120 out->data.driver_location = key->varyings.slots[i].vars[j].driver_location; in d3d12_make_passthrough_gs() 121 out->data.interpolation = key->varyings.slots[ in d3d12_make_passthrough_gs() [all...] |
/third_party/curl/tests/unit/ |
H A D | unit1603.c | 34 static const int slots = 3; variable 44 Curl_hash_init(&hash_static, slots, Curl_hash_str, in unit_setup() 66 if(Curl_hash_str(key1, strlen(key1), slots) != 1 || 67 Curl_hash_str(key2, strlen(key2), slots) != 0 || 68 Curl_hash_str(key3, strlen(key3), slots) != 2 || 69 Curl_hash_str(key4, strlen(key4), slots) != 1) 88 /* The fourth element exceeds the number of slots & collides */
|
/third_party/icu/tools/unicode/c/genprops/ |
H A D | casepropsbuilder.cpp | 153 Optional-value slots: 954 /* write the optional slots */ in makeException() 955 uint32_t slots[8]; in makeException() local 965 slots[count]=(uint32_t)delta; in makeException() 966 slotBits|=slots[count]; in makeException() 971 slots[count]=(uint32_t)p.slc; in makeException() 972 slotBits|=slots[count]; in makeException() 980 slots[count]=(uint32_t)p.scf; in makeException() 981 slotBits|=slots[count]; in makeException() 986 slots[coun in makeException() [all...] |
/third_party/python/Objects/ |
H A D | structseq.c | 567 PyType_Slot slots[8]; in _PyStructSequence_NewType() local 581 slots[0] = (PyType_Slot){Py_tp_dealloc, (destructor)structseq_dealloc}; in _PyStructSequence_NewType() 582 slots[1] = (PyType_Slot){Py_tp_repr, (reprfunc)structseq_repr}; in _PyStructSequence_NewType() 583 slots[2] = (PyType_Slot){Py_tp_doc, (void *)desc->doc}; in _PyStructSequence_NewType() 584 slots[3] = (PyType_Slot){Py_tp_methods, structseq_methods}; in _PyStructSequence_NewType() 585 slots[4] = (PyType_Slot){Py_tp_new, structseq_new}; in _PyStructSequence_NewType() 586 slots[5] = (PyType_Slot){Py_tp_members, members}; in _PyStructSequence_NewType() 587 slots[6] = (PyType_Slot){Py_tp_traverse, (traverseproc)structseq_traverse}; in _PyStructSequence_NewType() 588 slots[7] = (PyType_Slot){0, 0}; in _PyStructSequence_NewType() 597 spec.slots in _PyStructSequence_NewType() [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_asm.c | 358 unsigned slots = r600_isa_alu_slots(bc->isa->hw_class, alu->op); in is_alu_vec_unit_inst() local 359 return !(slots & AF_S); in is_alu_vec_unit_inst() 364 unsigned slots = r600_isa_alu_slots(bc->isa->hw_class, alu->op); in is_alu_trans_unit_inst() local 365 return !(slots & AF_V); in is_alu_trans_unit_inst() 371 unsigned slots = r600_isa_alu_slots(bc->isa->hw_class, alu->op); in is_alu_any_unit_inst() local 372 return slots == AF_VS; in is_alu_any_unit_inst() 589 struct r600_bytecode_alu *slots[5]) in check_and_set_bank_swizzle() 599 if (slots[i]) { in check_and_set_bank_swizzle() 600 if (slots[i]->bank_swizzle_force) { in check_and_set_bank_swizzle() 601 slots[ in check_and_set_bank_swizzle() 588 check_and_set_bank_swizzle(const struct r600_bytecode *bc, struct r600_bytecode_alu *slots[5]) check_and_set_bank_swizzle() argument 668 replace_gpr_with_pv_ps(struct r600_bytecode *bc, struct r600_bytecode_alu *slots[5], struct r600_bytecode_alu *alu_prev) replace_gpr_with_pv_ps() argument 805 merge_inst_groups(struct r600_bytecode *bc, struct r600_bytecode_alu *slots[5], struct r600_bytecode_alu *alu_prev) merge_inst_groups() argument 1349 struct r600_bytecode_alu *slots[5]; r600_bytecode_add_alu_type() local [all...] |
/third_party/libunwind/libunwind/include/tdep-ia64/ |
H A D | rse.h | 48 uint64_t slots = (bsp - bspstore) >> 3; in rse_num_regs() local 50 return slots - (rse_slot_num(bspstore) + slots)/0x40; in rse_num_regs()
|
/third_party/libinput/src/ |
H A D | evdev-totem.c | 50 struct totem_slot *slots; member 125 struct totem_slot *slot = &totem->slots[i]; in totem_set_touch_device_enabled() 206 struct totem_slot *slot = &totem->slots[totem->slot]; in totem_process_abs() 502 &totem->slots[i], in totem_handle_state() 557 struct totem_slot *slot = &totem->slots[i]; in totem_interface_suspend() 609 free(totem->slots); in totem_interface_destroy() 667 struct totem_slot *slot = &totem->slots[i]; in totem_interface_initial_proximity() 803 struct totem_slot *slots; in evdev_totem_create() local 819 slots = zalloc(num_slots * sizeof(*totem->slots)); in evdev_totem_create() [all...] |
/third_party/python/Lib/ |
H A D | copyreg.py | 116 This needs to find slots defined by the class and its bases, so we 120 __slots__ attribute to misrepresent their slots after the class is 132 # This class has no slots 138 slots = c.__dict__['__slots__'] 140 if isinstance(slots, str): 141 slots = (slots,) 142 for name in slots:
|
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
H A D | sb_sched.cpp | 312 gpr(), lt(), slots(), in alu_group_tracker() 331 slots[slot] = n; in assign_slot() 379 slots[k] = NULL; in discard_slots() 389 assert(slots[slot]); in discard_slots() 391 assert(!(slots[slot]->bc.slot_flags & AF_4SLOT)); in discard_slots() 395 dump::dump_op(slots[slot]); in discard_slots() 399 removed_nodes.push_back(slots[slot]); in discard_slots() 400 slots[slot] = NULL; in discard_slots() 405 alu_node *t = slots[4]; in discard_slots() 408 if (!slots[cha in discard_slots() 1655 unsigned slots = p->get_slot_mask(); try_add_instruction() local 2042 unsigned slots = gt.slot_count(); check_clause_limits() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | vp9_raw_reorder_bsf.c | 38 unsigned int slots; member 66 ctx->slot[s]->slots &= ~(1 << s); in vp9_raw_reorder_clear_slot() 67 if (ctx->slot[s]->slots == 0) in vp9_raw_reorder_clear_slot() 230 if (frame->slots == 0) { in vp9_raw_reorder_make_output() 237 s = ff_ctz(frame->slots); in vp9_raw_reorder_make_output() 343 ctx->slot[s]->slots == (1 << s)) { in vp9_raw_reorder_filter() 368 frame->slots = frame->refresh_frame_flags; in vp9_raw_reorder_filter()
|
/third_party/skia/third_party/externals/brotli/research/ |
H A D | durchschlag.cc | 86 MetaSlot* slots = map->data(); in buildCandidatesList() local 88 slots[j].mark = 0; in buildCandidatesList() 96 MetaSlot& item = slots[shortcut[j]]; in buildCandidatesList() 108 MetaSlot& pick = slots[slice]; in buildCandidatesList() 119 MetaSlot& drop = slots[shortcut[i]]; in buildCandidatesList() 130 MetaSlot& pick = slots[slice]; in buildCandidatesList() 151 MetaSlot& drop = slots[shortcut[i]]; in buildCandidatesList() 159 slots[j].mark = 0; in buildCandidatesList() 178 MetaSlot* slots = map->data(); in rebuildCandidatesList() local 180 slots[ in rebuildCandidatesList() [all...] |