Home
last modified time | relevance | path

Searched refs:dlopen (Results 1 – 25 of 488) sorted by relevance

12345678910>>...20

/external/compiler-rt/test/profile/
Dinstrprof-dlopen.test2 RUN: %clang_profgen -o %t.d/func.shared -fPIC -shared %S/Inputs/instrprof-dlopen-func.c
3 RUN: %clang_profgen -o %t.d/func2.shared -fPIC -shared %S/Inputs/instrprof-dlopen-func2.c
4 …DDLOPEN_FUNC_DIR=\"%t.d\" -DDLOPEN_FLAGS="RTLD_LAZY | RTLD_LOCAL" %S/Inputs/instrprof-dlopen-main.c
5 …DLOPEN_FUNC_DIR=\"%t.d\" -DDLOPEN_FLAGS="RTLD_LAZY | RTLD_GLOBAL" %S/Inputs/instrprof-dlopen-main.c
7 RUN: %clang -c -o %t.d/main.o %S/Inputs/instrprof-dlopen-main.c
8 RUN: %clang_profgen -o %t-static %S/Inputs/instrprof-dlopen-func.c %S/Inputs/instrprof-dlopen-func2…
18 …ang_profuse=%t-static.profdata -o %t-func.static.ll -S -emit-llvm %S/Inputs/instrprof-dlopen-func.c
19 RUN: %clang_profuse=%t-local.profdata -o %t-func.local.ll -S -emit-llvm %S/Inputs/instrprof-dlopen-…
20 …ang_profuse=%t-global.profdata -o %t-func.global.ll -S -emit-llvm %S/Inputs/instrprof-dlopen-func.c
24 …g_profuse=%t-static.profdata -o %t-func2.static.ll -S -emit-llvm %S/Inputs/instrprof-dlopen-func2.c
[all …]
/external/compiler-rt/test/profile/Linux/
Dinstrprof-dlopen.test2 …-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections %S/../Inputs/instrprof-dlopen-func.c
3 …sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections %S/../Inputs/instrprof-dlopen-func2.c
4 …OPEN_FUNC_DIR=\"%t.d\" -DDLOPEN_FLAGS="RTLD_LAZY | RTLD_LOCAL" %S/../Inputs/instrprof-dlopen-main.c
5 …PEN_FUNC_DIR=\"%t.d\" -DDLOPEN_FLAGS="RTLD_LAZY | RTLD_GLOBAL" %S/../Inputs/instrprof-dlopen-main.c
7 RUN: %clang -c -o %t.d/main.o %S/../Inputs/instrprof-dlopen-main.c
8 …-Wl,--gc-sections -o %t-static %S/../Inputs/instrprof-dlopen-func.c %S/../Inputs/instrprof-dlopen
18 …_profuse=%t-static.profdata -o %t-func.static.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func.c
19 …ng_profuse=%t-local.profdata -o %t-func.local.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func.c
20 …_profuse=%t-global.profdata -o %t-func.global.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func.c
24 …rofuse=%t-static.profdata -o %t-func2.static.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func2.c
[all …]
/external/python/cffi/testing/cffi0/
Dtest_function.py32 m = ffi.dlopen(lib_m)
43 m = ffi.dlopen(lib_m)
56 m = ffi.dlopen(None)
68 m = ffi.dlopen(path)
72 m = ffi.dlopen(os.path.basename(path))
81 m = ffi.dlopen(lib_m, ffi.RTLD_LAZY | ffi.RTLD_LOCAL)
92 m = ffi.dlopen(lib_m)
104 lib = ffi.dlopen('KERNEL32.DLL')
119 ffi.C = ffi.dlopen(None)
136 ffi.C = ffi.dlopen(None)
[all …]
Dtest_ownlib.py190 ownlib = ffi.dlopen(self.module)
206 ownlib = ffi.dlopen(self.module)
219 ownlib = ffi.dlopen(self.module)
241 ownlib = ffi.dlopen(self.module)
259 ownlib = ffi.dlopen(self.module)
277 ownlib = ffi.dlopen(self.module)
312 ownlib = ffi.dlopen(self.module)
338 lib = ffi.dlopen(self.module)
359 lib = ffi.dlopen(self.module)
380 lib = ffi.dlopen(self.module)
[all …]
Dtest_parsing.py87 m = ffi.dlopen(lib_m)
96 C = ffi.dlopen(None)
105 C = ffi.dlopen(None)
116 C = ffi.dlopen(None)
127 C = ffi.dlopen(None)
138 C = ffi.dlopen(None)
166 m = ffi.dlopen(lib_m)
183 m = ffi.dlopen(lib_m)
283 m = ffi.dlopen(lib_m)
315 C = ffi.dlopen(None)
[all …]
/external/python/cffi/testing/cffi1/
Dtest_re_python.py101 lib = ffi.dlopen(extmod)
108 lib = ffi.dlopen(extmod, 0)
121 lib = ffi.dlopen(name)
127 lib = ffi.dlopen(extmod)
140 lib = ffi.dlopen(extmod)
180 lib = ffi.dlopen(extmod) # <- a random unrelated library would be fine
190 lib = ffi.dlopen(extmod)
200 lib = ffi.dlopen(extmod)
206 lib = ffi.dlopen(extmod)
218 lib = ffi.dlopen(extmod)
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DUnmanagedLibrary.cs142 return Mono.dlopen(libraryPath, RTLD_GLOBAL + RTLD_LAZY); in PlatformSpecificLoadLibrary()
146 return CoreCLR.dlopen(libraryPath, RTLD_GLOBAL + RTLD_LAZY); in PlatformSpecificLoadLibrary()
148 return Linux.dlopen(libraryPath, RTLD_GLOBAL + RTLD_LAZY); in PlatformSpecificLoadLibrary()
152 return MacOSX.dlopen(libraryPath, RTLD_GLOBAL + RTLD_LAZY); in PlatformSpecificLoadLibrary()
184 internal static extern IntPtr dlopen(string filename, int flags); in dlopen() method in Grpc.Core.Internal.UnmanagedLibrary.Linux
193 internal static extern IntPtr dlopen(string filename, int flags); in dlopen() method in Grpc.Core.Internal.UnmanagedLibrary.MacOSX
209 internal static extern IntPtr dlopen(string filename, int flags); in dlopen() method in Grpc.Core.Internal.UnmanagedLibrary.Mono
223 internal static extern IntPtr dlopen(string filename, int flags); in dlopen() method in Grpc.Core.Internal.UnmanagedLibrary.CoreCLR
/external/AFLplusplus/test/
Dtest-llvm.sh72 ../afl-clang-fast -o test-dlopen.plain test-dlopen.c ${LIBS} > /dev/null 2>&1
73 test -e test-dlopen.plain && {
75 …AD=./test-instr.so TEST_DLOPEN_TARGET=./test-instr.so AFL_QUIET=1 ./test-dlopen.plain > /dev/null …
80 …nstr.so AFL_QUIET=1 ../afl-showmap -m ${MEM_LIMIT} -o test-dlopen.plain.0 -r -- ./test-dlopen.plai…
81 …nstr.so AFL_QUIET=1 ../afl-showmap -m ${MEM_LIMIT} -o test-dlopen.plain.1 -r -- ./test-dlopen.plai…
82 test -e test-dlopen.plain.0 -a -e test-dlopen.plain.1 && {
83 diff test-dlopen.plain.0 test-dlopen.plain.1 > /dev/null 2>&1 && {
88 …str.so AFL_QUIET=1 ../afl-showmap -m ${MEM_LIMIT} -o /dev/null -- ./test-dlopen.plain 2>&1 | grep …
106 rm -f test-dlopen.plain test-dlopen.plain.0 test-dlopen.plain.1 test-instr.so
/external/python/pybind11/tests/
Dvalgrind-python.supp103dlopen leak (https://stackoverflow.com/questions/1542457/memory-leak-reported-by-valgrind-in-dlope…
114 fun:dlopen@@GLIBC_2.2.5
121dlopen leak (https://stackoverflow.com/questions/1542457/memory-leak-reported-by-valgrind-in-dlope…
132 fun:dlopen@@GLIBC_2.2.5
/external/linux-kselftest/tools/testing/selftests/timens/
Dgettime_perf.c23 void *vdso = dlopen("linux-vdso.so.1", in fill_function_pointers()
26 vdso = dlopen("linux-gate.so.1", in fill_function_pointers()
29 vdso = dlopen("linux-vdso32.so.1", in fill_function_pointers()
32 vdso = dlopen("linux-vdso64.so.1", in fill_function_pointers()
/external/swiftshader/src/System/
DSharedLibrary.hpp94 return dlopen(path, RTLD_LAZY | RTLD_LOCAL); in loadLibrary()
101 return dlopen(path, RTLD_NOW | RTLD_LOCAL); in getLibraryHandle()
103 void *resident = dlopen(path, RTLD_LAZY | RTLD_NOLOAD | RTLD_LOCAL); in getLibraryHandle()
107 return dlopen(path, RTLD_LAZY | RTLD_LOCAL); // Increment reference count in getLibraryHandle()
/external/openthread/third_party/mbedtls/repo/programs/test/
DCMakeLists.txt40 add_executable(dlopen "dlopen.c") target
41 target_include_directories(dlopen PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../include)
42 target_link_libraries(dlopen ${CMAKE_DL_LIBS})
Ddlopen.c73 void *tls_so = dlopen( TLS_SO_FILENAME, RTLD_NOW ); in main()
88 void *x509_so = dlopen( X509_SO_FILENAME, RTLD_NOW ); in main()
100 void *crypto_so = dlopen( CRYPTO_SO_FILENAME, RTLD_NOW ); in main()
/external/mbedtls/programs/test/
Ddlopen.c60 void *tls_so = dlopen( TLS_SO_FILENAME, RTLD_NOW ); in main()
75 void *x509_so = dlopen( X509_SO_FILENAME, RTLD_NOW ); in main()
87 void *crypto_so = dlopen( CRYPTO_SO_FILENAME, RTLD_NOW ); in main()
DCMakeLists.txt32 add_executable(dlopen "dlopen.c") target
33 target_include_directories(dlopen PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../include)
34 target_link_libraries(dlopen ${CMAKE_DL_LIBS})
/external/google-breakpad/src/common/linux/
Dhttp_upload.cc74 void* curl_lib = dlopen(NULL, RTLD_NOW); in SendRequest()
83 curl_lib = dlopen("libcurl.so", RTLD_NOW); in SendRequest()
88 curl_lib = dlopen("libcurl.so.4", RTLD_NOW); in SendRequest()
93 curl_lib = dlopen("libcurl-gnutls.so.4", RTLD_NOW); in SendRequest()
96 curl_lib = dlopen("libcurl.so.3", RTLD_NOW); in SendRequest()
/external/python/cpython3/Modules/_ctypes/darwin/
Ddlfcn_simple.c53 extern void * dlopen(const char *path, int mode) __attribute__((weak_import));
61 #define dlopen darwin_dlopen macro
255 if (dlopen != NULL) { in ctypes_dlfcn_init()
257 ctypes_dlopen = dlopen; in ctypes_dlfcn_init()
/external/python/cpython2/Modules/_ctypes/darwin/
Ddlfcn_simple.c53 extern void * dlopen(const char *path, int mode) __attribute__((weak_import));
61 #define dlopen darwin_dlopen macro
255 if (dlopen != NULL) { in ctypes_dlfcn_init()
257 ctypes_dlopen = dlopen; in ctypes_dlfcn_init()
/external/libepoxy/test/
Degl_without_glx.c53 dlopen(const char *filename, int flag) in dlopen() function
86 void *egl = dlopen("libEGL.so.1", RTLD_LAZY | RTLD_LOCAL); in override_eglBindAPI()
107 void *egl = dlopen("libEGL.so.1", RTLD_LAZY | RTLD_LOCAL); in override_eglGetError()
/external/compiler-rt/test/tsan/
Dignore_lib2.cc19 dlopen(lib0.c_str(), RTLD_GLOBAL | RTLD_NOW); in main()
20 dlopen(lib1.c_str(), RTLD_GLOBAL | RTLD_NOW); in main()
/external/compiler-rt/test/asan/TestCases/Posix/
Dcoverage-module-unloaded.cc28 void *handle1 = dlopen(argv[1], RTLD_LAZY); // %dynamiclib1 in main()
33 void *handle2 = dlopen(argv[2], RTLD_LAZY); // %dynamiclib2 in main()
/external/compiler-rt/test/profile/Inputs/
Dinstrprof-dlopen-main.c15 void *f1_handle = dlopen(DLOPEN_FUNC_DIR"/func.shared", DLOPEN_FLAGS); in main()
28 void *f2_handle = dlopen(DLOPEN_FUNC_DIR"/func2.shared", DLOPEN_FLAGS); in main()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dcompatibility_close_monitor.cc39 void *lib = dlopen("libandroidio.so", RTLD_NOW); in init()
47 lib = dlopen("libjavacore.so", RTLD_NOW); in init()
/external/angle/src/libANGLE/renderer/vulkan/android/
DAHBFunctions.cpp34 void *handle = dlopen(nullptr, RTLD_NOW); in AHBFunctions()
42 mLibNativeWindowHandle = dlopen(kNativeWindowLibraryName, RTLD_NOW); in AHBFunctions()
/external/protobuf/src/solaris/
Dlibstdc++.la23 # The name that we can dlopen(3).
46 # Files to dlopen/dlpreopen
47 dlopen=''

12345678910>>...20