HomeSort by relevance Sort by last modified time
    Searched refs:cursors (Results 1 - 24 of 24) sorted by null

  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowMergeCursorTest.java 84 Cursor[] cursors = new Cursor[2]; local
85 cursors[0] = null;
86 cursors[1] = dbCursor1;
87 cursor = new MergeCursor( cursors );
95 Cursor[] cursors = new Cursor[2]; local
96 cursors[0] = null;
97 cursors[1] = null;
99 cursor = new MergeCursor( cursors );
110 Cursor[] cursors = new Cursor[1]; local
111 cursors[0] = dbCursor1
118 Cursor[] cursors = new Cursor[2]; local
142 Cursor[] cursors = new Cursor[1]; local
152 Cursor[] cursors = new Cursor[2]; local
197 Cursor[] cursors = new Cursor[1]; local
210 Cursor[] cursors = new Cursor[2]; local
252 Cursor[] cursors = new Cursor[2]; local
    [all...]
  /external/clang/bindings/python/tests/cindex/
util.py 52 """Obtain all cursors from a source object with a specific spelling.
54 This provides a convenient search mechanism to find all cursors with
58 If no cursors are found, an empty list is returned.
63 cursors = []
66 cursors.append(cursor)
68 return cursors
test_cursor.py 74 cursors = list(tu.cursor.get_children())
75 assert len(cursors) > 0
77 cursor = cursors[0]
92 cursors = []
95 cursors.append(cursor)
97 assert len(cursors) == 3
98 assert cursors[1].canonical == cursors[2].canonical
373 """Ensure we can map cursors back to tokens."""
  /external/wayland/cursor/
wayland-cursor.c 135 struct wl_cursor **cursors; member in struct:wl_cursor_theme
269 theme->cursors = malloc(theme->cursor_count * sizeof(*theme->cursors));
271 if (theme->cursors == NULL) {
277 theme->cursors[i] =
280 if (theme->cursors[i] == NULL)
362 theme->cursors =
363 realloc(theme->cursors,
364 theme->cursor_count * sizeof theme->cursors[0]);
366 if (theme->cursors == NULL)
    [all...]
  /external/python/cpython2/Lib/bsddb/test/
test_early_close.py 76 # The "close" should close the child db handle also, with cursors
103 cursors=[]
113 cursors.extend([i.cursor() for j in xrange(32)])
117 for i in cursors[::3] :
124 self.assertRaises(db.DBError, cursors[101].first)
126 cursors[80].first()
127 cursors[80].next()
130 self.assertRaises(db.DBError, cursors[80].next)
  /external/libdrm/tests/modetest/
cursor.c 57 static struct cursor cursors[MAX_CURSORS]; variable in typeref:struct:cursor
148 struct cursor *cursor = &cursors[i];
169 struct cursor *cursor = &cursors[ncursors];
  /external/python/cpython2/Lib/sqlite3/test/
regression.py 57 cursors = [con.cursor() for x in xrange(5)]
58 cursors[0].execute("create table test(x)")
60 cursors[0].executemany("insert into test(x) values (?)", [(x,) for x in xrange(10)])
63 cursors[i].execute(" " * i + "select x from test")
78 # referenced in cursors weren't closed and could provoke "
81 cursors = []
85 cursors.append(cur)
338 Connection.commit() did reset cursors, which made sqlite3
339 to return rows multiple times when fetched from cursors
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
connection.h 73 /* Lists of weak references to statements and cursors used within this connection */
75 PyObject* cursors; member in struct:__anon5686
77 /* Counters for how many statements/cursors were created in the connection. May be
connection.c 89 self->cursors = NULL;
166 /* Create lists of weak references to statements/cursors */
168 self->cursors = PyList_New(0);
169 if (!self->statements || !self->cursors) {
255 for (i = 0; i < PyList_Size(self->cursors); i++) {
256 weakref = PyList_GetItem(self->cursors, i);
291 Py_XDECREF(self->cursors);
310 if (PyList_Append(connection->cursors, weakref) != 0) {
834 for (i = 0; i < PyList_Size(self->cursors); i++) {
835 weakref = PyList_GetItem(self->cursors, i);
    [all...]
  /external/python/cpython2/Modules/_sqlite/
connection.h 73 /* Lists of weak references to statements and cursors used within this connection */
75 PyObject* cursors; member in struct:__anon36657
77 /* Counters for how many statements/cursors were created in the connection. May be
connection.c 89 self->cursors = NULL;
169 /* Create lists of weak references to statements/cursors */
171 self->cursors = PyList_New(0);
172 if (!self->statements || !self->cursors) {
258 for (i = 0; i < PyList_Size(self->cursors); i++) {
259 weakref = PyList_GetItem(self->cursors, i);
294 Py_XDECREF(self->cursors);
313 if (PyList_Append(connection->cursors, weakref) != 0) {
848 for (i = 0; i < PyList_Size(self->cursors); i++) {
849 weakref = PyList_GetItem(self->cursors, i)
    [all...]
  /external/python/cpython3/Modules/_sqlite/
connection.h 68 /* Lists of weak references to statements and cursors used within this connection */
70 PyObject* cursors; member in struct:__anon37272
72 /* Counters for how many statements/cursors were created in the connection. May be
connection.c 109 Py_CLEAR(self->cursors);
164 /* Create lists of weak references to statements/cursors */
166 self->cursors = PyList_New(0);
167 if (!self->statements || !self->cursors) {
236 for (i = 0; i < PyList_Size(self->cursors); i++) {
237 weakref = PyList_GetItem(self->cursors, i);
263 Py_XDECREF(self->cursors);
282 if (PyList_Append(connection->cursors, weakref) != 0) {
798 for (i = 0; i < PyList_Size(self->cursors); i++) {
799 weakref = PyList_GetItem(self->cursors, i)
    [all...]
  /cts/tests/tests/database/src/android/database/cts/
MergeCursorTest.java 83 // if the items are not null, getCount() will return the sum of all cursors' count.
105 Cursor[] cursors = new Cursor[2]; local
106 cursors[0] = mDatabase.query(TABLE5_NAME, null, null, null, null, null, null);
107 assertEquals(1, cursors[0].getCount());
109 cursors[1] = mCursors[1];
110 assertTrue(cursors[1].getCount() > 0);
111 MergeCursor mergeCursor = new MergeCursor(cursors);
112 // MergeCursor should points to cursors[0] after moveToFirst.
119 // MergeCursor should points to cursors[1] moveToNext.
145 // Get cursors
    [all...]
  /external/python/cpython3/Lib/sqlite3/test/
regression.py 57 cursors = [con.cursor() for x in range(5)]
58 cursors[0].execute("create table test(x)")
60 cursors[0].executemany("insert into test(x) values (?)", [(x,) for x in range(10)])
63 cursors[i].execute(" " * i + "select x from test")
78 # referenced in cursors weren't closed and could provoke "
81 cursors = []
85 cursors.append(cur)
337 Connection.commit() did reset cursors, which made sqlite3
338 to return rows multiple times when fetched from cursors
  /external/autotest/site_utils/
db_replica_checker.py 58 cursor = master_conn.cursor(MySQLdb.cursors.DictCursor)
70 cursor = replica_conn.cursor(MySQLdb.cursors.DictCursor)
  /external/libkmsxx/py/tests/
rottest.py 112 cursors = [ "A", "D", "B", "C" ] variable
147 if c in cursors:
150 rot = rots[cursors.index(c)]
  /external/clang/tools/c-index-test/
c-index-test.c 3591 CXCursor *cursors = 0; local
    [all...]
  /bionic/libc/kernel/tools/
cpp.py 224 """Helper method to return all tokens with their cursors.
231 to get more informative cursors.
248 cursors = (Cursor * count)()
249 cursors_memory = ctypes.cast(cursors, ctypes.POINTER(Cursor))
264 cursor=cursors[i])
    [all...]
  /external/syzkaller/vendor/google.golang.org/appengine/datastore/
doc.go 251 to return. Start and End take cursors, Offset and Limit take integers. Start
  /external/python/cpython2/Modules/
_bsddb.c 2262 DBC** cursors; local
    [all...]
  /external/clang/tools/libclang/
CIndex.cpp     [all...]
  /external/guice/extensions/persist/lib/
commons-collections.jar 
  /external/guice/extensions/struts2/lib/
core-3.1.1.jar 

Completed in 729 milliseconds