Searched defs:Range (Results 1 - 25 of 72) sorted by relevance

123

/external/clang/include/clang/Rewrite/
H A DHTMLRewrite.h40 inline void HighlightRange(Rewriter &R, SourceRange Range, argument
42 HighlightRange(R, Range.getBegin(), Range.getEnd(), StartTag, EndTag);
/external/clang/test/SemaCXX/
H A Dfor-range-no-std.cpp12 struct Range {}; struct
13 int begin(Range); // expected-note {{not viable}}
14 int end(Range);
/external/clang/lib/Index/
H A DASTLocation.cpp110 SourceRange Range = getSourceRange(); local
112 Range.getBegin().print(OS, SourceMgr);
114 Range.getEnd().print(OS, SourceMgr);
/external/easymock/src/org/easymock/internal/
H A DRange.java20 public class Range implements Serializable { class in inherits:Serializable
28 public Range(int count) { method in class:Range
32 public Range(int minimum, int maximum) { method in class:Range
/external/webkit/Source/WebCore/html/
H A DTimeRanges.h67 struct Range { struct in class:WebCore::TimeRanges
68 Range() { } function in struct:WebCore::TimeRanges::Range
69 Range(float start, float end) function in struct:WebCore::TimeRanges::Range
82 inline bool isOverlappingRange(const Range& range) const
87 inline bool isContiguousWithRange(const Range& range) const
92 inline Range unionWithOverlappingOrContiguousRange(const Range& range) const
94 Range ret;
102 inline bool isBeforeRange(const Range& range) const
108 Vector<Range> m_range
[all...]
/external/llvm/lib/DebugInfo/
H A DDWARFDebugAranges.h22 struct Range { struct in class:llvm::DWARFDebugAranges
23 explicit Range(uint64_t lo = -1ULL, uint64_t hi = -1ULL, function in struct:llvm::DWARFDebugAranges::Range
46 static bool SortedOverlapCheck(const Range &curr_range,
47 const Range &next_range, uint32_t n) {
53 bool contains(const Range &range) const {
73 const Range *rangeAtIndex(uint32_t idx) const {
89 typedef std::vector<Range> RangeColl;
/external/webkit/Source/WebKit/chromium/src/
H A DWebRange.cpp34 #include "Range.h"
43 class WebRangePrivate : public Range {
89 WebRange::WebRange(const WTF::PassRefPtr<WebCore::Range>& range)
94 WebRange& WebRange::operator=(const WTF::PassRefPtr<WebCore::Range>& range)
100 WebRange::operator WTF::PassRefPtr<WebCore::Range>() const
102 return PassRefPtr<Range>(const_cast<WebRangePrivate*>(m_private));
/external/llvm/lib/CodeGen/
H A DMachineLoopRanges.cpp50 MachineLoopRange *&Range = Cache[Loop]; local
51 if (!Range)
52 Range = new MachineLoopRange(Loop, Allocator, *Indexes);
53 return Range;
64 const std::pair<SlotIndex, SlotIndex> &Range = Indexes.getMBBRange(*I); local
65 Intervals.insert(Range.first, Range.second, 1u);
66 Area += Range.first.distance(Range.second);
H A DCriticalAntiDepBreaker.cpp610 Range = RegRefs.equal_range(AntiDepReg); local
611 if (unsigned NewReg = findSuitableFreeRegister(Range.first, Range.second,
623 Q = Range.first, QE = Range.second; Q != QE; ++Q) {
/external/v8/test/mjsunit/
H A Dcyrillic.js59 function Range(from, to, flags) { function
76 assertTrue(Range(first, last).test(first), 1);
77 assertTrue(Range(first, last).test(middle), 2);
78 assertTrue(Range(first, last).test(last), 3);
80 assertFalse(Range(first, last).test(first_other_case), 4);
81 assertFalse(Range(first, last).test(middle_other_case), 5);
82 assertFalse(Range(first, last).test(last_other_case), 6);
84 assertTrue(Range(first, last, "i").test(first), 7);
85 assertTrue(Range(first, last, "i").test(middle), 8);
86 assertTrue(Range(firs
[all...]
/external/webkit/Source/WebCore/dom/
H A DRange.h42 class Range : public RefCounted<Range> { class in namespace:WebCore
44 static PassRefPtr<Range> create(PassRefPtr<Document>);
45 static PassRefPtr<Range> create(PassRefPtr<Document>, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> endContainer, int endOffset);
46 static PassRefPtr<Range> create(PassRefPtr<Document>, const Position&, const Position&);
47 ~Range();
71 short compareBoundaryPoints(CompareHow, const Range* sourceRange, ExceptionCode&) const;
88 PassRefPtr<Range> cloneRange(ExceptionCode&) const;
138 Range(PassRefPtr<Document>);
139 Range(PassRefPt
[all...]
/external/clang/include/clang/AST/
H A DAttr.h61 SourceRange Range; member in class:clang::Attr
89 : Range(R), AttrKind(AK), Inherited(false) {}
97 SourceLocation getLocation() const { return Range.getBegin(); }
98 SourceRange getRange() const { return Range; }
99 void setRange(SourceRange R) { Range = R; }
/external/clang/include/clang/Lex/
H A DPPCallbacks.h153 SourceRange Range) {
170 /// \param Range The SourceRange that was skipped. The range begins at the
172 virtual void SourceRangeSkipped(SourceRange Range) { argument
176 /// \param Range The SourceRange of the expression being tested.
178 virtual void If(SourceRange Range) { argument
182 /// \param Range The SourceRange of the expression being tested.
184 virtual void Elif(SourceRange Range) { argument
288 SourceRange Range) {
289 First->MacroExpands(MacroNameTok, MI, Range);
290 Second->MacroExpands(MacroNameTok, MI, Range);
152 MacroExpands(const Token &MacroNameTok, const MacroInfo* MI, SourceRange Range) argument
287 MacroExpands(const Token &MacroNameTok, const MacroInfo* MI, SourceRange Range) argument
308 SourceRangeSkipped(SourceRange Range) argument
314 If(SourceRange Range) argument
320 Elif(SourceRange Range) argument
[all...]
/external/clang/lib/Lex/
H A DPPExpressions.cpp34 SourceRange Range; member in class:__anon2901::PPValue
44 const SourceRange &getRange() const { return Range; }
46 void setRange(SourceLocation L) { Range.setBegin(L); Range.setEnd(L); }
48 Range.setBegin(B); Range.setEnd(E);
50 void setBegin(SourceLocation L) { Range.setBegin(L); }
51 void setEnd(SourceLocation L) { Range.setEnd(L); }
H A DPreprocessingRecord.cpp29 SourceRange Range)
30 : PreprocessingDirective(InclusionDirectiveKind, Range),
50 PreprocessingRecord::getPreprocessedEntitiesInRange(SourceRange Range) { argument
51 if (Range.isInvalid())
53 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin()));
56 Local = findLocalPreprocessedEntitiesInRange(Range);
59 if (!ExternalSource || SourceMgr.isLocalSourceLocation(Range.getBegin()))
64 Loaded = ExternalSource->findPreprocessedEntitiesInRange(Range);
78 // Range spand
25 InclusionDirective(PreprocessingRecord &PPRec, InclusionKind Kind, StringRef FileName, bool InQuotes, const FileEntry *File, SourceRange Range) argument
120 SourceRange Range = PPE->getSourceRange(); local
[all...]
/external/clang/tools/libclang/
H A DCIndexDiagnostic.cpp83 CXSourceRange Range = clang_getDiagnosticRange(Diagnostic, I); local
86 clang_getSpellingLocation(clang_getRangeStart(Range),
89 clang_getSpellingLocation(clang_getRangeEnd(Range),
264 CXSourceRange clang_getDiagnosticRange(CXDiagnostic Diag, unsigned Range) { argument
266 if (!StoredDiag || Range >= StoredDiag->Diag.range_size() ||
272 StoredDiag->Diag.range_begin()[Range]);
/external/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp221 uint64_t Range = cast<ConstantInt>(Leaf.High)->getSExtValue() - local
223 for (uint64_t j = 0; j < Range; ++j) {
/external/chromium/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/clang/lib/CodeGen/
H A DCodeGenAction.cpp223 std::pair<unsigned, unsigned> Range = D.getRanges()[i]; local
225 B << SourceRange(Loc.getLocWithOffset(Range.first - Column),
226 Loc.getLocWithOffset(Range.second - Column));
/external/clang/lib/Rewrite/
H A DRewriter.cpp118 int Rewriter::getRangeSize(const CharSourceRange &Range, argument
120 if (!isRewritable(Range.getBegin()) ||
121 !isRewritable(Range.getEnd())) return -1;
126 StartOff = getLocationOffsetAndFileID(Range.getBegin(), StartFileID);
127 EndOff = getLocationOffsetAndFileID(Range.getEnd(), EndFileID);
145 if (Range.isTokenRange())
146 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts);
151 int Rewriter::getRangeSize(SourceRange Range, RewriteOptions opts) const { argument
152 return getRangeSize(CharSourceRange::getTokenRange(Range), opts);
162 std::string Rewriter::getRewrittenText(SourceRange Range) cons
[all...]
/external/clang/lib/Sema/
H A DSemaExceptionSpec.cpp40 bool Sema::CheckSpecifiedExceptionType(QualType T, const SourceRange &Range) { argument
52 if (RequireCompleteType(Range.getBegin(), T,
53 PDiag(diag::err_incomplete_in_exception_spec) << /*direct*/0 << Range))
73 if (!T->isVoidType() && RequireCompleteType(Range.getBegin(), T,
74 PDiag(diag::err_incomplete_in_exception_spec) << kind << Range))
/external/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp63 void HighlightRange(Rewriter& R, FileID BugFileID, SourceRange Range,
546 SourceRange Range,
552 SourceLocation InstantiationStart = SM.getExpansionLoc(Range.getBegin());
555 SourceLocation InstantiationEnd = SM.getExpansionLoc(Range.getEnd());
571 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1;
545 HighlightRange(Rewriter& R, FileID BugFileID, SourceRange Range, const char *HighlightStart, const char *HighlightEnd) argument
H A DRangeConstraintManager.cpp29 /// A Range represents the closed range [from, to]. The caller must
30 /// guarantee that from <= to. Note that Range is immutable, so as not
33 class Range : public std::pair<const llvm::APSInt*, class in namespace:__anon3130
36 Range(const llvm::APSInt &from, const llvm::APSInt &to) function in class:__anon3130::Range
60 class RangeTrait : public llvm::ImutContainerInfo<Range> {
62 // When comparing if one Range is less than another, we should compare
76 typedef llvm::ImmutableSet<Range, RangeTrait> PrimRangeSet;
93 : ranges(F.add(F.getEmptySet(), Range(from, to))) {}
131 newRanges = F.add(newRanges, Range(BV.getValue(Lower),
135 newRanges = F.add(newRanges, Range(B
[all...]
/external/gtest/include/gtest/
H A Dgtest-param-test.h82 // Range(begin, end [, step]) - Yields values {begin, begin+step,
181 // Range() returns generators providing sequences of values in a range.
184 // Range(start, end)
187 // Range(start, end, step)
191 // * The generated sequences never include end. For example, Range(1, 5)
192 // returns a generator producing a sequence {1, 2, 3, 4}. Range(1, 9, 2)
205 internal::ParamGenerator<T> Range(T start, T end, IncrementT step) { function in namespace:testing
211 internal::ParamGenerator<T> Range(T start, T end) { function in namespace:testing
212 return Range(start, end, 1);
/external/llvm/utils/FileCheck/
H A DFileCheck.cpp630 static unsigned CountNumNewlinesBetween(StringRef Range) { argument
634 Range = Range.substr(Range.find_first_of("\n\r"));
635 if (Range.empty()) return NumNewLines;
640 if (Range.size() > 1 &&
641 (Range[1] == '\n' || Range[1] == '\r') &&
642 (Range[0] != Range[
[all...]

Completed in 505 milliseconds

123