Searched defs:SourceLocation (Results 1 - 22 of 22) sorted by path

/external/chromium_org/ppapi/
H A Dgenerate_ppapi_size_checks.py33 class SourceLocation(object): class in inherits:object
53 - source_location: A SourceLocation describing where the type is defined.
83 self.source_location = SourceLocation(source_file,
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
H A DSourceLocation.h13 struct SourceLocation struct in namespace:pp
15 SourceLocation() function in struct:pp::SourceLocation
20 SourceLocation(int f, int l) function in struct:pp::SourceLocation
26 bool equals(const SourceLocation &other) const
35 inline bool operator==(const SourceLocation &lhs, const SourceLocation &rhs)
40 inline bool operator!=(const SourceLocation &lhs, const SourceLocation &rhs)
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Ddescriptor.h109 struct SourceLocation { struct in namespace:google::protobuf
263 bool GetSourceLocation(SourceLocation* out_location) const;
521 bool GetSourceLocation(SourceLocation* out_location) const;
638 bool GetSourceLocation(SourceLocation* out_location) const;
716 bool GetSourceLocation(SourceLocation* out_location) const;
786 bool GetSourceLocation(SourceLocation* out_location) const;
855 bool GetSourceLocation(SourceLocation* out_location) const;
996 SourceLocation* out_location) const;
/external/chromium_org/v8/src/
H A Dmessages.js407 * @return {SourceLocation}
432 return new SourceLocation(this, position, line, column, start, end);
448 * @return {SourceLocation}
614 function SourceLocation(script, position, line, column, start, end) { class
676 * Get the source text for a SourceLocation
688 SetUpLockedPrototype(SourceLocation,
/external/clang/bindings/python/clang/
H A Dcindex.py40 SourceRange, SourceLocation, and File
63 # o implement additional SourceLocation, SourceRange, and File methods.
160 class SourceLocation(Structure): class in inherits:Structure
162 A SourceLocation represents a particular location within a source file.
189 """Retrieve a SourceLocation from a given character offset.
228 return "<SourceLocation file %r, line %r, column %r>" % (
250 Return a SourceLocation representing the first character within a
258 Return a SourceLocation representing the last character within a
271 if not isinstance(other, SourceLocation):
2329 """Obtain a SourceLocation fo
[all...]
/external/clang/bindings/python/tests/cindex/
H A Dtest_location.py3 from clang.cindex import SourceLocation namespace
50 location = SourceLocation.from_position(tu, file, 1, 5)
58 location2 = SourceLocation.from_position(tu, file, 1, 5)
60 location3 = SourceLocation.from_position(tu, file, 1, 4)
63 offset_location = SourceLocation.from_offset(tu, file, 5)
86 location1 = SourceLocation.from_position(tu, file, 1, 1)
87 location2 = SourceLocation.from_position(tu, file, 1, 8)
93 location3 = SourceLocation.from_position(tu, file, 1, 6)
H A Dtest_tokens.py3 from clang.cindex import SourceLocation namespace
35 ok_(isinstance(loc, SourceLocation))
H A Dtest_translation_unit.py9 from clang.cindex import SourceLocation namespace
176 assert isinstance(location, SourceLocation)
181 assert isinstance(location, SourceLocation)
/external/clang/include/clang/AST/
H A DDeclObjC.h77 SourceLocation *Locations;
84 typedef const SourceLocation *loc_iterator;
89 const SourceLocation *Locs, ASTContext &Ctx);
177 SourceLocation DeclEndLoc; // the location of the ';' or '{'.
198 SourceLocation *getStoredSelLocs() {
199 return reinterpret_cast<SourceLocation*>(getParams() + NumParams);
201 const SourceLocation *getStoredSelLocs() const {
202 return reinterpret_cast<const SourceLocation*>(getParams() + NumParams);
224 ArrayRef<SourceLocation> SelLocs);
226 ObjCMethodDecl(SourceLocation beginLo
2007 ObjCImplementationDecl(DeclContext *DC, ObjCInterfaceDecl *classInterface, ObjCInterfaceDecl *superDecl, SourceLocation nameLoc, SourceLocation atStartLoc, SourceLocation superLoc = SourceLocation(), SourceLocation IvarLBraceLoc=SourceLocation(), SourceLocation IvarRBraceLoc=SourceLocation()) argument
[all...]
H A DDeclTemplate.h48 SourceLocation TemplateLoc;
51 SourceLocation LAngleLoc, RAngleLoc;
62 TemplateParameterList(SourceLocation TemplateLoc, SourceLocation LAngleLoc,
64 SourceLocation RAngleLoc);
68 SourceLocation TemplateLoc,
69 SourceLocation LAngleLoc,
72 SourceLocation RAngleLoc);
126 SourceLocation getTemplateLoc() const { return TemplateLoc; }
127 SourceLocation getLAngleLo
409 MemberSpecializationInfo(NamedDecl *IF, TemplateSpecializationKind TSK, SourceLocation POI = SourceLocation()) argument
[all...]
H A DTemplateBase.h385 SourceLocation TemplateNameLoc,
386 SourceLocation EllipsisLoc)
407 SourceLocation getTemplateNameLoc() const {
408 return SourceLocation::getFromRawEncoding(Template.TemplateNameLoc);
411 SourceLocation getTemplateEllipsisLoc() const {
412 return SourceLocation::getFromRawEncoding(Template.EllipsisLoc);
442 SourceLocation TemplateNameLoc,
443 SourceLocation EllipsisLoc = SourceLocation())
450 SourceLocation getLocatio
440 TemplateArgumentLoc(const TemplateArgument &Argument, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateNameLoc, SourceLocation EllipsisLoc = SourceLocation()) argument
[all...]
/external/clang/include/clang/ASTMatchers/Dynamic/
H A DDiagnostics.h31 struct SourceLocation { struct in namespace:clang::ast_matchers::dynamic
32 SourceLocation() : Line(), Column() {} function in struct:clang::ast_matchers::dynamic::SourceLocation
38 SourceLocation Start;
39 SourceLocation End;
/external/clang/include/clang/Basic/
H A DSourceLocation.h1 //===--- SourceLocation.h - Compact identifier for Source Files -*- C++ -*-===//
11 /// \brief Defines the clang::SourceLocation class and associated facilities.
83 /// In addition, one bit of SourceLocation is used for quick access to the
87 class SourceLocation { class in namespace:clang
97 SourceLocation() : ID(0) {} function
102 /// \brief Return true if this is a valid SourceLocation object.
116 static SourceLocation getFileLoc(unsigned ID) {
118 SourceLocation L;
123 static SourceLocation getMacroLoc(unsigned ID) {
125 SourceLocation
[all...]
H A DSourceManager.h40 #include "clang/Basic/SourceLocation.h"
187 SourceLocation Loc = SourceLocation(),
255 unsigned IncludeLoc; // Really a SourceLocation
273 static FileInfo get(SourceLocation IL, const ContentCache *Con,
285 SourceLocation getIncludeLoc() const {
286 return SourceLocation::getFromRawEncoding(IncludeLoc);
320 /// macro-argument instantiations, the end will be 'SourceLocation()', an
325 SourceLocation getSpellingLoc() const {
326 return SourceLocation
791 createFileID(llvm::MemoryBuffer *Buffer, SrcMgr::CharacteristicKind FileCharacter = SrcMgr::C_User, int LoadedID = 0, unsigned LoadedOffset = 0, SourceLocation IncludeLoc = SourceLocation()) argument
[all...]
/external/clang/include/clang/Sema/
H A DAttributeList.h18 #include "clang/Basic/SourceLocation.h"
37 SourceLocation KeywordLoc;
51 SourceLocation Loc;
54 static IdentifierLoc *create(ASTContext &Ctx, SourceLocation Loc,
92 SourceLocation ScopeLoc;
93 SourceLocation EllipsisLoc;
127 SourceLocation UnavailableLoc;
216 IdentifierInfo *scopeName, SourceLocation scopeLoc,
218 Syntax syntaxUsed, SourceLocation ellipsisLoc)
230 IdentifierInfo *scopeName, SourceLocation scopeLo
714 addNew(IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, ArgsUnion *args, unsigned numArgs, AttributeList::Syntax syntax, SourceLocation ellipsisLoc = SourceLocation()) argument
[all...]
/external/clang/lib/Sema/
H A DSemaOverload.cpp45 SourceLocation Loc = SourceLocation(),
615 SourceLocation(), PartialDiagnostic::NullDiagnostic());
3993 Sema::CompareReferenceRelationship(SourceLocation Loc,
4071 QualType DeclType, SourceLocation DeclLoc,
4200 SourceLocation DeclLoc,
4705 SourceLocation Loc,
5155 diagnoseAmbiguousConversion(Sema &SemaRef, SourceLocation Loc, Expr *From,
5173 diagnoseNoViableConversion(Sema &SemaRef, SourceLocation Loc, Expr *&From,
5213 static bool recordConversion(Sema &SemaRef, SourceLocation Lo
43 CreateFunctionRefExpr(Sema &S, FunctionDecl *Fn, NamedDecl *FoundDecl, bool HadMultipleCandidates, SourceLocation Loc = SourceLocation(), const DeclarationNameLoc &LocInfo = DeclarationNameLoc()) argument
[all...]
H A DSemaTemplate.cpp222 SourceLocation IILoc,
409 SourceLocation TemplateKWLoc,
426 /*Op*/ SourceLocation(), SS.getWithLocInContext(Context), TemplateKWLoc,
435 SourceLocation TemplateKWLoc,
447 void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) {
475 SourceLocation EllipsisLoc) const {
530 SourceLocation Loc,
548 SourceLocation EllipsisLoc,
549 SourceLocation KeyLoc,
551 SourceLocation ParamNameLo
1503 Matches(unsigned ParmDepth, SourceLocation Loc = SourceLocation()) argument
[all...]
/external/clang/utils/
H A DClangDataFormat.py12 (clang::SourceLocation) $0 = {
19 (clang::SourceLocation) $4 = "/usr/include/i386/_types.h:37:1" (offset: 123582, file, local)
25 debugger.HandleCommand("type summary add -F ClangDataFormat.SourceLocation_summary clang::SourceLocation")
30 return SourceLocation(srcloc).summary()
38 class SourceLocation(object): class in inherits:object
/external/cmockery/cmockery_0_1_2/src/google/
H A Dcmockery.h305 typedef struct SourceLocation { struct
308 } SourceLocation; typedef in typeref:struct:SourceLocation
312 SourceLocation location;
/external/compiler-rt/lib/ubsan/
H A Dubsan_value.h52 class SourceLocation { class in namespace:__ubsan
58 SourceLocation() : Filename(), Line(), Column() {} function in class:__ubsan::SourceLocation
59 SourceLocation(const char *Filename, unsigned Line, unsigned Column) function in class:__ubsan::SourceLocation
67 SourceLocation acquire() {
71 return SourceLocation(Filename, Line, OldColumn);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.pde.core_3.6.1.v20100902_r361.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp243 if (SourceLocation.insert(std::make_pair(GV, GVLoc)).second)
256 auto Pos = SourceLocation.find(G);
257 return (Pos != SourceLocation.end()) ? Pos->second : nullptr;
278 DenseMap<GlobalVariable*, GlobalVariable*> SourceLocation; member in class:__anon26249::GlobalsMetadata

Completed in 549 milliseconds