/third_party/skia/src/pathops/ |
H A D | SkPathWriter.cpp | 213 for (int index = 0; index < endCount; index += 2) { in assemble() 214 const SkOpPtT* eStart = runs[index]; in assemble() 215 const SkOpPtT* eEnd = runs[index + 1]; in assemble()
|
/third_party/python/Lib/test/ |
H A D | test_decorators.py | 258 def __init__(self, index): 259 self.index = index 265 opname, res = ('evalargs', str(self.index)) 268 actions.append('%s%d' % (opname, self.index))
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl_singular_expression_test.cc | 37 ASSERT_TRUE(idx->index->Is<ast::SintLiteralExpression>()); in TEST_F() 38 EXPECT_EQ(idx->index->As<ast::SintLiteralExpression>()->value, 1); in TEST_F() 56 ASSERT_TRUE(idx->index->Is<ast::BinaryExpression>()); in TEST_F() 76 EXPECT_EQ(p->error(), "1:4: expected ']' for index accessor"); in TEST_F() 222 outer_accessor->index->As<ast::IndexAccessorExpression>(); in TEST_F() 231 inner_accessor->index->As<ast::IdentifierExpression>(); in TEST_F()
|
/third_party/skia/tools/ |
H A D | DDLPromiseImageHelper.cpp | 23 DDLPromiseImageHelper::PromiseImageInfo::PromiseImageInfo(int index, in PromiseImageInfo() argument 26 : fIndex(index) in PromiseImageInfo() 323 SkASSERT(curImage.index() == *indexPtr); in CreatePromiseImages() 378 SkASSERT(fImageInfo[i].index() == i); in findImage() 379 SkASSERT(this->isValidID(i) && this->isValidID(fImageInfo[i].index())); in findImage()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | unspecializedConstraints.js | 4 [index: string]: T; 37 getProperty(index: number): Property { 46 getSignature(index: number): Signature { 212 Type.prototype.getProperty = function (index) {
221 Type.prototype.getSignature = function (index) {
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_date_time.cpp | 419 for (uint32 index = 0; index < len; index++) in Encode_ISO_8601() 422 if (fSubseconds.Get () [index] < '0' || in Encode_ISO_8601() 423 fSubseconds.Get () [index] > '9') in Encode_ISO_8601()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/ |
H A D | CommandBufferEncodingTests.cpp | 156 auto ExpectSetBindGroup = [](uint32_t index, wgpu::BindGroup bg, in TEST_F() 158 return [index, bg, offsets](CommandIterator* commands) { in TEST_F() 165 ASSERT_EQ(cmd->index, BindGroupIndex(index)); in TEST_F() 202 ASSERT_EQ(cmd->index, BindGroupIndex(0)); in TEST_F()
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_autocomplete.py | 119 Equal(acp._delayed_completion_index, text.index('insert')) 131 Equal(acp._delayed_completion_index, text.index('insert')) 145 # Text index changed, don't call open_completions. 147 acp._delayed_completion_index = self.text.index('insert+1c') 152 # Text index unchanged, call open_completions. 153 acp._delayed_completion_index = self.text.index('insert') 251 pos = b.index('False') # Test False not included twice.
|
/third_party/protobuf/src/google/protobuf/ |
H A D | text_format.h | 93 // the message supplied. For non-repeated fields, an index of -1 must 97 const FieldDescriptor* field, int index, 260 const FieldDescriptor* field, int index, 399 const FieldDescriptor* field, int index, 490 // Returns the parse location for index-th value of the field in the parsed 493 ParseLocation GetLocation(const FieldDescriptor* field, int index) const; 499 int index) const; 511 // Defines the map from the index-th field descriptor to its parse location. 515 // Defines the map from the index-th field descriptor to the nested parse
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | str_split_internal.h | 348 size_t index = 0; in operator ()() local 350 ar[index].data = it->data(); in operator ()() 351 ar[index].size = it->size(); in operator ()() 353 } while (++index != ar.size() && !it.at_end()); in operator ()() 354 v.insert(v.end(), ar.begin(), ar.begin() + index); in operator ()()
|
/third_party/spirv-tools/source/opt/ |
H A D | vector_dce.cpp | 188 uint32_t index = current_item.instruction->GetSingleWordInOperand(in_op); in MarkVectorShuffleUsesAsLive() local 190 if (index < size_of_first_operand) { in MarkVectorShuffleUsesAsLive() 191 first_operand.components.Set(index); in MarkVectorShuffleUsesAsLive() 192 } else if (index - size_of_first_operand < size_of_second_operand) { in MarkVectorShuffleUsesAsLive() 193 second_operand.components.Set(index - size_of_first_operand); in MarkVectorShuffleUsesAsLive()
|
/third_party/vk-gl-cts/scripts/khr_util/ |
H A D | registry.py | 86 self.index = {} 111 return key in self.index 114 if key in self.index: 118 self.index[key] = item 127 return self.index[key]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Framebuffer.h | 291 angle::Result getSamplePosition(const Context *context, size_t index, GLfloat *xy) const; 418 void onSubjectStateChange(angle::SubjectIndex index, angle::SubjectMessage message) override; 494 FramebufferAttachment *getAttachmentFromSubjectIndex(angle::SubjectIndex index); 496 ANGLE_INLINE void updateFloat32ColorAttachmentBits(size_t index, const InternalFormat *format) in updateFloat32ColorAttachmentBits() argument 498 mFloat32ColorAttachmentBits.set(index, format->type == GL_FLOAT); in updateFloat32ColorAttachmentBits()
|
H A D | VertexArray.h | 86 void updateCachedMutableOrNonPersistentArrayBuffers(size_t index); 209 void setVertexAttribDivisor(const Context *context, size_t index, GLuint divisor); 280 void onSubjectStateChange(angle::SubjectIndex index, angle::SubjectMessage message) override; 323 DirtyBitType getDirtyBitFromIndex(bool contentsChanged, angle::SubjectIndex index) const; 324 void setDependentDirtyBit(bool contentsChanged, angle::SubjectIndex index);
|
/third_party/ffmpeg/fftools/ |
H A D | ffmpeg.c | 745 "packet for stream #%d:%d.\n", ost->file_index, ost->index); in output_packet() 823 ost->file_index, ost->index, error); in init_output_stream_wrapper() 872 fprintf(vstats_file, "out= %2d st= %2d frame= %5"PRId64" q= %2.1f ", ost->file_index, ost->index, frame_number, in update_video_stats() 924 ost->file_index, ost->index); in encode_frame() 1192 ost->frame_number, ost->st->index, ost->last_frame->pts); in do_video_out() 1561 ost->file_index, ost->index, q); in print_report() 1573 ost->file_index, ost->index, q); in print_report() 1607 ost->file_index, ost->index, type[j] | 32, p); in print_report() 1612 ost->file_index, ost->index, p); in print_report() 1754 ost->file_index, ost->st->index); in flush_encoders() 2871 int n = 1, i, size, index = 0; parse_forced_key_frames() local [all...] |
/base/sensors/sensor/vibration_convert/core/native/src/ |
H A D | vibration_convert_core.cpp | 518 size_t index = j + 1; in EmplaceOnsetTime() local 520 unionTransientEvents.emplace(unionTransientEvents.begin() + index, unionSeData); in EmplaceOnsetTime() 896 // get max index. in OutputTransientEventsByInsertTime() 929 // get max index. in GetIdex() 944 // get min index. in GetIdex() 970 int32_t index = unionTransientEvents[i].onsetIdx; in OutputTransientEventsAlign() local 971 transientEventTimes.push_back(intensityDatas[index].rmseTimeNorm); in OutputTransientEventsAlign() 972 transientIndexs.push_back(index); in OutputTransientEventsAlign() 973 AddTransientEventData(TransientEvent(intensityDatas[index].rmseTimeNorm, in OutputTransientEventsAlign() 974 intensityDatas[index] in OutputTransientEventsAlign() 997 int32_t index = unionTransientEvents[i].onsetIdx; OutputTransientEventsDirect() local 1065 int32_t index = it - transientIndexs.begin(); InsertTransientEvent() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/ |
H A D | calendar_dialog_pattern.cpp | 269 void CalendarDialogPattern::SetOptionsButtonUpdateColorFlags(size_t index, bool isUpdate) in SetOptionsButtonUpdateColorFlags() argument 271 if (index >= updateColorFlags.size()) { in SetOptionsButtonUpdateColorFlags() 275 updateColorFlags[index] = isUpdate; in SetOptionsButtonUpdateColorFlags() 618 focusedDay_ = currentMonthData.days[it->index]; in HandleCalendarNodeKeyEvent() 630 focusedDay_ = currentMonthData.days[it->index]; in HandleCalendarNodeKeyEvent() 1053 int32_t index = 0; in GetCalendarMonthData() local 1054 for (int32_t i = 0; i < preMonthDaysCount; i++, index++) { in GetCalendarMonthData() 1055 calendarMonthData.days.emplace_back(CalendarDay { .index = index, in GetCalendarMonthData() 1056 .day = preMonthMaxDay - preMonthDaysCount + index in GetCalendarMonthData() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_64_mmu_hv.c | 340 long int index; in kvmppc_mmu_book3s_64_hv_xlate() local 359 index = kvmppc_hv_find_lock_hpte(kvm, eaddr, slb_v, in kvmppc_mmu_book3s_64_hv_xlate() 361 if (index < 0) { in kvmppc_mmu_book3s_64_hv_xlate() 365 hptep = (__be64 *)(kvm->arch.hpt.virt + (index << 4)); in kvmppc_mmu_book3s_64_hv_xlate() 369 gr = kvm->arch.hpt.rev[index].guest_rpte; in kvmppc_mmu_book3s_64_hv_xlate() 496 long index, ret; in kvmppc_book3s_hv_page_fault() local 529 index = vcpu->arch.pgfault_index; in kvmppc_book3s_hv_page_fault() 530 hptep = (__be64 *)(kvm->arch.hpt.virt + (index << 4)); in kvmppc_book3s_hv_page_fault() 531 rev = &kvm->arch.hpt.rev[index]; in kvmppc_book3s_hv_page_fault() 700 kvmppc_invalidate_hpte(kvm, hptep, index); in kvmppc_book3s_hv_page_fault() 1626 unsigned long index; global() member [all...] |
/kernel/linux/linux-5.10/arch/x86/kvm/ |
H A D | hyperv.c | 545 set_bit(stimer->index, in stimer_mark_pending() 557 stimer->index); in stimer_cleanup() 560 clear_bit(stimer->index, in stimer_cleanup() 572 stimer->index); in stimer_timer_callback() 606 stimer->index, in stimer_start() 628 stimer->index, in stimer_start() 649 stimer->index, config, host); in stimer_set_config() 673 stimer->index, count, host); in stimer_set_count() 802 stimer->index, direct, r); in stimer_expiration() 877 payload->timer_index = stimer->index; in stimer_prepare_msg() 950 kvm_hv_msr_get_crash_data(struct kvm_vcpu *vcpu, u32 index, u64 *pdata) kvm_hv_msr_get_crash_data() argument 994 kvm_hv_msr_set_crash_data(struct kvm_vcpu *vcpu, u32 index, u64 data) kvm_hv_msr_set_crash_data() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/dsa/ |
H A D | lantiq_gswip.c | 280 u16 index; // PCE_TBL_ADDR.ADDR = pData->table_index member 529 gswip_switch_w(priv, tbl->index, GSWIP_PCE_TBL_ADDR); in gswip_pce_table_entry_read() 571 gswip_switch_w(priv, tbl->index, GSWIP_PCE_TBL_ADDR); in gswip_pce_table_entry_write() 623 vlan_active.index = port + 1; in gswip_add_single_port_br() 637 vlan_mapping.index = port + 1; in gswip_add_single_port_br() 909 vlan_active.index = idx; in gswip_vlan_active_create() 933 vlan_active.index = idx; in gswip_vlan_active_remove() 972 vlan_mapping.index = idx; in gswip_vlan_add_unaware() 978 vlan_mapping.index = idx; in gswip_vlan_add_unaware() 1040 vlan_mapping.index in gswip_vlan_add_aware() 1705 gswip_bcm_ram_entry_read(struct gswip_priv *priv, u32 table, u32 index) gswip_bcm_ram_entry_read() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_debugfs.c | 78 int index; in hclge_dbg_get_dfx_bd_num() local 89 index = offset % entries_per_desc; in hclge_dbg_get_dfx_bd_num() 90 return le32_to_cpu(desc[offset / entries_per_desc].data[index]); in hclge_dbg_get_dfx_bd_num() 95 int index, int bd_num, in hclge_dbg_cmd_send() 102 desc->data[0] = cpu_to_le32(index); in hclge_dbg_cmd_send() 130 int index = 0; in hclge_dbg_dump_reg_common() local 135 ret = kstrtouint(s, 0, &index); in hclge_dbg_dump_reg_common() 136 index = (ret != 0) ? 0 : index; in hclge_dbg_dump_reg_common() 152 ret = hclge_dbg_cmd_send(hdev, desc, index, bd_nu in hclge_dbg_dump_reg_common() 93 hclge_dbg_cmd_send(struct hclge_dev *hdev, struct hclge_desc *desc_src, int index, int bd_num, enum hclge_opcode_type cmd) hclge_dbg_cmd_send() argument 431 hclge_print_tc_info(struct hclge_dev *hdev, bool flag, int index) hclge_print_tc_info() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_64_mmu_hv.c | 350 long int index; in kvmppc_mmu_book3s_64_hv_xlate() local 369 index = kvmppc_hv_find_lock_hpte(kvm, eaddr, slb_v, in kvmppc_mmu_book3s_64_hv_xlate() 371 if (index < 0) { in kvmppc_mmu_book3s_64_hv_xlate() 375 hptep = (__be64 *)(kvm->arch.hpt.virt + (index << 4)); in kvmppc_mmu_book3s_64_hv_xlate() 379 gr = kvm->arch.hpt.rev[index].guest_rpte; in kvmppc_mmu_book3s_64_hv_xlate() 520 long index, ret; in kvmppc_book3s_hv_page_fault() local 553 index = vcpu->arch.pgfault_index; in kvmppc_book3s_hv_page_fault() 554 hptep = (__be64 *)(kvm->arch.hpt.virt + (index << 4)); in kvmppc_book3s_hv_page_fault() 555 rev = &kvm->arch.hpt.rev[index]; in kvmppc_book3s_hv_page_fault() 724 kvmppc_invalidate_hpte(kvm, hptep, index); in kvmppc_book3s_hv_page_fault() 1624 unsigned long index; global() member [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/ |
H A D | fimc-lite.c | 106 * @index: index to the fimc_lite_formats array, ignored if negative 109 const u32 *mbus_code, unsigned int mask, int index) in fimc_lite_find_format() 115 if (index >= (int)ARRAY_SIZE(fimc_lite_formats)) in fimc_lite_find_format() 126 if (index == id) in fimc_lite_find_format() 288 flite_hw_mask_dma_buffer(fimc, vbuf->index); in flite_irq_handler() 414 buf->index = fimc->buf_index++; in buffer_queue() 661 if (f->index >= ARRAY_SIZE(fimc_lite_formats)) in fimc_lite_enum_fmt() 664 fmt = &fimc_lite_formats[f->index]; in fimc_lite_enum_fmt() 786 sink_fmt.pad = pad->index; in fimc_pipeline_validate() 108 fimc_lite_find_format(const u32 *pixelformat, const u32 *mbus_code, unsigned int mask, int index) fimc_lite_find_format() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/meye/ |
H A D | meye.c | 1021 if (i->index != 0) in vidioc_enum_input() 1101 if (f->index > 1) in vidioc_enum_fmt_vid_cap() 1104 if (f->index == 0) { in vidioc_enum_fmt_vid_cap() 1254 unsigned int index = buf->index; in vidioc_querybuf() local 1256 if (index >= gbuffers) in vidioc_querybuf() 1259 buf->bytesused = meye.grab_buffer[index].size; in vidioc_querybuf() 1262 if (meye.grab_buffer[index].state == MEYE_BUF_USING) in vidioc_querybuf() 1265 if (meye.grab_buffer[index].state == MEYE_BUF_DONE) in vidioc_querybuf() 1269 v4l2_buffer_set_timestamp(buf, meye.grab_buffer[index] in vidioc_querybuf() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.c | 33 netif_stop_subqueue(ndev, tx_ring->index); in enetc_xmit() 45 netif_stop_subqueue(ndev, tx_ring->index); in enetc_xmit() 452 enetc_wr_reg_hot(tx_ring->idr, BIT(tx_ring->index) | in enetc_clean_tx_ring() 453 BIT(16 + tx_ring->index)); in enetc_clean_tx_ring() 465 __netif_subqueue_stopped(ndev, tx_ring->index) && in enetc_clean_tx_ring() 467 netif_wake_subqueue(ndev, tx_ring->index); in enetc_clean_tx_ring() 612 skb_record_rx_queue(skb, rx_ring->index); in enetc_process_skb() 722 /* update ENETC's consumer index */ in enetc_clean_rx_ring() 732 enetc_wr_reg_hot(rx_ring->idr, BIT(rx_ring->index)); in enetc_clean_rx_ring() 1191 int idx = tx_ring->index; in enetc_setup_txbdr() [all...] |