/external/clang/bindings/python/tests/cindex/ |
H A D | test_access_specifiers.py | 3 from clang.cindex import Cursor namespace
|
H A D | util.py | 3 from clang.cindex import Cursor namespace 38 TranslationUnit or Cursor instance. 43 root_cursor = source if isinstance(source, Cursor) else source.cursor 56 TranslationUnit or Cursor instance. 61 root_cursor = source if isinstance(source, Cursor) else source.cursor
|
H A D | test_location.py | 1 from clang.cindex import Cursor namespace 51 cursor = Cursor.from_location(tu, location) 64 cursor = Cursor.from_location(tu, offset_location)
|
H A D | test_translation_unit.py | 6 from clang.cindex import Cursor namespace 28 assert isinstance(c, Cursor)
|
/external/clang/unittests/Format/ |
H A D | SortIncludesTest.cpp | 31 unsigned newCursor(llvm::StringRef Code, unsigned Cursor) { argument 33 sortIncludes(Style, Code, Ranges, "input.cpp", &Cursor); 34 return Cursor;
|
/external/clang/lib/Frontend/ |
H A D | SerializedDiagnosticReader.cpp | 69 enum class SerializedDiagnosticReader::Cursor { class in class:SerializedDiagnosticReader 75 llvm::ErrorOr<SerializedDiagnosticReader::Cursor> 86 return Cursor::BlockBegin; 91 return Cursor::BlockEnd; 103 return Cursor::Record; 119 llvm::ErrorOr<Cursor> Res = skipUntilRecordOrBlock(Stream, BlockOrCode); 124 case Cursor::Record: 126 case Cursor::BlockBegin: 129 case Cursor::BlockEnd: 160 llvm::ErrorOr<Cursor> Re [all...] |
/external/llvm/lib/CodeGen/ |
H A D | InterferenceCache.h | 48 /// RefCount - The total number of Cursor instances referring to this Entry. 170 /// Cursor - The primary query interface for the block interference cache. 171 class Cursor { class in class:llvm::InterferenceCache 188 /// Cursor - Create a dangling cursor. 189 Cursor() : CacheEntry(nullptr), Current(nullptr) {} function in class:llvm::InterferenceCache::Cursor 190 ~Cursor() { setEntry(nullptr); } 192 Cursor(const Cursor &O) : CacheEntry(nullptr), Current(nullptr) { function in class:llvm::InterferenceCache::Cursor 196 Cursor &operator=(const Cursor [all...] |
/external/llvm/lib/Bitcode/Reader/ |
H A D | BitstreamReader.cpp | 54 static uint64_t readAbbreviatedField(BitstreamCursor &Cursor, argument 64 assert((unsigned)Op.getEncodingData() <= Cursor.MaxChunkSize); 65 return Cursor.Read((unsigned)Op.getEncodingData()); 67 assert((unsigned)Op.getEncodingData() <= Cursor.MaxChunkSize); 68 return Cursor.ReadVBR64((unsigned)Op.getEncodingData()); 70 return BitCodeAbbrevOp::DecodeChar6(Cursor.Read(6)); 75 static void skipAbbreviatedField(BitstreamCursor &Cursor, argument 85 assert((unsigned)Op.getEncodingData() <= Cursor.MaxChunkSize); 86 Cursor.Read((unsigned)Op.getEncodingData()); 89 assert((unsigned)Op.getEncodingData() <= Cursor [all...] |
/external/llvm/unittests/Bitcode/ |
H A D | BitReaderTest.cpp | 115 BitstreamCursor Cursor; local 116 Cursor.init(Reader.get()); 119 Cursor.JumpToBit((InputSize - 4) * CHAR_BIT); 122 EXPECT_EQ(ReadErrorValue, Cursor.Read(32)); 124 EXPECT_TRUE(Cursor.AtEndOfStream());
|
/external/clang/tools/libclang/ |
H A D | CIndexHigh.cpp | 309 static bool findMacroRefsInFile(CXTranslationUnit TU, CXCursor Cursor, argument 312 if (Cursor.kind != CXCursor_MacroDefinition && 313 Cursor.kind != CXCursor_MacroExpansion) 321 if (Cursor.kind == CXCursor_MacroDefinition) 322 Macro = getCursorMacroDefinition(Cursor)->getName(); 324 Macro = getCursorMacroExpansion(Cursor).getName();
|
H A D | CXCursor.cpp | 903 const Decl *cxcursor::getCursorDecl(CXCursor Cursor) { argument 904 return static_cast<const Decl *>(Cursor.data[0]); 907 const Expr *cxcursor::getCursorExpr(CXCursor Cursor) { argument 908 return dyn_cast_or_null<Expr>(getCursorStmt(Cursor)); 911 const Stmt *cxcursor::getCursorStmt(CXCursor Cursor) { argument 912 if (Cursor.kind == CXCursor_ObjCSuperClassRef || 913 Cursor.kind == CXCursor_ObjCProtocolRef || 914 Cursor.kind == CXCursor_ObjCClassRef) 917 return static_cast<const Stmt *>(Cursor.data[1]); 920 const Attr *cxcursor::getCursorAttr(CXCursor Cursor) { argument 924 getCursorParentDecl(CXCursor Cursor) argument 928 getCursorContext(CXCursor Cursor) argument 932 getCursorASTUnit(CXCursor Cursor) argument 939 getCursorTU(CXCursor Cursor) argument [all...] |
H A D | IndexingContext.cpp | 310 SourceLocation Loc, CXCursor Cursor, 331 DInfo.cursor = Cursor; 366 SourceLocation Loc, CXCursor Cursor, 369 return handleDecl(D, Loc, Cursor, ContDInfo); 661 CXCursor Cursor = E ? MakeCXCursor(E, cast<Decl>(DC), CXTU) 663 return handleReference(D, Loc, Cursor, Parent, DC, E, Kind); 667 CXCursor Cursor, 703 Cursor, 309 handleDecl(const NamedDecl *D, SourceLocation Loc, CXCursor Cursor, DeclInfo &DInfo, const DeclContext *LexicalDC) argument 365 handleObjCContainer(const ObjCContainerDecl *D, SourceLocation Loc, CXCursor Cursor, ObjCContainerDeclInfo &ContDInfo) argument 666 handleReference(const NamedDecl *D, SourceLocation Loc, CXCursor Cursor, const NamedDecl *Parent, const DeclContext *DC, const Expr *E, CXIdxEntityRefKind Kind) argument
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | WinCodeViewLineTables.cpp | 50 size_t Cursor = 0; local 51 while ((Cursor = Filepath.find("\\.\\", Cursor)) != std::string::npos) 52 Filepath.erase(Cursor, 2); 56 Cursor = 0; 57 while ((Cursor = Filepath.find("\\..\\", Cursor)) != std::string::npos) { 59 if (Cursor == 0) 62 size_t PrevSlash = Filepath.rfind('\\', Cursor - 1); 67 Filepath.erase(PrevSlash, Cursor [all...] |
/external/google-breakpad/src/testing/gtest/scripts/ |
H A D | pump.py | 87 class Cursor: class in inherits: 120 return Cursor(self.line, self.column + offset) 123 return Cursor(self.line, self.column - offset) 128 return Cursor(self.line, self.column) 134 return Cursor(-1, -1) 200 found_start = Cursor(cur_line_number, start_column) 212 end = Cursor(len(lines) - 1, len(lines[-1])) 339 pos = Cursor(exp_token.end.line + 1, 0) 359 new_pos = Cursor(pos.line + 1, 0) 386 for token in TokenizeLines(lines, Cursor( [all...] |
/external/llvm/lib/CodeGen/MIRParser/ |
H A D | MILexer.cpp | 26 class Cursor { class in namespace:__anon11791 31 Cursor(NoneType) : Ptr(nullptr), End(nullptr) {} function in class:__anon11791::Cursor 33 explicit Cursor(StringRef Str) { function in class:__anon11791::Cursor 46 StringRef upto(Cursor C) const { 81 static Cursor skipWhitespace(Cursor C) { 90 static Cursor skipComment(Cursor C) { 110 Cursor C = Cursor(Valu [all...] |
/external/protobuf/gtest/scripts/ |
H A D | pump.py | 88 class Cursor: class in inherits: 121 return Cursor(self.line, self.column + offset) 124 return Cursor(self.line, self.column - offset) 129 return Cursor(self.line, self.column) 135 return Cursor(-1, -1) 201 found_start = Cursor(cur_line_number, start_column) 213 end = Cursor(len(lines) - 1, len(lines[-1])) 317 pos = Cursor(found.end.line + 1, 0) 333 pos = Cursor(exp_token.end.line + 1, 0) 353 new_pos = Cursor(po [all...] |
/external/javassist/src/main/javassist/bytecode/ |
H A D | SignatureAttribute.java | 158 static private class Cursor { class in class:SignatureAttribute 648 return parseObjectType(sig, new Cursor(), false); 658 Cursor cur = new Cursor(); 674 Cursor cur = new Cursor(); 703 private static TypeParameter[] parseTypeParams(String sig, Cursor cur) 731 private static ObjectType parseObjectType(String sig, Cursor c, boolean dontThrow) 752 private static ClassType parseClassType(String sig, Cursor c) 761 private static ClassType parseClassType2(String sig, Cursor [all...] |
/external/sfntly/cpp/src/test/tinyxml/ |
H A D | tinyxmlparser.cpp | 177 const TiXmlCursor& Cursor() const { return cursor; } function in class:TiXmlParsingData 732 location = data.Cursor(); 813 errorLocation = data->Cursor(); 1057 location = data->Cursor(); 1283 location = data->Cursor(); 1347 location = data->Cursor(); 1400 location = data->Cursor(); 1505 location = data->Cursor(); 1586 location = data->Cursor();
|
/external/tinyxml/ |
H A D | tinyxmlparser.cpp | 168 const TiXmlCursor& Cursor() { return cursor; } function in class:TiXmlParsingData 709 location = data.Cursor(); 790 errorLocation = data->Cursor(); 1028 location = data->Cursor(); 1239 location = data->Cursor(); 1302 location = data->Cursor(); 1330 location = data->Cursor(); 1440 location = data->Cursor(); 1520 location = data->Cursor();
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/scripts/ |
H A D | pump.py | 87 class Cursor: class in inherits: 120 return Cursor(self.line, self.column + offset) 123 return Cursor(self.line, self.column - offset) 128 return Cursor(self.line, self.column) 134 return Cursor(-1, -1) 200 found_start = Cursor(cur_line_number, start_column) 212 end = Cursor(len(lines) - 1, len(lines[-1])) 339 pos = Cursor(exp_token.end.line + 1, 0) 359 new_pos = Cursor(pos.line + 1, 0) 386 for token in TokenizeLines(lines, Cursor( [all...] |
/external/clang/lib/Serialization/ |
H A D | GlobalModuleIndex.cpp | 127 llvm::BitstreamCursor Cursor) 134 llvm::BitstreamEntry Entry = Cursor.advance(); 158 if (Cursor.EnterSubBlock(GLOBAL_INDEX_BLOCK_ID)) 162 } else if (Cursor.SkipBlock()) { 170 switch ((IndexRecordTypes)Cursor.readRecord(Entry.ID, Record, &Blob)) { 253 llvm::BitstreamCursor Cursor(Reader); 256 if (Cursor.Read(8) != 'B' || 257 Cursor.Read(8) != 'C' || 258 Cursor.Read(8) != 'G' || 259 Cursor 126 GlobalModuleIndex(std::unique_ptr<llvm::MemoryBuffer> Buffer, llvm::BitstreamCursor Cursor) argument [all...] |
/external/llvm/include/llvm/Support/ |
H A D | GCOV.h | 56 GCOVBuffer(MemoryBuffer *B) : Buffer(B), Cursor(0) {} 65 Cursor = 4; 76 Cursor = 4; 82 StringRef VersionStr = Buffer->getBuffer().slice(Cursor, Cursor + 4); 84 Cursor += 4; 89 Cursor += 4; 94 Cursor += 4; 105 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor 227 uint64_t Cursor; member in class:llvm::GCOVBuffer [all...] |
/external/clang/bindings/python/clang/ |
H A D | cindex.py | 36 Cursor 498 ### Cursor Kinds ### 1073 # Cursor that represents the translation unit itself. 1142 class Cursor(Structure): class in inherits:Structure 1144 The Cursor class represents a reference to an element within the AST. It 1313 """Return the canonical Cursor corresponding to this Cursor. 1327 """Retrieve the Type of the result for this Cursor.""" 1420 """Returns the TranslationUnit to which this Cursor belongs.""" 1438 """Returns the brief comment text associated with that Cursor""" [all...] |
/external/clang/lib/Format/ |
H A D | Format.cpp | 1741 tooling::Replacements &Replaces, unsigned *Cursor) { 1772 if (Cursor && !CursorMoved) { 1775 if (*Cursor >= Start && *Cursor < End) { 1776 *Cursor = Includes.front().Offset + result.size() + *Cursor - End; 1794 StringRef FileName, unsigned *Cursor) { 1861 Cursor); 1872 sortIncludes(Style, IncludesInBlock, Ranges, FileName, Replaces, Cursor); 1738 sortIncludes(const FormatStyle &Style, const SmallVectorImpl<IncludeDirective> &Includes, ArrayRef<tooling::Range> Ranges, StringRef FileName, tooling::Replacements &Replaces, unsigned *Cursor) argument 1792 sortIncludes(const FormatStyle &Style, StringRef Code, ArrayRef<tooling::Range> Ranges, StringRef FileName, unsigned *Cursor) argument
|
/external/clang/include/clang/Serialization/ |
H A D | ASTReader.h | 557 llvm::BitstreamCursor &Cursor, 561 llvm::BitstreamCursor &Cursor, 1715 static bool ReadBlockAbbrevs(llvm::BitstreamCursor &Cursor, unsigned BlockID); 2123 explicit SavedStreamPosition(llvm::BitstreamCursor &Cursor) argument 2124 : Cursor(Cursor), Offset(Cursor.GetCurrentBitNo()) { } 2127 Cursor.JumpToBit(Offset); 2131 llvm::BitstreamCursor &Cursor; member in struct:clang::SavedStreamPosition
|