/build/tools/apriori/ |
rangesort.c | 17 range_list_t *ranges = (range_list_t *)MALLOC(sizeof(range_list_t)); local 19 ranges->array = (range_t *)MALLOC(PARALLEL_ARRAY_SIZE*sizeof(range_t)); 20 ranges->array_length = PARALLEL_ARRAY_SIZE; 21 ranges->num_ranges = 0; 23 ranges->is_sorted = 0; 25 return ranges; 28 void destroy_range_list(range_list_t *ranges) { 30 for (idx = 0; idx < ranges->num_ranges; idx++) { 31 if (ranges->array[idx].user_dtor) { 32 ASSERT(ranges->array[idx].user) 235 range_t *ranges = get_sorted_ranges(input, &num_ranges); local [all...] |
rangesort.h | 4 /* This implements a simple sorted list of non-overlapping ranges. */ 30 other ranges or contains them, or is contained by them, till we call 32 void add_unique_range_nosort(range_list_t *ranges, 38 /* Sorts the ranges. If there are overlapping ranges or ranges that contain 39 other ranges, it will cause the program to exit with a FAIL. */ 40 range_list_t* sort_ranges(range_list_t *ranges); 43 range_t *find_range(range_list_t *ranges, GElf_Off value); 44 int get_num_ranges(const range_list_t *ranges); 72 range_t *ranges; member in struct:__anon597 [all...] |
/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.c | 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 */ 515 WeightRange ranges[8]; local [all...] |
ucol_bld.h | 41 WeightRange ranges[7]; member in struct:__anon2222
|
/external/elfcopy/ |
rangesort.c | 17 range_list_t *ranges = (range_list_t *)MALLOC(sizeof(range_list_t)); local 19 ranges->array = (range_t *)MALLOC(PARALLEL_ARRAY_SIZE*sizeof(range_t)); 20 ranges->array_length = PARALLEL_ARRAY_SIZE; 21 ranges->num_ranges = 0; 23 ranges->is_sorted = 0; 25 return ranges; 28 void destroy_range_list(range_list_t *ranges) { 30 for (idx = 0; idx < ranges->num_ranges; idx++) { 31 if (ranges->array[idx].user_dtor) { 32 ASSERT(ranges->array[idx].user) 253 range_t *ranges = get_sorted_ranges(input, &num_ranges); local [all...] |
rangesort.h | 4 /* This implements a simple sorted list of non-overlapping ranges. */ 30 other ranges or contains them, or is contained by them, till we call 32 void add_unique_range_nosort(range_list_t *ranges, 38 /* Sorts the ranges. If there are overlapping ranges or ranges that contain 39 other ranges, it will cause the program to exit with a FAIL. */ 40 range_list_t* sort_ranges(range_list_t *ranges); 43 range_t *find_range(range_list_t *ranges, GElf_Off value); 44 int get_num_ranges(const range_list_t *ranges); 72 range_t *ranges; member in struct:__anon1716 [all...] |
/dalvik/dx/tests/096-dex-giant-catch/ |
info.txt | 2 very long catch ranges (that cover >= 65536 code units) get emitted
|
/dalvik/tests/057-iteration-performance/ |
expected.txt | 11 All times are within the expected ranges.
|
/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/webkit/JavaScriptCore/wrec/ |
CharacterClassConstructor.cpp | 64 void CharacterClassConstructor::addSortedRange(Vector<CharacterRange>& ranges, UChar lo, UChar hi) 66 unsigned end = ranges.size(); 68 // Simple linear scan - I doubt there are that many ranges anyway... 72 if (hi < ranges[i].begin) { 73 // optional optimization: concatenate appending ranges? - may not be worthwhile. 74 if (hi == (ranges[i].begin - 1)) { 75 ranges[i].begin = lo; 79 ranges.insert(i, r); 85 if (lo <= (ranges[i].end + 1)) { 87 ranges[i].begin = std::min(ranges[i].begin, lo) [all...] |
/external/webkit/WebCore/svg/ |
SVGFontElement.cpp | 120 // Handle the case of ranges separated by "-" sign. 163 static bool parseUnicodeRangeList(const UChar* characters, unsigned length, Vector<pair<unsigned, unsigned> >& ranges) 165 ranges.clear(); 176 ranges.append(range); 185 ranges.append(make_pair(character, character)); 200 Vector<pair<unsigned, unsigned> > ranges; local 201 if (!parseUnicodeRangeList(unicodeRangeSpec.characters(), unicodeRangeSpec.length(), ranges)) 204 if (unicodeString.length() != ranges.size()) 209 if (c < ranges[i].first || c > ranges[i].second [all...] |
/external/iptables/extensions/ |
libipt_SAME.man | 7 multiple ranges.
|
/external/skia/include/images/ |
SkImageEncoder.h | 19 /* Quality ranges from 0..100 */
|
/dalvik/libcore/text/src/main/java/java/text/ |
AttributedString.java | 164 private boolean inRange(List<Range> ranges) { 165 Iterator<Range> it = ranges.iterator(); 199 List<Range> ranges = entry.getValue(); local 200 if (inRange(ranges)) { 208 private Object currentValue(List<Range> ranges) { 209 Iterator<Range> it = ranges.iterator(); 225 ArrayList<Range> ranges = (ArrayList<Range>) attrString.attributeMap local 227 if (ranges == null) { 230 return currentValue(ranges); 255 private int runLimit(List<Range> ranges) { 278 ArrayList<Range> ranges = (ArrayList<Range>) attrString.attributeMap local 326 ArrayList<Range> ranges = (ArrayList<Range>) attrString.attributeMap local 566 ArrayList<Range> ranges = new ArrayList<Range>(1); local 595 List<Range> ranges = attributeMap.get(attribute); local 636 List<Range> ranges = attributeMap.get(attribute); local [all...] |
/dalvik/vm/compiler/ |
Ralloc.c | 104 * 0. Allocate the structure to hold the SSA name life ranges 108 * 2. Compute live ranges for all SSA names *not* including the 125 LiveRange *ranges; local 153 // Compute live ranges 154 ranges = dvmCompilerNew(cUnit->numSSARegs * sizeof(*ranges), true); 156 ranges[i].active = false; 157 seqNum = computeLiveRange(ranges, cUnit->blockList[i], seqNum);
|
/external/webkit/WebCore/css/ |
CSSSegmentedFontFace.cpp | 115 const Vector<CSSFontFace::UnicodeRange>& ranges = m_fontFaces[i]->ranges(); local 116 unsigned numRanges = ranges.size(); 121 fontData->appendRange(FontDataRange(ranges[j].from(), ranges[j].to(), static_cast<const SimpleFontData*>(faceFontData)));
|
/frameworks/base/awt/org/apache/harmony/awt/gl/font/ |
FontProperty.java | 38 // array of exclusion ranges (pairs of low and high unicode exclusion bounds) 69 * Returns an array of exclusion ranges. This array contain pairs of 85 * Returns true if specified character covered by exclusion ranges of this
|
AndroidFont.java | 44 // Pairs of [begin, end],[..].. unicode ranges values 92 // unicode ranges to check if char can be displayed without 218 * Returns an array of unicode ranges that are supported by this LinuxFont. 221 int[] ranges = new int[fontUnicodeRanges.length]; local 222 System.arraycopy(fontUnicodeRanges, 0, ranges, 0, 225 return ranges;
|
/external/v8/test/mjsunit/regress/ |
regress-1199401.js | 30 // Possible Smi ranges. 31 var ranges = [{min: -1073741824, max: 1073741823, bits: 31}, 34 for (var i = 0; i < ranges.length; i++) { 35 var range = ranges[i];
|
/system/core/sh/ |
syntax.c | 46 /* ':/' for tilde expansion, '-' for [a\-x] pattern ranges */ 63 /* ':/' for tilde expansion, '-' for [a\-x] pattern ranges */
|
/external/icu4c/common/ |
uprops.c | 452 * All Unicode code points U+0000..U+10ffff are covered by these ranges. 453 * The ranges define a partition of the Unicode code space. 463 * The following are ideas for getting properties-unique code point ranges, 468 * To enumerate properties efficiently, one needs to know ranges of 476 * making it necessary to get repetitive ranges by intersecting 477 * ranges from multiple tries. 479 * 2. It is not economical to write code for getting repetitive ranges 484 * - Get ranges per trie, not per individual property. 489 * - Combine sets of ranges for multiple tries to get sufficient sets 493 * Ideas for representing ranges and combining them [all...] |
usetiter.cpp | 72 * <br>You are guaranteed that the ranges are in sorted order, and the strings are in sorted order, 73 * and that all ranges are returned before any strings are returned. 74 * <br>You are also guaranteed that ranges are disjoint and non-contiguous.
|
/external/webkit/JavaScriptCore/yarr/ |
RegexCompiler.cpp | 183 void addSortedRange(Vector<CharacterRange>& ranges, UChar lo, UChar hi) 185 unsigned end = ranges.size(); 187 // Simple linear scan - I doubt there are that many ranges anyway... 191 if (hi < ranges[i].begin) { 192 // optional optimization: concatenate appending ranges? - may not be worthwhile. 193 if (hi == (ranges[i].begin - 1)) { 194 ranges[i].begin = lo; 197 ranges.insert(i, CharacterRange(lo, hi)); 203 if (lo <= (ranges[i].end + 1)) { 205 ranges[i].begin = std::min(ranges[i].begin, lo) [all...] |
/dalvik/libcore/awt-kernel/src/main/java/java/awt/font/ |
NumericShaper.java | 116 /** The Constant ALL_RANGES indicates all ranges. */ 121 * range constant value. Also script ranges, context names and digits low 122 * ranges are indexed with these indices. 206 * Scripts ranges array. Array represents ranges as pairs of 211 /** The scripts ranges. */ 235 * Digit low ranges values decreased by 0x0030. Each low range 244 /** The digits low ranges. */ 429 // ranges to be shaped 430 /** The ranges. * [all...] |