/third_party/python/Lib/test/ |
H A D | test_shlex.py | 150 for i in range(len(data)): 176 for i in range(len(self.data)):
|
H A D | test_poll.py | 47 for i in range(NUM_PIPES): 190 for i in range(10):
|
H A D | test_weakref.py | 270 L3 = collections.UserList(range(10)) 933 for n in range(100): 1218 items = [RefCycle() for i in range(N)] 1245 for th in range(1, 100): 1249 items = [RefCycle() for i in range(N)] 1547 objects = list(map(Object, range(self.COUNT))) 1577 objects = list(map(Object, range(self.COUNT))) 1803 objs = [C(i) for i in range(4)] 1841 for i in range(100000): 1850 for i in range(10000 [all...] |
/third_party/skia/third_party/externals/angle2/ |
H A D | PRESUBMIT.py | 73 for k in range(len(multiple_commits)): 78 for i in range(len(commit_msg_lines)):
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
H A D | bn.rs | 12 pub fn BN_rand_range(r: *mut BIGNUM, range: *const BIGNUM) -> c_int; in BN_rand_range() 14 pub fn BN_pseudo_rand_range(r: *mut BIGNUM, range: *const BIGNUM) -> c_int; in BN_pseudo_rand_range()
|
/third_party/backends/backend/ |
H A D | microtek2.c | 2216 /* the actual bit depth, i.e. 256 entries with a range of 0..255 */ in init_options() 2316 /* Percentage range for brightness, contrast */ in init_options() 2429 sod[OPT_RESOLUTION].constraint.range = &md->x_res_range_dpi; in init_options() 2436 sod[OPT_Y_RESOLUTION].constraint.range = &md->y_res_range_dpi; in init_options() 2458 sod[OPT_TL_X].constraint.range = &md->x_range_mm; in init_options() 2464 sod[OPT_TL_Y].constraint.range = &md->y_range_mm; in init_options() 2470 sod[OPT_BR_X].constraint.range = &md->x_range_mm; in init_options() 2476 sod[OPT_BR_Y].constraint.range = &md->y_range_mm; in init_options() 2490 sod[OPT_BRIGHTNESS].constraint.range = &md->percentage_range; in init_options() 2496 sod[OPT_CONTRAST].constraint.range in init_options() [all...] |
H A D | epson.c | 2334 * is the vertical range is smaller than the horizontal range. in attach() 2883 s->opt[OPT_BRIGHTNESS].constraint.range = &s->hw->cmd->bright_range; in init_options() 2899 s->opt[OPT_SHARPNESS].constraint.range = &outline_emphasis_range; in init_options() 2954 s->opt[ OPT_GAMMA_VECTOR].constraint.range = &u8_range; in init_options() 2968 s->opt[OPT_GAMMA_VECTOR_R].constraint.range = &u8_range; in init_options() 2981 s->opt[OPT_GAMMA_VECTOR_G].constraint.range = &u8_range; in init_options() 2994 s->opt[OPT_GAMMA_VECTOR_B].constraint.range = &u8_range; in init_options() 3065 s->opt[OPT_THRESHOLD].constraint.range = &u8_range; in init_options() 3160 s->opt[OPT_CCT_1].constraint.range in init_options() [all...] |
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
H A D | ni_mio_common.c | 1612 unsigned int chan, range, aref; in ni_m_series_load_channelgain_list() local 1623 range = CR_RANGE(list[0]); in ni_m_series_load_channelgain_list() 1624 range_code = ni_gainlkup[board->gainlkup][range]; in ni_m_series_load_channelgain_list() 1643 range = CR_RANGE(list[i]); in ni_m_series_load_channelgain_list() 1646 range_code = ni_gainlkup[board->gainlkup][range]; in ni_m_series_load_channelgain_list() 1711 unsigned int chan, range, aref; in ni_load_channelgain_list() local 1767 range = CR_RANGE(list[i]); in ni_load_channelgain_list() 1770 /* fix the external/internal range differences */ in ni_load_channelgain_list() 1771 range = ni_gainlkup[board->gainlkup][range]; in ni_load_channelgain_list() 2533 unsigned int range = CR_RANGE(cmd->chanlist[chan_index]); ni_ao_munge() local 2559 unsigned int range; ni_m_series_ao_config_chanlist() local 2632 unsigned int range; ni_old_ao_config_chanlist() local 2688 unsigned int range = CR_RANGE(insn->chanspec); ni_ao_insn_write() local [all...] |
/kernel/linux/linux-6.6/drivers/comedi/drivers/ |
H A D | ni_mio_common.c | 1611 unsigned int chan, range, aref; in ni_m_series_load_channelgain_list() local 1622 range = CR_RANGE(list[0]); in ni_m_series_load_channelgain_list() 1623 range_code = ni_gainlkup[board->gainlkup][range]; in ni_m_series_load_channelgain_list() 1642 range = CR_RANGE(list[i]); in ni_m_series_load_channelgain_list() 1645 range_code = ni_gainlkup[board->gainlkup][range]; in ni_m_series_load_channelgain_list() 1710 unsigned int chan, range, aref; in ni_load_channelgain_list() local 1766 range = CR_RANGE(list[i]); in ni_load_channelgain_list() 1769 /* fix the external/internal range differences */ in ni_load_channelgain_list() 1770 range = ni_gainlkup[board->gainlkup][range]; in ni_load_channelgain_list() 2532 unsigned int range = CR_RANGE(cmd->chanlist[chan_index]); ni_ao_munge() local 2558 unsigned int range; ni_m_series_ao_config_chanlist() local 2631 unsigned int range; ni_old_ao_config_chanlist() local 2687 unsigned int range = CR_RANGE(insn->chanspec); ni_ao_insn_write() local [all...] |
/kernel/linux/linux-6.6/arch/x86/kvm/svm/ |
H A D | sev.c | 1950 struct kvm_enc_region *range) in sev_mem_enc_register_region() 1963 if (range->addr > ULONG_MAX || range->size > ULONG_MAX) in sev_mem_enc_register_region() 1971 region->pages = sev_pin_memory(kvm, range->addr, range->size, ®ion->npages, 1); in sev_mem_enc_register_region() 1978 region->uaddr = range->addr; in sev_mem_enc_register_region() 1979 region->size = range->size; in sev_mem_enc_register_region() 1986 * or vice versa for this memory range. Lets make sure caches are in sev_mem_enc_register_region() 2000 find_enc_region(struct kvm *kvm, struct kvm_enc_region *range) in find_enc_region() argument 2007 if (i->uaddr == range in find_enc_region() 1949 sev_mem_enc_register_region(struct kvm *kvm, struct kvm_enc_region *range) sev_mem_enc_register_region() argument 2023 sev_mem_enc_unregister_region(struct kvm *kvm, struct kvm_enc_region *range) sev_mem_enc_unregister_region() argument [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | underscoreTest1.js | 551 range(stop: number): number[]; 552 range(start: number, stop: number, step?: number): number[]; 734 _.range(10); 735 _.range(1, 11); 736 _.range(0, 30, 5); 737 _.range(0, 30, 5); 738 _.range(0); 960 _.range(10);
961 _.range(1, 11);
962 _.range( [all...] |
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpiolib.c | 197 pr_err("%s: cannot find free range\n", __func__); in gpiochip_find_base() 246 * by range(means [base, base + ngpio - 1]) order. 1879 * gpiochip_add_pingroup_range() - add a range for GPIO <-> pin mapping 1880 * @gc: the gpiochip to add the range for 1904 /* Use local offset as range ID */ in gpiochip_add_pingroup_range() 1905 pin_range->range.id = gpio_offset; in gpiochip_add_pingroup_range() 1906 pin_range->range.gc = gc; in gpiochip_add_pingroup_range() 1907 pin_range->range.name = gc->label; in gpiochip_add_pingroup_range() 1908 pin_range->range.base = gdev->base + gpio_offset; in gpiochip_add_pingroup_range() 1912 &pin_range->range in gpiochip_add_pingroup_range() [all...] |
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpiolib.c | 220 pr_err("%s: cannot find free range\n", __func__); in gpiochip_find_base() 269 * by range(means [base, base + ngpio - 1]) order. 1952 * gpiochip_add_pingroup_range() - add a range for GPIO <-> pin mapping 1953 * @gc: the gpiochip to add the range for 1977 /* Use local offset as range ID */ in gpiochip_add_pingroup_range() 1978 pin_range->range.id = gpio_offset; in gpiochip_add_pingroup_range() 1979 pin_range->range.gc = gc; in gpiochip_add_pingroup_range() 1980 pin_range->range.name = gc->label; in gpiochip_add_pingroup_range() 1981 pin_range->range.base = gdev->base + gpio_offset; in gpiochip_add_pingroup_range() 1985 &pin_range->range in gpiochip_add_pingroup_range() [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | alloc.c | 1090 * Change range of the branches in the right most path according to the leaf 1792 u32 range; in __ocfs2_find_path() local 1819 range = le32_to_cpu(rec->e_cpos) + in __ocfs2_find_path() 1821 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range) in __ocfs2_find_path() 1966 * count covers the full theoretical range of their child list in ocfs2_adjust_adjacent_records() 1967 * - the range between their cpos and the cpos of the record in ocfs2_adjust_adjacent_records() 2298 * Trap the case where we're inserting into the theoretical range past 2299 * the _actual_ left leaf range. Otherwise, we'll rotate a record 2326 unsigned int range; in ocfs2_leftmost_rec_contains() local 2340 range in ocfs2_leftmost_rec_contains() 2531 u32 range; ocfs2_update_edge_lengths() local 3866 unsigned int range; ocfs2_insert_at_leaf() local 7204 u32 new_highest_cpos, range, trunc_cpos, trunc_len, phys_cpos, coff; ocfs2_commit_truncate() local 7521 ocfs2_trim_mainbm(struct super_block *sb, struct fstrim_range *range) ocfs2_trim_mainbm() argument 7644 ocfs2_trim_fs(struct super_block *sb, struct fstrim_range *range) ocfs2_trim_fs() argument [all...] |
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | alloc.c | 1088 * Change range of the branches in the right most path according to the leaf 1790 u32 range; in __ocfs2_find_path() local 1817 range = le32_to_cpu(rec->e_cpos) + in __ocfs2_find_path() 1819 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range) in __ocfs2_find_path() 1964 * count covers the full theoretical range of their child list in ocfs2_adjust_adjacent_records() 1965 * - the range between their cpos and the cpos of the record in ocfs2_adjust_adjacent_records() 2296 * Trap the case where we're inserting into the theoretical range past 2297 * the _actual_ left leaf range. Otherwise, we'll rotate a record 2324 unsigned int range; in ocfs2_leftmost_rec_contains() local 2338 range in ocfs2_leftmost_rec_contains() 2529 u32 range; ocfs2_update_edge_lengths() local 3864 unsigned int range; ocfs2_insert_at_leaf() local 7209 u32 new_highest_cpos, range, trunc_cpos, trunc_len, phys_cpos, coff; ocfs2_commit_truncate() local 7526 ocfs2_trim_mainbm(struct super_block *sb, struct fstrim_range *range) ocfs2_trim_mainbm() argument 7649 ocfs2_trim_fs(struct super_block *sb, struct fstrim_range *range) ocfs2_trim_fs() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | vk_helpers.cpp | 3354 // sum of offset and the address of the range of VkDeviceMemory object that is backing buffer, in LineLoopHelper() 4064 // Mark the range as defined. Layers above 8 are discarded, and are always assumed to have in setContentDefined() 5288 VkImageSubresourceRange range = {}; in clearColor() local 5289 range.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in clearColor() 5290 range.baseMipLevel = baseMipLevelVk.get(); in clearColor() 5291 range.levelCount = levelCount; in clearColor() 5292 range.baseArrayLayer = baseArrayLayer; in clearColor() 5293 range.layerCount = layerCount; in clearColor() 5300 range.layerCount = 1; in clearColor() 5303 commandBuffer->clearColorImage(mImage, getCurrentLayout(), color, 1, &range); in clearColor() 5318 VkImageSubresourceRange range = {}; clearDepthStencil() local 8305 ImageSubresourceRange range = MakeImageSubresourceDrawRange( getLevelDrawImageView() local 8385 ImageSubresourceRange range; MakeImageSubresourceReadRange() local 8402 ImageSubresourceRange range; MakeImageSubresourceDrawRange() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_select_controller.cpp | 222 auto range = GetSelectRangeByOffset(touchLocalOffset); in UpdateSelectByOffset() local 223 int32_t start = range.first; in UpdateSelectByOffset() 224 int32_t end = range.second; in UpdateSelectByOffset() 238 auto range = GetSelectParagraphByOffset(localOffset); in UpdateSelectPragraphByOffset() local 239 int32_t start = range.first; in UpdateSelectPragraphByOffset() 240 int32_t end = range.second; in UpdateSelectPragraphByOffset()
|
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | perf_cpum_cf.c | 59 static inline int ctr_stcctm(enum cpumf_ctr_set set, u64 range, u64 *dest) in ctr_stcctm() argument 63 return stcctm(BASIC, range, dest); in ctr_stcctm() 65 return stcctm(PROBLEM_STATE, range, dest); in ctr_stcctm() 67 return stcctm(CRYPTO_ACTIVITY, range, dest); in ctr_stcctm() 69 return stcctm(EXTENDED, range, dest); in ctr_stcctm() 71 return stcctm(MT_DIAG_CLEARING, range, dest); in ctr_stcctm()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | adm1031.c | 245 int range = val - AUTO_TEMP_MIN_FROM_REG(reg); in AUTO_TEMP_MAX_TO_REG() local 247 range = ((val - AUTO_TEMP_MIN_FROM_REG(reg))*10)/(16 - pwm); in AUTO_TEMP_MAX_TO_REG() 249 (range < 10000 ? 0 : in AUTO_TEMP_MAX_TO_REG() 250 range < 20000 ? 1 : in AUTO_TEMP_MAX_TO_REG() 251 range < 40000 ? 2 : range < 80000 ? 3 : 4)); in AUTO_TEMP_MAX_TO_REG()
|
/kernel/linux/linux-5.10/drivers/iio/imu/ |
H A D | kmx61.c | 130 u8 range; member 481 static int kmx61_set_range(struct kmx61_data *data, u8 range) in kmx61_set_range() argument 492 ret |= range & KMX61_REG_CTRL1_GSEL_MASK; in kmx61_set_range() 500 data->range = range; in kmx61_set_range() 550 /* set accel 12bit, 4g range */ in kmx61_chip_init() 829 *val2 = kmx61_uscale_table[data->range]; in kmx61_read_raw()
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
H A D | sufile.c | 25 * @allocmin: lower limit of allocatable segment range 26 * @allocmax: upper limit of allocatable segment range 31 __u64 allocmin; /* lower limit of allocatable segment range */ 32 __u64 allocmax; /* upper limit of allocatable segment range */ 256 * nilfs_sufile_set_alloc_range - limit range of segment to be allocated 657 * nilfs_sufile_truncate_range - truncate range of segment array 671 * %-EBUSY - Dirty or active segments are present in the range 1046 * @range: fstrim_range structure 1059 int nilfs_sufile_trim_fs(struct inode *sufile, struct fstrim_range *range) in nilfs_sufile_trim_fs() argument 1074 len = range in nilfs_sufile_trim_fs() [all...] |
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | ioctl.c | 1111 struct fstrim_range range; in __ext4_ioctl() local 1127 if (copy_from_user(&range, (struct fstrim_range __user *)arg, in __ext4_ioctl() 1128 sizeof(range))) in __ext4_ioctl() 1131 ret = ext4_trim_fs(sb, &range); in __ext4_ioctl() 1135 if (copy_to_user((struct fstrim_range __user *)arg, &range, in __ext4_ioctl() 1136 sizeof(range))) in __ext4_ioctl()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_gsc.c | 70 * @range: narrow, wide. 78 bool range; member 594 if (sc->range) in gsc_src_set_size() 599 if (sc->range) in gsc_src_set_size() 895 if (sc->range) in gsc_dst_set_size() 900 if (sc->range) in gsc_dst_set_size() 1078 sc->range = true; in gsc_reset()
|
/kernel/linux/linux-5.10/drivers/pinctrl/ |
H A D | pinctrl-oxnas.c | 693 struct pinctrl_gpio_range *range, in oxnas_ox810se_gpio_request_enable() 697 struct oxnas_gpio_bank *bank = gpiochip_get_data(range->gc); in oxnas_ox810se_gpio_request_enable() 723 struct pinctrl_gpio_range *range, in oxnas_ox820_gpio_request_enable() 727 struct oxnas_gpio_bank *bank = gpiochip_get_data(range->gc); in oxnas_ox820_gpio_request_enable() 809 struct pinctrl_gpio_range *range, in oxnas_gpio_set_direction() 812 struct gpio_chip *chip = range->gc; in oxnas_gpio_set_direction() 692 oxnas_ox810se_gpio_request_enable(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned int offset) oxnas_ox810se_gpio_request_enable() argument 722 oxnas_ox820_gpio_request_enable(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned int offset) oxnas_ox820_gpio_request_enable() argument 808 oxnas_gpio_set_direction(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned int offset, bool input) oxnas_gpio_set_direction() argument
|
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | s2mps11.c | 720 #define regulator_desc_s2mps15_ldo(num, range) { \ 726 .linear_ranges = range, \ 727 .n_linear_ranges = ARRAY_SIZE(range), \ 735 #define regulator_desc_s2mps15_buck(num, range) { \ 741 .linear_ranges = range, \ 742 .n_linear_ranges = ARRAY_SIZE(range), \ 751 /* voltage range for s2mps15 LDO 3, 5, 15, 16, 18, 20, 23 and 27 */ 756 /* voltage range for s2mps15 LDO 2, 6, 14, 17, 19, 21, 24 and 25 */ 761 /* voltage range for s2mps15 LDO 4, 11, 12, 13, 22 and 26 */ 766 /* voltage range fo [all...] |