Searched defs:Cursor (Results 1 - 25 of 59) sorted by relevance

123

/external/clang/bindings/python/tests/cindex/
H A Dtest_access_specifiers.py3 from clang.cindex import Cursor namespace
H A Dutil.py3 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 Dtest_location.py1 from clang.cindex import Cursor namespace
51 cursor = Cursor.from_location(tu, location)
64 cursor = Cursor.from_location(tu, offset_location)
H A Dtest_translation_unit.py6 from clang.cindex import Cursor namespace
28 assert isinstance(c, Cursor)
/external/clang/unittests/Format/
H A DSortIncludesTest.cpp38 unsigned newCursor(llvm::StringRef Code, unsigned Cursor) { argument
39 sortIncludes(Style, Code, GetCodeRange(Code), "input.cpp", &Cursor);
40 return Cursor;
/external/clang/lib/Frontend/
H A DSerializedDiagnosticReader.cpp69 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 DInterferenceCache.h48 /// 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/swiftshader/third_party/LLVM/lib/CodeGen/
H A DInterferenceCache.h46 /// RefCount - The total number of Cursor instances referring to this Entry.
137 /// Cursor - The primary query interface for the block interference cache.
138 class Cursor { class in class:llvm::InterferenceCache
155 /// Cursor - Create a dangling cursor.
156 Cursor() : CacheEntry(0), Current(0) {} function in class:llvm::InterferenceCache::Cursor
157 ~Cursor() { setEntry(0); }
159 Cursor(const Cursor &O) : CacheEntry(0), Current(0) { function in class:llvm::InterferenceCache::Cursor
163 Cursor &operator=(const Cursor
[all...]
/external/llvm/lib/Bitcode/Reader/
H A DBitstreamReader.cpp54 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 DBitReaderTest.cpp115 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/swiftshader/src/Main/
H A DFrameBuffer.hpp78 struct Cursor struct in class:sw::FrameBuffer
91 static Cursor cursor;
93 void (*blitFunction)(void *dst, void *src, Cursor *cursor);
/external/swiftshader/third_party/subzero/src/
H A DIceCompileServer.cpp67 size_t Cursor = 0; member in class:Ice::__anon20659::TextDataStreamer
90 if (Cursor >= BitcodeBuffer.size())
95 Buf[i] = BitcodeBuffer[Cursor + i];
96 Cursor += Len;
H A DIceAssembler.h115 memcpy(reinterpret_cast<void *>(Cursor), &Value, sizeof(T));
116 Cursor += sizeof(T);
138 intptr_t size() const { return Cursor - Contents; }
178 intptr_t getPosition() const { return Cursor - Contents; }
202 Cursor = Contents + NewSize;
212 uintptr_t Cursor; member in class:Ice::AssemblerBuffer
222 uintptr_t cursor() const { return Cursor; }
/external/clang/tools/libclang/
H A DCIndexHigh.cpp309 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();
/external/python/cpython2/Lib/sqlite3/test/
H A Dregression.py165 class Cursor(sqlite.Cursor): class in function:RegressionTests.CheckCursorConstructorCallCheck
170 cur = Cursor(con)
204 return Cursor(self)
206 class Cursor(sqlite.Cursor): class in function:RegressionTests.CheckCursorRegistration
208 sqlite.Cursor.__init__(self, con)
/external/python/cpython2/Mac/Modules/qd/
H A Dqdsupport.py60 Cursor = StructOutputBufferType('Cursor') variable
61 Cursor_ptr = StructInputBufferType('Cursor')
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DGCOV.h42 GCOVBuffer(MemoryBuffer *B) : Buffer(B), Cursor(0) {}
47 Cursor = 12;
57 Cursor = 0;
64 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4);
70 Cursor += 4;
77 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4);
83 Cursor += 4;
90 StringRef Tag = Buffer->getBuffer().slice(Cursor, Curso
152 uint64_t Cursor; member in class:llvm::GCOVBuffer
[all...]
/external/google-breakpad/src/testing/gtest/scripts/
H A Dpump.py87 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 DMILexer.cpp30 class Cursor { class in namespace:__anon12686
35 Cursor(NoneType) : Ptr(nullptr), End(nullptr) {} function in class:__anon12686::Cursor
37 explicit Cursor(StringRef Str) { function in class:__anon12686::Cursor
50 StringRef upto(Cursor C) const {
85 static Cursor skipWhitespace(Cursor C) {
94 static Cursor skipComment(Cursor C) {
114 Cursor C = Cursor(Valu
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DPlaceSafepoints.cpp407 Instruction *Cursor = nullptr; local
408 for (Cursor = &F.getEntryBlock().front(); HasNextInstruction(Cursor);
409 Cursor = NextInstruction(Cursor)) {
418 if (auto CS = CallSite(Cursor)) {
425 assert((HasNextInstruction(Cursor) || Cursor->isTerminator()) &&
428 return Cursor;
/external/protobuf/gtest/scripts/
H A Dpump.py88 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/googletest/googletest/scripts/
H A Dpump.py87 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/javassist/src/main/javassist/bytecode/
H A DSignatureAttribute.java158 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 Dtinyxmlparser.cpp177 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/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
H A DNaClBitcodeParser.h118 explicit NaClBitcodeData(NaClBitstreamCursor &Cursor) argument
119 : Cursor(Cursor), StartBit(Cursor.GetCurrentBitNo())
124 : Cursor(Data.Cursor), StartBit(Data.StartBit)
129 return *Cursor.getBitStreamReader();
134 return Cursor;
155 NaClBitstreamCursor &Cursor; member in class:llvm::NaClBitcodeData
173 NaClBitcodeBlock(unsigned BlockID, NaClBitstreamCursor &Cursor) argument
415 ErrorHandler(NaClBitcodeParser *Parser, NaClBitstreamCursor &Cursor) argument
430 NaClBitcodeParser(NaClBitstreamCursor &Cursor) argument
616 NaClBitcodeParser(unsigned BlockID, NaClBitcodeParser *EnclosingParser, NaClBitstreamCursor &Cursor) argument
[all...]

Completed in 1273 milliseconds

123