/kernel/linux/linux-5.10/drivers/remoteproc/ |
H A D | qcom_q6v5_mss.c | 387 size_t size) in q6v5_xfer_mem_ownership() 411 return qcom_scm_assign_mem(addr, ALIGN(size, SZ_4K), in q6v5_xfer_mem_ownership() 422 if (SZ_1M + dp_fw->size <= qproc->mba_size) { in q6v5_debug_policy_load() 423 memcpy(qproc->mba_region + SZ_1M, dp_fw->data, dp_fw->size); in q6v5_debug_policy_load() 424 qproc->dp_size = dp_fw->size; in q6v5_debug_policy_load() 434 /* MBA is restricted to a maximum size of 1M */ in q6v5_load() 435 if (fw->size > qproc->mba_size || fw->size > SZ_1M) { in q6v5_load() 440 memcpy(qproc->mba_region, fw->data, fw->size); in q6v5_load() 815 size_t size; in q6v5_mpss_init_image() local 385 q6v5_xfer_mem_ownership(struct q6v5 *qproc, int *current_perm, bool local, bool remote, phys_addr_t addr, size_t size) q6v5_xfer_mem_ownership() argument 1133 size_t size = 0; q6v5_mpss_load() local 1312 qcom_q6v5_dump_segment(struct rproc *rproc, struct rproc_dump_segment *segment, void *dest, size_t cp_offset, size_t size) qcom_q6v5_dump_segment() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_buffers.c | 18 u32 size; member 142 * configured headroom size is split. Therefore, multiply the calculated in mlxsw_sp_port_headroom_8x_adjust() 143 * headroom size by two. in mlxsw_sp_port_headroom_8x_adjust() 183 u32 size, bool infi_size) in mlxsw_sp_sb_pr_write() 192 size, infi_size); in mlxsw_sp_sb_pr_write() 198 size = mlxsw_sp_bytes_cells(mlxsw_sp, mlxsw_sp->sb->sb_size); in mlxsw_sp_sb_pr_write() 201 pr->size = size; in mlxsw_sp_sb_pr_write() 208 u32 size, bool infi_size) in mlxsw_sp_sb_pr_desc_write() 215 mlxsw_reg_sbpr_pack(sbpr_pl, 14, dir, mode, size, infi_siz in mlxsw_sp_sb_pr_desc_write() 181 mlxsw_sp_sb_pr_write(struct mlxsw_sp *mlxsw_sp, u16 pool_index, enum mlxsw_reg_sbpr_mode mode, u32 size, bool infi_size) mlxsw_sp_sb_pr_write() argument 205 mlxsw_sp_sb_pr_desc_write(struct mlxsw_sp *mlxsw_sp, enum mlxsw_reg_sbxx_dir dir, enum mlxsw_reg_sbpr_mode mode, u32 size, bool infi_size) mlxsw_sp_sb_pr_desc_write() argument 353 mlxsw_sp_hdroom_buf_pack(char *pbmc_pl, int index, u16 size, u16 thres, bool lossy) mlxsw_sp_hdroom_buf_pack() argument 761 u32 size = prs[i].size; mlxsw_sp_sb_prs_init() local 775 u32 size = prs[i].size; mlxsw_sp_sb_prs_init() local 1371 mlxsw_sp_sb_pool_set(struct mlxsw_core *mlxsw_core, unsigned int sb_index, u16 pool_index, u32 size, enum devlink_sb_threshold_type threshold_type, struct netlink_ext_ack *extack) mlxsw_sp_sb_pool_set() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-mac.c | 589 size_t size; in emac_tx_q_descs_free() local 610 size = sizeof(struct emac_buffer) * tx_q->tpd.count; in emac_tx_q_descs_free() 611 memset(tx_q->tpd.tpbuff, 0, size); in emac_tx_q_descs_free() 614 memset(tx_q->tpd.v_addr, 0, tx_q->tpd.size); in emac_tx_q_descs_free() 626 size_t size; in emac_rx_q_free_descs() local 646 size = sizeof(struct emac_buffer) * rx_q->rfd.count; in emac_rx_q_free_descs() 647 memset(rx_q->rfd.rfbuff, 0, size); in emac_rx_q_free_descs() 650 memset(rx_q->rrd.v_addr, 0, rx_q->rrd.size); in emac_rx_q_free_descs() 654 memset(rx_q->rfd.v_addr, 0, rx_q->rfd.size); in emac_rx_q_free_descs() 670 tx_q->tpd.size in emac_tx_q_bufs_free() 679 size_t size; emac_tx_q_desc_alloc() local 721 size_t size; emac_rx_descs_alloc() local [all...] |
/kernel/linux/linux-6.6/drivers/w1/slaves/ |
H A D | w1_therm.c | 301 struct device_attribute *attr, const char *buf, size_t size); 316 struct device_attribute *attr, const char *buf, size_t size); 319 struct device_attribute *attr, const char *buf, size_t size); 322 struct device_attribute *attr, const char *buf, size_t size); 328 struct device_attribute *attr, const char *buf, size_t size); 338 size_t size); 345 size_t size); 1642 size_t size) in w1_slave_store() 1652 return size; /* return size t in w1_slave_store() 1640 w1_slave_store(struct device *device, struct device_attribute *attr, const char *buf, size_t size) w1_slave_store() argument 1762 resolution_store(struct device *device, struct device_attribute *attr, const char *buf, size_t size) resolution_store() argument 1801 eeprom_cmd_store(struct device *device, struct device_attribute *attr, const char *buf, size_t size) eeprom_cmd_store() argument 1843 alarms_store(struct device *device, struct device_attribute *attr, const char *buf, size_t size) alarms_store() argument 1942 therm_bulk_read_store(struct device *device, struct device_attribute *attr, const char *buf, size_t size) therm_bulk_read_store() argument 1998 conv_time_store(struct device *device, struct device_attribute *attr, const char *buf, size_t size) conv_time_store() argument 2040 features_store(struct device *device, struct device_attribute *attr, const char *buf, size_t size) features_store() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_kms.c | 541 uint32_t size = info->return_size; in amdgpu_info_ioctl() local 554 return copy_to_user(out, &ui32, min(size, 4u)) ? -EFAULT : 0; in amdgpu_info_ioctl() 570 return copy_to_user(out, &ui32, min(size, 4u)) ? -EFAULT : 0; in amdgpu_info_ioctl() 579 ret = copy_to_user(out, &ip, min_t(size_t, size, sizeof(ip))); in amdgpu_info_ioctl() 623 return copy_to_user(out, &count, min(size, 4u)) ? -EFAULT : 0; in amdgpu_info_ioctl() 627 return copy_to_user(out, &ui64, min(size, 8u)) ? -EFAULT : 0; in amdgpu_info_ioctl() 641 min((size_t)size, sizeof(fw_info))) ? -EFAULT : 0; in amdgpu_info_ioctl() 645 return copy_to_user(out, &ui64, min(size, 8u)) ? -EFAULT : 0; in amdgpu_info_ioctl() 648 return copy_to_user(out, &ui64, min(size, 8u)) ? -EFAULT : 0; in amdgpu_info_ioctl() 651 return copy_to_user(out, &ui64, min(size, in amdgpu_info_ioctl() [all...] |
/kernel/linux/linux-6.6/arch/x86/events/intel/ |
H A D | ds.c | 19 /* The size of a BTS record in bytes: */ 460 static void ds_update_cea(void *cea, void *addr, size_t size, pgprot_t prot) in ds_update_cea() argument 469 for (; msz < size; msz += PAGE_SIZE, pa += PAGE_SIZE, cea += PAGE_SIZE) in ds_update_cea() 476 flush_tlb_kernel_range(start, start + size); in ds_update_cea() 480 static void ds_clear_cea(void *cea, size_t size) in ds_clear_cea() argument 486 for (; msz < size; msz += PAGE_SIZE, cea += PAGE_SIZE) in ds_clear_cea() 489 flush_tlb_kernel_range(start, start + size); in ds_clear_cea() 493 static void *dsalloc_pages(size_t size, gfp_t flags, int cpu) in dsalloc_pages() argument 495 unsigned int order = get_order(size); in dsalloc_pages() 503 static void dsfree_pages(const void *buffer, size_t size) in dsfree_pages() argument 1451 int size; intel_pmu_pebs_fixup_ip() local 2132 intel_pmu_pebs_event_update_no_drain(struct cpu_hw_events *cpuc, int size) intel_pmu_pebs_event_update_no_drain() argument 2159 int bit, i, size; intel_pmu_drain_pebs_nhm() local 2274 int bit, size; intel_pmu_drain_pebs_icl() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_opr_v5.c | 40 ctx->dsc.size = buf_size->dsc; in s5p_mfc_alloc_dec_temp_buffers_v5() 48 memset(ctx->dsc.virt, 0, ctx->dsc.size); in s5p_mfc_alloc_dec_temp_buffers_v5() 70 mfc_debug(2, "Luma size:%d Chroma size:%d MV size:%d\n", in s5p_mfc_alloc_codec_buffers_v5() 93 mfc_debug(2, "recon luma size: %d chroma size: %d\n", in s5p_mfc_alloc_codec_buffers_v5() 101 ctx->bank1.size = in s5p_mfc_alloc_codec_buffers_v5() 105 ctx->bank2.size = ctx->total_dpb_count * ctx->mv_size; in s5p_mfc_alloc_codec_buffers_v5() 108 ctx->bank1.size in s5p_mfc_alloc_codec_buffers_v5() 508 s5p_mfc_set_enc_stream_buffer_v5(struct s5p_mfc_ctx *ctx, unsigned long addr, unsigned int size) s5p_mfc_set_enc_stream_buffer_v5() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/ |
H A D | helpers.c | 33 size_t size; member 98 dma_free_attrs(inst->core->dev, buf->size, buf->va, buf->da, in free_dpb_buf() 118 fdata.alloc_len = buf->size; in venus_helper_queue_dpb_bufs() 126 if (dpb_size > buf->size) { in venus_helper_queue_dpb_bufs() 202 buf->size = dpb_size; in venus_helper_alloc_dpb_bufs() 205 buf->va = dma_alloc_attrs(dev, buf->size, &buf->da, GFP_KERNEL, in venus_helper_alloc_dpb_bufs() 247 if (!bufreq.size) in intbufs_set_buffer() 258 buf->size = bufreq.size; in intbufs_set_buffer() 261 buf->va = dma_alloc_attrs(dev, buf->size, in intbufs_set_buffer() 949 u32 size; get_framesize_raw_nv12() local 1010 u32 size; get_framesize_raw_p010_ubwc() local 1039 u32 size; get_framesize_raw_yuv420_tp10_ubwc() local [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-logitech-dj.c | 520 /* Maximum size of all defined hid reports in bytes (including report id) */ 539 * For instance, RF report type 0x01 which has a size of 8 bytes, corresponds 1148 int size) in logi_dj_recv_forward_report() 1151 if (hid_input_report(dj_dev->hdev, HID_INPUT_REPORT, data, size, 1)) in logi_dj_recv_forward_report() 1156 u8 *data, int size) in logi_dj_recv_forward_input_report() 1173 logi_dj_recv_forward_report(dj_dev, data, size); in logi_dj_recv_forward_input_report() 1404 static void rdcat(char *rdesc, unsigned int *rsize, const char *data, unsigned int size) in rdcat() argument 1406 memcpy(rdesc + *rsize, data, size); in rdcat() 1407 *rsize += size; in rdcat() 1524 int size) in logi_dj_dj_event() 1147 logi_dj_recv_forward_report(struct dj_device *dj_dev, u8 *data, int size) logi_dj_recv_forward_report() argument 1155 logi_dj_recv_forward_input_report(struct hid_device *hdev, u8 *data, int size) logi_dj_recv_forward_input_report() argument 1522 logi_dj_dj_event(struct hid_device *hdev, struct hid_report *report, u8 *data, int size) logi_dj_dj_event() argument 1592 logi_dj_hidpp_event(struct hid_device *hdev, struct hid_report *report, u8 *data, int size) logi_dj_hidpp_event() argument 1669 logi_dj_raw_event(struct hid_device *hdev, struct hid_report *report, u8 *data, int size) logi_dj_raw_event() argument [all...] |
/kernel/linux/linux-6.6/security/selinux/ |
H A D | selinuxfs.c | 246 unsigned long size = vma->vm_end - vma->vm_start; in sel_mmap_handle_status() local 251 if (vma->vm_pgoff > 0 || size != PAGE_SIZE) in sel_mmap_handle_status() 261 size, vma->vm_page_prot); in sel_mmap_handle_status() 643 static ssize_t sel_write_context(struct file *file, char *buf, size_t size) in sel_write_context() argument 654 length = security_context_to_sid(buf, size, &sid, GFP_KERNEL); in sel_write_context() 664 pr_err("SELinux: %s: context size (%u) exceeds " in sel_write_context() 816 static ssize_t sel_write_access(struct file *file, char *buf, size_t size); 817 static ssize_t sel_write_create(struct file *file, char *buf, size_t size); 818 static ssize_t sel_write_relabel(struct file *file, char *buf, size_t size); 819 static ssize_t sel_write_user(struct file *file, char *buf, size_t size); 831 selinux_transaction_write(struct file *file, const char __user *buf, size_t size, loff_t *pos) selinux_transaction_write() argument 865 sel_write_access(struct file *file, char *buf, size_t size) sel_write_access() argument 913 sel_write_create(struct file *file, char *buf, size_t size) sel_write_create() argument 1014 sel_write_relabel(struct file *file, char *buf, size_t size) sel_write_relabel() argument 1072 sel_write_user(struct file *file, char *buf, size_t size) sel_write_user() argument 1134 sel_write_member(struct file *file, char *buf, size_t size) sel_write_member() argument [all...] |
/third_party/rust/crates/cxx/gen/src/include/ |
H A D | cxx.h | 63 std::size_t size() const noexcept; 122 std::size_t size() const noexcept; 183 std::size_t size() const noexcept; 316 std::size_t size() const noexcept; 541 std::size_t Slice<T>::size() const noexcept { 547 return this->size(); 552 return this->size() == 0; 557 assert(n < this->size()); 564 if (n >= this->size()) { in at() 579 return (*this)[this->size() 951 auto size = this->size(); emplace_back() local [all...] |
/third_party/rust/crates/cxx/gen/cmd/src/gen/include/ |
H A D | cxx.h | 63 std::size_t size() const noexcept; 122 std::size_t size() const noexcept; 183 std::size_t size() const noexcept; 316 std::size_t size() const noexcept; 541 std::size_t Slice<T>::size() const noexcept { 547 return this->size(); 552 return this->size() == 0; 557 assert(n < this->size()); 564 if (n >= this->size()) { in at() 579 return (*this)[this->size() 951 auto size = this->size(); emplace_back() local [all...] |
/third_party/rust/crates/cxx/gen/build/src/gen/include/ |
H A D | cxx.h | 63 std::size_t size() const noexcept; 122 std::size_t size() const noexcept; 183 std::size_t size() const noexcept; 316 std::size_t size() const noexcept; 541 std::size_t Slice<T>::size() const noexcept { 547 return this->size(); 552 return this->size() == 0; 557 assert(n < this->size()); 564 if (n >= this->size()) { in at() 579 return (*this)[this->size() 951 auto size = this->size(); emplace_back() local [all...] |
/third_party/rust/crates/cxx/include/ |
H A D | cxx.h | 63 std::size_t size() const noexcept; 122 std::size_t size() const noexcept; 183 std::size_t size() const noexcept; 316 std::size_t size() const noexcept; 541 std::size_t Slice<T>::size() const noexcept { 547 return this->size(); 552 return this->size() == 0; 557 assert(n < this->size()); 564 if (n >= this->size()) { in at() 579 return (*this)[this->size() 951 auto size = this->size(); emplace_back() local [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | CommandBufferD3D12.cpp | 204 // The size of temporary buffer isn't needed to be a multiple of 4 because we don't 211 tempBufferDescriptor.size = tempBufferSize.AcquireSuccess(); 264 for (size_t i = 0; i < usages.buffers.size(); ++i) { in TransitionAndClearForSyncScope() 281 for (size_t i = 0; i < usages.textures.size(); ++i) { in TransitionAndClearForSyncScope() 300 if (barriers.size()) { in TransitionAndClearForSyncScope() 301 commandList->ResourceBarrier(barriers.size(), barriers.data()); in TransitionAndClearForSyncScope() 391 commandList->SetDescriptorHeaps(descriptorHeaps.size(), descriptorHeaps.data()); in SetID3D12DescriptorHeaps() 417 ASSERT(dynamicOffsets.size() == group->GetLayout()->GetDynamicBufferCount()); in ApplyBindGroup() 421 if (dynamicOffsets.size() != BindingIndex(0)) { in ApplyBindGroup() 424 for (BindingIndex bindingIndex{0}; bindingIndex < dynamicOffsets.size(); in ApplyBindGroup() 551 OnSetVertexBuffer(VertexBufferSlot slot, Buffer* buffer, uint64_t offset, uint64_t size) OnSetVertexBuffer() argument 1028 const uint64_t size = write->size; RecordCommands() local [all...] |
/third_party/rust/crates/cxx/gen/lib/src/gen/include/ |
H A D | cxx.h | 63 std::size_t size() const noexcept; 122 std::size_t size() const noexcept; 183 std::size_t size() const noexcept; 316 std::size_t size() const noexcept; 541 std::size_t Slice<T>::size() const noexcept { 547 return this->size(); 552 return this->size() == 0; 557 assert(n < this->size()); 564 if (n >= this->size()) { in at() 579 return (*this)[this->size() 951 auto size = this->size(); emplace_back() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_main.c | 165 "Maximum size of packet that is copied to a new buffer on receive"); 613 /* upper 16 bits has Tx packet buffer allocation size in KB */ in e1000_reset() 615 /* lower 16 bits has Rx packet buffer allocation size in KB */ in e1000_reset() 630 /* If current Tx allocation is less than the min Tx FIFO size, in e1000_reset() 631 * and the min Tx FIFO size is less than the current Rx FIFO in e1000_reset() 659 * (or the size used for early receive) above it in the Rx FIFO. in e1000_reset() 661 * - 90% of the Rx FIFO size, and in e1000_reset() 662 * - the full Rx FIFO size minus the early receive size (for parts in e1000_reset() 664 * - the full Rx FIFO size minu in e1000_reset() 1502 int size; e1000_setup_tx_resources() local 1692 int size, desc_len; e1000_setup_rx_resources() local 1986 unsigned long size; e1000_clean_tx_ring() local 2089 unsigned long size; e1000_clean_rx_ring() local 2831 unsigned int offset = 0, size, count = 0, i; e1000_tx_map() local 3065 __e1000_maybe_stop_tx(struct net_device *netdev, int size) __e1000_maybe_stop_tx() argument 3089 e1000_maybe_stop_tx(struct net_device *netdev, struct e1000_tx_ring *tx_ring, int size) e1000_maybe_stop_tx() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_main.c | 165 "Maximum size of packet that is copied to a new buffer on receive"); 613 /* upper 16 bits has Tx packet buffer allocation size in KB */ in e1000_reset() 615 /* lower 16 bits has Rx packet buffer allocation size in KB */ in e1000_reset() 630 /* If current Tx allocation is less than the min Tx FIFO size, in e1000_reset() 631 * and the min Tx FIFO size is less than the current Rx FIFO in e1000_reset() 659 * (or the size used for early receive) above it in the Rx FIFO. in e1000_reset() 661 * - 90% of the Rx FIFO size, and in e1000_reset() 662 * - the full Rx FIFO size minus the early receive size (for parts in e1000_reset() 664 * - the full Rx FIFO size minu in e1000_reset() 1502 int size; e1000_setup_tx_resources() local 1692 int size, desc_len; e1000_setup_rx_resources() local 1987 unsigned long size; e1000_clean_tx_ring() local 2090 unsigned long size; e1000_clean_rx_ring() local 2831 unsigned int offset = 0, size, count = 0, i; e1000_tx_map() local 3065 __e1000_maybe_stop_tx(struct net_device *netdev, int size) __e1000_maybe_stop_tx() argument 3089 e1000_maybe_stop_tx(struct net_device *netdev, struct e1000_tx_ring *tx_ring, int size) e1000_maybe_stop_tx() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/ |
H A D | vktBindingMutableTests.cpp | 104 extensionPtrs.resize(nonCoreExtensions.size()); in getDevice() 106 for (size_t ndx = 0; ndx < nonCoreExtensions.size(); ++ndx) in getDevice() 123 (deUint32)extensionPtrs.size(), // deUint32 enabledExtensionCount; in getDevice() 913 virtual size_t size () const = 0; 926 return (descTypes.size() > 1u); in needsAliasing() 958 // Get GLSL binding declarations. Note: no array size means no array, if size is < 0 it means unbounded array. 1003 const auto vecSize = mutableTypesVec.size(); 1023 return std::vector<VkDescriptorType>(1u, typesVec[static_cast<size_t>(iteration) % typesVec.size()]); 1036 size_t size () cons [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fTessellationTests.cpp | 150 vector<MembT> result(objs.size()); 151 for (int i = 0; i < (int)objs.size(); i++) 365 bool operator() (const T& a, const T& b) const { return a.size() < b.size(); } 924 return (int)generateReferenceTriangleTessCoords(spacingMode, inner, outer[0], outer[1], outer[2]).size(); 932 return (int)generateReferenceQuadTessCoords(spacingMode, inner[0], inner[1], outer[0], outer[1], outer[2], outer[3]).size(); 939 return (int)generateReferenceIsolineTessCoords(outer[0], outer[1]).size(); 1024 static inline void drawPoint (tcu::Surface& dst, int centerX, int centerY, const tcu::RGBA& color, int size) 1029 DE_ASSERT(size > 0); 1031 for (int yOff = -((size [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | image_source_test.cpp | 154 uint32_t size = 1;
in HWTEST_F() local 155 std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(data, size, opts, errorCode);
in HWTEST_F() 173 uint32_t size = 0;
in HWTEST_F() local 176 std::unique_ptr<ImageSource> creimagesource = ImageSource::CreateImageSource(buffer, size, opts, errorCode);
in HWTEST_F() 676 * @tc.desc: test ModifyImageProperty(index, key, value, data, size)
688 uint32_t size = 0;
in HWTEST_F() local 691 uint32_t ret = imageSource->ModifyImageProperty(index, key, value, data, size);
in HWTEST_F() 796 opts.size.width = -1;
in HWTEST_F() 797 opts.size.height = -1;
in HWTEST_F() 823 * @tc.desc: test CreateImageSource size i 834 uint32_t size = 0; HWTEST_F() local 851 uint32_t size = 0; HWTEST_F() local 1005 size_t size = 0; HWTEST_F() local 1021 size_t size = 0; HWTEST_F() local 1304 uint32_t size = 0; HWTEST_F() local 1327 uint32_t size = 0; HWTEST_F() local 1810 uint32_t size = 1; HWTEST_F() local 1833 uint32_t size = 0; HWTEST_F() local 2004 uint32_t size = 0; HWTEST_F() local [all...] |
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/screen_capture_unittest/src/ |
H A D | screen_capture_unit_test_exclude.cpp | 56 EXPECT_EQ(MSERR_OK, screenCapture_->ExcludeWindowContent(&windowIds[0], static_cast<int32_t>(windowIds.size()))); in HWTEST_F() 141 EXPECT_EQ(MSERR_OK, screenCapture_->ExcludeWindowContent(&windowIds[0], static_cast<int32_t>(windowIds.size()))); in HWTEST_F() 282 EXPECT_EQ(MSERR_OK, screenCapture_->ExcludeWindowContent(&windowIds[0], static_cast<int32_t>(windowIds.size()))); in HWTEST_F() 325 EXPECT_EQ(MSERR_OK, screenCapture_->ExcludeWindowContent(&windowIds[0], static_cast<int32_t>(windowIds.size()))); in HWTEST_F() 356 EXPECT_EQ(MSERR_OK, screenCapture_->ExcludeWindowContent(&windowIds1[0], static_cast<int32_t>(windowIds1.size()))); in HWTEST_F() 358 EXPECT_EQ(MSERR_OK, screenCapture_->ExcludeWindowContent(&windowIds2[0], static_cast<int32_t>(windowIds2.size()))); in HWTEST_F() 389 EXPECT_EQ(MSERR_OK, screenCapture_->ExcludeWindowContent(&windowIds1[0], static_cast<int32_t>(windowIds1.size()))); in HWTEST_F() 391 EXPECT_EQ(MSERR_OK, screenCapture_->ExcludeWindowContent(&windowIds2[0], static_cast<int32_t>(windowIds2.size()))); in HWTEST_F() 422 EXPECT_EQ(MSERR_OK, screenCapture_->ExcludeWindowContent(&windowIds1[0], static_cast<int32_t>(windowIds1.size()))); in HWTEST_F() 424 EXPECT_EQ(MSERR_OK, screenCapture_->ExcludeWindowContent(&windowIds2[0], static_cast<int32_t>(windowIds2.size()))); in HWTEST_F() [all...] |
/foundation/communication/netmanager_base/services/netmanagernative/src/ |
H A D | netsys_native_service_stub.cpp | 433 auto vServerSize = static_cast<int32_t>(servers.size()); in CmdGetResolverConfig() 443 auto vDomainsSize = static_cast<int32_t>(domains.size()); in CmdGetResolverConfig() 522 if (retInfo.size() > MAX_RESULTS) { in CmdGetAddrInfo() 534 if (!reply.WriteUint32(static_cast<uint32_t>(retInfo.size()))) { in CmdGetAddrInfo() 768 int32_t size = 0; in CmdNetworkAddUids() local 769 if (!data.ReadInt32(netId) || !data.ReadInt32(size)) { in CmdNetworkAddUids() 770 NETNATIVE_LOGE("read net id or size failed"); in CmdNetworkAddUids() 773 size = (size > static_cast<int32_t>(MAX_UID_ARRAY_SIZE)) ? static_cast<int32_t>(MAX_UID_ARRAY_SIZE) : size; in CmdNetworkAddUids() 796 int32_t size = 0; CmdNetworkDelUids() local 944 int32_t size = 0; CmdCreateVnic() local 1872 uint32_t size = 0; CmdSetFirewallRules() local 2062 uint32_t size = 0; CmdNotifyNetBearerTypeChange() local 2155 int32_t size = 0; CmdSetNicTrafficAllowed() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_data_operation_test.cpp | 508 EXPECT_TRUE(g_value.size() > 0); in HWTEST_F() 509 if (g_value.size() > 0) { in HWTEST_F() 530 EXPECT_TRUE(g_value.size() > 0); in HWTEST_F() 531 if (g_value.size() > 0) { in HWTEST_F() 605 EXPECT_TRUE(g_value.size() > 0); in HWTEST_F() 606 if (g_value.size() > 0) { in HWTEST_F() 647 EXPECT_TRUE(g_value.size() > 0); in HWTEST_F() 648 if (g_value.size() > 0) { in HWTEST_F() 807 * @tc.expected: step2. GetEntries results OK and the result entries size is the match size in HWTEST_F() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/ |
H A D | qmi.c | 576 .offset = offsetof(struct qmi_wlanfw_mem_cfg_s_v01, size), 601 size), 677 .offset = offsetof(struct qmi_wlanfw_mem_seg_resp_s_v01, size), 1271 .offset = offsetof(struct qmi_wlanfw_m3_info_req_msg_v01, size), 1886 * chunk size memory. in ath11k_qmi_respond_fw_mem_request() 1901 req->mem_seg[i].size = ab->qmi.target_mem[i].size; in ath11k_qmi_respond_fw_mem_request() 1906 ab->qmi.target_mem[i].size, in ath11k_qmi_respond_fw_mem_request() 1989 chunk->prev_size == chunk->size) in ath11k_qmi_alloc_target_mem_chunk() 1999 chunk->size, in ath11k_qmi_alloc_target_mem_chunk() [all...] |