HomeSort by relevance Sort by last modified time
    Searched full:ranges (Results 1 - 25 of 1034) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/icu4c/i18n/
ucol_wgt.h 35 * what ranges to use for a given number of weights between (excluding)
38 * @param lowerLimit A collation element weight; the ranges will be filled to cover
40 * @param upperLimit A collation element weight; the ranges will be filled to cover
45 * @param ranges An array that is filled in with one or more ranges to cover
47 * @return number of ranges, 0 if it is not possible to fit n elements between the limits
53 WeightRange ranges[7]);
56 * Given a set of ranges calculated by ucol_allocWeights(),
58 * The ranges are modified to keep the current iteration state.
60 * @param ranges The array of ranges that ucol_allocWeights() filled in
    [all...]
ucol_wgt.cpp 121 /* for uprv_sortArray: sort ranges in weight order */
139 * possible ranges of weights between the two limits, excluding them
140 * for weights with up to 4 bytes there are up to 2*4-1=7 ranges
145 WeightRange ranges[7]) {
185 * With the limit lengths of 1..4, there are up to 7 ranges for allocation:
195 * We are now going to calculate up to 7 ranges.
196 * Some of them will typically overlap, so we will then have to merge and eliminate ranges.
235 /* reduce or remove the lower ranges that go beyond upperLimit */
242 /* lower and upper ranges collide or are directly adjacent: merge these two and remove all shorter ranges */
    [all...]
  /external/chromium/chrome/browser/safe_browsing/
chunk_range_unittest.cc 5 // Test program to convert lists of integers into ranges, and vice versa.
42 // Test no chunk numbers in contiguous ranges.
92 std::vector<ChunkRange> ranges; local
95 EXPECT_TRUE(StringToRanges(input, &ranges));
96 EXPECT_EQ(ranges.size(), static_cast<size_t>(5));
97 EXPECT_EQ(ranges[0].start(), 1);
98 EXPECT_EQ(ranges[0].stop(), 100);
99 EXPECT_EQ(ranges[1].start(), 398);
100 EXPECT_EQ(ranges[1].stop(), 398);
101 EXPECT_EQ(ranges[3].start(), 1138)
134 std::vector<ChunkRange> ranges; local
152 std::vector<ChunkRange> ranges; local
    [all...]
chunk_range.cc 55 void RangesToChunks(const std::vector<ChunkRange>& ranges,
58 for (size_t i = 0; i < ranges.size(); ++i) {
59 const ChunkRange& range = ranges[i];
67 std::vector<ChunkRange>* ranges) {
68 DCHECK(ranges);
84 ranges->clear();
87 ranges->push_back(ChunkRange(start, stop));
94 bool IsChunkInRange(int chunk_number, const std::vector<ChunkRange>& ranges) {
95 if (ranges.empty())
99 int high = ranges.size() - 1
    [all...]
chunk_range.h 5 // Class for parsing lists of integers into ranges.
8 // and ranges of numbers corresponding to chunks of whitelists and blacklists.
45 // Convert a set of ranges into individual chunk numbers.
46 void RangesToChunks(const std::vector<ChunkRange>& ranges,
53 std::vector<ChunkRange>* ranges);
60 bool IsChunkInRange(int chunk_number, const std::vector<ChunkRange>& ranges);
  /external/harfbuzz/contrib/tables/
combining-class-parse.py 11 ranges = unicode_file_parse(infile, IdentityMap(), '0')
12 ranges = sort_and_merge(ranges)
24 for (start, end, value) in ranges:
27 print >>outfile, 'static const unsigned combining_properties_count = %d;\n' % len(ranges)
grapheme-break-parse.py 21 ranges = unicode_file_parse(infile, property_to_harfbuzz)
22 ranges.sort()
35 for (start, end, value) in ranges:
38 print >>outfile, 'static const unsigned grapheme_break_properties_count = %d;\n' % len(ranges)
unicode_parse_common.py 34 ranges = []
46 ranges.append((codepoints[0], codepoints[1], value))
50 return ranges
52 def sort_and_merge(ranges):
53 '''Given a list of (start, end, value), merge elements where the ranges are
56 ranges.sort()
58 for v in ranges:
category-parse.py 46 ranges = unicode_file_parse(infile, category_to_harfbuzz)
47 ranges = sort_and_merge(ranges)
60 for (start, end, value) in ranges:
63 print >>outfile, 'static const unsigned category_properties_count = %d;\n' % len(ranges)
scripts-parse.py 49 ranges = unicode_file_parse(infile,
52 ranges = sort_and_merge(ranges)
65 for (start, end, value) in ranges:
68 print >>outfile, 'static const unsigned script_properties_count = %d;\n' % len(ranges)
  /external/chromium/base/metrics/
histogram_unittest.cc 160 EXPECT_EQ(0, histogram->ranges(0));
163 EXPECT_EQ(power_of_2, histogram->ranges(i));
166 EXPECT_EQ(INT_MAX, histogram->ranges(8));
173 EXPECT_EQ(i, short_histogram->ranges(i));
174 EXPECT_EQ(INT_MAX, short_histogram->ranges(8));
178 // We also get a nice linear set of bucket ranges when we ask for it
180 EXPECT_EQ(i, linear_histogram->ranges(i));
181 EXPECT_EQ(INT_MAX, linear_histogram->ranges(8));
185 // ...but when the list has more space, then the ranges naturally spread out.
187 EXPECT_EQ(2 * i, linear_broad_histogram->ranges(i))
    [all...]
  /dalvik/dx/tests/096-dex-giant-catch/
info.txt 2 very long catch ranges (that cover >= 65536 code units) get emitted
  /external/easymock/src/org/easymock/internal/
Results.java 29 private final LinkedList<Range> ranges = new LinkedList<Range>(); field in class:Results
34 if (!ranges.isEmpty()) {
35 Range lastRange = ranges.getLast();
41 ranges.add(range);
47 for (int i = 0; i < ranges.size(); i++) {
48 Range interval = ranges.get(i);
74 for (Range interval : ranges) {
  /external/llvm/lib/CodeGen/
LiveInterval.cpp 40 size_t Len = ranges.size();
53 Ranges::const_iterator r =
54 std::lower_bound(ranges.begin(), ranges.end(), End);
56 // Now r points to the first interval with start >= End, or ranges.end().
57 if (r == ranges.begin())
97 if (i != ranges.begin()) --i;
103 if (j != other.ranges.begin()) --j;
185 /// merge and eliminate all ranges that this will overlap with. The iterator is
187 void LiveInterval::extendIntervalEndTo(Ranges::iterator I, SlotIndex NewEnd)
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
DereferenceChecker.cpp 35 llvm::SmallVectorImpl<SourceRange> &Ranges,
41 llvm::SmallVectorImpl<SourceRange> &Ranges,
53 Ranges.push_back(DR->getSourceRange());
62 Ranges.push_back(SourceRange(L, L));
110 llvm::SmallVector<SourceRange, 2> Ranges;
122 AddDerefSource(os, Ranges, AE->getBase()->IgnoreParenCasts());
130 AddDerefSource(os, Ranges, U->getSubExpr()->IgnoreParens(), true);
139 AddDerefSource(os, Ranges, M->getBase()->IgnoreParenCasts(), true);
153 Ranges.push_back(IV->getSourceRange());
169 I = Ranges.begin(), E = Ranges.end(); I!=E; ++I
    [all...]
  /frameworks/base/libs/rs/scriptc/
rs_time.rsh 36 * tm_sec - Seconds after the minute. This ranges from 0 to 59, but possibly
38 * tm_min - Minutes after the hour. This ranges from 0 to 59.
39 * tm_hour - Hours past midnight. This ranges from 0 to 23.
40 * tm_mday - Day of the month. This ranges from 1 to 31.
41 * tm_mon - Months since January. This ranges from 0 to 11.
43 * tm_wday - Days since Sunday. This ranges from 0 to 6.
44 * tm_yday - Days since January 1. This ranges from 0 to 365.
  /prebuilt/sdk/14/renderscript/include/
rs_time.rsh 36 * tm_sec - Seconds after the minute. This ranges from 0 to 59, but possibly
38 * tm_min - Minutes after the hour. This ranges from 0 to 59.
39 * tm_hour - Hours past midnight. This ranges from 0 to 23.
40 * tm_mday - Day of the month. This ranges from 1 to 31.
41 * tm_mon - Months since January. This ranges from 0 to 11.
43 * tm_wday - Days since Sunday. This ranges from 0 to 6.
44 * tm_yday - Days since January 1. This ranges from 0 to 365.
  /external/clang/bindings/python/tests/cindex/
test_diagnostics.py 57 assert len(tu.diagnostics[0].ranges) == 1
58 assert tu.diagnostics[0].ranges[0].start.line == 1
59 assert tu.diagnostics[0].ranges[0].start.column == 20
60 assert tu.diagnostics[0].ranges[0].end.line == 1
61 assert tu.diagnostics[0].ranges[0].end.column == 27
63 tu.diagnostics[0].ranges[1].start.line
  /external/skia/include/images/
SkImageEncoder.h 20 /* Quality ranges from 0..100 */
  /external/webkit/Tools/iExploder/iexploder-1.7.2/src/headers/
webkit 2 Accept-Ranges
  /libcore/luni/src/main/java/java/text/
AttributedString.java 162 private boolean inRange(List<Range> ranges) {
163 Iterator<Range> it = ranges.iterator();
197 List<Range> ranges = entry.getValue(); local
198 if (inRange(ranges)) {
206 private Object currentValue(List<Range> ranges) {
207 Iterator<Range> it = ranges.iterator();
223 ArrayList<Range> ranges = (ArrayList<Range>) attrString.attributeMap local
225 if (ranges == null) {
228 return currentValue(ranges);
253 private int runLimit(List<Range> ranges) {
276 ArrayList<Range> ranges = (ArrayList<Range>) attrString.attributeMap local
324 ArrayList<Range> ranges = (ArrayList<Range>) attrString.attributeMap local
556 ArrayList<Range> ranges = new ArrayList<Range>(1); local
584 List<Range> ranges = attributeMap.get(attribute); local
625 List<Range> ranges = attributeMap.get(attribute); local
    [all...]
  /external/webkit/Source/JavaScriptCore/
create_regex_tables 41 ranges = [];
45 ranges.append((ord(_class), ord(_class)))
47 ranges.append((_class, _class))
55 ranges.append((min, 0x7f))
57 ranges.append((min,max))
58 ranges.sort();
63 for (min,max) in ranges:
98 for (min, max) in ranges:
  /external/webkit/Source/WebCore/css/
CSSSegmentedFontFace.cpp 108 const Vector<CSSFontFace::UnicodeRange>& ranges = m_fontFaces[i]->ranges(); local
109 unsigned numRanges = ranges.size();
114 fontData->appendRange(FontDataRange(ranges[j].from(), ranges[j].to(), faceFontData));
  /libcore/luni/src/main/java/java/awt/font/
NumericShaper.java 110 /** The Constant ALL_RANGES indicates all ranges. */
115 * range constant value. Also script ranges, context names and digits low
116 * ranges are indexed with these indices.
200 * Scripts ranges array. Array represents ranges as pairs of
205 /** The scripts ranges. */
229 * Digit low ranges values decreased by 0x0030. Each low range
238 /** The digits low ranges. */
423 // ranges to be shaped
424 /** The ranges. *
    [all...]
  /external/llvm/include/llvm/CodeGen/
LiveInterval.h 147 /// These ranges are rendered as [start,end).
199 /// LiveInterval - This class represents some number of live ranges for a
205 typedef SmallVector<LiveRange,4> Ranges;
210 Ranges ranges; // the ranges in which this register is live
227 typedef Ranges::iterator iterator;
228 iterator begin() { return ranges.begin(); }
229 iterator end() { return ranges.end(); }
231 typedef Ranges::const_iterator const_iterator
    [all...]

Completed in 2344 milliseconds

1 2 3 4 5 6 7 8 91011>>