Home
last modified time | relevance | path

Searched refs:ranges (Results 1 – 25 of 73) sorted by relevance

123

/external/elfcopy/
Drangesort.c17 range_list_t *ranges = (range_list_t *)MALLOC(sizeof(range_list_t)); in init_range_list() local
19 ranges->array = (range_t *)MALLOC(PARALLEL_ARRAY_SIZE*sizeof(range_t)); in init_range_list()
20 ranges->array_length = PARALLEL_ARRAY_SIZE; in init_range_list()
21 ranges->num_ranges = 0; in init_range_list()
23 ranges->is_sorted = 0; in init_range_list()
25 return ranges; in init_range_list()
28 void destroy_range_list(range_list_t *ranges) { in destroy_range_list() argument
30 for (idx = 0; idx < ranges->num_ranges; idx++) { in destroy_range_list()
31 if (ranges->array[idx].user_dtor) { in destroy_range_list()
32 ASSERT(ranges->array[idx].user); in destroy_range_list()
[all …]
Drangesort.h32 void add_unique_range_nosort(range_list_t *ranges,
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);
45 range_t *get_sorted_ranges(const range_list_t *ranges, int *num_ranges);
46 GElf_Off get_last_address(const range_list_t *ranges);
72 range_t *ranges; member
Delfcopy.c883 range_t *ranges = get_sorted_ranges(old_section_ranges, &num_ranges); in adjust_elf() local
884 if (ranges) { in adjust_elf()
885 GElf_Off last_end = ranges->start; in adjust_elf()
888 shdr_info_t *curr = (shdr_info_t *)ranges[i].user; in adjust_elf()
889 ASSERT(ranges[i].start >= last_end); in adjust_elf()
892 ranges[i].start, in adjust_elf()
893 ranges[i].start + ranges[i].length, in adjust_elf()
897 if (ranges[i].start > last_end) { in adjust_elf()
898 shdr_info_t *prev = (shdr_info_t *)ranges[i-1].user; in adjust_elf()
902 (ranges[i].start - last_end), in adjust_elf()
[all …]
Ddwarf.h56 ranges, enumerator
/external/icu4c/i18n/
Ducol_wgt.c145 WeightRange ranges[7]) { in getWeightRanges()
282 uprv_memcpy(ranges, &middle, sizeof(WeightRange)); in getWeightRanges()
288 uprv_memcpy(ranges+rangeCount, upper+length, sizeof(WeightRange)); in getWeightRanges()
292 uprv_memcpy(ranges+rangeCount, lower+length, sizeof(WeightRange)); in getWeightRanges()
308 WeightRange ranges[7]) { in ucol_allocWeights()
329 rangeCount=getWeightRanges(lowerLimit, upperLimit, maxByte, countBytes, ranges); in ucol_allocWeights()
340 maxCount+=(uint32_t)ranges[i].count*powers[4-ranges[i].length]; in ucol_allocWeights()
355 ranges[i].length2=ranges[i].length; in ucol_allocWeights()
356 ranges[i].count2=(uint32_t)ranges[i].count; in ucol_allocWeights()
362 minLength=ranges[0].length2; in ucol_allocWeights()
[all …]
Ducol_wgt.h55 WeightRange ranges[7]);
68 ucol_nextWeight(WeightRange ranges[], int32_t *pRangeCount);
Ducol_bld.h49 WeightRange ranges[7]; member
Ducol_bld.cpp434 g->current = ucol_nextWeight(g->ranges, &g->noOfRanges); in ucol_getNextGenerated()
458 g->noOfRanges = ucol_allocWeights(low, high, count, maxByte, g->ranges); in ucol_getSimpleCEGenerator()
516 … g->noOfRanges = ucol_allocWeights(UCOL_BYTE_UNSHIFTED_MIN<<24, high, count, maxByte, g->ranges); in ucol_getCEGenerator()
517 g->current = ucol_nextWeight(g->ranges, &g->noOfRanges); in ucol_getCEGenerator()
523 g->noOfRanges = ucol_allocWeights(low, high, count, maxByte, g->ranges); in ucol_getCEGenerator()
527 g->current = ucol_nextWeight(g->ranges, &g->noOfRanges); in ucol_getCEGenerator()
/external/webkit/JavaScriptCore/wrec/
DCharacterClassConstructor.cpp64 void CharacterClassConstructor::addSortedRange(Vector<CharacterRange>& ranges, UChar lo, UChar hi) in addSortedRange() argument
66 unsigned end = ranges.size(); in addSortedRange()
72 if (hi < ranges[i].begin) { in addSortedRange()
74 if (hi == (ranges[i].begin - 1)) { in addSortedRange()
75 ranges[i].begin = lo; in addSortedRange()
79 ranges.insert(i, r); in addSortedRange()
85 if (lo <= (ranges[i].end + 1)) { in addSortedRange()
87 ranges[i].begin = std::min(ranges[i].begin, lo); in addSortedRange()
88 ranges[i].end = std::max(ranges[i].end, hi); in addSortedRange()
93 while (next < ranges.size()) { in addSortedRange()
[all …]
DWRECGenerator.cpp337 …rtedRange(JumpList& failures, JumpList& matchDest, const CharacterRange* ranges, unsigned count, u… in generateCharacterClassInvertedRange() argument
342 char lo = ranges[which].begin; in generateCharacterClassInvertedRange()
343 char hi = ranges[which].end; in generateCharacterClassInvertedRange()
352 …generateCharacterClassInvertedRange(failures, matchDest, ranges, which, matchIndex, matches, match… in generateCharacterClassInvertedRange()
364 …generateCharacterClassInvertedRange(failures, matchDest, ranges, which, matchIndex, matches, match… in generateCharacterClassInvertedRange()
379 ranges += next; in generateCharacterClassInvertedRange()
415 …generateCharacterClassInvertedRange(failures, matchDest, charClass.ranges, charClass.numRanges, &m… in generateCharacterClassInverted()
DCharacterClass.h54 const CharacterRange* ranges; member
DCharacterClassConstructor.h82 void addSortedRange(Vector<CharacterRange>& ranges, UChar lo, UChar hi);
/external/webkit/WebCore/svg/
DSVGFontElement.cpp155 …icodeRangeList(const UChar* characters, unsigned length, Vector<pair<unsigned, unsigned> >& ranges) in parseUnicodeRangeList() argument
157 ranges.clear(); in parseUnicodeRangeList()
168 ranges.append(range); in parseUnicodeRangeList()
177 ranges.append(make_pair(character, character)); in parseUnicodeRangeList()
192 Vector<pair<unsigned, unsigned> > ranges; in stringMatchesUnicodeRange() local
193 if (!parseUnicodeRangeList(unicodeRangeSpec.characters(), unicodeRangeSpec.length(), ranges)) in stringMatchesUnicodeRange()
196 if (unicodeString.length() != ranges.size()) in stringMatchesUnicodeRange()
201 if (c < ranges[i].first || c > ranges[i].second) in stringMatchesUnicodeRange()
/external/webkit/JavaScriptCore/yarr/
DRegexCompiler.cpp183 void addSortedRange(Vector<CharacterRange>& ranges, UChar lo, UChar hi) in addSortedRange() argument
185 unsigned end = ranges.size(); in addSortedRange()
191 if (hi < ranges[i].begin) { in addSortedRange()
193 if (hi == (ranges[i].begin - 1)) { in addSortedRange()
194 ranges[i].begin = lo; in addSortedRange()
197 ranges.insert(i, CharacterRange(lo, hi)); in addSortedRange()
203 if (lo <= (ranges[i].end + 1)) { in addSortedRange()
205 ranges[i].begin = std::min(ranges[i].begin, lo); in addSortedRange()
206 ranges[i].end = std::max(ranges[i].end, hi); in addSortedRange()
211 while (next < ranges.size()) { in addSortedRange()
[all …]
/external/webkit/WebCore/css/
DCSSSegmentedFontFace.cpp115 const Vector<CSSFontFace::UnicodeRange>& ranges = m_fontFaces[i]->ranges(); in getFontData() local
116 unsigned numRanges = ranges.size(); in getFontData()
121 …fontData->appendRange(FontDataRange(ranges[j].from(), ranges[j].to(), static_cast<const SimpleFont… in getFontData()
DCSSFontFace.h53 const Vector<UnicodeRange>& ranges() const { return m_ranges; } in ranges() function
/external/webkit/V8Binding/v8/src/
Djsregexp.cc1445 ZoneList<CharacterRange>* ranges = cc->ranges(); in EmitCharClass() local
1458 int range_count = ranges->length(); in EmitCharClass()
1462 CharacterRange& range = ranges->at(last_valid_range); in EmitCharClass()
1483 ranges->at(0).IsEverything(max_char)) { in EmitCharClass()
1496 CharacterRange& range = ranges->at(i); in EmitCharClass()
1519 CharacterRange& range = ranges->at(last_valid_range); in EmitCharClass()
1869 ZoneList<CharacterRange>* ranges = tree->ranges(); in GetQuickCheckDetails() local
1879 while (ranges->at(first_range).from() > char_mask) { in GetQuickCheckDetails()
1881 if (first_range == ranges->length()) { in GetQuickCheckDetails()
1887 CharacterRange range = ranges->at(first_range); in GetQuickCheckDetails()
[all …]
Dparser.cc4183 ZoneList<CharacterRange>* ranges = new ZoneList<CharacterRange>(2); in ParseDisjunction() local
4184 CharacterRange::AddClassEscape('.', ranges); in ParseDisjunction()
4185 RegExpTree* atom = new RegExpCharacterClass(ranges, false); in ParseDisjunction()
4253 ZoneList<CharacterRange>* ranges = new ZoneList<CharacterRange>(2); in ParseDisjunction() local
4254 CharacterRange::AddClassEscape(c, ranges); in ParseDisjunction()
4255 RegExpTree* atom = new RegExpCharacterClass(ranges, false); in ParseDisjunction()
4744 ZoneList<CharacterRange>* ranges = new ZoneList<CharacterRange>(2); in ParseCharacterClass() local
4749 CharacterRange::AddClassEscape(char_class, ranges); in ParseCharacterClass()
4759 ranges->Add(first); in ParseCharacterClass()
4760 ranges->Add(CharacterRange::Singleton('-')); in ParseCharacterClass()
[all …]
Dast.h1457 explicit CharacterSet(ZoneList<CharacterRange>* ranges) in CharacterSet() argument
1458 : ranges_(ranges), in CharacterSet()
1460 ZoneList<CharacterRange>* ranges();
1476 RegExpCharacterClass(ZoneList<CharacterRange>* ranges, bool is_negated) in RegExpCharacterClass() argument
1477 : set_(ranges), in RegExpCharacterClass()
1507 ZoneList<CharacterRange>* ranges() { return set_.ranges(); } in ranges() function
/external/webkit/WebKitTools/Scripts/
Dprepare-ChangeLog574 my @ranges;
776 push @ranges, [ $start, $., $name ];
831 return @ranges;
864 my @ranges;
946 push @ranges, [ $start, ($. - 1),
976 push @ranges, [ $start, $.,
1035 return @ranges;
1068 my @ranges;
1148 push(@ranges, [$start, $., $currentFunction]);
1227 return @ranges;
/external/webkit/V8Binding/v8/test/cctest/
Dtest-regexp.cc435 ZoneList<CharacterRange>* ranges = new ZoneList<CharacterRange>(2); in TestCharacterClassEscapes() local
436 CharacterRange::AddClassEscape(c, ranges); in TestCharacterClassEscapes()
439 for (int j = 0; !in_class && j < ranges->length(); j++) { in TestCharacterClassEscapes()
440 CharacterRange& range = ranges->at(j); in TestCharacterClassEscapes()
571 uc16 ranges[kRangeCount][2 * kRangeSize]; in TEST() local
573 Vector<uc16> range(ranges[i], 2 * kRangeSize); in TEST()
586 uc16* range = ranges[i]; in TEST()
594 uc16* range = ranges[j]; in TEST()
1316 ZoneList<CharacterRange>* ranges = in TEST() local
1322 ranges->Add(CharacterRange(from, to)); in TEST()
[all …]
/external/iptables/extensions/
Dlibipt_SAME.man7 multiple ranges.
/external/icu4c/tools/genuca/
Dgenuca.cpp886 } ranges[] = in write_uca_table() local
910 for(i = 0; i<sizeof(ranges)/sizeof(ranges[0]); i++) { in write_uca_table()
912 utrie_setRange32(t->mapping, ranges[i].start, ranges[i].end, ranges[i].value, TRUE); in write_uca_table()
/external/webkit/WebCore/dom/
DRangeException.idl20 module ranges {
/external/webkit/WebCore/platform/graphics/win/
DFontCacheWin.cpp168 while (i < glyphset->cRanges && glyphset->ranges[i].wcLow <= character) in currentFontContainsCharacter()
171 return i && glyphset->ranges[i - 1].wcLow + glyphset->ranges[i - 1].cGlyphs > character; in currentFontContainsCharacter()

123