/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowMergeCursorTest.java | 84 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/ |
D | wayland-cursor.c | 135 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/ |
D | test_early_close.py | 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/clang/bindings/python/tests/cindex/ |
D | util.py | 63 cursors = [] 66 cursors.append(cursor) 68 return cursors
|
D | 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
|
/external/python/cpython2/Lib/sqlite3/test/ |
D | 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") 81 cursors = [] 85 cursors.append(cur)
|
/external/python/cpython3/Lib/sqlite3/test/ |
D | 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") 81 cursors = [] 85 cursors.append(cur)
|
/external/libdrm/tests/modetest/ |
D | cursor.c | 57 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/ |
D | rottest.py | 112 cursors = [ "A", "D", "B", "C" ] variable 147 if c in cursors: 150 rot = rots[cursors.index(c)]
|
/external/python/cpython2/Modules/_sqlite/ |
D | connection.c | 89 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()
|
D | connection.h | 75 PyObject* cursors; member
|
/external/autotest/site_utils/ |
D | db_replica_checker.py | 58 cursor = master_conn.cursor(MySQLdb.cursors.DictCursor) 70 cursor = replica_conn.cursor(MySQLdb.cursors.DictCursor)
|
/external/python/cpython3/Modules/_sqlite/ |
D | connection.c | 109 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()
|
D | connection.h | 70 PyObject* cursors; member
|
/external/webrtc/webrtc/modules/desktop_capture/win/ |
D | cursor_unittest_resources.rc | 13 // These cursors are matched with their less than 32bpp counterparts below.
|
/external/clang/docs/ |
D | Tooling.rst | 82 * want high level abstractions like cursors and code completion out of the box
|
/external/wayland/ |
D | TODO | 112 cursors, widget themes), fonts details (family, hinting
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 3591 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.c | 2262 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/ |
D | keypad | 488 // the numpad you can inherit the cursors, but you'll have to define
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.3rc1.rst | 428 Fix recursive usage of cursors. Instead of crashing, raise a
|
D | 2.6a1.rst | 4585 bsddb module: Fix memory leak when using database cursors on databases
|
/external/python/cpython2/Doc/library/ |
D | sqlite3.rst | 929 That's why the Python module disallows sharing connections and cursors between
|
/external/python/cpython3/Doc/library/ |
D | sqlite3.rst | 1087 That's why the Python module disallows sharing connections and cursors between
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 6205 AnnotateTokensWorker(CXToken *tokens, CXCursor *cursors, unsigned numTokens, in AnnotateTokensWorker() argument 6207 : Tokens(tokens), Cursors(cursors), in AnnotateTokensWorker()
|