Home
last modified time | relevance | path

Searched refs:range (Results 551 - 575 of 3981) sorted by relevance

1...<<21222324252627282930>>...160

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
H A DParsingUtils.java32 for (EntryRange range : input.ranges()) { in putLeadCodePoints()
33 output.add(range.codepoint, range.codepointEnd); in putLeadCodePoints()
/third_party/icu/icu4c/source/test/intltest/
H A Ddtfmtrtts.h67 * Return a random value from -range..+range (closed).
69 static double randDouble(double range) in randDouble() argument
74 return (2.0 * range * a) - range; in randDouble()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/
H A DParsingUtils.java34 for (EntryRange range : input.ranges()) { in putLeadCodePoints()
35 output.add(range.codepoint, range.codepointEnd); in putLeadCodePoints()
/third_party/icu/icu4c/source/common/unicode/
H A Dusetiter.h84 * iteration range, if <tt>codepoint != IS_STRING</tt>. If
126 * code point range, depending on whether <tt>next()</tt> or
133 * of the range, and <tt>getCodepointEnd()</tt> returns the end
134 * of the range.
147 * Returns the end of the current code point range, if
177 // Finish code point/range iteration. in skipToStrings()
178 range = endRange; in skipToStrings()
209 * Returns the next element in the set, either a code point range
213 * range of one or more code points from <tt>getCodepoint()</tt> to
268 /** End range
273 int32_t range; global() member in U_FINAL
[all...]
/third_party/node/deps/icu-small/source/common/unicode/
H A Dusetiter.h84 * iteration range, if <tt>codepoint != IS_STRING</tt>. If
126 * code point range, depending on whether <tt>next()</tt> or
133 * of the range, and <tt>getCodepointEnd()</tt> returns the end
134 * of the range.
147 * Returns the end of the current code point range, if
177 // Finish code point/range iteration. in skipToStrings()
178 range = endRange; in skipToStrings()
209 * Returns the next element in the set, either a code point range
213 * range of one or more code points from <tt>getCodepoint()</tt> to
268 /** End range
273 int32_t range; global() member in final
[all...]
/third_party/skia/tools/skpbench/
H A D_hardware_nexus_6p.py29 done''' % tuple(CPU_CLOCK_RATE for _ in range(3)))
49 tuple(GPU_CLOCK_RATE for _ in range(3)))
90 for i in range(4, 7)]
/third_party/rust/crates/memchr/scripts/
H A Dmake-byte-frequency-table37 for i in range(0, 256):
60 for byte in range(0xC0, 0xFF + 1):
65 for byte in range(256):
/third_party/rust/crates/regex/scripts/
H A Dfrequencies.py37 for i in range(0, 256):
60 for byte in range(0xC0, 0xFF + 1):
65 for byte in range(256):
/kernel/linux/linux-5.10/drivers/firmware/efi/
H A Defi-init.c279 static bool efifb_overlaps_pci_range(const struct of_pci_range *range) in efifb_overlaps_pci_range() argument
286 return fb_base >= range->cpu_addr && in efifb_overlaps_pci_range()
287 fb_base < (range->cpu_addr + range->size); in efifb_overlaps_pci_range()
296 struct of_pci_range range; in find_pci_overlap_node() local
305 for_each_of_pci_range(&parser, &range) in find_pci_overlap_node()
306 if (efifb_overlaps_pci_range(&range)) in find_pci_overlap_node()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
H A Ddebugfs.c191 int bound[7], i, range; in mt7615_ampdu_stat_read_phy() local
196 range = mt76_rr(dev, reg); in mt7615_ampdu_stat_read_phy()
198 bound[i] = MT_AGG_ASRCR_RANGE(range, i) + 1; in mt7615_ampdu_stat_read_phy()
200 range = mt76_rr(dev, reg + 4); in mt7615_ampdu_stat_read_phy()
202 bound[i + 4] = MT_AGG_ASRCR_RANGE(range, i) + 1; in mt7615_ampdu_stat_read_phy()
212 range = ext_phy ? ARRAY_SIZE(dev->mt76.aggr_stats) / 2 : 0; in mt7615_ampdu_stat_read_phy()
214 seq_printf(file, "%8d | ", dev->mt76.aggr_stats[i + range]); in mt7615_ampdu_stat_read_phy()
/kernel/linux/linux-6.6/drivers/firmware/efi/
H A Dsysfb_efi.c286 static bool efifb_overlaps_pci_range(const struct of_pci_range *range) in efifb_overlaps_pci_range() argument
293 return fb_base >= range->cpu_addr && in efifb_overlaps_pci_range()
294 fb_base < (range->cpu_addr + range->size); in efifb_overlaps_pci_range()
303 struct of_pci_range range; in find_pci_overlap_node() local
312 for_each_of_pci_range(&parser, &range) in find_pci_overlap_node()
313 if (efifb_overlaps_pci_range(&range)) in find_pci_overlap_node()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/
H A Dmt792x_acpi_sar.c259 const struct cfg80211_sar_freq_ranges *range, in mt792x_asar_range_pwr()
280 if (range->start_freq >= 5945) in mt792x_asar_range_pwr()
282 else if (range->start_freq >= 5150) in mt792x_asar_range_pwr()
305 frp->range = set_default ? &capa->freq_ranges[i] : frp->range; in mt792x_init_acpi_sar_power()
306 if (!frp->range) in mt792x_init_acpi_sar_power()
310 mt792x_asar_range_pwr(phy, frp->range, i)); in mt792x_init_acpi_sar_power()
258 mt792x_asar_range_pwr(struct mt792x_phy *phy, const struct cfg80211_sar_freq_ranges *range, u8 idx) mt792x_asar_range_pwr() argument
/third_party/rust/crates/codespan/codespan-reporting/src/term/
H A Dviews.rs63 range: line_range, in get_or_insert_line()
75 range: std::ops::Range<usize>,
90 let start_line_index = files.line_index(label.file_id, label.range.start)?;
93 let end_line_index = files.line_index(label.file_id, label.range.end)?;
111 && labeled_file.start > label.range.start)
114 labeled_file.start = label.range.start;
115 labeled_file.location = files.location(label.file_id, label.range.start)?;
124 start: label.range.start,
126 location: files.location(label.file_id, label.range.start)?,
145 let label_start = label.range
[all...]
/third_party/python/Tools/unicode/
H A Dgencodec.py46 def parsecodes(codes, len=len, range=range):
62 for i in range(len(l)):
79 unmapped = list(range(256))
84 for i in list(range(32)) + [127]:
143 append("%s = codecs.make_identity_dict(range(%d))" %
206 for key in range(256):
226 for key in range(maxkey + 1):
/third_party/python/Lib/
H A Dcmd.py356 nonstrings = [i for i in range(len(list))
366 for nrows in range(1, len(list)):
370 for col in range(ncols):
372 for row in range(nrows):
388 for row in range(nrows):
390 for col in range(ncols):
399 for col in range(len(texts)):
/third_party/python/Lib/test/
H A Dtest_hash.py20 for i in range(length):
85 for i in range(16):
86 for j in range(16):
152 seq = range(10)
159 hashes_to_check = [enumerate(range(10)),
345 for i in range(1, len(base)):
350 for c in range(256):
H A Dtest_list.py20 self.assertEqual(list(x for x in range(10) if x % 2),
38 self.assertRaises(MemoryError, list, range(sys.maxsize // 2))
125 for proto in range(pickle.HIGHEST_PROTOCOL + 1):
143 for i in range(1, len(orig)):
161 for proto in range(pickle.HIGHEST_PROTOCOL + 1):
179 for i in range(1, len(orig)):
238 self.assertEqual(iter_size, sys.getsizeof(list(range(10))))
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
H A Dlog_uniform_int_distribution.h38 // Returns a random variate R in range [min, max] such that
70 // Determine where the first set bit is on range(), giving a log2(range) in param_type()
73 (std::min)(bit_width(range()), in param_type()
87 const double log_range = std::log(static_cast<double>(range()) + 0.5); in param_type()
108 unsigned_type range() const { return range_; } in range() function in absl::log_uniform_int_distribution::param_type
162 // Returns a log-uniform variate in the range [0, p.range()]. The caller
163 // should add min() to shift the result to the correct range.
210 const unsigned_type lo = (base_e >= p.range()) in Generate()
[all...]
/kernel/linux/linux-5.10/drivers/iio/dac/
H A Dad5758.c106 * @out_range: struct which stores the output range
127 * 0000: 0 V to 5 V voltage range
128 * 0001: 0 V to 10 V voltage range
129 * 0010: ±5 V voltage range
130 * 0011: ±10 V voltage range
131 * 1000: 0 mA to 20 mA current range
132 * 1001: 0 mA to 24 mA current range
133 * 1010: 4 mA to 20 mA current range
134 * 1011: ±20 mA current range
135 * 1100: ±24 mA current range
448 ad5758_set_out_range(struct ad5758_state *st, int range) ad5758_set_out_range() argument
676 ad5758_find_out_range(struct ad5758_state *st, const struct ad5758_range *range, unsigned int size, int min, int max) ad5758_find_out_range() argument
699 const struct ad5758_range *range; ad5758_parse_dt() local
[all...]
/kernel/linux/linux-5.10/mm/
H A Doom_kill.c541 struct mmu_notifier_range range; in __oom_reap_task_mm() local
544 mmu_notifier_range_init(&range, MMU_NOTIFY_UNMAP, 0, in __oom_reap_task_mm()
547 tlb_gather_mmu(&tlb, mm, range.start, range.end); in __oom_reap_task_mm()
548 if (mmu_notifier_invalidate_range_start_nonblock(&range)) { in __oom_reap_task_mm()
549 tlb_finish_mmu(&tlb, range.start, range.end); in __oom_reap_task_mm()
553 unmap_page_range(&tlb, vma, range.start, range.end, NULL); in __oom_reap_task_mm()
554 mmu_notifier_invalidate_range_end(&range); in __oom_reap_task_mm()
[all...]
/kernel/linux/linux-6.6/drivers/iio/dac/
H A Dad5758.c105 * @out_range: struct which stores the output range
126 * 0000: 0 V to 5 V voltage range
127 * 0001: 0 V to 10 V voltage range
128 * 0010: ±5 V voltage range
129 * 0011: ±10 V voltage range
130 * 1000: 0 mA to 20 mA current range
131 * 1001: 0 mA to 24 mA current range
132 * 1010: 4 mA to 20 mA current range
133 * 1011: ±20 mA current range
134 * 1100: ±24 mA current range
447 ad5758_set_out_range(struct ad5758_state *st, int range) ad5758_set_out_range() argument
675 ad5758_find_out_range(struct ad5758_state *st, const struct ad5758_range *range, unsigned int size, int min, int max) ad5758_find_out_range() argument
698 const struct ad5758_range *range; ad5758_parse_dt() local
[all...]
/third_party/alsa-lib/test/
H A Duser-ctl-element-set.c50 * 2006/09/06: 55a29af5ed5d ("[ALSA] Add definition of TLV dB range compound")
83 static const SNDRV_CTL_TLVD_DECLARE_DB_MINMAX(range, -10000, 0); in allocate_bool_elem_set_tlv()
85 *tlv = malloc(sizeof(range)); in allocate_bool_elem_set_tlv()
88 memcpy(*tlv, range, sizeof(range)); in allocate_bool_elem_set_tlv()
253 static const SNDRV_CTL_TLVD_DECLARE_DB_LINEAR(range, -4813, 0); in allocate_bytes_elem_set_tlv()
255 *tlv = malloc(sizeof(range)); in allocate_bytes_elem_set_tlv()
258 memcpy(*tlv, range, sizeof(range)); in allocate_bytes_elem_set_tlv()
336 * Linear: dB range (coef in allocate_int64_elem_set_tlv()
[all...]
/third_party/mesa3d/src/virtio/vulkan/
H A Dvn_device_memory.c599 const VkMappedMemoryRange *range = &pMemoryRanges[i]; in vn_FlushMappedMemoryRanges() local
601 vn_device_memory_from_handle(range->memory); in vn_FlushMappedMemoryRanges()
603 const VkDeviceSize size = range->size == VK_WHOLE_SIZE in vn_FlushMappedMemoryRanges()
604 ? mem->map_end - range->offset in vn_FlushMappedMemoryRanges()
605 : range->size; in vn_FlushMappedMemoryRanges()
607 mem->base_offset + range->offset, size); in vn_FlushMappedMemoryRanges()
622 const VkMappedMemoryRange *range = &pMemoryRanges[i]; in vn_InvalidateMappedMemoryRanges() local
624 vn_device_memory_from_handle(range->memory); in vn_InvalidateMappedMemoryRanges()
626 const VkDeviceSize size = range->size == VK_WHOLE_SIZE in vn_InvalidateMappedMemoryRanges()
627 ? mem->map_end - range in vn_InvalidateMappedMemoryRanges()
[all...]
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/
H A DRangeTreeTest.java54 // The tree that matches a zero length input is a perfectly valid range tree (zero length input in testEmptySequenceTree()
64 // Single ranges produce minimal/canoncial range specifications. in testFromRangeSetSimple()
65 RangeTree r = RangeTree.from(rangeSetOf(range("1000", "4999"))); in testFromRangeSetSimple()
72 RangeTree r = RangeTree.from(rangeSetOf(range("0000", "9999"))); in testFromRangeSetMinMax()
80 RangeTree r = RangeTree.from(rangeSetOf(range("0", domain().maxValue().toString()))); in testFromRangeSetAllValues()
104 // The tree generated from the empty range specification actually contains one digit sequence in testContains()
212 RangeTree r = RangeTree.from(rangeSetOf(range("123980", "161097"))); in testFromRaggedRange()
213 // Very 'ragged' ranges produde a lot of range specifications. in testFromRaggedRange()
237 assertThat(r.asRangeSet()).isEqualTo(rangeSetOf(range("123", "45678"))); in testComplexSpecsToSimpleRange()
242 // The range specificatio in testAsRangeSetMultipleGroups()
543 private static Range<DigitSequence> range(String lo, String hi) { range() method in RangeTreeTest
[all...]
/third_party/qrcodegen/rust-no-heap/src/
H A Dlib.rs47 //! - User can specify minimum and maximum version numbers allowed, then library will automatically choose smallest version in the range that fits the data
136 /// If the data is too long to fit in any version in the given range
139 /// The smallest possible QR Code version within the given range is automatically
193 /// If the data is too long to fit in any version in the given range
196 /// The smallest possible QR Code version within the given range is automatically
207 /// - The input slice range dataandtempbuffer[0 .. datalen] should normally be
241 /// The smallest possible QR Code version within the given range is automatically
264 } else if version >= maxversion { // All versions in the range could not fit the given data in encode_segments_to_codewords()
361 /// Returns this QR Code's version, in the range [1, 40].
367 /// Returns this QR Code's size, in the range [2
[all...]

Completed in 15 milliseconds

1...<<21222324252627282930>>...160