/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_colorizer.py | 421 for index, expected_tags in expected: 422 with self.subTest(index=index): 423 eq(text.tag_names(index), expected_tags)
|
/third_party/rust/crates/nom/src/combinator/ |
H A D | mod.rs | 516 let index = input.offset(&i); in recognize() 517 Ok((i, input.slice(..index))) in recognize() 571 let index = input.offset(&remaining); in consumed() 572 let consumed = input.slice(..index); in consumed()
|
/third_party/spirv-tools/source/val/ |
H A D | validate_composites.cpp | 47 << "Expected at least one index to Op" in GetExtractInsertValueType() 74 << vector_size << ", but access index is " << component_index; in GetExtractInsertValueType() 84 << " columns, but access index is " << component_index; in GetExtractInsertValueType() 103 << array_size << ", but access index is " << component_index; in GetExtractInsertValueType() 116 << "Index is out of bounds, can not find index " in GetExtractInsertValueType() 119 << num_struct_members << " members. Largest valid index is " in GetExtractInsertValueType() 161 const auto index = _.FindDef(inst->GetOperandAs<uint32_t>(3)); in ValidateVectorExtractDynamic() local 162 if (!index || index->type_id() == 0 || !_.IsIntScalarType(index in ValidateVectorExtractDynamic() [all...] |
H A D | validate_interfaces.cpp | 253 // validator allows duplicate decorations if the location/component/index are in GetLocationsForVariable() 260 uint32_t index = 0; in GetLocationsForVariable() local 284 if (has_index && dec.params()[0] != index) { in GetLocationsForVariable() 286 << "Variable has conflicting index decorations"; in GetLocationsForVariable() 289 index = dec.params()[0]; in GetLocationsForVariable() 375 // index. in GetLocationsForVariable() 405 if (has_index && index == 1) locs = output_index1_locations; in GetLocationsForVariable() 431 << "Member index " << dec.struct_member_index() in GetLocationsForVariable() 440 << "Member index " << dec.struct_member_index() in GetLocationsForVariable() 450 << _.VkErrorID(4919) << "Member index " << in GetLocationsForVariable() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
H A D | vktTessellationPrimitiveDiscardTests.cpp | 120 int index = 0; in genAttributes() local 134 const int col = index % numCols; in genAttributes() 135 const int row = index / numCols; in genAttributes() 144 index++; in genAttributes()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | bitset_utils_unittest.cpp | 335 for (size_t index = 1; index <= 9; ++index) in TYPED_TEST() 336 mStateBits.set(index); in TYPED_TEST()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | QualifierTypes.cpp | 342 // The sorting starts from index 1, instead of 0, since the element at index 0 tells the scope in SortSequence() 845 if (rightQualifier.index != -1) in JoinLayoutQualifiers() 847 if (joinedQualifier.index != -1) in JoinLayoutQualifiers() 850 diagnostics->error(rightQualifierLocation, "Cannot have multiple index specifiers", in JoinLayoutQualifiers() 851 "index"); in JoinLayoutQualifiers() 853 joinedQualifier.index = rightQualifier.index; in JoinLayoutQualifiers()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
H A D | resource_tracker.c | 1032 mlx4_dbg(dev, "%s: alloc new counter for slave %d index %d\n", in handle_unexisting_counter() 1569 static int mr_res_start_move_to(struct mlx4_dev *dev, int slave, int index, in mr_res_start_move_to() argument 1578 r = res_tracker_lookup(&tracker->res_tree[RES_MPT], index); in mr_res_start_move_to() 1622 static int eq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, in eq_res_start_move_to() argument 1631 r = res_tracker_lookup(&tracker->res_tree[RES_EQ], index); in eq_res_start_move_to() 1711 static int srq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, in srq_res_start_move_to() argument 1720 r = res_tracker_lookup(&tracker->res_tree[RES_SRQ], index); in srq_res_start_move_to() 1890 int index; in mpt_alloc_res() local 1900 index = __mlx4_mpt_reserve(dev); in mpt_alloc_res() 1901 if (index in mpt_alloc_res() 2245 u32 index; counter_alloc_res() local 2423 int index; mpt_free_res() local 2569 int index; counter_free_res() local 2761 int index = vhcr->in_modifier; mlx4_SW2HW_MPT_wrapper() local 2844 int index = vhcr->in_modifier; mlx4_HW2SW_MPT_wrapper() local 2876 int index = vhcr->in_modifier; mlx4_QUERY_MPT_wrapper() local 4570 int index = vhcr->in_modifier & 0xffff; mlx4_QUERY_IF_STAT_wrapper() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/ |
H A D | resource_tracker.c | 1032 mlx4_dbg(dev, "%s: alloc new counter for slave %d index %d\n", in handle_unexisting_counter() 1569 static int mr_res_start_move_to(struct mlx4_dev *dev, int slave, int index, in mr_res_start_move_to() argument 1578 r = res_tracker_lookup(&tracker->res_tree[RES_MPT], index); in mr_res_start_move_to() 1622 static int eq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, in eq_res_start_move_to() argument 1631 r = res_tracker_lookup(&tracker->res_tree[RES_EQ], index); in eq_res_start_move_to() 1711 static int srq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, in srq_res_start_move_to() argument 1720 r = res_tracker_lookup(&tracker->res_tree[RES_SRQ], index); in srq_res_start_move_to() 1890 int index; in mpt_alloc_res() local 1900 index = __mlx4_mpt_reserve(dev); in mpt_alloc_res() 1901 if (index in mpt_alloc_res() 2245 u32 index; counter_alloc_res() local 2423 int index; mpt_free_res() local 2569 int index; counter_free_res() local 2762 int index = vhcr->in_modifier; mlx4_SW2HW_MPT_wrapper() local 2845 int index = vhcr->in_modifier; mlx4_HW2SW_MPT_wrapper() local 2877 int index = vhcr->in_modifier; mlx4_QUERY_MPT_wrapper() local 4571 int index = vhcr->in_modifier & 0xffff; mlx4_QUERY_IF_STAT_wrapper() local [all...] |
/third_party/libabigail/src/ |
H A D | abg-dwarf-reader.cc | 660 /// @param ht_index the index (in the section headers table) of the 663 /// @param sym_tab_index the index (in the section headers table) of 787 /// Get a given word of a bloom filter, referred to by the index of 798 /// @param index the index of the bloom filter to return. 800 /// @return a 64 bits work containing the bloom word found at index @p 801 /// index. Note that if we are looking at an ELFCLASS32 binary, the 4 806 size_t index) in bloom_word_at() 817 result = bloom_filter[index]; in bloom_word_at() 822 result = f[index]; in bloom_word_at() 804 bloom_word_at(Elf* elf_handle, Elf32_Word* bloom_filter, size_t index) bloom_word_at() argument 7615 op_pushes_constant_value(Dwarf_Op* ops, size_t ops_len, size_t index, size_t& next_index, dwarf_expr_eval_context& ctxt) op_pushes_constant_value() argument 8029 op_is_arith_logic(Dwarf_Op* expr, size_t expr_len, size_t index, size_t& next_index, dwarf_expr_eval_context& ctxt) op_is_arith_logic() argument 8162 op_is_control_flow(Dwarf_Op* expr, size_t expr_len, size_t index, size_t& next_index, dwarf_expr_eval_context& ctxt) op_is_control_flow() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | PixelRoutine.cpp | 936 bool PixelRoutine::isSRGB(int index) const in isSRGB() 938 return vk::Format(state.colorFormat[index]).isSRGBformat(); in isSRGB() 941 void PixelRoutine::readPixel(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4s &pixel) in readPixel() argument 948 Int pitchB = *Pointer<Int>(data + OFFSET(DrawData, colorPitchB[index])); in readPixel() 950 switch(state.colorFormat[index]) in readPixel() 1211 buffer += *Pointer<Int>(data + OFFSET(DrawData, colorPitchB[index])); in readPixel() 1230 UNSUPPORTED("VkFormat %d", int(state.colorFormat[index])); in readPixel() 1233 if(isSRGB(index)) in readPixel() 1239 void PixelRoutine::writeColor(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4s ¤t, const Int &sMask, const Int &zMask, const Int &cMask) in writeColor() argument 1241 if(isSRGB(index)) in writeColor() 2123 computeAdvancedBlendMode(int index, const Vector4f &src, const Vector4f &dst, const Vector4f &srcFactor, const Vector4f &dstFactor) computeAdvancedBlendMode() argument 2270 alphaBlend(int index, const Pointer<Byte> &cBuffer, const Vector4f &sourceColor, const Int &x) alphaBlend() argument 2553 writeColor(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4f &color, const Int &sMask, const Int &zMask, const Int &cMask) writeColor() argument [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | descriptor.cc | 2186 proto->set_oneof_index(containing_oneof()->index()); in CopyTo() 3053 output->push_back(index()); in GetLocationPath() 3056 output->push_back(index()); in GetLocationPath() 3064 output->push_back(index()); in GetLocationPath() 3068 output->push_back(index()); in GetLocationPath() 3073 output->push_back(index()); in GetLocationPath() 3080 output->push_back(index()); in GetLocationPath() 3087 output->push_back(index()); in GetLocationPath() 3090 output->push_back(index()); in GetLocationPath() 3097 output->push_back(index()); in GetLocationPath() 4238 AddTwiceListedError(const FileDescriptorProto& proto, int index) AddTwiceListedError() argument 4245 AddImportError(const FileDescriptorProto& proto, int index) AddImportError() argument 4483 int index = proto.public_dependency(i); BuildFileImpl() local 4516 int index = proto.weak_dependency(i); BuildFileImpl() local 5064 int index; BuildExtensionRange() local 6691 int index = repeated_option_counts_[dest_path]++; InterpretSingleOption() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/megaraid/ |
H A D | megaraid_sas_fusion.c | 746 * reply_frame_desc array to use same msix index in ISR path. in megasas_alloc_reply_fusion() 972 /* SMID 0 is reserved. Set SMID/index from 1 */ in megasas_alloc_cmds_fusion() 977 cmd->index = i + 1; in megasas_alloc_cmds_fusion() 1107 dev_info(&instance->pdev->dev, "Performance mode :%s (latency index = %d)\n", in megasas_ioc_init_fusion() 3261 megasas_get_request_descriptor(struct megasas_instance *instance, u16 index) in megasas_get_request_descriptor() argument 3268 sizeof(union MEGASAS_REQUEST_DESCRIPTOR_UNION) * index; in megasas_get_request_descriptor() 3295 (r1_cmd->index - 1)); in megasas_prepare_secondRaid1_IO() 3298 req_desc2->SCSIIO.SMID = cpu_to_le16(r1_cmd->index); in megasas_prepare_secondRaid1_IO() 3304 cpu_to_le16(r1_cmd->index); in megasas_prepare_secondRaid1_IO() 3306 cpu_to_le16(cmd->index); in megasas_prepare_secondRaid1_IO() 3327 u32 index; megasas_build_and_issue_cmd_fusion() local 3838 u16 index; build_mpt_cmd() local [all...] |
/kernel/linux/linux-5.10/sound/pci/rme9652/ |
H A D | hdspm.c | 143 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ variable 147 module_param_array(index, int, NULL, 0444); 148 MODULE_PARM_DESC(index, "Index value for RME HDSPM interface."); 794 the DMA channel." We index it using the logical audio channel, 1110 static int hdspm_get_aes_sample_rate(struct hdspm *hdspm, int index); 2233 .index = xindex, \ 2353 static int hdspm_get_aes_sample_rate(struct hdspm *hdspm, int index) in hdspm_get_aes_sample_rate() argument 2360 return (timecode >> (4*index)) & 0xF; in hdspm_get_aes_sample_rate() 2510 .index = xindex, \ 2595 .index [all...] |
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/ |
H A D | qla_isr.c | 1740 /* Only handle SCNs for our Vport index. */ in qla2x00_async_event() 1978 * @index: SRB index 1982 struct req_que *req, uint32_t index) in qla2x00_process_completed_request() 1988 if (index >= req->num_outstanding_cmds) { in qla2x00_process_completed_request() 1990 "Invalid SCSI command index (%x).\n", index); in qla2x00_process_completed_request() 1999 sp = req->outstanding_cmds[index]; in qla2x00_process_completed_request() 2002 req->outstanding_cmds[index] = NULL; in qla2x00_process_completed_request() 2023 uint16_t index; in qla_get_sp_from_handle() local 1981 qla2x00_process_completed_request(struct scsi_qla_host *vha, struct req_que *req, uint32_t index) qla2x00_process_completed_request() argument 2062 uint16_t index; qla2x00_get_sp_from_handle() local 3143 qla25xx_process_bidir_status_iocb(scsi_qla_host_t *vha, void *pkt, struct req_que *req, uint32_t index) qla25xx_process_bidir_status_iocb() argument 3759 u16 index; qla2x00_error_entry() local [all...] |
/kernel/linux/linux-6.6/arch/x86/kvm/mmu/ |
H A D | mmu.c | 160 unsigned index; member 285 static gfn_t kvm_mmu_page_get_gfn(struct kvm_mmu_page *sp, int index); 721 static gfn_t kvm_mmu_page_get_gfn(struct kvm_mmu_page *sp, int index) in kvm_mmu_page_get_gfn() argument 727 return sp->shadowed_translation[index] >> PAGE_SHIFT; in kvm_mmu_page_get_gfn() 729 return sp->gfn + (index << ((sp->role.level - 1) * SPTE_LEVEL_BITS)); in kvm_mmu_page_get_gfn() 738 static u32 kvm_mmu_page_get_access(struct kvm_mmu_page *sp, int index) in kvm_mmu_page_get_access() argument 741 return sp->shadowed_translation[index] & ACC_ALL; in kvm_mmu_page_get_access() 758 static void kvm_mmu_page_set_translation(struct kvm_mmu_page *sp, int index, in kvm_mmu_page_set_translation() argument 762 sp->shadowed_translation[index] = (gfn << PAGE_SHIFT) | access; in kvm_mmu_page_set_translation() 766 WARN_ONCE(access != kvm_mmu_page_get_access(sp, index), in kvm_mmu_page_set_translation() 777 kvm_mmu_page_set_access(struct kvm_mmu_page *sp, int index, unsigned int access) kvm_mmu_page_set_access() argument 6379 int index; shadow_mmu_split_huge_page() local [all...] |
/kernel/linux/linux-6.6/sound/pci/rme9652/ |
H A D | hdspm.c | 143 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ variable 147 module_param_array(index, int, NULL, 0444); 148 MODULE_PARM_DESC(index, "Index value for RME HDSPM interface."); 793 the DMA channel." We index it using the logical audio channel, 1109 static int hdspm_get_aes_sample_rate(struct hdspm *hdspm, int index); 2232 .index = xindex, \ 2349 static int hdspm_get_aes_sample_rate(struct hdspm *hdspm, int index) in hdspm_get_aes_sample_rate() argument 2356 return (timecode >> (4*index)) & 0xF; in hdspm_get_aes_sample_rate() 2505 .index = xindex, \ 2590 .index [all...] |
/kernel/linux/linux-6.6/drivers/scsi/megaraid/ |
H A D | megaraid_sas_fusion.c | 776 * reply_frame_desc array to use same msix index in ISR path. in megasas_alloc_reply_fusion() 1003 /* SMID 0 is reserved. Set SMID/index from 1 */ in megasas_alloc_cmds_fusion() 1008 cmd->index = i + 1; in megasas_alloc_cmds_fusion() 1138 dev_info(&instance->pdev->dev, "Performance mode :%s (latency index = %d)\n", in megasas_ioc_init_fusion() 3302 megasas_get_request_descriptor(struct megasas_instance *instance, u16 index) in megasas_get_request_descriptor() argument 3309 sizeof(union MEGASAS_REQUEST_DESCRIPTOR_UNION) * index; in megasas_get_request_descriptor() 3336 (r1_cmd->index - 1)); in megasas_prepare_secondRaid1_IO() 3339 req_desc2->SCSIIO.SMID = cpu_to_le16(r1_cmd->index); in megasas_prepare_secondRaid1_IO() 3345 cpu_to_le16(r1_cmd->index); in megasas_prepare_secondRaid1_IO() 3347 cpu_to_le16(cmd->index); in megasas_prepare_secondRaid1_IO() 3368 u32 index; megasas_build_and_issue_cmd_fusion() local 3949 u16 index; build_mpt_cmd() local [all...] |
/third_party/mesa3d/src/amd/addrlib/src/gfx9/ |
H A D | gfx9addrlib.cpp | 199 for (UINT_32 index = 0; index < numCompressBlkPerMetaBlkLog2; index++) in HwlComputeHtileInfo() 316 for (UINT_32 index = 0; index < numCompressBlkPerMetaBlkLog2; index++) in HwlComputeCmaskInfo() 643 for (UINT_32 index = 1; index < numCompressBlkPerMetaBlk; index <<= 1) in HwlComputeDccInfo() 2329 // a valid input, we do nothing but just fill invalid equation index in InitEquationTable() [all...] |
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_hlsl.cpp | 668 SPIRV_CROSS_THROW("Vertex index not supported in SM 3.0 or lower."); in emit_builtin_inputs_in_struct() 676 SPIRV_CROSS_THROW("Instance index not supported in SM 3.0 or lower."); in emit_builtin_inputs_in_struct() 887 uint32_t index = get_decoration(var.self, DecorationIndex); in emit_interface_block_in_struct() local 890 if (index != 0 && location != 0) in emit_interface_block_in_struct() 893 binding = join(legacy ? "COLOR" : "SV_Target", location + index); in emit_interface_block_in_struct() 1988 for (uint32_t index = 0; index < QueryDimCount; index++) in emit_texture_size_variants() 1992 uint32_t bit = 16 * type_index + index; in emit_texture_size_variants() 1998 statement(ret_types[index], " sp in emit_texture_size_variants() 2045 layout_for_member(const SPIRType &type, uint32_t index) layout_for_member() argument 2062 emit_struct_member(const SPIRType &type, uint32_t member_type_id, uint32_t index, const string &qualifier, uint32_t base_offset) emit_struct_member() argument 2264 auto index = expr.find_first_of('['); to_sampler_expression() local [all...] |
/device/soc/rockchip/common/vendor/drivers/staging/android/fiq_debugger/ |
H A D | fiq_debugger.c | 1144 static struct tty_driver *fiq_debugger_console_device(struct console *co, int *index)
in fiq_debugger_console_device() argument 1146 *index = co->index;
in fiq_debugger_console_device() 1190 int line = tty->index;
in fiq_tty_open() 1205 int line = tty->index;
in fiq_tty_write() 1582 state->console.index = pdev->id;
in fiq_debugger_probe() 1585 add_preferred_console(state->console.name, state->console.index, NULL);
in fiq_debugger_probe()
|
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | clk-provider.h | 134 * possible parents specify a new parent by passing in the index
137 * array index into the value programmed into the hardware.
141 * return value is a u8 which specifies the index corresponding to
142 * the parent clock. This index can be applied to either the
145 * index. Currently only called when the clock is initialized by
161 * argument gives the parent index. This callback is optional (and
234 int (*set_parent)(struct clk_hw *hw, u8 index);
237 int (*set_rate_and_parent)(struct clk_hw *hw, unsigned long rate, unsigned long parent_rate, u8 index);
253 * @index: parent index loca 259 int index; global() member 1252 of_clk_detect_critical(struct device_node *np, int index, unsigned long *flags) of_clk_detect_critical() argument [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/tty/serial/8250/ |
H A D | 8250_core.c | 612 struct uart_8250_port *up = &serial8250_ports[co->index]; in univ8250_console_write() 627 if (co->index >= nr_uarts) { in univ8250_console_setup() 628 co->index = 0; in univ8250_console_setup() 630 port = &serial8250_ports[co->index].port; in univ8250_console_setup() 645 port = &serial8250_ports[co->index].port; in univ8250_console_exit() 653 * @idx: index from console command line 697 co->index = i; in univ8250_console_match() 713 .index = -1, 1121 "unable to register port at index %d " in serial8250_probe()
|
/device/soc/rockchip/rk3588/kernel/drivers/staging/android/fiq_debugger/ |
H A D | fiq_debugger.c | 1142 static struct tty_driver *fiq_debugger_console_device(struct console *co, int *index) in fiq_debugger_console_device() argument 1144 *index = co->index; in fiq_debugger_console_device() 1187 int line = tty->index; in fiq_tty_open() 1202 int line = tty->index; in fiq_tty_write() 1584 state->console.index = pdev->id; in fiq_debugger_probe() 1588 state->console.index, NULL); in fiq_debugger_probe()
|
/drivers/peripheral/audio/supportlibs/alsa_adapter/src/ |
H A D | alsa_soundcard.c | 141 int index = 0;
in CfgGetAdapterInfo() local 146 && index < infoLen) {
in CfgGetAdapterInfo() 147 infos[index++] = *info;
in CfgGetAdapterInfo() 151 return index;
in CfgGetAdapterInfo() 805 m->index = 0;
in SndElementItemInit() 850 if (ctlElem->index >= 0) {
in SetElementInfo() 851 snd_ctl_elem_id_set_index(id, ctlElem->index);
in SetElementInfo()
|