/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
H A D | WaveformView.java | 154 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 D | TapToToneActivity.java | 191 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 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()
|
/third_party/python/Lib/test/test_sqlite3/ |
H A D | test_regression.py | 61 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 D | test_dbapi.py | 1146 cursors = [self.cx.execute("select 1") for _ in range(3)] 1147 for cu in cursors:
|
/third_party/skia/modules/skplaintexteditor/src/ |
H A D | shape.cpp | 194 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 D | connection.h | 66 /* 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 D | connection.c | 229 /* 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 D | cursor.c | 46 "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 D | lib.rs | 1979 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 D | nuklear.h | 4019 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...] |