/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/ |
H A D | calendar_dialog_pattern.cpp | 47 constexpr size_t CANCEL_BUTTON_FONT_COLOR_INDEX = 0; 48 constexpr size_t CANCEL_BUTTON_BACKGROUND_COLOR_INDEX = 1; 49 constexpr size_t ACCEPT_BUTTON_FONT_COLOR_INDEX = 2; 50 constexpr size_t ACCEPT_BUTTON_BACKGROUND_COLOR_INDEX = 3; 51 constexpr size_t OPTION_CANCEL_BUTTON_INDEX = 0; 52 constexpr size_t OPTION_ACCEPT_BUTTON_INDEX = 1; 200 size_t buttonIndex = OPTION_CANCEL_BUTTON_INDEX; in UpdateOptionsButton() 232 size_t buttonIndex = OPTION_CANCEL_BUTTON_INDEX; in UpdateOptionsButtonColor() 269 void CalendarDialogPattern::SetOptionsButtonUpdateColorFlags(size_t index, bool isUpdate) in SetOptionsButtonUpdateColorFlags() 1072 for (size_t in GetCalendarMonthData() [all...] |
/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_extension_ability/ |
H A D | js_ui_extension_context.cpp | 51 constexpr size_t ARGC_ZERO = 0; 52 constexpr size_t ARGC_ONE = 1; 53 constexpr size_t ARGC_TWO = 2; 54 constexpr size_t ARGC_THREE = 3; 197 size_t unwrapArgc = 0; in OnStartAbility() 431 size_t unwrapArgc = 0; in OnStartAbilityForResult() 505 size_t unwrapArgc = 0; in OnStartAbilityForResultAsCaller() 666 size_t unwrapArgc = 0; in OnStartUIServiceExtension() 979 const AAFwk::StartOptions &options, size_t unwrapArgc) in OpenAtomicServiceInner() 1085 AAFwk::Want& want, AAFwk::StartOptions& startOptions, size_t in CheckStartAbilityInputParam() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select/ |
H A D | select_pattern.cpp | 22 #include "base/geometry/ng/size_t.h" 237 for (size_t i = 0; i < options_.size(); ++i) { in UpdateOptionsWidth() 637 for (size_t i = 0; i < options_.size(); ++i) { in SetOptionBgColor() 650 for (size_t i = 0; i < options_.size(); ++i) { in SetOptionFontSize() 663 for (size_t i = 0; i < options_.size(); ++i) { in SetOptionItalicFontStyle() 676 for (size_t i = 0; i < options_.size(); ++i) { in SetOptionFontWeight() 689 for (size_t i = 0; i < options_.size(); ++i) { in SetOptionFontFamily() 702 for (size_t i = 0; i < options_.size(); ++i) { in SetOptionFontColor() 969 for (size_t i = 0; i < options_.size(); ++i) { in ToJsonValue() 1094 for (size_t in InspectorGetOptions() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_pattern.h | 696 size_t GetLineCount() const override; 771 void ReplacePlaceholderWithRawSpans(const RefPtr<SpanItem>& spanItem, size_t& index, size_t& textIndex); 1089 RefPtr<SpanItem>& newSpanItem, const RefPtr<SpanItem>& spanItem, size_t& index, size_t& placeholderGains); 1090 void ReplacePlaceholderWithCustomSpan(const RefPtr<SpanItem>& spanItem, size_t& index, size_t& textIndex); 1091 void ReplacePlaceholderWithSymbolSpan(const RefPtr<SpanItem>& spanItem, size_t& index, size_t& textIndex); 1092 void ReplacePlaceholderWithImageSpan(const RefPtr<SpanItem>& spanItem, size_t [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | node_system.cpp | 55 T* RecursivelyLookupNodeByPath(T& node, size_t index, const vector<string_view>& path) in RecursivelyLookupNodeByPath() 170 const ISceneNode& child, size_t index) = 0; 310 bool InsertChild(size_t index, ISceneNode& node) override 334 *this, INodeSystem::SceneNodeListener::EventType::REMOVED, node, static_cast<size_t>(index)); 341 bool RemoveChild(size_t index) override 521 const auto index = static_cast<size_t>(pos - first); in Reset() 551 nodes_[static_cast<size_t>(index)] = move(node); in AddNode() 774 size_t index) override 872 auto* node = nodes_[static_cast<size_t>(index)].get(); 1086 Entity current, size_t entityId in CloneNode() [all...] |
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/ |
H A D | base_restore.cpp | 118 size_t pos = 0; in ConvertPathToRealPath() 121 for (size_t i = 0; i < srcPath.length(); i++) { in ConvertPathToRealPath() 135 std::size_t posStart = relativePath.find_first_of("/"); in ConvertPathToRealPath() 136 std::size_t posEnd = relativePath.find_first_of("/", posStart + 1); in ConvertPathToRealPath() 218 for (size_t i = 0; i < fileInfos.size(); i++) { in GetInsertValues() 380 size_t pos = suffix.find('/'); in RecursiveCreateDir() 399 for (size_t i = 0; i < fileInfos.size(); i++) { in InsertAudio() 495 for (size_t i = 0; i < fileInfos.size(); i++) { in MoveMigrateFile() 769 size_t limit = MAX_FAILED_FILES_LIMIT; in GetCountInfoJson() 804 size_t in GetSubCountInfoJson() [all...] |
/foundation/communication/netstack/frameworks/js/napi/tls/src/ |
H A D | tls_socket.cpp | 97 size_t offset = 0; in SplitEscapedAltNames() 158 auto newFlags = static_cast<size_t>(flags); in SetSockBlockFlag() 160 newFlags |= static_cast<size_t>(O_NONBLOCK); in SetSockBlockFlag() 162 newFlags &= ~static_cast<size_t>(O_NONBLOCK); in SetSockBlockFlag() 1211 bool TLSSocket::TLSSocketInternal::SendRetry(ssl_st *ssl, const char *curPos, size_t curSendSize, int sockfd) in SendRetry() 1270 size_t curSendSize = std::min<size_t>(sendSize, bufferSize); in PollSend() 1372 size_t pos = 0; in SetAlpnProtocols() 1373 size_t len = std::accumulate(alpnProtocols.begin(), alpnProtocols.end(), static_cast<size_t>( in SetAlpnProtocols() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_kms.c | 527 ret = copy_to_user(out, &ip, min_t(size_t, size, sizeof(ip))); in amdgpu_info_ioctl() 589 min((size_t)size, sizeof(fw_info))) ? -EFAULT : 0; in amdgpu_info_ioctl() 618 min((size_t)size, sizeof(gds_info))) ? -EFAULT : 0; in amdgpu_info_ioctl() 634 min((size_t)size, sizeof(vram_gtt))) ? -EFAULT : 0; in amdgpu_info_ioctl() 671 min((size_t)size, sizeof(mem))) in amdgpu_info_ioctl() 801 min((size_t)size, sizeof(dev_info))) ? -EFAULT : 0; in amdgpu_info_ioctl() 819 min((size_t)size, sizeof(vce_clk_table))) ? -EFAULT : 0; in amdgpu_info_ioctl() 827 min((size_t)size, sizeof(bios_size))) in amdgpu_info_ioctl() 838 min((size_t)size, (size_t)(bios_siz in amdgpu_info_ioctl() [all...] |
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | at_xdmac.c | 735 size_t buf_len, size_t period_len, in at_xdmac_prep_dma_cyclic() 858 size_t ublen; in at_xdmac_interleaved_queue_desc() 947 size_t src_skip = 0, dst_skip = 0, len = 0; in at_xdmac_prep_interleaved() 985 size_t src_icg = 0, dst_icg = 0; in at_xdmac_prep_interleaved() 1038 size_t len, unsigned long flags) in at_xdmac_prep_dma_memcpy() 1042 size_t remaining_size = len, xfer_size = 0, ublen; in at_xdmac_prep_dma_memcpy() 1144 size_t len, in at_xdmac_memset_create_desc() 1149 size_t ublen; in at_xdmac_memset_create_desc() 1211 size_t le in at_xdmac_prep_dma_memset() [all...] |
/kernel/linux/linux-6.6/arch/arm64/kvm/ |
H A D | mmu.c | 200 static void *kvm_host_zalloc_pages_exact(size_t size) in kvm_host_zalloc_pages_exact() 205 static void *kvm_s2_zalloc_pages_exact(size_t size) in kvm_s2_zalloc_pages_exact() 214 static void kvm_s2_free_pages_exact(void *virt, size_t size) in kvm_s2_free_pages_exact() 273 static void clean_dcache_guest_page(void *va, size_t size) in clean_dcache_guest_page() 278 static void invalidate_icache_guest_page(void *va, size_t size) in invalidate_icache_guest_page() 633 int hyp_alloc_private_va_range(size_t size, unsigned long *haddr) in hyp_alloc_private_va_range() 661 static int __create_hyp_private_mapping(phys_addr_t phys_addr, size_t size, in __create_hyp_private_mapping() 694 size_t size; in create_hyp_stack() 740 int create_hyp_io_mappings(phys_addr_t phys_addr, size_t size, in create_hyp_io_mappings() 778 int create_hyp_exec_mappings(phys_addr_t phys_addr, size_t siz [all...] |
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | omap-iommu.c | 417 size_t bytes; in flush_iotlb_page() 464 size_t size = num_entries * sizeof(u32); in flush_iopte_range() 701 static size_t iopgtable_clear_entry_core(struct omap_iommu *obj, u32 da) in iopgtable_clear_entry_core() 703 size_t bytes; in iopgtable_clear_entry_core() 758 static size_t iopgtable_clear_entry(struct omap_iommu *obj, u32 da) in iopgtable_clear_entry() 760 size_t bytes; in iopgtable_clear_entry() 1326 phys_addr_t pa, size_t bytes, int prot, gfp_t gfp) in omap_iommu_map() 1369 static size_t omap_iommu_unmap(struct iommu_domain *domain, unsigned long da, in omap_iommu_unmap() 1370 size_t size, struct iommu_iotlb_gather *gather) in omap_iommu_unmap() 1377 size_t byte in omap_iommu_unmap() [all...] |
/kernel/linux/linux-5.10/drivers/misc/ |
H A D | ibmvmc.c | 272 static void *alloc_dma_buffer(struct vio_dev *vdev, size_t size, in alloc_dma_buffer() 306 static void free_dma_buffer(struct vio_dev *vdev, size_t size, void *vaddr, in free_dma_buffer() 903 static ssize_t ibmvmc_read(struct file *file, char *buf, size_t nbytes, in ibmvmc_read() 979 nbytes = min_t(size_t, nbytes, buffer->msg_len); in ibmvmc_read() 1040 size_t count, loff_t *ppos) in ibmvmc_write() 1048 size_t bytes; in ibmvmc_write() 1050 size_t c = count; in ibmvmc_write() 1112 bytes = min_t(size_t, c, vmc_buffer->size); in ibmvmc_write() 1211 size_t bytes; in ibmvmc_ioctl_sethmcid() 1276 size_t byte in ibmvmc_ioctl_query() [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | pc87360.c | 278 const char *buf, size_t count) in fan_min_store() 354 const char *buf, size_t count) in pwm_store() 425 size_t count) in in_min_store() 445 size_t count) in in_max_store() 596 const char *buf, size_t count) in vrm_store() 685 const char *buf, size_t count) in therm_min_store() 706 const char *buf, size_t count) in therm_max_store() 726 const char *buf, size_t count) in therm_crit_store() 887 const char *buf, size_t count) in temp_min_store() 908 const char *buf, size_t coun in temp_max_store() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | hfi.h | 1118 size_t sdma_heads_size; 1288 size_t cntrnameslen; 1289 size_t ndevcntrs; 1302 size_t nportcntrs; 1304 size_t portcntrnameslen; 1350 u64 pbc, const void *from, size_t count); 2151 size_t npages, bool writable, struct page **pages); 2153 size_t npages, bool dirty); 2401 size_t sz; 2407 size_t nhwerrmsg [all...] |
/kernel/linux/linux-5.10/drivers/net/ieee802154/ |
H A D | ca8210.c | 535 size_t len, 622 size_t len, in ca8210_test_int_driver_write() 652 size_t len 661 size_t len 912 size_t len in ca8210_spi_transfer() 988 size_t len, in ca8210_spi_exchange() 1089 size_t len, 1799 size_t len, in ca8210_skb_rx() 1897 static int ca8210_net_rx(struct ieee802154_hw *hw, u8 *command, size_t len) in ca8210_net_rx() 2491 size_t le in ca8210_test_int_user_write() [all...] |
/kernel/linux/linux-5.10/drivers/target/sbp/ |
H A D | sbp_target.c | 51 unsigned long long, void *, size_t); 798 unsigned long long offset, void *data, size_t length, in tgt_agent_rw() 1057 void *payload, size_t length) in sbp_run_transaction() 1087 size_t length) in sbp_run_request_transaction() 1583 int generation, unsigned long long offset, void *data, size_t length, in sbp_mgt_agent_rw() 1946 static ssize_t sbp_format_wwn(char *buf, size_t len, u64 wwn) in sbp_format_wwn() 2105 const char *page, size_t count) in sbp_tpg_directory_id_store() 2140 const char *page, size_t count) in sbp_tpg_enable_store() 2201 const char *page, size_t count) in sbp_tpg_attrib_mgt_orb_timeout_store() 2236 const char *page, size_t coun in sbp_tpg_attrib_max_reconnect_timeout_store() [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/ |
H A D | inode.c | 467 size_t ret; in ep_user_copy_worker() 528 size_t len) in ep_aio() 581 size_t len = iov_iter_count(to); in ep_read_iter() 633 static ssize_t ep_config(struct ep_data *, const char *, size_t); 640 size_t len = iov_iter_count(from); in ep_write_iter() 724 ep_config (struct ep_data *data, const char *buf, size_t len) in ep_config() 911 ep0_read (struct file *fd, char __user *buf, size_t len, loff_t *ptr) in ep0_read() 989 len = min (len, (size_t)dev->req->actual); in ep0_read() 1123 ep0_write (struct file *fd, const char __user *buf, size_t len, loff_t *ptr) in ep0_write() 1136 len = min_t(size_t, le in ep0_write() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | smscufx.c | 89 size_t size; 103 size_t edid_size; 135 static int ufx_submit_urb(struct ufx_data *dev, struct urb * urb, size_t len); 136 static int ufx_alloc_urb_list(struct ufx_data *dev, int count, size_t size); 814 size_t packed_line_len = ALIGN((width * 2), 4); in ufx_raw_rect() 815 size_t packed_rect_len = packed_line_len * height; in ufx_raw_rect() 853 size_t packed_line_len = ALIGN((width * 2), 4); in ufx_handle_damage() 899 size_t count, loff_t *ppos) in ufx_ops_write() 1492 char *default_edid, size_t default_edid_size) in ufx_setup_modes() 1875 static int ufx_alloc_urb_list(struct ufx_data *dev, int count, size_t siz [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | act_api.c | 184 static size_t tcf_action_shared_attrs_size(const struct tc_action *act) in tcf_action_shared_attrs_size() 212 static size_t tcf_action_full_attrs_size(size_t sz) in tcf_action_full_attrs_size() 220 static size_t tcf_action_fill_size(const struct tc_action *act) in tcf_action_fill_size() 222 size_t sz = tcf_action_shared_attrs_size(act); in tcf_action_fill_size() 1062 struct tc_action *actions[], int init_res[], size_t *attr_size, in tcf_action_init() 1068 size_t sz = 0; in tcf_action_init() 1394 u32 portid, size_t attr_size, struct netlink_ext_ack *extack) in tcf_del_notify() 1433 size_t attr_size = 0; in tca_action_gd() 1476 u32 portid, size_t attr_siz in tcf_add_notify() [all...] |
/kernel/linux/linux-5.10/fs/iomap/ |
H A D | buffered-io.c | 212 size_t size = i_size_read(inode); in iomap_read_inline_data() 669 static size_t __iomap_write_end(struct inode *inode, loff_t pos, size_t len, in __iomap_write_end() 670 size_t copied, struct page *page) in __iomap_write_end() 692 static size_t iomap_write_end_inline(struct inode *inode, struct page *page, in iomap_write_end_inline() 693 struct iomap *iomap, loff_t pos, size_t copied) in iomap_write_end_inline() 710 static size_t iomap_write_end(struct inode *inode, loff_t pos, size_t len, in iomap_write_end() 711 size_t copied, struct page *page, struct iomap *iomap, in iomap_write_end() 716 size_t re in iomap_write_end() [all...] |
/kernel/linux/linux-5.10/lib/zstd/ |
H A D | zstd_opt.h | 38 ZSTD_STATIC void ZSTD_rescaleFreqs(seqStore_t *ssPtr, const BYTE *src, size_t srcSize) in ZSTD_rescaleFreqs() 222 const size_t hash3 = ZSTD_hash3Ptr(ip, hashLog3); in ZSTD_insertAndFindFirstIndexHash3() 241 const size_t h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_insertBtAndGetAllMatches() 247 size_t commonLengthSmaller = 0, commonLengthLarger = 0; in ZSTD_insertBtAndGetAllMatches() 261 size_t bestLength = minMatchLen - 1; in ZSTD_insertBtAndGetAllMatches() 267 size_t currMl = 0; in ZSTD_insertBtAndGetAllMatches() 297 size_t matchLength = MIN(commonLengthSmaller, commonLengthLarger); /* guaranteed minimum nb of common bytes */ in ZSTD_insertBtAndGetAllMatches() 407 void ZSTD_compressBlock_opt_generic(ZSTD_CCtx *ctx, const void *src, size_t srcSize, const int ultra) in ZSTD_compressBlock_opt_generic() 693 size_t const lastLLSize = iend - anchor; in ZSTD_compressBlock_opt_generic() 700 void ZSTD_compressBlock_opt_extDict_generic(ZSTD_CCtx *ctx, const void *src, size_t srcSiz [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_buf.c | 358 size_t size; in xfs_buf_allocate_memory() 359 size_t nbytes, offset; in xfs_buf_allocate_memory() 447 nbytes = min_t(size_t, size, PAGE_SIZE - offset); in xfs_buf_allocate_memory() 682 size_t numblks, in xfs_buf_incore() 914 size_t numblks, in xfs_buf_read_uncached() 949 size_t numblks, in xfs_buf_get_uncached() 1718 size_t offset) in xfs_buf_offset() 1733 size_t boff, in xfs_buf_zero() 1734 size_t bsize) in xfs_buf_zero() 1736 size_t ben in xfs_buf_zero() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_display_debugfs.c | 736 static void plane_rotation(char *buf, size_t bufsize, unsigned int rotation) in plane_rotation() 990 size_t len, loff_t *offp) in i915_ipc_status_write() 1239 size_t len, loff_t *offp) in i915_displayport_test_active_write() 1550 size_t len, loff_t *offp, u16 wm[8]) in wm_latency_write() 1596 size_t len, loff_t *offp) in pri_wm_latency_write() 1611 size_t len, loff_t *offp) in spr_wm_latency_write() 1626 size_t len, loff_t *offp) in cur_wm_latency_write() 1687 const char __user *ubuf, size_t len, in i915_hpd_storm_ctl_write() 1769 size_t len, loff_t *offp) in i915_hpd_short_storm_ctl_write() 1897 size_t cn in i915_fifo_underrun_reset_write() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
H A D | wsm.c | 79 static int wsm_buf_reserve(struct wsm_buf *buf, size_t extra_size); 186 size_t buf_size; 190 size_t buf_size) in wsm_read_mib() 241 size_t buf_size) in wsm_write_mib() 867 size_t hdr_len; in wsm_receive_indication() 1076 size_t buf_len = buf->data - buf->begin; in wsm_cmd_send() 1239 int wsm_handle_exception(struct cw1200_common *priv, u8 *data, size_t len) in wsm_handle_exception() 1659 size_t *tx_len, int *burst) in wsm_get_tx() 1799 static int wsm_buf_reserve(struct wsm_buf *buf, size_t extra_size) in wsm_buf_reserve() 1801 size_t po in wsm_buf_reserve() [all...] |
/kernel/linux/linux-6.6/drivers/misc/ |
H A D | ibmvmc.c | 272 static void *alloc_dma_buffer(struct vio_dev *vdev, size_t size, in alloc_dma_buffer() 306 static void free_dma_buffer(struct vio_dev *vdev, size_t size, void *vaddr, in free_dma_buffer() 903 static ssize_t ibmvmc_read(struct file *file, char *buf, size_t nbytes, in ibmvmc_read() 979 nbytes = min_t(size_t, nbytes, buffer->msg_len); in ibmvmc_read() 1040 size_t count, loff_t *ppos) in ibmvmc_write() 1049 size_t bytes; in ibmvmc_write() 1051 size_t c = count; in ibmvmc_write() 1113 bytes = min_t(size_t, c, vmc_buffer->size); in ibmvmc_write() 1213 size_t bytes; in ibmvmc_ioctl_sethmcid() 1278 size_t byte in ibmvmc_ioctl_query() [all...] |