Home
last modified time | relevance | path

Searched refs:cursors (Results 1 - 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
H A 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()
H A DTapToToneActivity.java191 int[] cursors = new int[2]; in showTestResults()
192 cursors[0] = result.events[0].sampleIndex; in showTestResults()
193 cursors[1] = result.events[1].sampleIndex; in showTestResults()
194 int latencySamples = cursors[1] - cursors[0]; in showTestResults()
207 mWaveformView.setCursorData(cursors); in showTestResults()
/third_party/libdrm/tests/modetest/
H A 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()
/third_party/python/Lib/test/test_sqlite3/
H A Dtest_regression.py61 cursors = [con.cursor() for x in range(5)]
62 cursors[0].execute("create table test(x)")
64 cursors[0].executemany("insert into test(x) values (?)", [(x,) for x in range(10)])
67 cursors[i].execute(" " * i + "select x from test")
82 # referenced in cursors weren't closed and could provoke "
85 cursors = []
89 cursors.append(cur)
356 Connection.commit() did reset cursors, which made sqlite3
357 to return rows multiple times when fetched from cursors
486 # GH-80254: sqlite3 should not segfault for recursive use of cursors
[all...]
H A Dtest_dbapi.py1146 cursors = [self.cx.execute("select 1") for _ in range(3)]
1147 for cu in cursors:
/third_party/skia/modules/skplaintexteditor/src/
H A 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()
/third_party/python/Modules/_sqlite/
H A Dconnection.h66 /* Lists of weak references to cursors and blobs used within this connection */
67 PyObject *cursors; member
70 /* Counters for how many cursors were created in the connection. May be
H A Dconnection.c229 /* Create lists of weak references to cursors and blobs */ in pysqlite_connection_init_impl()
230 PyObject *cursors = PyList_New(0); in pysqlite_connection_init_impl() local
231 if (cursors == NULL) { in pysqlite_connection_init_impl()
239 Py_DECREF(cursors); in pysqlite_connection_init_impl()
251 self->cursors = cursors; in pysqlite_connection_init_impl()
300 Py_VISIT(self->cursors); in connection_traverse()
324 Py_CLEAR(self->cursors); in connection_clear()
922 for (i = 0; i < PyList_Size(self->cursors); i++) { in _pysqlite_drop_unused_cursor_references()
923 weakref = PyList_GetItem(self->cursors, in _pysqlite_drop_unused_cursor_references()
[all...]
H A Dcursor.c46 "Recursive use of cursors not allowed."); in check_cursor_locked()
71 if (PyList_Append(connection->cursors, weakref) < 0) { in register_cursor()
1120 self->locked = 1; // GH-80254: Prevent recursive use of cursors. in pysqlite_cursor_iternext()
/third_party/rust/crates/clang-sys/src/
H A Dlib.rs1979 pub fn clang_annotateTokens(tu: CXTranslationUnit, tokens: *mut CXToken, n_tokens: c_uint, cursors: *mut CXCursor); in clang_annotateTokens()
2010 pub fn clang_disposeOverriddenCursors(cursors: *mut CXCursor); in clang_disposeOverriddenCursors()
2147 pub fn clang_getOverriddenCursors(cursor: CXCursor, cursors: *mut *mut CXCursor, n_cursors: *mut c_uint); in clang_getOverriddenCursors()
/third_party/glfw/deps/
H A Dnuklear.h4019 struct nk_cursor cursors[NK_CURSOR_COUNT]; member
5215 const struct nk_cursor *cursors[NK_CURSOR_COUNT]; member
5946 NK_LIB void nk_draw_checkbox(struct nk_command_buffer *out, nk_flags state, const struct nk_style_toggle *style, int active, const struct nk_rect *label, const struct nk_rect *selector, const struct nk_rect *cursors, const char *string, int len, const struct nk_user_font *font);
5947 NK_LIB void nk_draw_option(struct nk_command_buffer *out, nk_flags state, const struct nk_style_toggle *style, int active, const struct nk_rect *label, const struct nk_rect *selector, const struct nk_rect *cursors, const char *string, int len, const struct nk_user_font *font);
13808 struct nk_cursor *cursor = &atlas->cursors[i]; in nk_font_atlas_bake()
13859 atlas->cursors[i].img.handle = texture; in nk_font_atlas_end()
14918 if (style->cursors[c]) { in nk_style_set_cursor()
14919 style->cursor_active = style->cursors[c]; in nk_style_set_cursor()
14942 style->cursors[cursor] = c; in nk_style_load_cursor()
14945 nk_style_load_all_cursors(struct nk_context *ctx, struct nk_cursor *cursors) in nk_style_load_all_cursors() argument
20375 nk_draw_checkbox(struct nk_command_buffer *out, nk_flags state, const struct nk_style_toggle *style, int active, const struct nk_rect *label, const struct nk_rect *selector, const struct nk_rect *cursors, const char *string, int len, const struct nk_user_font *font) nk_draw_checkbox() argument
20417 nk_draw_option(struct nk_command_buffer *out, nk_flags state, const struct nk_style_toggle *style, int active, const struct nk_rect *label, const struct nk_rect *selector, const struct nk_rect *cursors, const char *string, int len, const struct nk_user_font *font) nk_draw_option() argument
[all...]

Completed in 48 milliseconds