Searched defs:Range (Results 76 - 100 of 188) sorted by relevance

12345678

/external/llvm/lib/CodeGen/
H A DCriticalAntiDepBreaker.cpp651 Range = RegRefs.equal_range(AntiDepReg); local
652 if (unsigned NewReg = findSuitableFreeRegister(Range.first, Range.second,
664 Q = Range.first, QE = Range.second; Q != QE; ++Q) {
/external/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp323 int64_t Range; local
331 Range = 0x1ffffff;
337 Range = 0xffffff;
348 if (Value > Range || Value < -(Range + 1))
/external/lzma/C/
H A DPpmd7.h110 UInt32 Range; member in struct:__anon26724
127 UInt32 Range; member in struct:__anon26725
/external/lzma/CPP/7zip/Compress/
H A DRangeCoder.h22 UInt32 Range; member in class:NCompress::NRangeCoder::CEncoder
31 Range = 0xFFFFFFFF;
49 Low += start * (Range /= total);
50 Range *= size;
51 while (Range < kTopValue)
53 Range <<= 8;
79 Range >>= 1;
80 Low += Range & (0 - ((value >> numBits) & 1));
81 if (Range < kTopValue)
83 Range <<
113 UInt32 Range; member in class:NCompress::NRangeCoder::CDecoder
[all...]
/external/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_parse.h68 struct tgsi_declaration_range Range; member in struct:tgsi_full_declaration
/external/qemu/include/qemu/
H A Dtypedefs.h71 typedef struct Range Range; typedef in typeref:struct:Range
/external/chromium_org/base/i18n/
H A Dbuild_utf8_validator_tables.cc77 class Range { class in namespace:__anon2273
80 explicit Range(uint8 value) : from_(value), to_(value) {} function in class:__anon2273::Range
82 // Range objects are copyable and assignable to be used in STL
96 bool operator<(const Range& rhs) const {
100 bool operator==(const Range& rhs) const {
112 typedef std::vector<Range> StringSet;
194 const Range& new_range,
218 Range new_range(it->character.back());
238 new_range = Range(current_pair.character.back());
308 const Range
[all...]
/external/chromium_org/testing/gtest/include/gtest/
H A Dgtest-param-test.h86 // Range(begin, end [, step]) - Yields values {begin, begin+step,
218 // Range() returns generators providing sequences of values in a range.
221 // Range(start, end)
224 // Range(start, end, step)
228 // * The generated sequences never include end. For example, Range(1, 5)
229 // returns a generator producing a sequence {1, 2, 3, 4}. Range(1, 9, 2)
242 internal::ParamGenerator<T> Range(T start, T end, IncrementT step) { function in namespace:testing
248 internal::ParamGenerator<T> Range(T start, T end) { function in namespace:testing
249 return Range(start, end, 1);
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DTextCheckingHelper.cpp34 #include "core/dom/Range.h"
101 static PassRefPtrWillBeRawPtr<Range> expandToParagraphBoundary(PassRefPtrWillBeRawPtr<Range> range)
103 RefPtrWillBeRawPtr<Range> paragraphRange = range->cloneRange();
109 TextCheckingParagraph::TextCheckingParagraph(PassRefPtrWillBeRawPtr<Range> checkingRange)
117 TextCheckingParagraph::TextCheckingParagraph(PassRefPtrWillBeRawPtr<Range> checkingRange, PassRefPtrWillBeRawPtr<Range> paragraphRange)
150 PassRefPtrWillBeRawPtr<Range> TextCheckingParagraph::paragraphRange() const
158 PassRefPtrWillBeRawPtr<Range> TextCheckingParagraph::subrange(int characterOffset, int characterCount) const
167 RefPtrWillBeRawPtr<Range> rang
257 ASSERT(misspellingLocation < length); ASSERT(misspellingLength <= length); ASSERT(misspellingLocation + misspellingLength <= length); if (misspellingLocation >= 0 && misspellingLength > 0 && misspellingLocation < length && misspellingLength <= length && misspellingLocation + misspellingLength <= length) { Position misspellingStart = m_start; Position misspellingEnd = m_end; TextIterator::subrange(misspellingStart, misspellingEnd, currentChunkOffset + misspellingLocation, misspellingLength); if (!firstMisspelling) { firstMisspellingOffset = currentChunkOffset + misspellingLocation; firstMisspelling = it.substring(misspellingLocation, misspellingLength); firstMisspellingRange = Range::create(misspellingStart.containerNode()->document(), m_start, m_end); } misspellingStart.containerNode()->document().markers().addMarker(misspellingStart, misspellingEnd, DocumentMarker::Spelling); if (!markAll) break; } } currentChunkOffset += length; it.advance(); } return firstMisspelling; } String TextCheckingHelper::findFirstMisspellingOrBadGrammar(bool checkGrammar, bool& outIsSpelling, int& outFirstFoundOffset, GrammarDetail& outGrammarDetail) { if (!unifiedTextCheckerEnabled()) return �; String firstFoundItem; String misspelledWord; String badGrammarPhrase; outIsSpelling = true; outFirstFoundOffset = 0; outGrammarDetail.location = -1; outGrammarDetail.length = 0; outGrammarDetail.guesses.clear(); outGrammarDetail.userDescription = �; Position paragraphStart = startOfParagraph(VisiblePosition(m_start)).toParentAnchoredPosition(); Position paragraphEnd = m_end; int totalRangeLength = TextIterator::rangeLength(paragraphStart, paragraphEnd); paragraphEnd = endOfParagraph(VisiblePosition(m_start)).toParentAnchoredPosition(); int rangeStartOffset = TextIterator::rangeLength(paragraphStart, m_start); int totalLengthProcessed = 0; bool firstIteration = true; bool lastIteration = false; while (totalLengthProcessed < totalRangeLength) { int currentLength = TextIterator::rangeLength(paragraphStart, paragraphEnd); int currentStartOffset = firstIteration ? rangeStartOffset : 0; int currentEndOffset = currentLength; if (inSameParagraph(VisiblePosition(paragraphStart), VisiblePosition(m_end))) { currentEndOffset = TextIterator::rangeLength(paragraphStart, m_end); lastIteration = true; } if (currentStartOffset < currentEndOffset) { String paragraphString = plainText(paragraphStart, paragraphEnd); if (paragraphString.length() > 0) { bool foundGrammar = false; int spellingLocation = 0; int grammarPhraseLocation = 0; int grammarDetailLocation = 0; unsigned grammarDetailIndex = 0; Vector<TextCheckingResult> results; TextCheckingTypeMask checkingTypes = checkGrammar ? (TextCheckingTypeSpelling | TextCheckingTypeGrammar) : TextCheckingTypeSpelling; checkTextOfParagraph(m_client->textChecker(), paragraphString, checkingTypes, results); for (unsigned i = 0; i < results.size(); i++) { const TextCheckingResult* result = &results[i]; if (result->decoration == TextDecorationTypeSpelling && result->location >= currentStartOffset && result->location + result->length <= currentEndOffset) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/
H A Dgtest-param-test.h86 // Range(begin, end [, step]) - Yields values {begin, begin+step,
218 // Range() returns generators providing sequences of values in a range.
221 // Range(start, end)
224 // Range(start, end, step)
228 // * The generated sequences never include end. For example, Range(1, 5)
229 // returns a generator producing a sequence {1, 2, 3, 4}. Range(1, 9, 2)
242 internal::ParamGenerator<T> Range(T start, T end, IncrementT step) { function in namespace:testing
248 internal::ParamGenerator<T> Range(T start, T end) { function in namespace:testing
249 return Range(start, end, 1);
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Dre.h27 typedef struct Range { struct
28 struct Range *next;
30 } Range; typedef in typeref:struct:Range
33 Range_init(Range *r, unsigned int l, unsigned int u)
40 static Range *
43 Range *r = malloc(sizeof(Range));
51 Range_copy(Range *ro, const Range *r)
58 static Range *
[all...]
/external/clang/lib/Lex/
H A DPPMacroExpansion.cpp286 Callbacks->MacroExpands(Info.Tok, Info.MD, Info.Range,
678 for (const SourceRange &Range : InitLists)
679 DB << Range; local
H A DPreprocessingRecord.cpp30 SourceRange Range)
31 : PreprocessingDirective(InclusionDirectiveKind, Range),
47 /// that source range \p Range encompasses.
49 PreprocessingRecord::getPreprocessedEntitiesInRange(SourceRange Range) { argument
50 if (Range.isInvalid())
53 if (CachedRangeQuery.Range == Range) {
58 std::pair<int, int> Res = getPreprocessedEntitiesInRangeSlow(Range);
60 CachedRangeQuery.Range = Range;
25 InclusionDirective(PreprocessingRecord &PPRec, InclusionKind Kind, StringRef FileName, bool InQuotes, bool ImportedModule, const FileEntry *File, SourceRange Range) argument
129 getPreprocessedEntitiesInRangeSlow(SourceRange Range) argument
195 SourceRange Range = PPE->getSourceRange(); local
400 Defined(const Token &MacroNameTok, const MacroDirective *MD, SourceRange Range) argument
409 SourceRangeSkipped(SourceRange Range) argument
413 MacroExpands(const Token &Id,const MacroDirective *MD, SourceRange Range, const MacroArgs *Args) argument
[all...]
/external/clang/lib/Rewrite/Core/
H A DRewriter.cpp128 int Rewriter::getRangeSize(const CharSourceRange &Range, argument
130 if (!isRewritable(Range.getBegin()) ||
131 !isRewritable(Range.getEnd())) return -1;
136 StartOff = getLocationOffsetAndFileID(Range.getBegin(), StartFileID);
137 EndOff = getLocationOffsetAndFileID(Range.getEnd(), EndFileID);
155 if (Range.isTokenRange())
156 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts);
161 int Rewriter::getRangeSize(SourceRange Range, RewriteOptions opts) const { argument
162 return getRangeSize(CharSourceRange::getTokenRange(Range), opts);
172 std::string Rewriter::getRewrittenText(SourceRange Range) cons
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp27 /// A Range represents the closed range [from, to]. The caller must
28 /// guarantee that from <= to. Note that Range is immutable, so as not
31 class Range : public std::pair<const llvm::APSInt*, class in namespace:__anon18275
34 Range(const llvm::APSInt &from, const llvm::APSInt &to) function in class:__anon18275::Range
58 class RangeTrait : public llvm::ImutContainerInfo<Range> {
60 // When comparing if one Range is less than another, we should compare
74 typedef llvm::ImmutableSet<Range, RangeTrait> PrimRangeSet;
91 : ranges(F.add(F.getEmptySet(), Range(from, to))) {}
129 newRanges = F.add(newRanges, Range(BV.getValue(Lower),
133 newRanges = F.add(newRanges, Range(B
[all...]
/external/clang/tools/libclang/
H A DCIndexDiagnostic.cpp77 CXSourceRange getRange(unsigned Range) const override {
283 CXSourceRange Range = clang_getDiagnosticRange(Diagnostic, I); local
286 clang_getSpellingLocation(clang_getRangeStart(Range),
289 clang_getSpellingLocation(clang_getRangeEnd(Range),
431 CXSourceRange clang_getDiagnosticRange(CXDiagnostic Diag, unsigned Range) { argument
433 if (!D || Range >= D->getNumRanges())
435 return D->getRange(Range);
/external/compiler-rt/lib/ubsan/
H A Dubsan_diag.h96 class Range { class in namespace:__ubsan
101 Range() : Start(), End(), Text() {} function in class:__ubsan::Range
102 Range(MemoryLocation Start, MemoryLocation End, const char *Text) function in class:__ubsan::Range
173 Range Ranges[MaxRanges];
182 Diag &AddRange(Range A) {
203 Diag &operator<<(const Range &R) { return AddRange(R); }
/external/gtest/include/gtest/
H A Dgtest-param-test.h86 // Range(begin, end [, step]) - Yields values {begin, begin+step,
218 // Range() returns generators providing sequences of values in a range.
221 // Range(start, end)
224 // Range(start, end, step)
228 // * The generated sequences never include end. For example, Range(1, 5)
229 // returns a generator producing a sequence {1, 2, 3, 4}. Range(1, 9, 2)
242 internal::ParamGenerator<T> Range(T start, T end, IncrementT step) { function in namespace:testing
248 internal::ParamGenerator<T> Range(T start, T end) { function in namespace:testing
249 return Range(start, end, 1);
/external/llvm/include/llvm/Support/
H A DSourceMgr.h195 SMRange Range; member in class:llvm::SMFixIt
202 : Range(Loc, Loc), Text(Insertion.str()) {
208 : Range(R), Text(Replacement.str()) {
213 SMRange getRange() const { return Range; }
216 if (Range.Start.getPointer() != Other.Range.Start.getPointer())
217 return Range.Start.getPointer() < Other.Range.Start.getPointer();
218 if (Range.End.getPointer() != Other.Range
[all...]
/external/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp147 // Check if the Case Range is perfectly squeezed in between
274 uint64_t Range = cast<ConstantInt>(Leaf.High)->getSExtValue() - local
276 for (uint64_t j = 0; j < Range; ++j) {
/external/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest-param-test.h86 // Range(begin, end [, step]) - Yields values {begin, begin+step,
217 // Range() returns generators providing sequences of values in a range.
220 // Range(start, end)
223 // Range(start, end, step)
227 // * The generated sequences never include end. For example, Range(1, 5)
228 // returns a generator producing a sequence {1, 2, 3, 4}. Range(1, 9, 2)
241 internal::ParamGenerator<T> Range(T start, T end, IncrementT step) { function in namespace:testing
247 internal::ParamGenerator<T> Range(T start, T end) { function in namespace:testing
248 return Range(start, end, 1);
/external/mesa3d/src/gtest/include/gtest/
H A Dgtest-param-test.h86 // Range(begin, end [, step]) - Yields values {begin, begin+step,
218 // Range() returns generators providing sequences of values in a range.
221 // Range(start, end)
224 // Range(start, end, step)
228 // * The generated sequences never include end. For example, Range(1, 5)
229 // returns a generator producing a sequence {1, 2, 3, 4}. Range(1, 9, 2)
242 internal::ParamGenerator<T> Range(T start, T end, IncrementT step) { function in namespace:testing
248 internal::ParamGenerator<T> Range(T start, T end) { function in namespace:testing
249 return Range(start, end, 1);
/external/protobuf/gtest/include/gtest/
H A Dgtest-param-test.h82 // Range(begin, end [, step]) - Yields values {begin, begin+step,
182 // Range() returns generators providing sequences of values in a range.
185 // Range(start, end)
188 // Range(start, end, step)
192 // * The generated sequences never include end. For example, Range(1, 5)
193 // returns a generator producing a sequence {1, 2, 3, 4}. Range(1, 9, 2)
206 internal::ParamGenerator<T> Range(T start, T end, IncrementT step) { function in namespace:testing
212 internal::ParamGenerator<T> Range(T start, T end) { function in namespace:testing
213 return Range(start, end, 1);
/external/chromium_org/chrome/browser/resources/history/
H A Dhistory.js546 HistoryModel.Range = {
775 this.rangeInDays_ = HistoryModel.Range.ALL_TIME;
796 var doneLoading = this.rangeInDays_ != HistoryModel.Range.ALL_TIME ||
815 (this.rangeInDays_ == HistoryModel.Range.ALL_TIME) ? RESULTS_PER_PAGE : 0;
939 self.setRangeInDays(/** @type {HistoryModel.Range.<number>} */(value));
948 if (self.getRangeInDays() == HistoryModel.Range.ALL_TIME)
954 if (self.getRangeInDays() == HistoryModel.Range.ALL_TIME)
960 if (self.getRangeInDays() == HistoryModel.Range.ALL_TIME)
991 * @param {HistoryModel.Range} range The range to view or search over.
1001 if (range != HistoryModel.Range
[all...]
/external/chromium_org/components/url_matcher/
H A Durl_matcher.h288 typedef std::pair<int, int> Range; typedef in class:url_matcher::URLMatcherPortFilter
289 explicit URLMatcherPortFilter(const std::vector<Range>& ranges);
294 static Range CreateRange(int from, int to);
296 static Range CreateRange(int port);
299 std::vector<Range> ranges_;

Completed in 2023 milliseconds

12345678