Home
last modified time | relevance | path

Searched refs:cursor (Results 1 - 25 of 1324) sorted by relevance

12345678910>>...53

/foundation/distributeddatamgr/relational_store/test/ndk/unittest/
H A Drdb_cursor_test.cpp183 * @tc.desc: Normal testCase of cursor for GetColumnType.
191 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); in HWTEST_F() local
192 EXPECT_NE(cursor, NULL); in HWTEST_F()
193 cursor->goToNextRow(cursor); in HWTEST_F()
196 errCode = cursor->getColumnType(cursor, 0, &type); in HWTEST_F()
199 errCode = cursor->getColumnType(cursor, 1, &type); in HWTEST_F()
202 errCode = cursor in HWTEST_F()
235 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
275 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
316 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, columnNames, len); HWTEST_F() local
381 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, columnNames, len); HWTEST_F() local
428 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, columnNames, len); HWTEST_F() local
475 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
503 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
565 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
687 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
[all...]
H A Drdb_predicates_test.cpp133 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); in HWTEST_F() local
134 EXPECT_NE(cursor, NULL); in HWTEST_F()
136 errCode = cursor->getRowCount(cursor, &rowCount); in HWTEST_F()
141 cursor->destroy(cursor); in HWTEST_F()
159 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); in HWTEST_F() local
160 EXPECT_NE(cursor, NULL); in HWTEST_F()
162 errCode = cursor->getRowCount(cursor, in HWTEST_F()
184 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
245 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
270 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
295 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
317 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
338 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
367 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
393 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
418 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
451 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
477 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
505 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
529 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
557 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
582 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
611 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
[all...]
H A Drdb_store_test.cpp121 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); in SetUp() local
124 cursor->getRowCount(cursor, &rowCount); in SetUp()
126 cursor->destroy(cursor); in SetUp()
179 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, NULL, 0); in HWTEST_F() local
180 EXPECT_NE(cursor, NULL); in HWTEST_F()
183 cursor->getRowCount(cursor, &rowCount); in HWTEST_F()
186 errCode = cursor in HWTEST_F()
245 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); HWTEST_F() local
305 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); HWTEST_F() local
337 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); HWTEST_F() local
384 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); HWTEST_F() local
424 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); HWTEST_F() local
471 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); HWTEST_F() local
549 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); HWTEST_F() local
589 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates2, NULL, 0); HWTEST_F() local
635 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); HWTEST_F() local
797 OH_Cursor *cursor; HWTEST_F() local
841 OH_Cursor *cursor = OH_Rdb_FindModifyTime(nullptr, "rdbstoreimpltest_integer", "data_key", values); HWTEST_F() local
1047 OH_Cursor *cursor = OH_Rdb_QueryLockedRow(storeTestRdbStore_, predicates, NULL, 0); HWTEST_F() local
[all...]
/third_party/libdrm/tests/modetest/
H A Dcursor.c42 #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 Drdb_store_backup_test.cpp122 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 Drdb_store_predicates_test.cpp167 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 Drdb_store_cursor_test.cpp190 * @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 Ddma-resv.c358 /* 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 Dparsed.rs6 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 Dshorts.rs4 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...]
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/
H A Dsti_cursor.c55 * @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 Dsti_cursor.c56 * @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...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dtlv_util.cpp29 std::string TLVUtil::ReadString(std::vector<uint8_t>& buff, int32_t& cursor) in ReadString() argument
31 if (ReadUint8(buff, cursor) != TLV_STRING_TAG) { in ReadString()
34 int32_t strLen = ReadInt32(buff, cursor); in ReadString()
40 uint8_t chVal = ReadUint8(buff, cursor); in ReadString()
58 double TLVUtil::ReadDouble(std::vector<uint8_t>& buff, int32_t& cursor) in ReadDouble() argument
60 if (ReadUint8(buff, cursor) != TLV_DOUBLE_TAG) { in ReadDouble()
63 auto start = buff.begin() + cursor; in ReadDouble()
67 cursor += sizeof(double); in ReadDouble()
80 Color TLVUtil::ReadColor(std::vector<uint8_t>& buff, int32_t& cursor) in ReadColor() argument
82 if (ReadUint8(buff, cursor) ! in ReadColor()
99 ReadDimension(std::vector<uint8_t>& buff, int32_t& cursor) ReadDimension() argument
118 ReadFontFamily(std::vector<uint8_t>& buff, int32_t& cursor) ReadFontFamily() argument
144 ReadTextShadow(std::vector<uint8_t>& buff, int32_t& cursor) ReadTextShadow() argument
172 ReadTextShadows(std::vector<uint8_t>& buff, int32_t& cursor) ReadTextShadows() argument
195 ReadFontFeature(std::vector<uint8_t>& buff, int32_t& cursor) ReadFontFeature() argument
220 ReadBorderRadiusProperty(std::vector<uint8_t>& buff, int32_t& cursor) ReadBorderRadiusProperty() argument
259 ReadPixelMap(std::vector<uint8_t>& buff, int32_t& cursor) ReadPixelMap() argument
280 ReadCalcDimension(std::vector<uint8_t>& buff, int32_t& cursor) ReadCalcDimension() argument
297 ReadCalcLength(std::vector<uint8_t>& buff, int32_t& cursor) ReadCalcLength() argument
324 ReadImageSpanSize(std::vector<uint8_t>& buff, int32_t& cursor) ReadImageSpanSize() argument
370 ReadPaddingProperty(std::vector<uint8_t>& buff, int32_t& cursor) ReadPaddingProperty() argument
432 ReadImageSpanAttribute(std::vector<uint8_t>& buff, int32_t& cursor) ReadImageSpanAttribute() argument
485 ReadLeadingMargin(std::vector<uint8_t>& buff, int32_t& cursor) ReadLeadingMargin() argument
[all...]
/third_party/libunwind/libunwind/src/ia64/
H A Dmk_Gcursor_i.c42 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...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dcache_cursor_test.cpp21 #include "store/cursor.h"
80 auto cursor = CacheCursorTest::GetCursor(); in HWTEST_F() local
81 EXPECT_NE(cursor, nullptr); in HWTEST_F()
84 auto result = cursor->GetColumnNames(names); in HWTEST_F()
89 auto err = cursor->GetColumnName(4, colName); in HWTEST_F()
91 err = cursor->GetColumnName(-1, colName); in HWTEST_F()
93 err = cursor->GetColumnName(1, colName); in HWTEST_F()
96 int type = cursor->GetColumnType(0); in HWTEST_F()
98 type = cursor->GetColumnType(4); in HWTEST_F()
100 type = cursor in HWTEST_F()
130 auto cursor = CacheCursorTest::GetCursor(); HWTEST_F() local
163 auto cursor = CacheCursorTest::GetCursor(); HWTEST_F() local
213 auto cursor = CacheCursorTest::GetCursor(); HWTEST_F() local
[all...]
/kernel/linux/linux-6.6/tools/verification/dot2/
H A Dautomata.py43 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 Dfunction.rs31 /// 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 Dasn1_compiler.c806 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 Damdgpu_vm_pt.c168 * @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 Dasn1_compiler.c806 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...]
/foundation/distributeddatamgr/relational_store/interfaces/ndk/include/
H A Doh_cursor.h103 * @param cursor Represents a pointer to an {@link OH_Cursor} instance.
109 int (*getColumnCount)(OH_Cursor *cursor, int *count);
114 * @param cursor Represents a pointer to an {@link OH_Cursor} instance.
121 int (*getColumnType)(OH_Cursor *cursor, int32_t columnIndex, OH_ColumnType *columnType);
126 * @param cursor Represents a pointer to an {@link OH_Cursor} instance.
134 int (*getColumnIndex)(OH_Cursor *cursor, const char *name, int *columnIndex);
139 * @param cursor Represents a pointer to an {@link OH_Cursor} instance.
148 int (*getColumnName)(OH_Cursor *cursor, int32_t columnIndex, char *name, int length);
153 * @param cursor Represents a pointer to an {@link OH_Cursor} instance.
160 int (*getRowCount)(OH_Cursor *cursor, in
[all...]
/third_party/skia/third_party/externals/brotli/csharp/org/brotli/dec/
H A DUtils.cs28 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...]
/third_party/node/lib/internal/readline/
H A Dinterface.js321 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...]
/kernel/linux/linux-6.6/include/linux/
H A Ddma-resv.h219 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...]
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_attr_list.c41 #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...]

Completed in 24 milliseconds

12345678910>>...53