/third_party/libdrm/tests/modetest/ |
H A D | cursor.c | 42 #include "cursor.h" 44 struct cursor { struct 57 static struct cursor cursors[MAX_CURSORS]; 65 * the cursor 69 void (*run)(struct cursor *cursor, const struct cursor_step *step); 77 static void set_cursor(struct cursor *cursor, const struct cursor_step *step) in set_cursor() argument 83 handle = cursor->bo_handle; in set_cursor() 85 cursor in set_cursor() 90 move_cursor(struct cursor *cursor, const struct cursor_step *step) move_cursor() argument 148 struct cursor *cursor = &cursors[i]; cursor_thread_func() local 169 struct cursor *cursor = &cursors[ncursors]; cursor_init() local [all...] |
/test/xts/acts/distributeddatamgr/relationalStoretest/rdbnapitest/entry/src/main/cpp/napi/ |
H A D | rdb_store_backup_test.cpp | 122 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeBackupTestRdbStore_, querySql);
in SUB_DDM_RDB_BackupRestoreTest_0100() local 125 cursor->getRowCount(cursor, &rowCount);
in SUB_DDM_RDB_BackupRestoreTest_0100() 127 cursor->destroy(cursor);
in SUB_DDM_RDB_BackupRestoreTest_0100() 156 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeBackupTestRdbStore_, querySql);
in SUB_DDM_RDB_BackupRestoreTest_0300() local 159 cursor->getRowCount(cursor, &rowCount);
in SUB_DDM_RDB_BackupRestoreTest_0300() 161 cursor->destroy(cursor);
in SUB_DDM_RDB_BackupRestoreTest_0300() 234 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeBackupTestRdbStore_, querySql); SUB_DDM_RDB_BackupRestoreTest_0400() local 294 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeBackupTestRdbStore_, querySql); SUB_DDM_RDB_BackupRestoreTest_0500() local 371 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeBackupTestRdbStore_, querySql); SUB_DDM_RDB_BackupRestoreTest_0600() local 446 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeBackupTestRdbStore_, querySql); SUB_DDM_RDB_BackupRestoreTest_0700() local 477 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeBackupTestRdbStore_, querySql); SUB_DDM_RDB_BackupRestoreTest_0800() local 561 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeBackupTestRdbStore_, querySql); SUB_DDM_RDB_BackupRestoreTest_0900() local 619 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeBackupTestRdbStore_, querySql); SUB_DDM_RDB_BackupRestoreTest_0110() local [all...] |
H A D | rdb_store_predicates_test.cpp | 167 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0);
in SUB_DDM_RDB_Predicates_0100() local 168 NAPI_ASSERT(env, cursor != NULL, "OH_Rdb_Query is fail.");
in SUB_DDM_RDB_Predicates_0100() 171 errCode = cursor->getRowCount(cursor, &rowCount);
in SUB_DDM_RDB_Predicates_0100() 176 errCode = cursor->destroy(cursor);
in SUB_DDM_RDB_Predicates_0100() 195 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0);
in SUB_DDM_RDB_Predicates_0200() local 196 NAPI_ASSERT(env, cursor != NULL, "OH_Rdb_Query is fail.");
in SUB_DDM_RDB_Predicates_0200() 198 errCode = cursor->getRowCount(cursor, in SUB_DDM_RDB_Predicates_0200() 224 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_0300() local 251 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_0400() local 281 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_0500() local 308 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_0600() local 332 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_0700() local 355 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_0800() local 387 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_0900() local 416 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_1000() local 445 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_1100() local 483 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_1200() local 512 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_1300() local 543 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_1400() local 570 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_1500() local 600 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_1600() local 627 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_1700() local 660 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_1800() local 682 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_1900() local 712 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_2000() local 744 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_2100() local 774 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_2200() local 804 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_2300() local 838 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_2400() local 868 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_2500() local 898 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_2600() local 929 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_2700() local 958 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_2800() local 987 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_2900() local 1022 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_3000() local 1055 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_3100() local 1087 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_3200() local 1112 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_3300() local 1135 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_3400() local 1161 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_3500() local 1188 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_3600() local 1215 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_3700() local 1243 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_3800() local 1271 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_3900() local 1299 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_4000() local 1328 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_4100() local 1357 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_4200() local 1386 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_4300() local 1414 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_4400() local 1442 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_4500() local 1471 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_4600() local 1500 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_4700() local 1528 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_4800() local 1557 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_4900() local 1585 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_5000() local 1613 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_5100() local 1642 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_5200() local 1670 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_5300() local 1696 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_5400() local 1720 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_5500() local 1744 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_5600() local 1769 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_5800() local 1796 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_5900() local 1824 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_6000() local 1853 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_6100() local 1882 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_6200() local 1909 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_6300() local 1944 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_6400() local 1970 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_6500() local 1997 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_6600() local 2024 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_Predicates_6700() local [all...] |
H A D | rdb_store_cursor_test.cpp | 190 * @tc.desc: napi test RDB cursor for GetColumnType.
198 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0);
in SUB_DDM_RDB_CURSOR_0100() local 199 NAPI_ASSERT(env, cursor != NULL, "OH_Rdb_Query config is fail.");
in SUB_DDM_RDB_CURSOR_0100() 201 cursor->goToNextRow(cursor);
in SUB_DDM_RDB_CURSOR_0100() 204 errCode = cursor->getColumnType(cursor, 0, &type);
in SUB_DDM_RDB_CURSOR_0100() 207 errCode = cursor->getColumnType(cursor, 1, &type);;
in SUB_DDM_RDB_CURSOR_0100() 210 errCode = cursor in SUB_DDM_RDB_CURSOR_0100() 240 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_CURSOR_0200() local 274 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_CURSOR_0300() local 312 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, columnNames, len1); SUB_DDM_RDB_CURSOR_0400() local 378 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_CURSOR_0500() local 400 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_CURSOR_0600() local 423 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_CURSOR_0700() local 448 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_CURSOR_0800() local 472 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, columnNames, len1); SUB_DDM_RDB_CURSOR_0900() local 508 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, columnNames, len1); SUB_DDM_RDB_CURSOR_1000() local 545 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, columnNames, len1); SUB_DDM_RDB_CURSOR_1100() local 580 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, columnNames, len); SUB_DDM_RDB_CURSOR_1200() local 615 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, columnNames, len1); SUB_DDM_RDB_CURSOR_1300() local 652 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, columnNames, len1); SUB_DDM_RDB_CURSOR_1400() local 690 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_CURSOR_1500() local 717 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_CURSOR_1600() local 749 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_CURSOR_1700() local 776 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_CURSOR_1800() local 909 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_CURSOR_2200() local 967 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_CURSOR_2300() local 1031 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_CURSOR_2400() local 1066 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_CURSOR_2500() local [all...] |
/kernel/linux/linux-6.6/drivers/dma-buf/ |
H A D | dma-resv.c | 358 /* Restart the unlocked iteration by initializing the cursor object. */ 359 static void dma_resv_iter_restart_unlocked(struct dma_resv_iter *cursor) in dma_resv_iter_restart_unlocked() argument 361 cursor->index = 0; in dma_resv_iter_restart_unlocked() 362 cursor->num_fences = 0; in dma_resv_iter_restart_unlocked() 363 cursor->fences = dma_resv_fences_list(cursor->obj); in dma_resv_iter_restart_unlocked() 364 if (cursor->fences) in dma_resv_iter_restart_unlocked() 365 cursor->num_fences = cursor->fences->num_fences; in dma_resv_iter_restart_unlocked() 366 cursor in dma_resv_iter_restart_unlocked() 370 dma_resv_iter_walk_unlocked(struct dma_resv_iter *cursor) dma_resv_iter_walk_unlocked() argument 412 dma_resv_iter_first_unlocked(struct dma_resv_iter *cursor) dma_resv_iter_first_unlocked() argument 435 dma_resv_iter_next_unlocked(struct dma_resv_iter *cursor) dma_resv_iter_next_unlocked() argument 463 dma_resv_iter_first(struct dma_resv_iter *cursor) dma_resv_iter_first() argument 485 dma_resv_iter_next(struct dma_resv_iter *cursor) dma_resv_iter_next() argument 515 struct dma_resv_iter cursor; dma_resv_copy_fences() local 564 struct dma_resv_iter cursor; dma_resv_get_fences() local 674 struct dma_resv_iter cursor; dma_resv_wait_timeout() local 704 struct dma_resv_iter cursor; dma_resv_set_deadline() local 730 struct dma_resv_iter cursor; dma_resv_test_signaled() local 754 struct dma_resv_iter cursor; dma_resv_describe() local [all...] |
/third_party/rust/crates/clap/clap_lex/tests/ |
H A D | parsed.rs | 6 let mut cursor = raw.cursor(); in to_long_stdio() variables 7 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_long_stdio() 8 let next = raw.next(&mut cursor).unwrap(); in to_long_stdio() 18 let mut cursor = raw.cursor(); in to_long_no_escape() variables 19 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_long_no_escape() 20 let next = raw.next(&mut cursor).unwrap(); in to_long_no_escape() 30 let mut cursor = raw.cursor(); in to_long_no_value() variables 44 let mut cursor = raw.cursor(); to_long_with_empty_value() variables 58 let mut cursor = raw.cursor(); to_long_with_value() variables 72 let mut cursor = raw.cursor(); to_short_stdio() variables 84 let mut cursor = raw.cursor(); to_short_escape() variables 96 let mut cursor = raw.cursor(); to_short_long() variables 108 let mut cursor = raw.cursor(); to_short() variables 122 let mut cursor = raw.cursor(); is_negative_number() variables 132 let mut cursor = raw.cursor(); is_positive_number() variables 142 let mut cursor = raw.cursor(); is_not_number() variables 152 let mut cursor = raw.cursor(); is_stdio() variables 162 let mut cursor = raw.cursor(); is_not_stdio() variables 172 let mut cursor = raw.cursor(); is_escape() variables 182 let mut cursor = raw.cursor(); is_not_escape() variables [all...] |
H A D | shorts.rs | 4 let mut cursor = raw.cursor(); in iter() variables 5 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in iter() 6 let next = raw.next(&mut cursor).unwrap(); in iter() 16 let mut cursor = raw.cursor(); in next_flag() variables 17 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in next_flag() 18 let next = raw.next(&mut cursor).unwrap(); in next_flag() 35 let mut cursor = raw.cursor(); in next_value_os() variables 48 let mut cursor = raw.cursor(); next_flag_with_value() variables 62 let mut cursor = raw.cursor(); next_flag_with_no_value() variables 79 let mut cursor = raw.cursor(); advance_by_nothing() variables 93 let mut cursor = raw.cursor(); advance_by_something() variables 107 let mut cursor = raw.cursor(); advance_by_out_of_bounds() variables 121 let mut cursor = raw.cursor(); is_not_empty() variables 132 let mut cursor = raw.cursor(); is_partial_not_empty() variables 144 let mut cursor = raw.cursor(); is_exhausted_empty() variables 156 let mut cursor = raw.cursor(); is_number() variables 167 let mut cursor = raw.cursor(); is_not_number() variables [all...] |
H A D | lexer.rs | 4 let mut cursor = raw.cursor(); in insert() variables 6 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in insert() 7 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("a"))); in insert() 8 raw.insert(&cursor, ["1", "2", "3"]); in insert() 9 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("1"))); in insert() 10 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("2"))); in insert() 11 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("3"))); in insert() 12 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("b"))); in insert() 13 assert_eq!(raw.next_os(&mut cursor), Som in insert() 15 let mut cursor = raw.cursor(); insert() variables [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
H A D | sti_cursor.c | 55 * @regs: cursor registers 56 * @width: cursor width 57 * @height: cursor height 60 * @pixmap: pixmap dma buffer (clut8-format cursor) 80 readl(cursor->regs + reg)) 93 struct sti_cursor *cursor, u32 val) in cursor_dbg_pml() 95 if (cursor->pixmap.paddr == val) in cursor_dbg_pml() 96 seq_printf(s, "\tVirt @: %p", cursor->pixmap.base); in cursor_dbg_pml() 100 struct sti_cursor *cursor, u32 val) in cursor_dbg_cml() 102 if (cursor in cursor_dbg_cml() 92 cursor_dbg_pml(struct seq_file *s, struct sti_cursor *cursor, u32 val) cursor_dbg_pml() argument 99 cursor_dbg_cml(struct seq_file *s, struct sti_cursor *cursor, u32 val) cursor_dbg_cml() argument 109 struct sti_cursor *cursor = (struct sti_cursor *)node->info_ent->data; cursor_dbg_show() local 134 cursor_debugfs_init(struct sti_cursor *cursor, struct drm_minor *minor) cursor_debugfs_init() argument 147 sti_cursor_argb8888_to_clut8(struct sti_cursor *cursor, u32 *src) sti_cursor_argb8888_to_clut8() argument 167 sti_cursor_init(struct sti_cursor *cursor) sti_cursor_init() argument 187 struct sti_cursor *cursor = to_sti_cursor(plane); sti_cursor_atomic_check() local 259 struct sti_cursor *cursor = to_sti_cursor(plane); sti_cursor_atomic_update() local 343 struct sti_cursor *cursor = to_sti_cursor(plane); sti_cursor_late_register() local 365 struct sti_cursor *cursor; sti_cursor_create() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/sti/ |
H A D | sti_cursor.c | 56 * @regs: cursor registers 57 * @width: cursor width 58 * @height: cursor height 61 * @pixmap: pixmap dma buffer (clut8-format cursor) 81 readl(cursor->regs + reg)) 94 struct sti_cursor *cursor, u32 val) in cursor_dbg_pml() 96 if (cursor->pixmap.paddr == val) in cursor_dbg_pml() 97 seq_printf(s, "\tVirt @: %p", cursor->pixmap.base); in cursor_dbg_pml() 101 struct sti_cursor *cursor, u32 val) in cursor_dbg_cml() 103 if (cursor in cursor_dbg_cml() 93 cursor_dbg_pml(struct seq_file *s, struct sti_cursor *cursor, u32 val) cursor_dbg_pml() argument 100 cursor_dbg_cml(struct seq_file *s, struct sti_cursor *cursor, u32 val) cursor_dbg_cml() argument 110 struct sti_cursor *cursor = (struct sti_cursor *)node->info_ent->data; cursor_dbg_show() local 135 cursor_debugfs_init(struct sti_cursor *cursor, struct drm_minor *minor) cursor_debugfs_init() argument 148 sti_cursor_argb8888_to_clut8(struct sti_cursor *cursor, u32 *src) sti_cursor_argb8888_to_clut8() argument 168 sti_cursor_init(struct sti_cursor *cursor) sti_cursor_init() argument 190 struct sti_cursor *cursor = to_sti_cursor(plane); sti_cursor_atomic_check() local 265 struct sti_cursor *cursor = to_sti_cursor(plane); sti_cursor_atomic_update() local 344 struct sti_cursor *cursor = to_sti_cursor(plane); sti_cursor_late_register() local 366 struct sti_cursor *cursor; sti_cursor_create() local [all...] |
/third_party/libunwind/libunwind/src/ia64/ |
H A D | mk_Gcursor_i.c | 42 OFFSET("IP_OFF", offsetof (struct cursor, ip)); in main() 43 OFFSET("PR_OFF", offsetof (struct cursor, pr)); in main() 44 OFFSET("BSP_OFF", offsetof (struct cursor, bsp)); in main() 45 OFFSET("PSP_OFF", offsetof (struct cursor, psp)); in main() 46 OFFSET("PFS_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_PFS])); in main() 47 OFFSET("RNAT_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_RNAT])); in main() 48 OFFSET("UNAT_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_UNAT])); in main() 49 OFFSET("LC_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_LC])); in main() 50 OFFSET("FPSR_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_FPSR])); in main() 51 OFFSET("B1_LOC_OFF", offsetof (struct cursor, lo in main() [all...] |
/kernel/linux/linux-6.6/tools/verification/dot2/ |
H A D | automata.py | 43 cursor = 0 54 line = dot_lines[cursor].split() 59 cursor += 1 63 cursor = 0 64 while self.__dot_lines[cursor].split()[0] != "{node": 65 cursor += 1 66 return cursor 69 cursor = 0 70 while self.__dot_lines[cursor].split()[0] != "{node": 71 cursor [all...] |
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | function.rs | 31 /// Given a clang cursor, return the kind of function it represents, or 33 pub fn from_cursor(cursor: &clang::Cursor) -> Option<FunctionKind> { in from_cursor() 35 Some(match cursor.kind() { in from_cursor() 41 FunctionKind::Method(if cursor.method_is_virtual() { in from_cursor() 43 pure_virtual: cursor.method_is_pure_virtual(), in from_cursor() 50 if cursor.method_is_virtual() { in from_cursor() 52 pure_virtual: cursor.method_is_pure_virtual(), in from_cursor() 54 } else if cursor.method_is_static() { in from_cursor() 236 /// An ABI extracted from a clang cursor. 299 /// Get the mangled name for the cursor' [all...] |
/kernel/linux/linux-5.10/scripts/ |
H A D | asn1_compiler.c | 806 struct token *cursor; in parse() local 812 cursor = type->name; in parse() 814 if (cursor[0].token_type != TOKEN_TYPE_NAME || in parse() 815 cursor[1].token_type != TOKEN_ASSIGNMENT) in parse() 817 cursor += 2; in parse() 819 type->element = parse_type(&cursor, type[1].name, NULL); in parse() 822 if (cursor != type[1].name) { in parse() 824 filename, cursor->line, cursor->content); in parse() 858 struct token *cursor in parse_type() local 1151 struct token *cursor = *_cursor, *name; parse_compound() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vm_pt.c | 168 * @cursor: state to initialize 174 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_start() 176 cursor->pfn = start; in amdgpu_vm_pt_start() 177 cursor->parent = NULL; in amdgpu_vm_pt_start() 178 cursor->entry = &vm->root; in amdgpu_vm_pt_start() 179 cursor->level = adev->vm_manager.root_level; in amdgpu_vm_pt_start() 186 * @cursor: current state 193 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_descendant() 197 if ((cursor->level == AMDGPU_VM_PTB) || !cursor in amdgpu_vm_pt_descendant() 172 amdgpu_vm_pt_start(struct amdgpu_device *adev, struct amdgpu_vm *vm, uint64_t start, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_start() argument 192 amdgpu_vm_pt_descendant(struct amdgpu_device *adev, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_descendant() argument 221 amdgpu_vm_pt_sibling(struct amdgpu_device *adev, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_sibling() argument 255 amdgpu_vm_pt_ancestor(struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_ancestor() argument 274 amdgpu_vm_pt_next(struct amdgpu_device *adev, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_next() argument 301 amdgpu_vm_pt_first_dfs(struct amdgpu_device *adev, struct amdgpu_vm *vm, struct amdgpu_vm_pt_cursor *start, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_first_dfs() argument 338 amdgpu_vm_pt_next_dfs(struct amdgpu_device *adev, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_next_dfs() argument 596 amdgpu_vm_pt_alloc(struct amdgpu_device *adev, struct amdgpu_vm *vm, struct amdgpu_vm_pt_cursor *cursor, bool immediate) amdgpu_vm_pt_alloc() argument 696 struct amdgpu_vm_pt_cursor cursor; amdgpu_vm_pt_free_dfs() local 940 struct amdgpu_vm_pt_cursor cursor; amdgpu_vm_ptes_update() local 1091 struct amdgpu_vm_pt_cursor cursor; amdgpu_vm_pt_map_tables() local [all...] |
/kernel/linux/linux-6.6/scripts/ |
H A D | asn1_compiler.c | 806 struct token *cursor; in parse() local 812 cursor = type->name; in parse() 814 if (cursor[0].token_type != TOKEN_TYPE_NAME || in parse() 815 cursor[1].token_type != TOKEN_ASSIGNMENT) in parse() 817 cursor += 2; in parse() 819 type->element = parse_type(&cursor, type[1].name, NULL); in parse() 822 if (cursor != type[1].name) { in parse() 824 filename, cursor->line, cursor->content); in parse() 858 struct token *cursor in parse_type() local 1151 struct token *cursor = *_cursor, *name; parse_compound() local [all...] |
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/parser/ |
H A D | parse_include.py | 35 def find_parent(cursor): # 获取父节点 36 cursor_parent = cursor.semantic_parent 61 def processing_no_child(cursor, data): # 处理没有子节点的节点 62 if cursor.kind == CursorKind.INTEGER_LITERAL: # 整型字面量类型节点,没有子节点 63 tokens = cursor.get_tokens() 68 def get_token(cursor): 70 for token in cursor.get_tokens(): 76 def judgment_extern(cursor, data): # 判断是否带有extern 77 tokens = get_token(cursor) 78 if cursor [all...] |
/interface/sdk_c/distributeddatamgr/relational_store/include/ |
H A D | oh_cursor.h | 104 * @param cursor Represents a pointer to an {@link OH_Cursor} instance. 110 int (*getColumnCount)(OH_Cursor *cursor, int *count); 115 * @param cursor Represents a pointer to an {@link OH_Cursor} instance. 122 int (*getColumnType)(OH_Cursor *cursor, int32_t columnIndex, OH_ColumnType *columnType); 127 * @param cursor Represents a pointer to an {@link OH_Cursor} instance. 135 int (*getColumnIndex)(OH_Cursor *cursor, const char *name, int *columnIndex); 140 * @param cursor Represents a pointer to an {@link OH_Cursor} instance. 149 int (*getColumnName)(OH_Cursor *cursor, int32_t columnIndex, char *name, int length); 154 * @param cursor Represents a pointer to an {@link OH_Cursor} instance. 161 int (*getRowCount)(OH_Cursor *cursor, in [all...] |
/third_party/node/lib/internal/readline/ |
H A D | interface.js | 321 this.cursor = 0; 395 if (!preserveCursor) this.cursor = 0; 490 // cursor position 493 // First move to the bottom of the current line, based on cursor pos 512 // Move cursor to original position. 630 this[kBeforeEdit](this.line, this.cursor); 631 if (this.cursor < this.line.length) { 632 const beg = StringPrototypeSlice(this.line, 0, this.cursor); 635 this.cursor, 639 this.cursor [all...] |
/third_party/skia/third_party/externals/brotli/csharp/org/brotli/dec/ |
H A D | Utils.cs | 28 int cursor = 0;
in FillWithZeroes() 29 while (cursor < length)
in FillWithZeroes() 31 int step = System.Math.Min(cursor + 1024, length) - cursor;
in FillWithZeroes() 32 System.Array.Copy(ByteZeroes, 0, dest, offset + cursor, step);
in FillWithZeroes() 33 cursor += step;
in FillWithZeroes() 50 int cursor = 0;
in FillWithZeroes() 51 while (cursor < length)
in FillWithZeroes() 53 int step = System.Math.Min(cursor + 1024, length) - cursor;
in FillWithZeroes() [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_attr_list.c | 41 #define XFS_ISRESET_CURSOR(cursor) \ 42 (!((cursor)->initted) && !((cursor)->hashval) && \ 43 !((cursor)->blkno) && !((cursor)->offset)) 55 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr_shortform_list() local 72 * If the buffer is large enough and the cursor is at the start, in xfs_attr_shortform_list() 74 * one buffer and another call using the cursor won't need to be in xfs_attr_shortform_list() 81 (XFS_ISRESET_CURSOR(cursor) in xfs_attr_shortform_list() 201 xfs_attr_node_list_lookup( struct xfs_attr_list_context *context, struct xfs_attrlist_cursor_kern *cursor, struct xfs_buf **pbp) xfs_attr_node_list_lookup() argument 286 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; xfs_attr_node_list() local 391 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; xfs_attr3_leaf_list_int() local [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_attr_list.c | 42 #define XFS_ISRESET_CURSOR(cursor) \ 43 (!((cursor)->initted) && !((cursor)->hashval) && \ 44 !((cursor)->blkno) && !((cursor)->offset)) 56 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr_shortform_list() local 72 * If the buffer is large enough and the cursor is at the start, in xfs_attr_shortform_list() 74 * one buffer and another call using the cursor won't need to be in xfs_attr_shortform_list() 81 (XFS_ISRESET_CURSOR(cursor) in xfs_attr_shortform_list() 201 xfs_attr_node_list_lookup( struct xfs_attr_list_context *context, struct xfs_attrlist_cursor_kern *cursor, struct xfs_buf **pbp) xfs_attr_node_list_lookup() argument 286 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; xfs_attr_node_list() local 391 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; xfs_attr3_leaf_list_int() local [all...] |
/kernel/linux/linux-6.6/net/ceph/ |
H A D | messenger.c | 724 static void ceph_msg_data_bio_cursor_init(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_cursor_init() argument 727 struct ceph_msg_data *data = cursor->data; in ceph_msg_data_bio_cursor_init() 728 struct ceph_bio_iter *it = &cursor->bio_iter; in ceph_msg_data_bio_cursor_init() 730 cursor->resid = min_t(size_t, length, data->bio_length); in ceph_msg_data_bio_cursor_init() 732 if (cursor->resid < it->iter.bi_size) in ceph_msg_data_bio_cursor_init() 733 it->iter.bi_size = cursor->resid; in ceph_msg_data_bio_cursor_init() 735 BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter)); in ceph_msg_data_bio_cursor_init() 738 static struct page *ceph_msg_data_bio_next(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_next() argument 742 struct bio_vec bv = bio_iter_iovec(cursor->bio_iter.bio, in ceph_msg_data_bio_next() 743 cursor in ceph_msg_data_bio_next() 750 ceph_msg_data_bio_advance(struct ceph_msg_data_cursor *cursor, size_t bytes) ceph_msg_data_bio_advance() argument 780 ceph_msg_data_bvecs_cursor_init(struct ceph_msg_data_cursor *cursor, size_t length) ceph_msg_data_bvecs_cursor_init() argument 793 ceph_msg_data_bvecs_next(struct ceph_msg_data_cursor *cursor, size_t *page_offset, size_t *length) ceph_msg_data_bvecs_next() argument 805 ceph_msg_data_bvecs_advance(struct ceph_msg_data_cursor *cursor, size_t bytes) ceph_msg_data_bvecs_advance() argument 831 ceph_msg_data_pages_cursor_init(struct ceph_msg_data_cursor *cursor, size_t length) ceph_msg_data_pages_cursor_init() argument 852 ceph_msg_data_pages_next(struct ceph_msg_data_cursor *cursor, size_t *page_offset, size_t *length) ceph_msg_data_pages_next() argument 867 ceph_msg_data_pages_advance(struct ceph_msg_data_cursor *cursor, size_t bytes) ceph_msg_data_pages_advance() argument 896 ceph_msg_data_pagelist_cursor_init(struct ceph_msg_data_cursor *cursor, size_t length) ceph_msg_data_pagelist_cursor_init() argument 920 ceph_msg_data_pagelist_next(struct ceph_msg_data_cursor *cursor, size_t *page_offset, size_t *length) ceph_msg_data_pagelist_next() argument 940 ceph_msg_data_pagelist_advance(struct ceph_msg_data_cursor *cursor, size_t bytes) ceph_msg_data_pagelist_advance() argument 972 ceph_msg_data_iter_cursor_init(struct ceph_msg_data_cursor *cursor, size_t length) ceph_msg_data_iter_cursor_init() argument 983 ceph_msg_data_iter_next(struct ceph_msg_data_cursor *cursor, size_t *page_offset, size_t *length) ceph_msg_data_iter_next() argument 1012 ceph_msg_data_iter_advance(struct ceph_msg_data_cursor *cursor, size_t bytes) ceph_msg_data_iter_advance() argument 1036 __ceph_msg_data_cursor_init(struct ceph_msg_data_cursor *cursor) __ceph_msg_data_cursor_init() argument 1066 ceph_msg_data_cursor_init(struct ceph_msg_data_cursor *cursor, struct ceph_msg *msg, size_t length) ceph_msg_data_cursor_init() argument 1085 ceph_msg_data_next(struct ceph_msg_data_cursor *cursor, size_t *page_offset, size_t *length) ceph_msg_data_next() argument 1126 ceph_msg_data_advance(struct ceph_msg_data_cursor *cursor, size_t bytes) ceph_msg_data_advance() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | dma-resv.h | 219 struct dma_fence *dma_resv_iter_first_unlocked(struct dma_resv_iter *cursor); 220 struct dma_fence *dma_resv_iter_next_unlocked(struct dma_resv_iter *cursor); 221 struct dma_fence *dma_resv_iter_first(struct dma_resv_iter *cursor); 222 struct dma_fence *dma_resv_iter_next(struct dma_resv_iter *cursor); 226 * @cursor: The dma_resv_iter object to initialize 230 static inline void dma_resv_iter_begin(struct dma_resv_iter *cursor, in dma_resv_iter_begin() argument 234 cursor->obj = obj; in dma_resv_iter_begin() 235 cursor->usage = usage; in dma_resv_iter_begin() 236 cursor->fence = NULL; in dma_resv_iter_begin() 241 * @cursor 246 dma_resv_iter_end(struct dma_resv_iter *cursor) dma_resv_iter_end() argument 258 dma_resv_iter_usage(struct dma_resv_iter *cursor) dma_resv_iter_usage() argument 269 dma_resv_iter_is_restarted(struct dma_resv_iter *cursor) dma_resv_iter_is_restarted() argument [all...] |
/third_party/rust/crates/clap/clap_lex/src/ |
H A D | lib.rs | 58 //! let mut cursor = raw.cursor(); 59 //! raw.next(&mut cursor); // Skip the bin 60 //! while let Some(arg) = raw.next(&mut cursor) { 62 //! args.paths.extend(raw.remaining(&mut cursor).map(PathBuf::from)); 136 /// let mut cursor = raw.cursor(); 137 /// let _bin = raw.next_os(&mut cursor); 139 /// let mut paths = raw.remaining(&mut cursor).map(PathBuf::from).collect::<Vec<_>>(); 153 /// let mut cursor 177 pub fn cursor(&self) -> ArgCursor { cursor() functions [all...] |