/external/clang/lib/Parse/ |
H A D | ParseDecl.cpp | 41 TypeResult Parser::ParseTypeName(SourceRange *Range, argument 61 if (Range) 62 *Range = DeclaratorInfo.getSourceRange(); 640 VersionTuple Parser::ParseVersionTuple(SourceRange &Range) { argument 641 Range = Tok.getLocation(); 1245 CharSourceRange AttrRange(SourceRange(Loc, Attrs.Range.getEnd()), true); 1253 Diag(attrs.Range.getBegin(), diag::err_attributes_not_allowed) 1254 << attrs.Range; 2481 attrs.Range = SourceRange(); 3613 SourceRange Range; local 5190 SourceRange Range; local [all...] |
/external/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 927 E->Range = ReadSourceRange(Record, Idx); 938 E->Range = ReadSourceRange(Record, Idx); 958 E->Range = ReadSourceRange(Record, Idx); 1183 E->Range = Reader.ReadSourceRange(F, Record, Idx); 1356 E->Range = ReadSourceRange(Record, Idx); 1490 SourceRange Range = ReadSourceRange(Record, Idx); local 1491 E->Loc = Range.getBegin(); 1492 E->RParenLoc = Range.getEnd(); 1503 SourceRange Range = ReadSourceRange(Record, Idx); local 1504 E->Loc = Range 1513 SourceRange Range = ReadSourceRange(Record, Idx); local [all...] |
H A D | ASTReaderDecl.cpp | 2150 SourceRange Range = ReadSourceRange(F, Record, Idx); local
|
H A D | ASTReader.cpp | 4746 SourceRange Range(ReadSourceLocation(M, PPOffs.Begin), 4769 ME = new (PPRec) MacroExpansion(Name, Range); 4771 ME = new (PPRec) MacroExpansion(Def, Range); 4781 = new (PPRec) MacroDefinition(II, Range); 4804 Range); 4913 /// preprocessed entities that \arg Range encompasses. 4915 ASTReader::findPreprocessedEntitiesInRange(SourceRange Range) { argument 4916 if (Range.isInvalid()) 4918 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range [all...] |
H A D | ASTWriter.cpp | 4634 void ASTWriter::AddSourceRange(SourceRange Range, RecordDataImpl &Record) { argument 4635 AddSourceLocation(Range.getBegin(), Record); 4636 AddSourceLocation(Range.getEnd(), Record);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MallocChecker.cpp | 329 void ReportBadFree(CheckerContext &C, SVal ArgVal, SourceRange Range, 331 void ReportMismatchedDealloc(CheckerContext &C, SourceRange Range, 334 void ReportOffsetFree(CheckerContext &C, SVal ArgVal, SourceRange Range, 337 void ReportUseAfterFree(CheckerContext &C, SourceRange Range, 339 void ReportDoubleFree(CheckerContext &C, SourceRange Range, bool Released, 1328 SourceRange Range, 1373 R->addRange(Range); 1379 SourceRange Range, 1427 R->addRange(Range); 1434 SourceRange Range, cons 1327 ReportBadFree(CheckerContext &C, SVal ArgVal, SourceRange Range, const Expr *DeallocExpr) const argument 1378 ReportMismatchedDealloc(CheckerContext &C, SourceRange Range, const Expr *DeallocExpr, const RefState *RS, SymbolRef Sym, bool OwnershipTransferred) const argument 1433 ReportOffsetFree(CheckerContext &C, SVal ArgVal, SourceRange Range, const Expr *DeallocExpr, const Expr *AllocExpr) const argument 1490 ReportUseAfterFree(CheckerContext &C, SourceRange Range, SymbolRef Sym) const argument 1517 ReportDoubleFree(CheckerContext &C, SourceRange Range, bool Released, SymbolRef Sym, SymbolRef PrevSym) const argument [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfDebug.cpp | 337 // We don't create a DIE if there is no Range. 345 // We don't create a DIE if we have a single Range and the end label 362 const SmallVectorImpl<InsnRange> &Range) { 377 for (const InsnRange &R : Range) { 593 ImportedEntityMap::const_iterator> Range = local 598 if (Children.empty() && Range.first == Range.second) 602 for (ImportedEntityMap::const_iterator i = Range.first; i != Range.second; 945 RangeSpan &Range local 361 addScopeRangeList(DwarfCompileUnit &TheCU, DIE &ScopeDIE, const SmallVectorImpl<InsnRange> &Range) argument [all...] |
/external/chromium_org/v8/src/ |
H A D | jsregexp.h | 251 static inline CharacterRange Range(uc16 from, uc16 to) { function in class:v8::internal::CharacterRange
|
H A D | hydrogen-instructions.h | 216 class Range FINAL : public ZoneObject { 218 Range() function in class:v8::internal::FINAL 224 Range(int32_t lower, int32_t upper) function in class:v8::internal::FINAL 232 Range* next() const { return next_; } 233 Range* CopyClearLower(Zone* zone) const { 234 return new(zone) Range(kMinInt, upper_); 236 Range* CopyClearUpper(Zone* zone) const { 237 return new(zone) Range(lower_, kMaxInt); 239 Range* Copy(Zone* zone) const { 240 Range* resul [all...] |
/external/clang/include/clang/AST/ |
H A D | DeclCXX.h | 161 SourceRange Range; member in class:clang::CXXBaseSpecifier 197 : Range(R), EllipsisLoc(EllipsisLoc), Virtual(V), BaseOfClass(BC), 201 SourceRange getSourceRange() const LLVM_READONLY { return Range; } 202 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); } 203 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
|
H A D | Expr.h | 1793 SourceRange Range; member in class:clang::StringLiteral::OffsetOfExpr::OffsetOfNode 1810 : Range(LBracketLoc, RBracketLoc), Data((Index << 2) | Array) { } 1815 : Range(DotLoc.isValid()? DotLoc : NameLoc, NameLoc), 1821 : Range(DotLoc.isValid()? DotLoc : NameLoc, NameLoc), 1826 : Range(), Data(reinterpret_cast<uintptr_t>(Base) | OffsetOfNode::Base) {} 1862 SourceRange getSourceRange() const LLVM_READONLY { return Range; } 1863 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); } 1864 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
|
/external/clang/include/clang/Parse/ |
H A D | Parser.h | 1214 SourceRange Range; member in struct:clang::Parser::ParsedAttributesWithRange 1486 TypeResult ParseTrailingReturnType(SourceRange &Range); 1970 TypeResult ParseTypeName(SourceRange *Range = nullptr, 2002 if (!attrs.Range.isValid()) return; 2115 VersionTuple ParseVersionTuple(SourceRange &Range);
|
/external/clang/lib/AST/ |
H A D | ASTImporter.cpp | 1877 SourceRange Range = From.getCXXOperatorNameRange(); local 1878 To.setCXXOperatorNameRange(Importer.Import(Range));
|
/external/clang/lib/Sema/ |
H A D | SemaDeclAttr.cpp | 1666 static bool checkAvailabilityAttr(Sema &S, SourceRange Range, argument 1680 S.Diag(Range.getBegin(), diag::warn_availability_version_ordering) 1688 S.Diag(Range.getBegin(), diag::warn_availability_version_ordering) 1696 S.Diag(Range.getBegin(), diag::warn_availability_version_ordering) 1723 AvailabilityAttr *Sema::mergeAvailabilityAttr(NamedDecl *D, SourceRange Range, argument 1792 Diag(Range.getBegin(), diag::note_overridden_method); 1795 Diag(Range.getBegin(), diag::note_previous_attribute); 1837 if (!checkAvailabilityAttr(*this, Range, Platform, MergedIntroduced, 1840 return ::new (Context) AvailabilityAttr(Range, Context, Platform, 1902 VisibilityAttr *Sema::mergeVisibilityAttr(Decl *D, SourceRange Range, argument 1909 mergeTypeVisibilityAttr(Decl *D, SourceRange Range, TypeVisibilityAttr::VisibilityType Vis, unsigned AttrSpellingListIndex) argument 2246 mergeSectionAttr(Decl *D, SourceRange Range, StringRef Name, unsigned AttrSpellingListIndex) argument 2459 mergeFormatAttr(Decl *D, SourceRange Range, IdentifierInfo *Format, int FormatIdx, int FirstArg, unsigned AttrSpellingListIndex) argument 2849 checkMSInheritanceAttrOnDefinition( CXXRecordDecl *RD, SourceRange Range, bool BestCase, MSInheritanceAttr::Spelling SemanticSpelling) argument 3839 mergeDLLImportAttr(Decl *D, SourceRange Range, unsigned AttrSpellingListIndex) argument 3852 mergeDLLExportAttr(Decl *D, SourceRange Range, unsigned AttrSpellingListIndex) argument 3882 mergeMSInheritanceAttr(Decl *D, SourceRange Range, bool BestCase, unsigned AttrSpellingListIndex, MSInheritanceAttr::Spelling SemanticSpelling) argument [all...] |
H A D | SemaExprCXX.cpp | 1152 Sema::BuildCXXNew(SourceRange Range, bool UseGlobal, argument 1164 SourceLocation StartLoc = Range.getBegin(); 1554 Range, DirectInitRange); 1617 bool Sema::FindAllocationFunctions(SourceLocation StartLoc, SourceRange Range, argument 1658 if (FindAllocationOverload(StartLoc, Range, NewName, AllocArgs, Record, 1668 if (FindAllocationOverload(StartLoc, Range, NewName, AllocArgs, TUDecl, 1680 if (FindAllocationOverload(StartLoc, Range, NewName, AllocArgs, TUDecl, 1829 CheckAllocationAccess(StartLoc, Range, FoundDelete.getNamingClass(), 1841 /// \param Range The range of the placement arguments. 1853 bool Sema::FindAllocationOverload(SourceLocation StartLoc, SourceRange Range, argument 1909 << Name << Range; local 1917 << Name << Range; local [all...] |
H A D | SemaStmt.cpp | 1901 Stmt *First, SourceLocation ColonLoc, Expr *Range, 1906 if (Range && ObjCEnumerationCollection(Range)) 1907 return ActOnObjCForCollectionStmt(ForLoc, First, Range, RParenLoc); 1918 if (LoopVar->isInvalidDecl() || !Range || 1919 DiagnoseUnexpandedParameterPack(Range, UPPC_Expression)) { 1925 SourceLocation RangeLoc = Range->getLocStart(); 1929 if (FinishForRangeVarDecl(*this, RangeVar, Range, RangeLoc, 2041 Expr *Range, 2050 AdjustedRange = SemaRef.BuildUnaryOp(S, RangeLoc, UO_Deref, Range); 1900 ActOnCXXForRangeStmt(SourceLocation ForLoc, Stmt *First, SourceLocation ColonLoc, Expr *Range, SourceLocation RParenLoc, BuildForRangeKind Kind) argument 2037 RebuildForRangeWithDereference(Sema &SemaRef, Scope *S, SourceLocation ForLoc, Stmt *LoopVarDecl, SourceLocation ColonLoc, Expr *Range, SourceLocation RangeLoc, SourceLocation RParenLoc) argument 2135 Expr *Range = RangeVar->getInit(); local 2229 Expr *Range = BEFFailure ? EndRangeRef.get() : BeginRangeRef.get(); local [all...] |
H A D | SemaType.cpp | 2401 SourceRange Range = FTI.Params[0].Param->getSourceRange(); local 2402 SourceLocation B = Range.getBegin(); 2403 SourceLocation E = S.getLocForEndOfToken(Range.getEnd()); 2986 DynamicExceptionRanges.push_back(FTI.Exceptions[I].Range);
|
H A D | SemaTemplate.cpp | 1721 auto CheckExplicitSpecialization = [&](SourceRange Range, bool Recovery) { 1724 << !Recovery << Range; 1733 auto DiagnoseMissingExplicitSpecialization = [&] (SourceRange Range) { 1735 if (CheckExplicitSpecialization(Range, true)) 1746 << Range 2597 SourceRange Range(TemplateNameLoc, RAngleLoc); 2599 << Name << Range; local 3595 SourceRange Range; local 3597 Range = SourceRange(TemplateArgs[NumParams].getLocation(), 3604 << Template << Range; local [all...] |
H A D | SemaChecking.cpp | 758 SourceLocation Loc, SourceRange Range, 771 CheckFormatArguments(I, Args, IsMemberFunction, CallType, Loc, Range, 2212 SourceLocation Loc, SourceRange Range, 2218 CallType, Loc, Range, CheckedVarArgs); 2226 SourceLocation Loc, SourceRange Range, 2230 Diag(Loc, diag::warn_missing_format_string) << Range; 2348 template <typename Range> 2353 bool IsStringLocation, Range StringRange, 2378 template <typename Range> 2380 bool IsStringLocation, Range StringRang 756 checkCall(NamedDecl *FDecl, ArrayRef<const Expr *> Args, unsigned NumParams, bool IsMemberFunction, SourceLocation Loc, SourceRange Range, VariadicCallType CallType) argument 2208 CheckFormatArguments(const FormatAttr *Format, ArrayRef<const Expr *> Args, bool IsCXXMember, VariadicCallType CallType, SourceLocation Loc, SourceRange Range, llvm::SmallBitVector &CheckedVarArgs) argument 2222 CheckFormatArguments(ArrayRef<const Expr *> Args, bool HasVAListArg, unsigned format_idx, unsigned firstDataArg, FormatStringType Type, VariadicCallType CallType, SourceLocation Loc, SourceRange Range, llvm::SmallBitVector &CheckedVarArgs) argument 3792 emitReplacement(Sema &S, SourceLocation Loc, SourceRange Range, unsigned AbsKind, QualType ArgType) argument 5785 PrettyPrintInRange(const llvm::APSInt &Value, IntRange Range) argument 6251 DiagnoseAlwaysNonNullPointer(Expr *E, Expr::NullPointerConstantKind NullKind, bool IsEqual, SourceRange Range) argument 7250 SourceRange Range; member in struct:__anon18014::RetainCycleOwner [all...] |
H A D | SemaDeclCXX.cpp | 1695 /// if there is an error, and Range is the source range to highlight 1701 SourceLocation Loc, SourceRange Range, 1755 << Derived << Base << PathDisplayStr << Range << Name; 1762 SourceLocation Loc, SourceRange Range, 1769 Loc, Range, DeclarationName(), 1698 CheckDerivedToBaseConversion(QualType Derived, QualType Base, unsigned InaccessibleBaseID, unsigned AmbigiousBaseConvID, SourceLocation Loc, SourceRange Range, DeclarationName Name, CXXCastPath *BasePath) argument 1761 CheckDerivedToBaseConversion(QualType Derived, QualType Base, SourceLocation Loc, SourceRange Range, CXXCastPath *BasePath, bool IgnoreAccess) argument
|
H A D | SemaOverload.cpp | 12044 Expr *Range, ExprResult *CallExpr) { 12048 BuildMemberReferenceExpr(Range, Range->getType(), Loc, 12056 Diag(Range->getLocStart(), diag::note_in_for_range) 12057 << RangeLoc << BEF << Range->getType(); 12063 Diag(Range->getLocStart(), diag::note_in_for_range) 12064 << RangeLoc << BEF << Range->getType(); 12075 bool CandidateSetError = buildOverloadedCallSet(S, Fn, Fn, Range, Loc, 12089 *CallExpr = FinishOverloadedCallExpr(*this, S, Fn, Fn, Loc, Range, 12095 Diag(Range 12038 BuildForRangeBeginEndCall(Scope *S, SourceLocation Loc, SourceLocation RangeLoc, VarDecl *Decl, BeginEndFunction BEF, const DeclarationNameInfo &NameInfo, LookupResult &MemberLookup, OverloadCandidateSet *CandidateSet, Expr *Range, ExprResult *CallExpr) argument [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | BugReporter.cpp | 2131 SourceRange Range) { 2132 SourceRange ExpansionRange(SM.getExpansionLoc(Range.getBegin()), 2133 SM.getExpansionRange(Range.getEnd()).second); 2130 getLengthOnSingleLine(SourceManager &SM, SourceRange Range) argument
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
H A D | windows_usb.h | 893 } Range; member in union:_HIDP_VALUE_CAPS::__anon12868
|
/external/clang/include/clang/Sema/ |
H A D | DeclSpec.h | 67 SourceRange Range; member in class:clang::CXXScopeSpec 71 const SourceRange &getRange() const { return Range; } 72 void setRange(const SourceRange &R) { Range = R; } 73 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); } 74 void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); } 75 SourceLocation getBeginLoc() const { return Range.getBegin(); } 76 SourceLocation getEndLoc() const { return Range.getEnd(); } 176 bool isEmpty() const { return !Range.isValid(); } 188 if (Range.getBegin().isInvalid()) 189 Range 365 SourceRange Range; member in class:clang::DeclSpec 1136 SourceRange Range; member in struct:clang::DeclaratorChunk::TypeAndRange 1536 SourceRange Range; member in class:clang::Declarator 2177 SourceRange Range; member in struct:LambdaIntroducer [all...] |
/external/clang/tools/libclang/ |
H A D | CIndex.cpp | 201 SourceRange Range = getRawCursorExtent(Cursor); local 202 if (Range.isInvalid() || CompareRegionOfInterest(Range)) 300 SourceRange Range = RegionOfInterest; local 345 RangeComparisonResult CompRes = RangeCompare(SM, D->getSourceRange(),Range); 361 if (Visit(MakeCXCursor(D, TU, Range), /*CheckedRegionOfInterest=*/true)) 380 if (RangeCompare(SM, CurDeclRange, Range) == RangeOverlap) { 381 if (Visit(MakeCXCursor(D, TU, Range), /*CheckedRegionOfInterest=*/true)) 590 SourceRange Range = getFullCursorExtent(Cursor, AU->getSourceManager()); local 591 if (Range 1219 VisitNestedNameSpecifier(NestedNameSpecifier *NNS, SourceRange Range) argument 2332 SourceRange Range = getRawCursorExtent(C); local 4491 SourceRange Range = cxcursor::getCursorMacroExpansion(C).getSourceRange(); local 4497 SourceRange Range = cxcursor::getCursorMacroDefinition(C)->getSourceRange(); local 4503 SourceRange Range = cxcursor::getCursorInclusionDirective(C)->getSourceRange(); local 5145 getTokens(ASTUnit *CXXUnit, SourceRange Range, SmallVectorImpl<CXToken> &CXTokens) argument 5217 clang_tokenize(CXTranslationUnit TU, CXSourceRange Range, CXToken **Tokens, unsigned *NumTokens) argument 5220 *Log << TU << ' ' << Range; local [all...] |