Home
last modified time | relevance | path

Searched refs:cursors (Results 1 – 25 of 29) sorted by relevance

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMergeCursorTest.java84 Cursor[] cursors = new Cursor[2]; in testEmptyCursors() local
85 cursors[0] = null; in testEmptyCursors()
86 cursors[1] = dbCursor1; in testEmptyCursors()
87 cursor = new MergeCursor( cursors ); in testEmptyCursors()
95 Cursor[] cursors = new Cursor[2]; in testMoveToPositionEmptyCursor() local
96 cursors[0] = null; in testMoveToPositionEmptyCursor()
97 cursors[1] = null; in testMoveToPositionEmptyCursor()
99 cursor = new MergeCursor( cursors ); in testMoveToPositionEmptyCursor()
110 Cursor[] cursors = new Cursor[1]; in testBoundsSingleCursor() local
111 cursors[0] = dbCursor1; in testBoundsSingleCursor()
[all …]
/external/wayland/cursor/
Dwayland-cursor.c135 struct wl_cursor **cursors; member
269 theme->cursors = malloc(theme->cursor_count * sizeof(*theme->cursors)); in load_default_theme()
271 if (theme->cursors == NULL) { in load_default_theme()
277 theme->cursors[i] = in load_default_theme()
280 if (theme->cursors[i] == NULL) in load_default_theme()
362 theme->cursors = in load_callback()
363 realloc(theme->cursors, in load_callback()
364 theme->cursor_count * sizeof theme->cursors[0]); in load_callback()
366 if (theme->cursors == NULL) { in load_callback()
370 theme->cursors[theme->cursor_count - 1] = cursor; in load_callback()
[all …]
/external/python/cpython2/Lib/bsddb/test/
Dtest_early_close.py103 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/clang/bindings/python/tests/cindex/
Dutil.py63 cursors = []
66 cursors.append(cursor)
68 return cursors
Dtest_cursor.py74 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
/external/python/cpython2/Lib/sqlite3/test/
Dregression.py57 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")
81 cursors = []
85 cursors.append(cur)
/external/python/cpython3/Lib/sqlite3/test/
Dregression.py57 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")
81 cursors = []
85 cursors.append(cur)
/external/libdrm/tests/modetest/
Dcursor.c57 static struct cursor cursors[MAX_CURSORS]; variable
148 struct cursor *cursor = &cursors[i]; in cursor_thread_func()
169 struct cursor *cursor = &cursors[ncursors]; in cursor_init()
/external/libkmsxx/py/tests/
Drottest.py112 cursors = [ "A", "D", "B", "C" ] variable
147 if c in cursors:
150 rot = rots[cursors.index(c)]
/external/python/cpython2/Modules/_sqlite/
Dconnection.c89 self->cursors = NULL; in pysqlite_connection_init()
171 self->cursors = PyList_New(0); in pysqlite_connection_init()
172 if (!self->statements || !self->cursors) { in pysqlite_connection_init()
258 for (i = 0; i < PyList_Size(self->cursors); i++) { in pysqlite_do_all_statements()
259 weakref = PyList_GetItem(self->cursors, i); in pysqlite_do_all_statements()
294 Py_XDECREF(self->cursors); in pysqlite_connection_dealloc()
313 if (PyList_Append(connection->cursors, weakref) != 0) { in pysqlite_connection_register_cursor()
848 for (i = 0; i < PyList_Size(self->cursors); i++) { in _pysqlite_drop_unused_cursor_references()
849 weakref = PyList_GetItem(self->cursors, i); in _pysqlite_drop_unused_cursor_references()
858 Py_SETREF(self->cursors, new_list); in _pysqlite_drop_unused_cursor_references()
Dconnection.h75 PyObject* cursors; member
/external/autotest/site_utils/
Ddb_replica_checker.py58 cursor = master_conn.cursor(MySQLdb.cursors.DictCursor)
70 cursor = replica_conn.cursor(MySQLdb.cursors.DictCursor)
/external/python/cpython3/Modules/_sqlite/
Dconnection.c109 Py_CLEAR(self->cursors); in pysqlite_connection_init()
166 self->cursors = PyList_New(0); in pysqlite_connection_init()
167 if (!self->statements || !self->cursors) { in pysqlite_connection_init()
236 for (i = 0; i < PyList_Size(self->cursors); i++) { in pysqlite_do_all_statements()
237 weakref = PyList_GetItem(self->cursors, i); in pysqlite_do_all_statements()
263 Py_XDECREF(self->cursors); in pysqlite_connection_dealloc()
282 if (PyList_Append(connection->cursors, weakref) != 0) { in pysqlite_connection_register_cursor()
798 for (i = 0; i < PyList_Size(self->cursors); i++) { in _pysqlite_drop_unused_cursor_references()
799 weakref = PyList_GetItem(self->cursors, i); in _pysqlite_drop_unused_cursor_references()
808 Py_SETREF(self->cursors, new_list); in _pysqlite_drop_unused_cursor_references()
Dconnection.h70 PyObject* cursors; member
/external/webrtc/webrtc/modules/desktop_capture/win/
Dcursor_unittest_resources.rc13 // These cursors are matched with their less than 32bpp counterparts below.
/external/clang/docs/
DTooling.rst82 * want high level abstractions like cursors and code completion out of the box
/external/wayland/
DTODO112 cursors, widget themes), fonts details (family, hinting
/external/clang/tools/c-index-test/
Dc-index-test.c3591 CXCursor *cursors = 0; in perform_token_annotation() local
3677 cursors = (CXCursor *)malloc(num_tokens * sizeof(CXCursor)); in perform_token_annotation()
3678 clang_annotateTokens(TU, tokens, num_tokens, cursors); in perform_token_annotation()
3718 if (!clang_isInvalid(cursors[i].kind)) { in perform_token_annotation()
3720 PrintCursor(cursors[i], NULL); in perform_token_annotation()
3724 free(cursors); in perform_token_annotation()
/external/python/cpython2/Modules/
D_bsddb.c2262 DBC** cursors; in DB_join() local
2283 cursors = malloc((length+1) * sizeof(DBC*)); in DB_join()
2284 if (!cursors) { in DB_join()
2289 cursors[length] = NULL; in DB_join()
2293 free(cursors); in DB_join()
2299 free(cursors); in DB_join()
2303 cursors[x] = ((DBCursorObject*)item)->dbc; in DB_join()
2308 err = self->db->join(self->db, cursors, &dbc, flags); in DB_join()
2310 free(cursors); in DB_join()
/external/libxkbcommon/xkbcommon/test/data/symbols/
Dkeypad488 // the numpad you can inherit the cursors, but you'll have to define
/external/python/cpython2/Misc/NEWS.d/
D2.7.3rc1.rst428 Fix recursive usage of cursors. Instead of crashing, raise a
D2.6a1.rst4585 bsddb module: Fix memory leak when using database cursors on databases
/external/python/cpython2/Doc/library/
Dsqlite3.rst929 That's why the Python module disallows sharing connections and cursors between
/external/python/cpython3/Doc/library/
Dsqlite3.rst1087 That's why the Python module disallows sharing connections and cursors between
/external/clang/tools/libclang/
DCIndex.cpp6205 AnnotateTokensWorker(CXToken *tokens, CXCursor *cursors, unsigned numTokens, in AnnotateTokensWorker() argument
6207 : Tokens(tokens), Cursors(cursors), in AnnotateTokensWorker()

12