/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/test/unittest/api/ |
H A D | documentdb_api_test.cpp | 62 int status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F() 87 int status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, nullptr); in HWTEST_F() 91 status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F() 98 status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F() 109 int status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F() 115 status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db1); in HWTEST_F() 160 int status = GRD_DBOpen(path, nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F() 176 int status = GRD_DBOpen(pathNoPerm.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F() 191 int status = GRD_DBOpen(pathNoPerm.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F() 208 int status = GRD_DBOpen(path.c_str(), configStr.c_str(), GRD_DB_OPEN_CREATE, in HWTEST_F() [all...] |
H A D | documentdb_collection_test.cpp | 48 EXPECT_EQ(GRD_DBOpen(g_path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &g_db), GRD_OK); in SetUp()
|
H A D | documentdb_delete_test.cpp | 46 int status = GRD_DBOpen(g_path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &g_db); in SetUpTestCase()
|
H A D | documentdb_data_test.cpp | 50 EXPECT_EQ(GRD_DBOpen(g_path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &g_db), GRD_OK); in SetUp()
|
H A D | documentdb_insert_test.cpp | 64 int status = GRD_DBOpen(g_path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &g_db); in SetUpTestCase()
|
H A D | documentdb_find_test.cpp | 113 int status = GRD_DBOpen(g_path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &g_db); in SetUpTestCase() 1473 int status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &test_db); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/interface/src/ |
H A D | document_store_manager.cpp | 29 unsigned int mask = ~(GRD_DB_OPEN_CREATE | GRD_DB_OPEN_CHECK_FOR_ABNORMAL | GRD_DB_OPEN_CHECK | in CheckDBOpenFlag() 42 if ((flags & GRD_DB_OPEN_CREATE) == 0 && !OSAPI::IsPathExist(path)) { in CheckDBCreate()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | grd_type_export.h | 36 #define GRD_DB_OPEN_CREATE 0x01 macro
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/include/grd_base/ |
H A D | grd_type_export.h | 35 #define GRD_DB_OPEN_CREATE 0x01 macro
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rd_connection.cpp | 155 errCode = RdUtils::RdDbOpen(dbPath.c_str(), configStr.c_str(), GRD_DB_OPEN_CREATE, &dbHandle_); in InnerOpen() 164 errCode = RdUtils::RdDbOpen(dbPath.c_str(), configStr.c_str(), GRD_DB_OPEN_CREATE, &dbHandle_); in InnerOpen()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/ |
H A D | rd_single_ver_storage_engine.cpp | 192 flag |= GRD_DB_OPEN_CREATE; in OpenGrdDb()
|
/foundation/distributeddatamgr/preferences/frameworks/native/platform/include/ |
H A D | preferences_db_adapter.h | 30 #define GRD_DB_OPEN_CREATE 0x01 macro
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | kv_delegate.cpp | 188 (path_ + "/dataShare.db").c_str(), nullptr, GRD_DB_OPEN_CREATE | GRD_DB_OPEN_CHECK_FOR_ABNORMAL, &db_);
in Init()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/json_fuzzer/ |
H A D | json_fuzzer.cpp | 434 GRD_DBOpen(TEST_DB_FILE, CONFIG_STR, GRD_DB_OPEN_CREATE, &g_db); in SetUpTestCase() 1417 int ret = GRD_DBOpen(dbFileVal, configStr, GRD_DB_OPEN_CREATE, &dbVal); in DbOpenCloseFuzz() 1487 int ret = GRD_DBOpen(nullptr, configStrVal, GRD_DB_OPEN_CREATE, &dbVal); in DbOpenFuzz() 1511 int ret = GRD_DBOpen(TEST_DB_FILE, CONFIG_STR, GRD_DB_OPEN_CREATE, &db); in DbCloseResultSetFuzz() 1512 int errCode = GRD_DBOpen(TEST_DB_FILE, CONFIG_STR, GRD_DB_OPEN_CREATE, &db2); in DbCloseResultSetFuzz() 1570 int ret = GRD_DBOpen(TEST_DB_FILE, CONFIG_STR, GRD_DB_OPEN_CREATE, &db); in DbFlushFuzz()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/jsoninner_fuzzer/ |
H A D | jsoninner_fuzzer.cpp | 443 GRD_DBOpenInner(TEST_DB_FILE, CONFIG_STR, GRD_DB_OPEN_CREATE, &g_db); in SetUpTestCase() 1426 int ret = GRD_DBOpenInner(dbFileVal, configStr, GRD_DB_OPEN_CREATE, &dbVal); in DbOpenCloseFuzz() 1496 int ret = GRD_DBOpenInner(nullptr, configStrVal, GRD_DB_OPEN_CREATE, &dbVal); in DbOpenFuzz() 1520 int ret = GRD_DBOpenInner(TEST_DB_FILE, CONFIG_STR, GRD_DB_OPEN_CREATE, &db); in DbCloseResultSetFuzz() 1521 int errCode = GRD_DBOpenInner(TEST_DB_FILE, CONFIG_STR, GRD_DB_OPEN_CREATE, &db2); in DbCloseResultSetFuzz() 1579 int ret = GRD_DBOpenInner(TEST_DB_FILE, CONFIG_STR, GRD_DB_OPEN_CREATE, &db); in DbFlushFuzz()
|
/foundation/distributeddatamgr/preferences/frameworks/native/platform/src/ |
H A D | preferences_db_adapter.cpp | 198 uint32_t flag = GRD_DB_OPEN_CREATE; in OpenDb()
|
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_execute_rd_test.cpp | 258 EXPECT_EQ(RdUtils::RdDbOpen(dbPath.c_str(), configStr.c_str(), GRD_DB_OPEN_CREATE, &db2), E_OK); in HWTEST_P() 259 EXPECT_EQ(RdUtils::RdDbOpen(dbPath.c_str(), configStr.c_str(), GRD_DB_OPEN_CREATE, &db4), E_OK); in HWTEST_P()
|