/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/ |
H A D | napi_common.cpp | 825 bool GetStartEndParams(napi_env env, napi_value arg, int64_t &start, int64_t &end)
in GetStartEndParams() argument 838 if (napi_get_named_property(env, arg, "end", &tempValue) != napi_ok) {
in GetStartEndParams() 839 TEXT_LOGE("Failed end is invalid");
in GetStartEndParams() 842 bool isEndOk = ConvertFromJsValue(env, tempValue, end);
in GetStartEndParams() 843 if (!isStartOk || !isEndOk || start < 0 || end < 0) {
in GetStartEndParams() 844 TEXT_LOGE("Failed start or end is invalid");
in GetStartEndParams()
|
/kernel/linux/linux-5.10/drivers/crypto/mediatek/ |
H A D | mtk-aes.c | 559 u32 start, end, ctr, blocks; in mtk_aes_ctr_transfer() local 575 end = start + blocks - 1; in mtk_aes_ctr_transfer() 576 if (end < start) { in mtk_aes_ctr_transfer()
|
/kernel/linux/linux-5.10/drivers/crypto/ccree/ |
H A D | cc_buffer_mgr.c | 96 * from to_skip to end, to dest and vice versa 102 * @end: Offset of last byte to copy 107 u32 to_skip, u32 end, enum cc_sg_cpy_direct direct) in cc_copy_sg_portion() 111 nents = sg_nents_for_len(sg, end); in cc_copy_sg_portion() 112 sg_copy_buffer(sg, nents, dest, (end - to_skip + 1), to_skip, in cc_copy_sg_portion() 1092 * (2) IV entry (chained right after end of assoc) in cc_map_aead_request() 1097 * (2) IV entry (chained right after end of assoc) in cc_map_aead_request() 1103 * (2) IV entry (chained right after end of assoc) in cc_map_aead_request() 106 cc_copy_sg_portion(struct device *dev, u8 *dest, struct scatterlist *sg, u32 to_skip, u32 end, enum cc_sg_cpy_direct direct) cc_copy_sg_portion() argument
|
/kernel/linux/linux-5.10/arch/arm/mach-davinci/ |
H A D | da830.c | 716 .end = DA8XX_CP_INTC_BASE + SZ_8K - 1, 752 .end = DA8XX_PSC0_BASE + SZ_4K - 1, 767 .end = DA8XX_PSC1_BASE + SZ_4K - 1,
|
/kernel/linux/linux-5.10/arch/x86/xen/ |
H A D | enlighten_pv.c | 713 unsigned long start, end; in xen_write_idt_entry() local 720 end = start + __this_cpu_read(idt_desc.size) + 1; in xen_write_idt_entry() 726 if (p >= start && (p + 8) <= end) { in xen_write_idt_entry()
|
/kernel/linux/linux-5.10/drivers/block/xen-blkback/ |
H A D | blkback.c | 3 * Back-end of the driver for virtual block devices. This portion of the 5 * by any operating system that implements a compatible front end. A 6 * reference front-end implementation can be found in: 454 blkif_sector_t end = req->sector_number + req->nr_sects; in xen_vbd_translate() local 456 if (unlikely(end < req->sector_number)) in xen_vbd_translate() 458 if (unlikely(end > vbd_sz(vbd))) in xen_vbd_translate() 496 * the front-end. If the current state is "connected" the in xen_vbd_resize() 497 * front-end will get the new size information online. in xen_vbd_resize() 1051 pr_debug("Buffer not up-to-date at end of operation," in __end_block_io_op()
|
/kernel/linux/linux-5.10/drivers/net/can/ |
H A D | pch_can.c | 736 goto end; in pch_can_poll() 755 goto end; in pch_can_poll() 765 end: in pch_can_poll()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | sm501.c | 770 res->end = res->start + size - 1; in sm501_create_subio() 788 res->end = res->start + size - 1; in sm501_create_mem() 801 res->start = res->end = sm->irq; in sm501_create_irq() 1706 { /* end */ }
|
/kernel/linux/linux-5.10/drivers/md/bcache/ |
H A D | request.c | 292 * This is the starting point for any data to end up in a cache device; it could 565 * is in flight, and we could then end up reading the wrong in cache_lookup_fn() 977 struct bkey end = KEY(dc->disk.id, bio_end_sector(bio), 0); in cached_dev_write() local 979 bch_keybuf_check_overlapping(&s->iop.c->moving_gc_keys, &start, &end); in cached_dev_write() 982 if (bch_keybuf_check_overlapping(&dc->writeback_keys, &start, &end)) { in cached_dev_write()
|
/kernel/linux/linux-5.10/drivers/media/pci/tw686x/ |
H A D | tw686x-video.c | 841 unsigned long end; in tw686x_querystd() local 851 end = jiffies + msecs_to_jiffies(500); in tw686x_querystd() 852 while (time_is_after_jiffies(end)) { in tw686x_querystd()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | main.c | 190 unsigned long end = jiffies + msecs_to_jiffies(max_wait_mili); in wait_fw_init() local 196 if (time_after(jiffies, end)) { in wait_fw_init() 202 jiffies_to_msecs(end - warn) / 1000); in wait_fw_init()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
H A D | mcg.c | 1078 unsigned long end; in _mlx4_ib_mcg_port_cleanup() local 1084 end = jiffies + msecs_to_jiffies(MAD_TIMEOUT_MS + 3000); in _mlx4_ib_mcg_port_cleanup() 1095 } while (time_after(end, jiffies)); in _mlx4_ib_mcg_port_cleanup()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
H A D | hns_roce_mr.c | 639 int end; in mtr_map_region() local 647 end = offset + region->count; in mtr_map_region() 649 while (offset < end) { in mtr_map_region() 864 "failed to check mtr%u end %u + %u, max %u.\n", in hns_roce_mtr_map()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | vmw_pvscsi.c | 159 struct pvscsi_ctx *ctx, *end; in pvscsi_find_context() local 161 end = &adapter->cmd_map[adapter->req_depth]; in pvscsi_find_context() 162 for (ctx = adapter->cmd_map; ctx < end; ctx++) in pvscsi_find_context()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | f_uac2.c | 1087 goto end; \ 1092 goto end; \ 1097 end: \
|
/kernel/linux/linux-5.10/drivers/target/iscsi/ |
H A D | iscsi_target_nego.c | 1069 char *tmpbuf, *start = NULL, *end = NULL, *key, *value; in iscsi_target_locate_portal() local 1096 end = (start + payload_length); in iscsi_target_locate_portal() 1102 while (start < end) { in iscsi_target_locate_portal()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | hyperv_fb.c | 427 unsigned long start, end; in synthvid_deferred_io() local 435 * over the end of frame buffer row yres. This is taken care of in synthvid_deferred_io() 441 end = start + PAGE_SIZE - 1; in synthvid_deferred_io() 443 y2 = end / p->fix.line_length; in synthvid_deferred_io() 1342 { /* end of list */ }
|
/kernel/linux/linux-5.10/net/sctp/ |
H A D | outqueue.c | 79 /* Add data chunk to the end of the queue. */ 581 * will be flushed at the end. in sctp_retransmit() 1213 unack_data -= ((ntohs(frags[i].gab.end) - in sctp_sack_update_unack_data() 1294 highest_tsn += ntohs(frags[gap_ack_blocks - 1].gab.end); in sctp_outq_sack() 1774 tsn_offset <= ntohs(frags[i].gab.end)) in sctp_acked() 1827 * out-queue at the end of ==> out-queue after Adv.Ack.Point in sctp_generate_fwdtsn()
|
/kernel/linux/linux-5.10/sound/isa/wavefront/ |
H A D | wavefront_synth.c | 579 unsigned char *end = src + src_bytes; in demunge_buf() 581 end = src + src_bytes; in demunge_buf() 585 for (i = 0; src != end; i++) { in demunge_buf() 578 unsigned char *end = src + src_bytes; demunge_buf() local
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | hmdfs_client.c | 100 __s64 start, __s64 end, __s32 datasync) in hmdfs_send_fsync() 120 fsync_req->end = cpu_to_le64(end); in hmdfs_send_fsync() 99 hmdfs_send_fsync(struct hmdfs_peer *con, const struct hmdfs_fid *fid, __s64 start, __s64 end, __s32 datasync) hmdfs_send_fsync() argument
|
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | aops.c | 1399 /* We have to zero every time due to mmap-at-end-of-file. */ in ntfs_writepage() 1716 unsigned int end, bh_size, bh_ofs; in mark_ntfs_record_dirty() local 1719 end = ofs + ni->itype.index.block_size; in mark_ntfs_record_dirty() 1745 if (unlikely(bh_ofs >= end)) in mark_ntfs_record_dirty()
|
/kernel/linux/linux-5.10/drivers/w1/ |
H A D | w1.c | 602 goto end; in w1_uevent() 606 goto end; in w1_uevent() 610 end: in w1_uevent()
|
/kernel/linux/linux-5.10/drivers/vme/ |
H A D | vme.c | 813 if (phys_addr + vma_size > image->bus_resource.end + 1) { in vme_master_mmap() 1267 (address < handler->end)) { in vme_bus_error_handler() 1295 handler->end = address + len; in vme_register_error_handler()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | ref-verify.c | 439 unsigned long end, ptr; in process_extent_item() local 460 end = (unsigned long)ei + item_size; in process_extent_item() 461 while (ptr < end) { in process_extent_item()
|
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | trace_output.c | 1075 unsigned long *end; in trace_stack_print() local 1078 end = (unsigned long *)((long)iter->ent + iter->ent_size); in trace_stack_print() 1082 for (p = field->caller; p && p < end && *p != ULONG_MAX; p++) { in trace_stack_print()
|