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...] |