Home
last modified time | relevance | path

Searched refs:cursors (Results 1 – 25 of 50) 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.c129 struct wl_cursor **cursors; member
263 theme->cursors = malloc(theme->cursor_count * sizeof(*theme->cursors)); in load_default_theme()
265 if (theme->cursors == NULL) { in load_default_theme()
271 theme->cursors[i] = in load_default_theme()
274 if (theme->cursors[i] == NULL) in load_default_theme()
356 theme->cursors = in load_callback()
357 realloc(theme->cursors, in load_callback()
358 theme->cursor_count * sizeof theme->cursors[0]); in load_callback()
360 if (theme->cursors == NULL) { in load_callback()
364 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/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DWaveformView.java154 public void setCursorData(int[] cursors) { in setCursorData() argument
155 if (cursors == null) { in setCursorData()
158 if (mCursors == null || cursors.length != mCursors.length) { in setCursorData()
159 mCursors = new int[cursors.length]; in setCursorData()
161 System.arraycopy(cursors, 0, mCursors, 0, mCursors.length); in setCursorData()
DTapToToneActivity.java189 int[] cursors = new int[2]; in showTestResults() local
190 cursors[0] = result.events[0].sampleIndex; in showTestResults()
191 cursors[1] = result.events[1].sampleIndex; in showTestResults()
192 int latencySamples = cursors[1] - cursors[0]; in showTestResults()
205 mWaveformView.setCursorData(cursors); in showTestResults()
/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/llvm-project/clang/bindings/python/tests/cindex/
Dutil.py73 cursors = []
76 cursors.append(cursor)
78 return cursors
Dtest_cursor.py99 cursors = list(tu.cursor.get_children())
100 self.assertGreater(len(cursors), 0)
102 cursor = cursors[0]
117 cursors = []
120 cursors.append(cursor)
122 self.assertEqual(len(cursors), 3)
123 self.assertEqual(cursors[1].canonical, cursors[2].canonical)
458 cursors = get_cursors(tu, 'A')
459 for c in cursors:
/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.py58 cursors = [con.cursor() for x in range(5)]
59 cursors[0].execute("create table test(x)")
61 cursors[0].executemany("insert into test(x) values (?)", [(x,) for x in range(10)])
64 cursors[i].execute(" " * i + "select x from test")
82 cursors = []
86 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/skia/modules/skplaintexteditor/src/
Dshape.cpp194 SkRect* cursors = (SkRect*)context; in set_character_bounds() local
232 cursors[textBegin] = clusterBox; in set_character_bounds()
238 cursors[textBegin] = clusterBox; in set_character_bounds()
252 cursors[firstIndex] = SkRect{x, clusterBox.top(), nextX, clusterBox.bottom()}; in set_character_bounds()
/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/python/cpython3/Modules/_sqlite/
Dconnection.c107 Py_CLEAR(self->cursors); in pysqlite_connection_init()
164 self->cursors = PyList_New(0); in pysqlite_connection_init()
165 if (!self->statements || !self->cursors) { in pysqlite_connection_init()
233 for (i = 0; i < PyList_Size(self->cursors); i++) { in pysqlite_do_all_statements()
234 weakref = PyList_GetItem(self->cursors, i); in pysqlite_do_all_statements()
260 Py_XDECREF(self->cursors); in pysqlite_connection_dealloc()
278 if (PyList_Append(connection->cursors, weakref) != 0) { in pysqlite_connection_register_cursor()
792 for (i = 0; i < PyList_Size(self->cursors); i++) { in _pysqlite_drop_unused_cursor_references()
793 weakref = PyList_GetItem(self->cursors, i); in _pysqlite_drop_unused_cursor_references()
802 Py_SETREF(self->cursors, new_list); in _pysqlite_drop_unused_cursor_references()
Dconnection.h71 PyObject* cursors; member
/external/wayland/
Dmeson_options.txt18 description: 'Location used to look for cursors (defaults to ${datadir}/icons if unset)',
/external/webrtc/modules/desktop_capture/win/
Dcursor_unittest_resources.rc13 // These cursors are matched with their less than 32bpp counterparts below.
/external/llvm-project/clang/docs/
DTooling.rst82 * want high level abstractions like cursors and code completion out of the box
/external/clang/docs/
DTooling.rst82 * want high level abstractions like cursors and code completion out of the box
/external/libdrm/man/
Ddrm-kms.7.rst146 Similar to planes, many hardware also supports cursors. A cursor is a very
150 on the screen without rerendering. If no hardware cursors are supported, you
/external/llvm-project/clang/tools/c-index-test/
Dc-index-test.c4139 CXCursor *cursors = 0; in perform_token_annotation() local
4225 cursors = (CXCursor *)malloc(num_tokens * sizeof(CXCursor)); in perform_token_annotation()
4226 assert(cursors); in perform_token_annotation()
4227 clang_annotateTokens(TU, tokens, num_tokens, cursors); in perform_token_annotation()
4267 if (!clang_isInvalid(cursors[i].kind)) { in perform_token_annotation()
4269 PrintCursor(cursors[i], NULL); in perform_token_annotation()
4273 free(cursors); in perform_token_annotation()
/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()

12