Home
last modified time | relevance | path

Searched refs:index (Results 7076 - 7100 of 22019) sorted by relevance

1...<<281282283284285286287288289290>>...881

/third_party/python/Objects/
H A Dcodeobject.c214 int index = 0; in get_localsplus_names() local
220 assert(index < num); in get_localsplus_names()
223 PyTuple_SET_ITEM(names, index, name); in get_localsplus_names()
224 index += 1; in get_localsplus_names()
226 assert(index == num); in get_localsplus_names()
717 /* Use co_linetable to compute the line number from a bytecode index, addrq. See
750 for (int index = start; index < end; index++) { in _PyCode_CreateLineArray()
751 assert(index < (in in _PyCode_CreateLineArray()
1346 _PyCode_GetExtra(PyObject *code, Py_ssize_t index, void **extra) _PyCode_GetExtra() argument
1367 _PyCode_SetExtra(PyObject *code, Py_ssize_t index, void *extra) _PyCode_SetExtra() argument
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsStateQueryUtil.cpp357 void queryIndexedState (tcu::ResultCollector& result, glu::CallLogWrapper& gl, QueryType type, glw::GLenum target, int index, QueriedState& state) in queryIndexedState() argument
364 gl.glGetBooleani_v(target, index, value); in queryIndexedState()
390 gl.glGetIntegeri_v(target, index, value); in queryIndexedState()
405 gl.glGetInteger64i_v(target, index, value); in queryIndexedState()
419 const glw::GLboolean value = gl.glIsEnabledi(target, index); in queryIndexedState()
434 gl.glGetBooleani_v(target, index, &value); in queryIndexedState()
451 gl.glGetIntegeri_v(target, index, &value); in queryIndexedState()
466 gl.glGetInteger64i_v(target, index, &value); in queryIndexedState()
484 void queryAttributeState (tcu::ResultCollector& result, glu::CallLogWrapper& gl, QueryType type, glw::GLenum target, int index, QueriedState& state) in queryAttributeState() argument
491 gl.glGetVertexAttribiv(index, targe in queryAttributeState()
1956 verifyStateIndexedBoolean(tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, int index, bool expected, QueryType type) verifyStateIndexedBoolean() argument
1966 verifyStateIndexedBooleanVec4(tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, int index, const tcu::BVec4& expected, QueryType type) verifyStateIndexedBooleanVec4() argument
1976 verifyStateIndexedInteger(tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, int index, int expected, QueryType type) verifyStateIndexedInteger() argument
1986 verifyStateIndexedIntegerMin(tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, int index, int minValue, QueryType type) verifyStateIndexedIntegerMin() argument
1996 verifyStateAttributeInteger(tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, int index, int expected, QueryType type) verifyStateAttributeInteger() argument
[all...]
/base/security/device_auth/services/legacy/group_auth/src/group_auth_manager/account_related_group_auth/
H A Daccount_related_group_auth.c194 uint32_t index = 0; in IsPeerInIdenticalGroup() local
196 while (index < accountVec.size(&accountVec)) { in IsPeerInIdenticalGroup()
197 ptr = accountVec.getp(&accountVec, index); in IsPeerInIdenticalGroup()
199 index++; in IsPeerInIdenticalGroup()
206 index++; in IsPeerInIdenticalGroup()
223 uint32_t index = 0; in GaGetAccountGroup() local
225 while (index < vec->size(vec)) { in GaGetAccountGroup()
226 ptr = vec->getp(vec, index); in GaGetAccountGroup()
228 index++; in GaGetAccountGroup()
232 index in GaGetAccountGroup()
[all...]
/base/startup/appspawn/test/unittest/
H A Dapp_spawn_test_helper.cpp420 uint32_t index = 0; in ToCmdList() local
426 while (index < (maxArgc - 1) && *curr != '\0') { in ToCmdList()
427 if (args->argv[index] == nullptr) { in ToCmdList()
428 args->argv[index] = start; in ToCmdList()
434 start = (index == 0) ? start + APP_LEN_PROC_NAME : start + 1; in ToCmdList()
439 index++; in ToCmdList()
447 index++; in ToCmdList()
448 args->argv[index] = end - 2; // 2 last in ToCmdList()
449 args->argv[index][0] = '#'; in ToCmdList()
450 args->argv[index][ in ToCmdList()
[all...]
/drivers/peripheral/codec/hal/idl_service/src/
H A Dcomponent_node.cpp198 int32_t ComponentNode::SetParameterWithBuffer(int32_t index, const std::vector<int8_t>& paramStruct, in SetParameterWithBuffer() argument
202 if (index != HDI::Codec::V3_0::Codec_IndexParamOverlayBuffer) { in SetParameterWithBuffer()
242 int32_t ComponentNode::GetConfig(OMX_INDEXTYPE index, int8_t *config) in GetConfig() argument
245 auto err = OMX_GetConfig(comp_, index, config); in GetConfig()
252 int32_t ComponentNode::SetConfig(OMX_INDEXTYPE index, const int8_t *config) in SetConfig() argument
255 auto err = OMX_SetConfig(comp_, index, const_cast<int8_t *>(config)); in SetConfig()
262 int32_t ComponentNode::GetExtensionIndex(const char *parameterName, uint32_t &index) in GetExtensionIndex() argument
271 index = indexType; in GetExtensionIndex()
326 int32_t ComponentNode::ComponentRoleEnum(std::vector<uint8_t> &role, uint32_t index) in ComponentRoleEnum() argument
329 CHECK_AND_RETURN_RET_LOG(index < ROLE_MAX_LE in ComponentRoleEnum()
[all...]
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Dpowernow-k8.c710 unsigned int index) in powernow_k8_acpi_pst_values()
717 control = data->acpi_data.states[index].control; in powernow_k8_acpi_pst_values()
806 u32 freq, index; in fill_powernow_table_fidvid() local
821 index = fid | (vid<<8); in fill_powernow_table_fidvid()
822 powernow_table[i].driver_data = index; in fill_powernow_table_fidvid()
881 unsigned int index, in transition_frequency_fidvid()
889 pr_debug("cpu %d transition to index %u\n", smp_processor_id(), index); in transition_frequency_fidvid()
892 /* fid are the lower 8 bits of the index we stored into in transition_frequency_fidvid()
896 fid = data->powernow_table[index] in transition_frequency_fidvid()
709 powernow_k8_acpi_pst_values(struct powernow_k8_data *data, unsigned int index) powernow_k8_acpi_pst_values() argument
880 transition_frequency_fidvid(struct powernow_k8_data *data, unsigned int index, struct cpufreq_policy *policy) transition_frequency_fidvid() argument
984 powernowk8_target(struct cpufreq_policy *pol, unsigned index) powernowk8_target() argument
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-rpc/
H A Decard.c145 * The card maintains an index which increments the address in ecard_task_readbytes()
149 static unsigned int index; in ecard_task_readbytes() local
159 * If we are reading offset 0, or our current index is in ecard_task_readbytes()
160 * greater than the offset, reset the hardware index counter. in ecard_task_readbytes()
162 if (off == 0 || index > off) { in ecard_task_readbytes()
164 index = 0; in ecard_task_readbytes()
168 * Increment the hardware index counter until we get to the in ecard_task_readbytes()
171 while (index < off) { in ecard_task_readbytes()
173 index += 1; in ecard_task_readbytes()
178 index in ecard_task_readbytes()
329 int index = 16; ecard_readchunk() local
[all...]
/kernel/linux/linux-5.10/arch/x86/events/
H A Dperf_event.h547 int idx; /* per_xxx->regs[] reg index */
651 int (*addr_offset)(int index, bool eventsel);
652 int (*rdpmc_index)(int index);
944 static inline unsigned int x86_pmu_config_addr(int index) in x86_pmu_config_addr() argument
947 x86_pmu.addr_offset(index, true) : index); in x86_pmu_config_addr()
950 static inline unsigned int x86_pmu_event_addr(int index) in x86_pmu_event_addr() argument
953 x86_pmu.addr_offset(index, false) : index); in x86_pmu_event_addr()
956 static inline int x86_pmu_rdpmc_index(int index) in x86_pmu_rdpmc_index() argument
[all...]
/kernel/linux/linux-5.10/drivers/dma/sh/
H A Dusb-dmac.c45 * @sg_index: index of sg
69 * @index: index of this channel in the controller
79 unsigned int index; member
194 unsigned int index) in usb_dmac_chan_start_sg()
197 struct usb_dmac_sg *sg = desc->sg + index; in usb_dmac_chan_start_sg()
209 chan->index, sg, sg->size, &src_addr, &dst_addr); in usb_dmac_chan_start_sg()
642 if (uchan->index != dma_spec->args[0]) in usb_dmac_chan_filter()
709 unsigned int index) in usb_dmac_chan_probe()
716 uchan->index in usb_dmac_chan_probe()
193 usb_dmac_chan_start_sg(struct usb_dmac_chan *chan, unsigned int index) usb_dmac_chan_start_sg() argument
707 usb_dmac_chan_probe(struct usb_dmac *dmac, struct usb_dmac_chan *uchan, unsigned int index) usb_dmac_chan_probe() argument
[all...]
/kernel/linux/linux-6.6/arch/arm/mach-rpc/
H A Decard.c145 * The card maintains an index which increments the address in ecard_task_readbytes()
149 static unsigned int index; in ecard_task_readbytes() local
159 * If we are reading offset 0, or our current index is in ecard_task_readbytes()
160 * greater than the offset, reset the hardware index counter. in ecard_task_readbytes()
162 if (off == 0 || index > off) { in ecard_task_readbytes()
164 index = 0; in ecard_task_readbytes()
168 * Increment the hardware index counter until we get to the in ecard_task_readbytes()
171 while (index < off) { in ecard_task_readbytes()
173 index += 1; in ecard_task_readbytes()
178 index in ecard_task_readbytes()
329 int index = 16; ecard_readchunk() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
H A Dgen8_ppgtt.c427 u16 index; in gen8_ppgtt_insert_huge() local
433 index = __gen8_pte_index(start, 1); in gen8_ppgtt_insert_huge()
442 index = __gen8_pte_index(start, 0); in gen8_ppgtt_insert_huge()
445 if (!index && in gen8_ppgtt_insert_huge()
449 rem >= (I915_PDES - index) * I915_GTT_PAGE_SIZE)) in gen8_ppgtt_insert_huge()
457 vaddr[index++] = encode | iter->dma; in gen8_ppgtt_insert_huge()
471 if (maybe_64K != -1 && index < I915_PDES && in gen8_ppgtt_insert_huge()
474 rem >= (I915_PDES - index) * I915_GTT_PAGE_SIZE))) in gen8_ppgtt_insert_huge()
480 } while (rem >= page_size && index < I915_PDES); in gen8_ppgtt_insert_huge()
492 (index in gen8_ppgtt_insert_huge()
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dlm78.c147 return sprintf(buf, "%d\n", IN_FROM_REG(data->in[attr->index])); in in_show()
155 return sprintf(buf, "%d\n", IN_FROM_REG(data->in_min[attr->index])); in in_min_show()
163 return sprintf(buf, "%d\n", IN_FROM_REG(data->in_max[attr->index])); in in_max_show()
171 int nr = attr->index; in in_min_store()
191 int nr = attr->index; in in_max_store()
298 int nr = attr->index; in fan_show()
308 int nr = attr->index; in fan_min_show()
318 int nr = attr->index; in fan_min_store()
338 return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[attr->index])); in fan_div_show()
352 int nr = attr->index; in fan_div_store()
[all...]
H A Dsis5595.c216 int nr = attr->index; in in_show()
225 int nr = attr->index; in in_min_show()
234 int nr = attr->index; in in_max_show()
243 int nr = attr->index; in in_min_store()
263 int nr = attr->index; in in_max_store()
364 int nr = attr->index; in fan_show()
374 int nr = attr->index; in fan_min_show()
384 int nr = attr->index; in fan_min_store()
404 int nr = attr->index; in fan_div_show()
419 int nr = attr->index; in fan_div_store()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/
H A Dbe.h141 static inline void index_adv(u32 *index, u32 val, u32 limit) in index_adv() argument
143 *index = MODULO((*index + val), limit); in index_adv()
146 static inline void index_inc(u32 *index, u32 limit) in index_inc() argument
148 *index = MODULO((*index + 1), limit); in index_inc()
161 static inline void *queue_index_node(struct be_queue_info *q, u16 index) in queue_index_node() argument
163 return q->dma_mem.va + index * q->entry_size; in queue_index_node()
171 static inline void index_dec(u32 *index, u32 limit) in index_dec() argument
173 *index in index_dec()
[all...]
/kernel/linux/linux-5.10/drivers/usb/dwc2/
H A Ddebugfs.c230 int index = ep->index; in ep_show() local
234 seq_printf(seq, "Endpoint index %d, named %s, dir %s:\n", in ep_show()
235 ep->index, ep->ep.name, decode_direction(ep->dir_in)); in ep_show()
240 dwc2_readl(hsotg, DIEPCTL(index)), in ep_show()
241 dwc2_readl(hsotg, DOEPCTL(index))); in ep_show()
244 dwc2_readl(hsotg, DIEPDMA(index)), in ep_show()
245 dwc2_readl(hsotg, DOEPDMA(index))); in ep_show()
248 dwc2_readl(hsotg, DIEPINT(index)), in ep_show()
249 dwc2_readl(hsotg, DOEPINT(index))); in ep_show()
[all...]
/kernel/linux/linux-5.10/net/sched/
H A Dact_tunnel_key.c186 NL_SET_ERR_MSG(extack, "Missing tunnel key erspan option index"); in tunnel_key_copy_erspan_opt()
206 md->u.index = nla_get_be32(nla); in tunnel_key_copy_erspan_opt()
376 u32 index; in tunnel_key_init() local
397 index = parm->index; in tunnel_key_init()
398 err = tcf_idr_check_alloc(tn, &index, a, bind); in tunnel_key_init()
498 ret = tcf_idr_create_from_flags(tn, index, est, a, in tunnel_key_init()
554 tcf_idr_cleanup(tn, index); in tunnel_key_init()
632 nla_put_be32(skb, TCA_TUNNEL_KEY_ENC_OPT_ERSPAN_INDEX, md->u.index)) in tunnel_key_erspan_opts_dump()
719 .index in tunnel_key_dump()
783 tunnel_key_search(struct net *net, struct tc_action **a, u32 index) tunnel_key_search() argument
[all...]
/kernel/linux/linux-5.10/sound/usb/caiaq/
H A Daudio.c188 int index = substream->number; in snd_usb_caiaq_pcm_prepare() local
209 cdev->period_out_count[index] = out_pos; in snd_usb_caiaq_pcm_prepare()
210 cdev->audio_out_buf_pos[index] = out_pos; in snd_usb_caiaq_pcm_prepare()
227 cdev->period_in_count[index] = in_pos; in snd_usb_caiaq_pcm_prepare()
228 cdev->audio_in_buf_pos[index] = in_pos; in snd_usb_caiaq_pcm_prepare()
297 int index = sub->number; in snd_usb_caiaq_pcm_pointer() local
310 cdev->audio_out_buf_pos[index]); in snd_usb_caiaq_pcm_pointer()
313 cdev->audio_in_buf_pos[index]); in snd_usb_caiaq_pcm_pointer()
669 clear_bit(oinfo->index, &cdev->outurb_active_mask); in read_completed()
694 clear_bit(info->index, in write_completed()
[all...]
/kernel/linux/linux-5.10/sound/usb/
H A Dmixer_scarlett.c539 int index, int offset, int num, in add_new_ctl()
557 elem->head.id = index; in add_new_ctl()
585 int index, const char *name, in add_output_ctls()
594 index + 1, name); in add_output_ctls()
597 2*index+1, USB_MIXER_S16, 2, mx, NULL, &elem); in add_output_ctls()
603 index + 1, name); in add_output_ctls()
606 2*index+1, USB_MIXER_S16, 2, mx, NULL, &elem); in add_output_ctls()
612 index + 1, name); in add_output_ctls()
615 2*index, USB_MIXER_S16, 1, mx, &info->opt_master, in add_output_ctls()
622 index in add_output_ctls()
536 add_new_ctl(struct usb_mixer_interface *mixer, const struct snd_kcontrol_new *ncontrol, usb_mixer_elem_resume_func_t resume, int index, int offset, int num, int val_type, int channels, const char *name, const struct scarlett_mixer_elem_enum_info *opt, struct usb_mixer_elem_info **elem_ret ) add_new_ctl() argument
584 add_output_ctls(struct usb_mixer_interface *mixer, int index, const char *name, const struct scarlett_device_info *info) add_output_ctls() argument
[all...]
/kernel/linux/linux-5.10/drivers/ptp/
H A Dptp_ines.c156 unsigned int index; member
216 port->index = i; in ines_clock_init()
241 static struct ines_port *ines_find_port(struct device_node *node, u32 index) in ines_find_port() argument
251 port = &clock->port[index]; in ines_find_port()
298 mask = TX_FIFO_NE_1 << port->index; in ines_find_txts()
511 mask = RX_FIFO_NE_1 << port->index; in ines_rxfifo_read()
711 unsigned int index) in ines_ptp_probe_channel()
716 if (index > INES_N_PORTS - 1) { in ines_ptp_probe_channel()
717 dev_err(device, "bad port index %u\n", index); in ines_ptp_probe_channel()
710 ines_ptp_probe_channel(struct device *device, unsigned int index) ines_ptp_probe_channel() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/xen-netback/
H A Dinterface.c212 u16 index; in xenvif_start_xmit() local
226 index = skb_get_queue_mapping(skb); in xenvif_start_xmit()
227 if (index >= num_queues) { in xenvif_start_xmit()
229 index, vif->dev->name); in xenvif_start_xmit()
230 index %= num_queues; in xenvif_start_xmit()
232 queue = &vif->queues[index]; in xenvif_start_xmit()
279 unsigned int index; in xenvif_get_stats() local
285 for (index = 0; index < num_queues; ++index) { in xenvif_get_stats()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/engleder/
H A Dtsnep_selftests.c234 int index; in check_gate() local
236 index = get_operation(curr, system_time, &next_time); in check_gate()
237 gate_open = curr->operation[index].properties & TSNEP_GCL_MASK; in check_gate()
238 if (index == curr->count - 1) in check_gate()
239 index = 0; in check_gate()
241 index++; in check_gate()
243 curr->operation[index].properties & TSNEP_GCL_MASK; in check_gate()
246 int index; in check_gate() local
250 index = get_operation(prev, system_time, &next_time); in check_gate()
263 index in check_gate()
[all...]
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Dma35d1_serial.c560 if ((co->index < 0) || (co->index >= MA35_UART_NR)) { in ma35d1serial_console_write()
562 co->index); in ma35d1serial_console_write()
566 up = &ma35d1serial_ports[co->index]; in ma35d1serial_console_write()
601 if ((co->index < 0) || (co->index >= MA35_UART_NR)) { in ma35d1serial_console_setup()
602 pr_debug("Console Port%x out of range\n", co->index); in ma35d1serial_console_setup()
606 np = ma35d1serial_uart_nodes[co->index]; in ma35d1serial_console_setup()
607 p = &ma35d1serial_ports[co->index]; in ma35d1serial_console_setup()
623 port = &ma35d1serial_ports[co->index] in ma35d1serial_console_setup()
[all...]
/kernel/linux/linux-6.6/drivers/usb/dwc2/
H A Ddebugfs.c230 int index = ep->index; in ep_show() local
234 seq_printf(seq, "Endpoint index %d, named %s, dir %s:\n", in ep_show()
235 ep->index, ep->ep.name, decode_direction(ep->dir_in)); in ep_show()
240 dwc2_readl(hsotg, DIEPCTL(index)), in ep_show()
241 dwc2_readl(hsotg, DOEPCTL(index))); in ep_show()
244 dwc2_readl(hsotg, DIEPDMA(index)), in ep_show()
245 dwc2_readl(hsotg, DOEPDMA(index))); in ep_show()
248 dwc2_readl(hsotg, DIEPINT(index)), in ep_show()
249 dwc2_readl(hsotg, DOEPINT(index))); in ep_show()
[all...]
/kernel/linux/linux-6.6/drivers/ptp/
H A Dptp_ines.c151 unsigned int index; member
211 port->index = i; in ines_clock_init()
236 static struct ines_port *ines_find_port(struct device_node *node, u32 index) in ines_find_port() argument
246 port = &clock->port[index]; in ines_find_port()
293 mask = TX_FIFO_NE_1 << port->index; in ines_find_txts()
502 mask = RX_FIFO_NE_1 << port->index; in ines_rxfifo_read()
702 unsigned int index) in ines_ptp_probe_channel()
707 if (index > INES_N_PORTS - 1) { in ines_ptp_probe_channel()
708 dev_err(device, "bad port index %u\n", index); in ines_ptp_probe_channel()
701 ines_ptp_probe_channel(struct device *device, unsigned int index) ines_ptp_probe_channel() argument
[all...]
/kernel/linux/linux-6.6/drivers/cpufreq/
H A Dpowernow-k8.c710 unsigned int index) in powernow_k8_acpi_pst_values()
717 control = data->acpi_data.states[index].control; in powernow_k8_acpi_pst_values()
806 u32 freq, index; in fill_powernow_table_fidvid() local
821 index = fid | (vid<<8); in fill_powernow_table_fidvid()
822 powernow_table[i].driver_data = index; in fill_powernow_table_fidvid()
881 unsigned int index, in transition_frequency_fidvid()
889 pr_debug("cpu %d transition to index %u\n", smp_processor_id(), index); in transition_frequency_fidvid()
892 /* fid are the lower 8 bits of the index we stored into in transition_frequency_fidvid()
896 fid = data->powernow_table[index] in transition_frequency_fidvid()
709 powernow_k8_acpi_pst_values(struct powernow_k8_data *data, unsigned int index) powernow_k8_acpi_pst_values() argument
880 transition_frequency_fidvid(struct powernow_k8_data *data, unsigned int index, struct cpufreq_policy *policy) transition_frequency_fidvid() argument
984 powernowk8_target(struct cpufreq_policy *pol, unsigned index) powernowk8_target() argument
[all...]

Completed in 42 milliseconds

1...<<281282283284285286287288289290>>...881