/third_party/skia/src/utils/ |
H A D | SkParse.cpp | 267 int index = 0; in FindList() local 280 return index; in FindList() 285 index += 1; in FindList()
|
/third_party/skia/tests/ |
H A D | RandomTest.cpp | 126 int index = value & (kNumEntries-1); in test_single_gorilla() local 127 SkASSERT(index < kNumEntries); in test_single_gorilla() 129 entries[index] |= (0x1 << entry_shift); in test_single_gorilla()
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
H A D | namer.cc | 180 // an out-of-bounds member index, so toss those away. in ResolveMemberNamesForStruct() 220 uint32_t index = 0; in ResolveMemberNamesForStruct() local 224 suggestion << "field" << index; in ResolveMemberNamesForStruct() local 229 index++; in ResolveMemberNamesForStruct()
|
/third_party/skia/third_party/externals/angle2/include/GLSLANG/ |
H A D | ShaderVars.h | 227 int index; member 306 int &operator[](size_t index); 307 int operator[](size_t index) const;
|
/third_party/skia/experimental/xps_to_png/ |
H A D | xps_to_png.cs | 37 int index = 0; in convert() 60 string filename = string.Format("{0}_{1}.png", out_path, index); in convert() 66 ++index; in convert()
|
/third_party/skia/modules/pathkit/tests/ |
H A D | pathops.spec.js | 59 return `Command index ${idx} differs in num arguments. Expected had ${eCmd.length}, Actual had ${aCmd.length}`; 63 return `Command index ${idx} differs. Expected had ${eVerb}, Actual had ${aVerb}`; 67 return `Command index ${idx} has different argument for verb ${eVerb} at position ${arg}. Expected had ${eCmd[arg]}, Actual had ${aCmd[arg]}`
|
/third_party/skia/bench/ |
H A D | FontCacheBench.cpp | 87 int index = proc(array[i]) & hashMask; in count_collisions() local 88 collisions += table[index]; in count_collisions() 89 table[index] = 1; in count_collisions()
|
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_apply_id_synonyms.cpp | 74 // |use_index| is the absolute index of the operand. We require in Apply() 75 // the index of the operand restricted to input operands only. in Apply() 166 fuzzerutil::RepeatedFieldToVector(synonym_to_try->index()))); in Apply() 196 GetIRContext(), base_object_type_id_1, dd1.index()); in DataDescriptorsHaveCompatibleTypes() 198 GetIRContext(), base_object_type_id_2, dd2.index()); in DataDescriptorsHaveCompatibleTypes()
|
/third_party/vk-gl-cts/external/vulkancts/vkscserver/ |
H A D | pcreader.hpp | 56 // getPipelineIndexEntry(index) - return the pipeline index entry for a specified index in the header 58 // getPipelineIndexEntry(UUID) - return the pipeline index entry for a specified pipeline identifier 60 // getJson - get a pointer to the json for a specfied pipeline index entry 62 // getStageIndexEntry - return the stage index entry for a specified pipeline index entry and stage 64 // getSPIRV - get a pointer to the SPIRV code for a specified stage index entry 141 // return the number of pipelines in the index 156 // return the stride between pipeline index entrie [all...] |
/base/telephony/call_manager/services/call/src/ |
H A D | call_status_manager.cpp | 197 if (it.index == it1.index) { in HandleCallsReportInfo() 218 if (it2.index == it3.index) { in HandleCallsReportInfo() 379 sptr<CallBase> call = GetOneCallObjectByIndexAndSlotId(info.index, info.accountId); in IncomingHandle() 616 sptr<CallBase> call = GetOneCallObjectByIndexAndSlotId(info.index, info.accountId); in UpdateDialingCallInfo() 629 call->SetCallIndex(info.index); in UpdateDialingCallInfo() 651 if (info.index > 0) { in DialingHandle() 654 call = GetOneCallObjectByIndexAndSlotId(info.index, info.accountId); in DialingHandle() 671 if (info.index in DialingHandle() [all...] |
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/ |
H A D | mpp_common.c | 286 mpp_dbg_session("session %p:%d task %d release\n", session, session->index, task_count);
in mpp_session_deinit() 297 mpp_dbg_session("session %p:%d deinit\n", session, session->index);
in mpp_session_deinit() 305 mpp_dbg_session("session %p:%d attach\n", session, session->index);
in mpp_session_attach_workqueue() 320 mpp_dbg_session("session %p:%d detach\n", session, session->index);
in mpp_session_detach_workqueue() 376 mpp_debug_func(DEBUG_TASK_INFO, "task %d:%d state 0x%lx abort %d\n", session->index, task->task_index, task->state,
in mpp_free_task() 381 mpp_err("task %d:%d mpp is null.\n", session->index, task->task_index);
in mpp_free_task() 490 int index;
in mpp_reset_control_get() local 496 index = of_property_match_string(mpp->dev->of_node, "reset-names", name);
in mpp_reset_control_get() 497 if (index >= 0) {
in mpp_reset_control_get() 506 index in mpp_reset_control_get() 1513 mpp_query_reg_offset_info(struct reg_offset_info *off_inf, u32 index) mpp_query_reg_offset_info() argument 1974 int index = of_property_match_string(mpp->dev->of_node, "clock-names", name); mpp_get_clk_info() local [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/irqchip/ |
H A D | irq-gic-v3.c | 305 static u32 convert_offset_index(struct irq_data *d, u32 offset, u32 *index)
in convert_offset_index() argument 311 *index = d->hwirq;
in convert_offset_index() 319 *index = d->hwirq - EPPI_BASE_INTID + IRQ_HW_IRQ_VALUE;
in convert_offset_index() 322 *index = d->hwirq - ESPI_BASE_INTID;
in convert_offset_index() 351 *index = d->hwirq;
in convert_offset_index() 358 u32 index, mask;
in gic_peek_irq() local 360 offset = convert_offset_index(d, offset, &index);
in gic_peek_irq() 361 mask = 1 << (index % IRQ_HW_IRQ_VALUE);
in gic_peek_irq() 369 return !!(readl_relaxed(base + offset + (index / IRQ_HW_IRQ_VALUE) * IRQ_HW_IRQ_VALUE_MUL) & mask);
in gic_peek_irq() 376 u32 index, mas in gic_poke_irq() local 482 u32 offset, index; gic_irq_set_prio() local 597 u32 offset, index; gic_set_type() local 1237 u32 offset, index; gic_set_affinity() local [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/ |
H A D | mpp_common.c | 307 session, session->index, task_count); in mpp_session_deinit() 316 mpp_dbg_session("session %p:%d deinit\n", session, session->index); in mpp_session_deinit() 325 mpp_dbg_session("session %p:%d attach\n", session, session->index); in mpp_session_attach_workqueue() 339 mpp_dbg_session("session %p:%d detach\n", session, session->index); in mpp_session_detach_workqueue() 403 session->index, task->task_index, task->state, in mpp_free_task() 409 session->index, task->task_index); in mpp_free_task() 520 int index; in mpp_reset_control_get() local 526 index = of_property_match_string(mpp->dev->of_node, "reset-names", name); in mpp_reset_control_get() 527 if (index >= 0) { in mpp_reset_control_get() 537 index in mpp_reset_control_get() 1553 mpp_query_reg_offset_info(struct reg_offset_info *off_inf, u32 index) mpp_query_reg_offset_info() argument 2024 int index = of_property_match_string(mpp->dev->of_node, mpp_get_clk_info() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/ |
H A D | gauge_modifier.cpp | 255 for (int32_t index = static_cast<int32_t>(colors.size()) - 1; index >= 0; --index) { in PaintDraw() 256 data.color = colors[index]; in PaintDraw() 258 currentStart += weights[index]; in PaintDraw() 259 if (ShouldHighLight(totalWeight - currentStart, weights[index], ratio * totalWeight)) { in PaintDraw() 260 highLightIndex = static_cast<size_t>(index); in PaintDraw() 264 data.sweepDegree = (weights[index] / totalWeight) * sweepDegree; in PaintDraw() 599 for (size_t index = 0; index < color in PaintMultiSegmentGradientCircular() 643 DrawSingleSegmentGradient(RSCanvas& canvas, RenderRingInfo& data, RefPtr<GaugePaintProperty>& paintProperty, SingleSegmentGradientInfo& info, size_t index) DrawSingleSegmentGradient() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | title_bar_layout_algorithm.cpp | 79 auto index = titleBarNode->GetChildIndexById(backButtonNode->GetId()); in MeasureBackButton() local 80 auto backButtonWrapper = layoutWrapper->GetOrCreateChildByIndex(index); in MeasureBackButton() 283 auto index = titleBarNode->GetChildIndexById(subtitleNode->GetId()); in MeasureSubtitle() local 284 auto subtitleWrapper = layoutWrapper->GetOrCreateChildByIndex(index); in MeasureSubtitle() 302 auto index = titleBarNode->GetChildIndexById(titleNode->GetId()); in MeasureTitle() local 303 auto titleWrapper = layoutWrapper->GetOrCreateChildByIndex(index); in MeasureTitle() 354 auto index = titleBarNode->GetChildIndexById(subTitle->GetId()); in MeasureTitle() local 355 auto subtitleWrapper = layoutWrapper->GetOrCreateChildByIndex(index); in MeasureTitle() 412 auto index = titleBarNode->GetChildIndexById(menuNode->GetId()); in MeasureMenu() local 413 auto menuWrapper = layoutWrapper->GetOrCreateChildByIndex(index); in MeasureMenu() 484 auto index = titleBarNode->GetChildIndexById(backButtonNode->GetId()); LayoutBackButton() local 565 auto index = titleBarNode->GetChildIndexById(titleNode->GetId()); LayoutTitle() local 778 auto index = titleBarNode->GetChildIndexById(subtitleNode->GetId()); LayoutSubtitle() local 894 auto index = titleBarNode->GetChildIndexById(menuNode->GetId()); LayoutMenu() local 1062 auto index = titleBarNode->GetChildIndexById(subtitleNode->GetId()); Layout() local 1073 auto index = titleBarNode->GetChildIndexById(titleNode->GetId()); Layout() local [all...] |
/kernel/linux/linux-5.10/drivers/irqchip/ |
H A D | irq-gic-v3.c | 288 static u32 convert_offset_index(struct irq_data *d, u32 offset, u32 *index) in convert_offset_index() argument 294 *index = d->hwirq; in convert_offset_index() 302 *index = d->hwirq - EPPI_BASE_INTID + 32; in convert_offset_index() 305 *index = d->hwirq - ESPI_BASE_INTID; in convert_offset_index() 334 *index = d->hwirq; in convert_offset_index() 341 u32 index, mask; in gic_peek_irq() local 343 offset = convert_offset_index(d, offset, &index); in gic_peek_irq() 344 mask = 1 << (index % 32); in gic_peek_irq() 351 return !!(readl_relaxed(base + offset + (index / 32) * 4) & mask); in gic_peek_irq() 358 u32 index, mas in gic_poke_irq() local 464 u32 offset, index; gic_irq_set_prio() local 575 u32 offset, index; gic_set_type() local 1250 u32 offset, index; gic_set_affinity() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
H A D | device.c | 330 unsigned long index; in qp_open() local 344 xa_for_each(&qpd->devp->qps, index, qp) in qp_open() 355 xa_for_each(&qpd->devp->qps, index, qp) in qp_open() 356 dump_qp(index, qp, qpd); in qp_open() 423 unsigned long index; in stag_open() local 435 xa_for_each(&stagd->devp->mrs, index, p) in stag_open() 446 xa_for_each(&stagd->devp->mrs, index, p) in stag_open() 447 dump_stag(index, stagd); in stag_open() 673 unsigned long index; in ep_open() local 686 xa_for_each(&epd->devp->hwtids, index, e in ep_open() 1271 unsigned long index, flags; stop_queues() local 1319 unsigned long index; resume_queues() local 1418 unsigned long index; recover_queues() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | phy.c | 642 int index; in _rtl92s_store_pwrindex_diffrate_offset() local 645 index = 0; in _rtl92s_store_pwrindex_diffrate_offset() 647 index = 1; in _rtl92s_store_pwrindex_diffrate_offset() 649 index = 6; in _rtl92s_store_pwrindex_diffrate_offset() 651 index = 2; in _rtl92s_store_pwrindex_diffrate_offset() 653 index = 3; in _rtl92s_store_pwrindex_diffrate_offset() 655 index = 4; in _rtl92s_store_pwrindex_diffrate_offset() 657 index = 5; in _rtl92s_store_pwrindex_diffrate_offset() 661 rtlphy->mcs_offset[rtlphy->pwrgroup_cnt][index] = data; in _rtl92s_store_pwrindex_diffrate_offset() 662 if (index in _rtl92s_store_pwrindex_diffrate_offset() 1014 u8 pathmap, index, rf_num = 0; rtl92s_phy_bb_config() local 1101 u8 index = (channel - 1); _rtl92s_phy_get_txpower_index() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/core/ |
H A D | message.c | 116 * @index: USB message index value 137 __u8 requesttype, __u16 value, __u16 index, void *data, in usb_control_msg() 150 dr->wIndex = cpu_to_le16(index); in usb_control_msg() 172 * @index: USB message index value 199 __u8 requesttype, __u16 value, __u16 index, in usb_control_msg_send() 216 ret = usb_control_msg(dev, pipe, request, requesttype, value, index, in usb_control_msg_send() 235 * @index: USB message index valu 136 usb_control_msg(struct usb_device *dev, unsigned int pipe, __u8 request, __u8 requesttype, __u16 value, __u16 index, void *data, __u16 size, int timeout) usb_control_msg() argument 198 usb_control_msg_send(struct usb_device *dev, __u8 endpoint, __u8 request, __u8 requesttype, __u16 value, __u16 index, const void *driver_data, __u16 size, int timeout, gfp_t memflags) usb_control_msg_send() argument 267 usb_control_msg_recv(struct usb_device *dev, __u8 endpoint, __u8 request, __u8 requesttype, __u16 value, __u16 index, void *driver_data, __u16 size, int timeout, gfp_t memflags) usb_control_msg_recv() argument 782 usb_get_descriptor(struct usb_device *dev, unsigned char type, unsigned char index, void *buf, int size) usb_get_descriptor() argument 833 usb_get_string(struct usb_device *dev, unsigned short langid, unsigned char index, void *buf, int size) usb_get_string() argument 873 usb_string_sub(struct usb_device *dev, unsigned int langid, unsigned int index, unsigned char *buf) usb_string_sub() argument 967 usb_string(struct usb_device *dev, int index, char *buf, size_t size) usb_string() argument 1018 usb_cache_string(struct usb_device *udev, int index) usb_cache_string() argument [all...] |
/kernel/linux/linux-5.10/security/tomoyo/ |
H A D | common.c | 746 u8 index; in tomoyo_read_profile() local 754 index = head->r.index; in tomoyo_read_profile() 755 profile = ns->profile_ptr[index]; in tomoyo_read_profile() 764 for ( ; head->r.index < TOMOYO_MAX_PROFILES; in tomoyo_read_profile() 765 head->r.index++) in tomoyo_read_profile() 766 if (ns->profile_ptr[head->r.index]) in tomoyo_read_profile() 768 if (head->r.index == TOMOYO_MAX_PROFILES) { in tomoyo_read_profile() 781 tomoyo_io_printf(head, "%u-COMMENT=", index); in tomoyo_read_profile() 785 tomoyo_io_printf(head, "%u-PREFERENCE={ ", index); in tomoyo_read_profile() 2337 tomoyo_update_stat(const u8 index) tomoyo_update_stat() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | rv6xx_dpm.c | 297 u32 clock, u32 index) in rv6xx_generate_single_step() 302 rv6xx_output_stepping(rdev, index, &step); in rv6xx_generate_single_step() 315 u32 index, u32 clk_s) in rv6xx_set_engine_spread_spectrum_clk_s() 317 WREG32_P(CG_SPLL_SPREAD_SPECTRUM_LOW + (index * 4), in rv6xx_set_engine_spread_spectrum_clk_s() 322 u32 index, u32 clk_v) in rv6xx_set_engine_spread_spectrum_clk_v() 324 WREG32_P(CG_SPLL_SPREAD_SPECTRUM_LOW + (index * 4), in rv6xx_set_engine_spread_spectrum_clk_v() 329 u32 index, bool enable) in rv6xx_enable_engine_spread_spectrum() 332 WREG32_P(CG_SPLL_SPREAD_SPECTRUM_LOW + (index * 4), in rv6xx_enable_engine_spread_spectrum() 335 WREG32_P(CG_SPLL_SPREAD_SPECTRUM_LOW + (index * 4), in rv6xx_enable_engine_spread_spectrum() 370 u32 index, boo in rv6xx_memory_clock_entry_enable_post_divider() 296 rv6xx_generate_single_step(struct radeon_device *rdev, u32 clock, u32 index) rv6xx_generate_single_step() argument 314 rv6xx_set_engine_spread_spectrum_clk_s(struct radeon_device *rdev, u32 index, u32 clk_s) rv6xx_set_engine_spread_spectrum_clk_s() argument 321 rv6xx_set_engine_spread_spectrum_clk_v(struct radeon_device *rdev, u32 index, u32 clk_v) rv6xx_set_engine_spread_spectrum_clk_v() argument 328 rv6xx_enable_engine_spread_spectrum(struct radeon_device *rdev, u32 index, bool enable) rv6xx_enable_engine_spread_spectrum() argument 369 rv6xx_memory_clock_entry_enable_post_divider(struct radeon_device *rdev, u32 index, bool enable) rv6xx_memory_clock_entry_enable_post_divider() argument 379 rv6xx_memory_clock_entry_set_post_divider(struct radeon_device *rdev, u32 index, u32 divider) rv6xx_memory_clock_entry_set_post_divider() argument 386 rv6xx_memory_clock_entry_set_feedback_divider(struct radeon_device *rdev, u32 index, u32 divider) rv6xx_memory_clock_entry_set_feedback_divider() argument 393 rv6xx_memory_clock_entry_set_reference_divider(struct radeon_device *rdev, u32 index, u32 divider) rv6xx_memory_clock_entry_set_reference_divider() argument 1816 rv6xx_parse_pplib_clock_info(struct radeon_device *rdev, struct radeon_ps *rps, int index, union pplib_clock_info *clock_info) rv6xx_parse_pplib_clock_info() argument 1880 int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); rv6xx_parse_power_table() local [all...] |
/kernel/linux/linux-6.6/drivers/net/dsa/ocelot/ |
H A D | felix.c | 61 return cpu_dp->index; in felix_cpu_port_for_master() 241 err = felix_tag_8021q_vlan_add_rx(ds, port, cpu_dp->index, vid); in felix_tag_8021q_vlan_add() 254 felix_tag_8021q_vlan_del_rx(ds, port, cpu_dp->index, vid); in felix_tag_8021q_vlan_add() 268 err = felix_tag_8021q_vlan_del_rx(ds, port, cpu_dp->index, vid); in felix_tag_8021q_vlan_del() 281 felix_tag_8021q_vlan_add_rx(ds, port, cpu_dp->index, vid); in felix_tag_8021q_vlan_del() 298 return dp->cpu_dp->index; in felix_trap_get_cpu_port() 425 felix_npi_port_init(ocelot, first_cpu_dp->index); in felix_tag_npi_setup() 503 ocelot_port_setup_dsa_8021q_cpu(ocelot, dp->index); in felix_tag_8021q_setup() 506 ocelot_port_assign_dsa_8021q_cpu(ocelot, dp->index, in felix_tag_8021q_setup() 507 dp->cpu_dp->index); in felix_tag_8021q_setup() [all...] |
/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | message.c | 117 * @index: USB message index value 138 __u8 requesttype, __u16 value, __u16 index, void *data, in usb_control_msg() 151 dr->wIndex = cpu_to_le16(index); in usb_control_msg() 173 * @index: USB message index value 200 __u8 requesttype, __u16 value, __u16 index, in usb_control_msg_send() 214 ret = usb_control_msg(dev, pipe, request, requesttype, value, index, in usb_control_msg_send() 232 * @index: USB message index valu 137 usb_control_msg(struct usb_device *dev, unsigned int pipe, __u8 request, __u8 requesttype, __u16 value, __u16 index, void *data, __u16 size, int timeout) usb_control_msg() argument 199 usb_control_msg_send(struct usb_device *dev, __u8 endpoint, __u8 request, __u8 requesttype, __u16 value, __u16 index, const void *driver_data, __u16 size, int timeout, gfp_t memflags) usb_control_msg_send() argument 264 usb_control_msg_recv(struct usb_device *dev, __u8 endpoint, __u8 request, __u8 requesttype, __u16 value, __u16 index, void *driver_data, __u16 size, int timeout, gfp_t memflags) usb_control_msg_recv() argument 781 usb_get_descriptor(struct usb_device *dev, unsigned char type, unsigned char index, void *buf, int size) usb_get_descriptor() argument 833 usb_get_string(struct usb_device *dev, unsigned short langid, unsigned char index, void *buf, int size) usb_get_string() argument 873 usb_string_sub(struct usb_device *dev, unsigned int langid, unsigned int index, unsigned char *buf) usb_string_sub() argument 968 usb_string(struct usb_device *dev, int index, char *buf, size_t size) usb_string() argument 1019 usb_cache_string(struct usb_device *udev, int index) usb_cache_string() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ipa/ |
H A D | gsi.c | 363 /* Return the virtual address associated with a ring index */ 364 void *gsi_ring_virt(struct gsi_ring *ring, u32 index) in gsi_ring_virt() argument 366 /* Note: index *must* be used modulo the ring count here */ in gsi_ring_virt() 367 return ring->virt + (index % ring->count) * GSI_RING_ELEMENT_SIZE; in gsi_ring_virt() 370 /* Return the 32-bit DMA address associated with a ring index */ 371 static u32 gsi_ring_addr(struct gsi_ring *ring, u32 index) in gsi_ring_addr() argument 373 return lower_32_bits(ring->addr) + index * GSI_RING_ELEMENT_SIZE; in gsi_ring_addr() 376 /* Return the ring index of a 32-bit ring offset */ 700 * The index argument (modulo the ring count) is the first unfilled entry, so 702 * index fiel 704 gsi_evt_ring_doorbell(struct gsi *gsi, u32 evt_ring_id, u32 index) gsi_evt_ring_doorbell() argument 1486 gsi_evt_ring_update(struct gsi *gsi, u32 evt_ring_id, u32 index) gsi_evt_ring_update() argument 1612 u32 index; gsi_channel_update() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | phy.c | 639 int index; in _rtl92s_store_pwrindex_diffrate_offset() local 642 index = 0; in _rtl92s_store_pwrindex_diffrate_offset() 644 index = 1; in _rtl92s_store_pwrindex_diffrate_offset() 646 index = 6; in _rtl92s_store_pwrindex_diffrate_offset() 648 index = 2; in _rtl92s_store_pwrindex_diffrate_offset() 650 index = 3; in _rtl92s_store_pwrindex_diffrate_offset() 652 index = 4; in _rtl92s_store_pwrindex_diffrate_offset() 654 index = 5; in _rtl92s_store_pwrindex_diffrate_offset() 658 rtlphy->mcs_offset[rtlphy->pwrgroup_cnt][index] = data; in _rtl92s_store_pwrindex_diffrate_offset() 659 if (index in _rtl92s_store_pwrindex_diffrate_offset() 1011 u8 pathmap, index, rf_num = 0; rtl92s_phy_bb_config() local 1098 u8 index = (channel - 1); _rtl92s_phy_get_txpower_index() local [all...] |