Lines Matching defs:handle
17 void *handle = dlopen(ndk_so, RTLD_NOW);
18 if (!handle)
20 if (dlclose(handle))
27 void *handle = dlopen(system_so, RTLD_NOW);
28 if (!handle) {
31 CALL_DLOPEN_PTR call_dlopen = dlsym(handle, "call_dlopen");
46 void *handle = dlopen_ns(&dlns, ndk_so, RTLD_NOW);
47 if (!handle) {
50 CALL_DLOPEN_PTR call_dlopen = dlsym(handle, "call_dlopen");
60 // Test whether dlopen same so twice by same ns to get same handle.
76 t_error("dlopen same so(%s) by same ns but handle is different %s \n", dllName);
85 // Test whether dlopen same so by different ns to get different handle.
105 t_error("dlopen same so(%s) by same ns but handle is different %s \n", dllName);
114 // Test whether dlopen same so by inherit ns to get same handle.
135 t_error("dlopen same so(%s) by inherit ns but handle is different %s \n", dllName);
152 void* handle = NULL;
154 handle = dlopen_ns(&dlns1, dllName, RTLD_NOW);
155 if(handle)
161 handle = dlopen_ns(&dlns1, absolute_path_1, RTLD_NOW);
162 if (!handle)
165 if(dlclose(handle))
171 handle = dlopen_ns(&dlns1, absolute_path_2, RTLD_NOW);
172 if (handle)
190 t_error("dlopen_ns_by_ini_no_inherit handle %s should not open successfully \n", dllName);
198 t_error("dlopen_ns_by_dlns_inherir handle get error %s open failed : %s \n", dllName, dlerror());
201 t_error("dlclose_by_dlns_inherir handle %s close failed : %s\n", dllName, dlerror());
253 void* handle = dlopen_ns(&dlns, dllName, RTLD_LAZY);
254 if(!handle)
257 if(dlclose(handle))