Searched refs:g_handle (Results 1 – 5 of 5) sorted by relevance
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/src/ |
D | cJSON.c | 37 void* g_handle = NULL; variable 48 if (g_handle != NULL) { in GetHandle() 52 g_handle = dlopen("/system/lib64/chipset-pub-sdk/libcjson.z.so", RTLD_LAZY); in GetHandle() 54 g_handle = dlopen("/system/lib/chipset-pub-sdk/libcjson.z.so", RTLD_LAZY); in GetHandle() 65 if (g_handle == NULL) { in cJSON_GetObjectItem() 69 …func = (cJSON* (*)(const cJSON* const object, const char* const string))dlsym(g_handle, "cJSON_Get… in cJSON_GetObjectItem() 80 if (g_handle == NULL) { in cJSON_IsNumber() 84 func = (cJSON_bool (*)(const cJSON* const item))dlsym(g_handle, "cJSON_IsNumber"); in cJSON_IsNumber() 98 if (g_handle == NULL) { in cJSON_IsString() 102 func = (cJSON_bool (*)(const cJSON* const item))dlsym(g_handle, "cJSON_IsString"); in cJSON_IsString() [all …]
|
/base/security/device_auth/services/frameworks/src/plugin_adapter/ |
D | dynamic_plugin_adapter.c | 39 static void *g_handle = NULL; variable 130 if (g_handle != NULL) { in LoadExtendPlugin() 135 g_handle = DevAuthDlopen("/system/lib64/libdevice_auth_ext.z.so"); in LoadExtendPlugin() 136 if (g_handle != NULL) { in LoadExtendPlugin() 140 g_handle = DevAuthDlopen("/system/lib/libdevice_auth_ext.z.so"); in LoadExtendPlugin() 142 if (g_handle == NULL) { in LoadExtendPlugin() 146 if (LoadDynamicPlugin(g_handle) != HC_SUCCESS) { in LoadExtendPlugin() 147 DevAuthDlclose(g_handle); in LoadExtendPlugin() 148 g_handle = NULL; in LoadExtendPlugin() 156 if (g_handle == NULL) { in UnloadExtendPlugin() [all …]
|
/base/startup/init/services/begetctl/ |
D | main.c | 23 static BShellHandle g_handle = NULL; variable 26 if (g_handle == NULL) { in GetShellHandle() 28 BShellEnvInit(&g_handle, &info); in GetShellHandle() 30 return g_handle; in GetShellHandle()
|
/base/security/certificate_manager/test/unittest/src/ |
D | cm_update_test.cpp | 59 static const struct CmBlob g_handle = { DEFAULT_HANDLE_SIZE, (uint8_t *)g_handleBuf }; variable 109 int32_t ret = CmUpdate(&g_handle, inData); 122 int32_t ret = CmUpdate(&g_handle, &inData); 135 int32_t ret = CmUpdate(&g_handle, &inData); 147 int32_t ret = CmUpdate(&g_handle, &g_inData);
|
/base/startup/init/services/begetctl/shell/ |
D | shell_main.c | 24 static BShellHandle g_handle = NULL; variable 43 if (g_handle == NULL) { in GetShellHandle() 45 BShellEnvInit(&g_handle, &info); in GetShellHandle() 47 return g_handle; in GetShellHandle()
|