HomeSort by relevance Sort by last modified time
    Searched defs:Cursor (Results 1 - 25 of 86) sorted by null

1 2 3 4

  /external/clang/bindings/python/tests/cindex/
test_access_specifiers.py 3 from clang.cindex import Cursor
26 public = get_cursor(tu.cursor, "public_member_function")
29 protected = get_cursor(tu.cursor, "protected_member_function")
32 private = get_cursor(tu.cursor, "private_member_function")
util.py 3 from clang.cindex import Cursor
34 """Obtain a cursor from a source object.
36 This provides a convenient search mechanism to find a cursor with specific
38 TranslationUnit or Cursor instance.
40 If the cursor is not found, None is returned.
43 root_cursor = source if isinstance(source, Cursor) else source.cursor
45 for cursor in root_cursor.walk_preorder():
46 if cursor.spelling == spelling:
47 return cursor
    [all...]
test_location.py 1 from clang.cindex import Cursor
51 cursor = Cursor.from_location(tu, location)
55 assert one == cursor
64 cursor = Cursor.from_location(tu, offset_location)
66 for n in [n for n in tu.cursor.get_children() if n.spelling == 'one']:
67 assert n == cursor
test_translation_unit.py 6 from clang.cindex import Cursor
27 c = tu.cursor
28 assert isinstance(c, Cursor)
34 spellings = [c.spelling for c in tu.cursor.get_children()]
42 spellings = [c.spelling for c in tu.cursor.get_children()]
57 spellings = [c.spelling for c in tu.cursor.get_children()]
65 spellings = [c.spelling for c in tu.cursor.get_children()]
  /external/lldb/source/Plugins/Process/Utility/
UnwindMacOSXFrameBackchain.h 53 struct Cursor
60 std::vector<Cursor> m_cursors;
UnwindLLDB.h 95 struct Cursor
102 Cursor () : start_pc (LLDB_INVALID_ADDRESS), cfa (LLDB_INVALID_ADDRESS), sctx(), reg_ctx_lldb_sp() { }
104 DISALLOW_COPY_AND_ASSIGN (Cursor);
107 typedef std::shared_ptr<Cursor> CursorSP;
  /external/clang/lib/Frontend/
SerializedDiagnosticReader.cpp 69 enum class SerializedDiagnosticReader::Cursor {
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> Res = skipUntilRecordOrBlock(Stream, BlockOrCode)
    [all...]
  /external/proguard/src/proguard/gui/
ProGuardRunnable.java 65 consoleTextArea.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
126 consoleTextArea.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
ReTraceRunnable.java 68 consoleTextArea.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
131 consoleTextArea.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
  /external/llvm/lib/CodeGen/
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 {
188 /// Cursor - Create a dangling cursor.
189 Cursor() : CacheEntry(nullptr), Current(nullptr) {}
190 ~Cursor() { setEntry(nullptr); }
192 Cursor(const Cursor &O) : CacheEntry(nullptr), Current(nullptr) {
196 Cursor &operator=(const Cursor &O)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/extensions/
xtestproto.h 34 #define Cursor CARD32
71 Cursor cursor B32;
122 #undef Cursor
xfixesproto.h 57 #define Cursor CARD32
388 Cursor cursor B32;
399 Cursor cursor B32;
451 Cursor source B32;
452 Cursor destination B32;
461 Cursor source B32;
542 #undef Cursor
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/extensions/
xtestproto.h 34 #define Cursor CARD32
71 Cursor cursor B32;
122 #undef Cursor
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/test/
regression.py 37 cur = self.con.cursor()
44 cur = self.con.cursor()
55 cursors = [con.cursor() for x in xrange(5)]
66 cur = self.con.cursor()
82 cur = con.cursor()
162 Verifies that cursor methods check wether base class __init__ was called.
164 class Cursor(sqlite.Cursor):
169 cur = Cursor(con)
188 cur = con.cursor()
201 def cursor(self): member in class:RegressionTests.CheckCursorRegistration.Connection
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/test/
regression.py 37 cur = self.con.cursor()
44 cur = self.con.cursor()
55 cursors = [con.cursor() for x in xrange(5)]
66 cur = self.con.cursor()
82 cur = con.cursor()
162 Verifies that cursor methods check wether base class __init__ was called.
164 class Cursor(sqlite.Cursor):
169 cur = Cursor(con)
188 cur = con.cursor()
201 def cursor(self): member in class:RegressionTests.CheckCursorRegistration.Connection
    [all...]
  /external/llvm/lib/CodeGen/AsmPrinter/
WinCodeViewLineTables.cpp 50 size_t Cursor = 0;
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 + 3 - PrevSlash)
    [all...]
  /frameworks/base/core/java/android/database/
Cursor.java 29 * Cursor implementations are not required to be synchronized so code using a Cursor from multiple
30 * threads should perform its own synchronization when using the Cursor.
35 public interface Cursor extends Closeable {
56 * Returns the numbers of rows in the cursor.
58 * @return the number of rows in the cursor.
63 * Returns the current position of the cursor in the row set.
64 * The value is zero-based. When the row set is first returned the cursor
66 * last row is returned another call to next() will leave the cursor past
69 * @return the current cursor position
    [all...]
  /external/google-breakpad/src/testing/gtest/scripts/
pump.py 87 class Cursor:
120 return Cursor(self.line, self.column + offset)
123 return Cursor(self.line, self.column - offset)
128 return Cursor(self.line, self.column)
131 # Special cursor to indicate the end-of-file.
133 """Returns the special cursor to denote the end-of-file."""
134 return Cursor(-1, -1)
186 def FindFirst(lines, token_table, cursor):
189 start = cursor.Clone()
190 cur_line_number = cursor.lin
    [all...]
  /external/protobuf/gtest/scripts/
pump.py 88 class Cursor:
121 return Cursor(self.line, self.column + offset)
124 return Cursor(self.line, self.column - offset)
129 return Cursor(self.line, self.column)
132 # Special cursor to indicate the end-of-file.
134 """Returns the special cursor to denote the end-of-file."""
135 return Cursor(-1, -1)
187 def FindFirst(lines, token_table, cursor):
190 start = cursor.Clone()
191 cur_line_number = cursor.lin
    [all...]
  /external/sfntly/cpp/src/test/tinyxml/
tinyxmlparser.cpp 177 const TiXmlCursor& Cursor() const { return cursor; }
186 cursor.row = row;
187 cursor.col = col;
190 TiXmlCursor cursor; member in class:TiXmlParsingData
207 int row = cursor.row;
208 int col = cursor.col;
305 cursor.row = row;
306 cursor.col = col;
307 assert( cursor.row >= -1 )
    [all...]
  /external/tinyxml/
tinyxmlparser.cpp 168 const TiXmlCursor& Cursor() { return cursor; }
177 cursor.row = row;
178 cursor.col = col;
181 TiXmlCursor cursor; member in class:TiXmlParsingData
198 int row = cursor.row;
199 int col = cursor.col;
296 cursor.row = row;
297 cursor.col = col;
298 assert( cursor.row >= -1 )
    [all...]
  /external/libvncserver/webclients/novnc/include/
rfb.js 58 ['Cursor', -239 ],
140 ['local_cursor', 'rw', 'bool', false, 'Request locally rendered cursor'],
175 that.set_local_cursor = function(cursor) {
176 if ((!cursor) || (cursor in {'0':1, 'no':1, 'false':1})) {
182 Util.Warn("Browser does not support local cursor");
    [all...]
  /bionic/libc/kernel/tools/
cpp.py 20 from clang.cindex import Cursor
99 It also overrides the cursor property of the base class. Because the one
101 hold useful information. The cursor in this class can be set by calling
107 cursor=None):
112 self._cursor = cursor
133 def cursor(self): member in class:Token
135 self._cursor = clang.cindex.Token.cursor
138 @cursor.setter
139 def cursor(self, new_cursor): member in class:Token
207 updates the cursor property in each token after parsing, by callin
    [all...]
  /external/javassist/src/main/javassist/bytecode/
SignatureAttribute.java 158 static private class Cursor {
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 c, ClassType parent
    [all...]
  /external/llvm/include/llvm/Support/
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;
97 /// readFunctionTag - If cursor points to a function tag then increment the
98 /// cursor and return true otherwise return false.
100 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4)
    [all...]

Completed in 1346 milliseconds

1 2 3 4