Home
last modified time | relevance | path

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

/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.py55 cursors = [con.cursor() for x in xrange(5)]
56 cursors[0].execute("create table test(x)")
58 cursors[0].executemany("insert into test(x) values (?)", [(x,) for x in xrange(10)])
61 cursors[i].execute(" " * i + "select x from test")
79 cursors = []
83 cursors.append(cur)
/external/libdrm/tests/modetest/
Dcursor.c61 static struct cursor cursors[MAX_CURSORS]; variable
152 struct cursor *cursor = &cursors[i]; in cursor_thread_func()
173 struct cursor *cursor = &cursors[ncursors]; in cursor_init()
/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/libvncserver/
DTODO16 java vncviewer doesn't do colour cursors?
DNEWS248 cursors are supported (rfbSetCursor automatically undraws cursor)
DREADME233 There is also an array named "richSource" for colourful cursors. They have
DChangeLog4369 * libvncserver/cursor.c: Fix short vs. char problem with X cursors.
6171 x11vnc/x11vnc.c: main.c: XReadScreen check, fix 64bit use of cursors, x11vnc: first
6430 …x11vnc/tkx11vnc.h, x11vnc/x11vnc.1, x11vnc/x11vnc.c: x11vnc: scale cursors, speed up some scaling…
8510 * README, TODO, example.c, main.c, rfb.h: docu and cursors in
/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/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.c2245 DBC** cursors; in DB_join() local
2260 cursors = malloc((length+1) * sizeof(DBC*)); in DB_join()
2261 if (!cursors) { in DB_join()
2266 cursors[length] = NULL; in DB_join()
2270 free(cursors); in DB_join()
2276 free(cursors); in DB_join()
2279 cursors[x] = ((DBCursorObject*)item)->dbc; in DB_join()
2284 err = self->db->join(self->db, cursors, &dbc, flags); in DB_join()
2286 free(cursors); in DB_join()
/external/python/cpython2/Doc/library/
Dsqlite3.rst929 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()
/external/python/cpython2/Misc/
DNEWS4354 - Issue #10811: Fix recursive usage of cursors. Instead of crashing,
11897 - bsddb module: Fix memory leak when using database cursors on
/external/jline/src/src/test/resources/jline/example/
Denglish.gz