Home
last modified time | relevance | path

Searched refs:g_library (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dgrd_api_manager.cpp24 static void *g_library = nullptr; variable
34 GRD_DBApiInfo.DBOpenApi = (DBOpen)dlsym(g_library, "GRD_DBOpen"); in GRD_DBApiInitEnhance()
35 GRD_DBApiInfo.DBCloseApi = (DBClose)dlsym(g_library, "GRD_DBClose"); in GRD_DBApiInitEnhance()
36 GRD_DBApiInfo.DBRepairApi = (DBRepair)dlsym(g_library, "GRD_DBRepair"); in GRD_DBApiInitEnhance()
38 GRD_DBApiInfo.DBSqlReset = (DBSqlReset)dlsym(g_library, "GRD_SqlReset"); in GRD_DBApiInitEnhance()
47 GRD_DBApiInfo.DBSqlStep = (DBSqlStep)dlsym(g_library, "GRD_SqlStep"); in GRD_DBApiInitEnhance()
59 GRD_DBApiInfo.DBBackupApi = (DBBackup)dlsym(g_library, "GRD_DBBackup"); in GRD_DBApiInitEnhance()
69 if (g_library == nullptr) { in IsUsingArkData()
72 return g_library != nullptr; in IsUsingArkData()
82 g_library = dlopen("libarkdata_db_core.z.so", RTLD_LAZY); in GetApiInfoInstance()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/common/src/
H A Dgrd_api_manager.cpp35 static void *g_library = nullptr; variable
78 GRD_DBApiInfo.DBOpenApi = (DBOpen)dlsym(g_library, "GRD_DBOpen"); in GRD_DBApiInitEnhance()
82 GRD_DBApiInfo.FlushApi = (DBFlush)dlsym(g_library, "GRD_Flush"); in GRD_DBApiInitEnhance()
91 GRD_DBApiInfo.NextApi = (ResultNext)dlsym(g_library, "GRD_Next"); in GRD_DBApiInitEnhance()
92 GRD_DBApiInfo.PrevApi = (ResultPrev)dlsym(g_library, "GRD_Prev"); in GRD_DBApiInitEnhance()
94 GRD_DBApiInfo.FetchApi = (Fetch)dlsym(g_library, "GRD_Fetch"); in GRD_DBApiInitEnhance()
97 GRD_DBApiInfo.KVPutApi = (KVPut)dlsym(g_library, "GRD_KVPut"); in GRD_DBApiInitEnhance()
98 GRD_DBApiInfo.KVGetApi = (KVGet)dlsym(g_library, "GRD_KVGet"); in GRD_DBApiInitEnhance()
99 GRD_DBApiInfo.KVDelApi = (KVDel)dlsym(g_library, "GRD_KVDel"); in GRD_DBApiInitEnhance()
123 g_library = dlopen(libPath.c_str(), RTLD_LAZY); in GetApiInfoInstance()
[all …]