/foundation/distributeddatamgr/relational_store/test/ndk/unittest/ |
H A D | rdb_cursor_test.cpp | 183 * @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 D | rdb_predicates_test.cpp | 133 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 D | rdb_store_test.cpp | 121 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 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...] |
H A D | rdb_store_test.cpp | 175 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, NULL, 0);
in SUB_DDM_RDB_0100() local 176 NAPI_ASSERT(env, cursor != NULL, "OH_Rdb_Query is fail.");
in SUB_DDM_RDB_0100() 179 cursor->getRowCount(cursor, &rowCount);
in SUB_DDM_RDB_0100() 182 errCode = cursor->goToNextRow(cursor);
in SUB_DDM_RDB_0100() 186 cursor->getSize(cursor, 1, &size);
in SUB_DDM_RDB_0100() 188 cursor->getText(cursor, in SUB_DDM_RDB_0100() 261 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); SUB_DDM_RDB_0200() local 316 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates2, NULL, 0); SUB_DDM_RDB_0300() local 392 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_0400() local 452 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_0500() local 503 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_0600() local 548 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, columnNames, 1); SUB_DDM_RDB_0700() local 590 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, NULL, 1); SUB_DDM_RDB_0800() local 644 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); SUB_DDM_RDB_0900() local 706 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); SUB_DDM_RDB_1000() local 754 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates1, NULL, 0); SUB_DDM_RDB_1100() local 821 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_1200() local 875 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_1300() local 922 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); SUB_DDM_RDB_1400() local 970 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); SUB_DDM_RDB_1500() local 1021 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); SUB_DDM_RDB_1600() local 1072 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); SUB_DDM_RDB_1700() local 1138 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, columnNames, 1); SUB_DDM_RDB_1900() local 1190 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_2000() local 1254 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, NULL, 0); SUB_DDM_RDB_2100() local 1295 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, NULL, 2); SUB_DDM_RDB_2200() local 1338 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, NULL, 7); SUB_DDM_RDB_2300() local 1381 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, NULL, 1); SUB_DDM_RDB_2400() local 1426 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, columnNames, 0); SUB_DDM_RDB_2500() local 1470 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, columnNames, 1); SUB_DDM_RDB_2600() local 1514 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, columnNames, 2); SUB_DDM_RDB_2700() local 1556 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, columnNames, 4); SUB_DDM_RDB_2800() local 1597 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, columnNames, 3); SUB_DDM_RDB_2900() local 1638 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, columnNames, 5); SUB_DDM_RDB_3000() local 1676 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, columnNames, 5); SUB_DDM_RDB_3100() local 1970 OH_Cursor *cursor; SUB_DDM_RDB_4100() local 2021 OH_Cursor *cursor; SUB_DDM_RDB_4200() 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...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/ |
H A D | tlv_util.cpp | 29 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 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...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | cache_cursor_test.cpp | 21 #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...] |
/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...] |
/foundation/distributeddatamgr/relational_store/interfaces/ndk/include/ |
H A D | oh_cursor.h | 103 * @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 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...] |
/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/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...] |
/third_party/libunwind/libunwind/src/riscv/ |
H A D | Ginit_local.c | 33 unw_init_local (unw_cursor_t *cursor, ucontext_t *uc) in unw_init_local() argument 41 unw_init_local_common(unw_cursor_t *cursor, ucontext_t *uc, unsigned use_prev_instr) in unw_init_local_common() argument 43 struct cursor *c = (struct cursor *) cursor; in unw_init_local_common() 48 Debug (1, "(cursor=%p)\n", c); in unw_init_local_common() 51 c->dwarf.as_arg = cursor; in unw_init_local_common() 59 unw_init_local (unw_cursor_t *cursor, unw_context_t *uc) in unw_init_local() argument 61 return unw_init_local_common(cursor, uc, 1); in unw_init_local() 65 unw_init_local2 (unw_cursor_t *cursor, unw_context_ argument [all...] |
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/src/ |
H A D | rtsp_sdp.cpp | 186 uint32_t cursor = 0; in GetVideoSize() local 193 GetU(1, buf, cursor); in GetVideoSize() 195 GetU(2, buf, cursor); // 2:fixed size in GetVideoSize() 196 int32_t nalUnitType = GetU(5, buf, cursor); // 5:fixed size in GetVideoSize() 201 int32_t profileIdc = GetU(8, buf, cursor); // 8:fixed size in GetVideoSize() 203 GetU(1, buf, cursor); in GetVideoSize() 205 GetU(1, buf, cursor); in GetVideoSize() 207 GetU(1, buf, cursor); in GetVideoSize() 209 GetU(1, buf, cursor); in GetVideoSize() 211 GetU(1, buf, cursor); in GetVideoSize() [all...] |
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/ |
H A D | relational_cursor.h | 52 static int GetColumnCount(OH_Cursor *cursor, int *count); 53 static int GetColumnType(OH_Cursor *cursor, int32_t columnIndex, OH_ColumnType *columnType); 54 static int GetColumnIndex(OH_Cursor *cursor, const char *name, int *columnIndex); 55 static int GetColumnName(OH_Cursor *cursor, int32_t columnIndex, char *name, int length); 56 static int GetRowCount(OH_Cursor *cursor, int *count); 57 static int GoToNextRow(OH_Cursor *cursor); 58 static int GetSize(OH_Cursor *cursor, int32_t columnIndex, size_t *size); 59 static int GetText(OH_Cursor *cursor, int32_t columnIndex, char *value, int length); 60 static int GetInt64(OH_Cursor *cursor, int32_t columnIndex, int64_t *value); 61 static int GetReal(OH_Cursor *cursor, int32_ [all...] |
/third_party/gn/src/base/ |
H A D | sha1.cc | 64 uint32_t cursor; member in base::SecureHashAlgorithm 104 cursor = 0; in Init() 124 M[cursor++] = *d++; in Update() 125 if (cursor >= 64) in Update() 132 M[cursor++] = 0x80; in Pad() 134 if (cursor > 64 - 8) { in Pad() 136 while (cursor < 64) in Pad() 137 M[cursor++] = 0; in Pad() 142 while (cursor < 64 - 8) in Pad() 143 M[cursor in Pad() [all...] |
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/ |
H A D | sha1.cc | 67 uint32_t cursor; member in angle::base::SecureHashAlgorithm 125 cursor = 0; in Init() 148 M[cursor++] = *d++; in Update() 149 if (cursor >= 64) in Update() 157 M[cursor++] = 0x80; in Pad() 159 if (cursor > 64 - 8) in Pad() 162 while (cursor < 64) in Pad() 163 M[cursor++] = 0; in Pad() 168 while (cursor < 64 - 8) in Pad() 169 M[cursor in Pad() [all...] |
/third_party/libunwind/libunwind/src/aarch64/ |
H A D | Ginit_local.c | 32 unw_init_local (unw_cursor_t *cursor, unw_context_t *uc) in unw_init_local() argument 40 unw_init_local_common (unw_cursor_t *cursor, unw_context_t *uc, unsigned use_prev_instr) in unw_init_local_common() argument 42 struct cursor *c = (struct cursor *) cursor; in unw_init_local_common() 47 Debug (1, "(cursor=%p)\n", c); in unw_init_local_common() 58 unw_init_local (unw_cursor_t *cursor, unw_context_t *uc) in unw_init_local() argument 60 return unw_init_local_common(cursor, uc, 1); in unw_init_local() 64 unw_init_local2 (unw_cursor_t *cursor, unw_tdep_context_t *uc, int flag) in unw_init_local2() argument 68 return unw_init_local_common(cursor, u in unw_init_local2() [all...] |