Home
last modified time | relevance | path

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

12345678910>>...14

/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/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/swiftshader/src/Common/
DSharedLibrary.hpp95 return dlopen(path, RTLD_LAZY | RTLD_LOCAL); in loadLibrary()
102 return dlopen(path, RTLD_NOW | RTLD_LOCAL); in getLibraryHandle()
104 void *resident = dlopen(path, RTLD_LAZY | RTLD_NOLOAD | RTLD_LOCAL); in getLibraryHandle()
108 return dlopen(path, RTLD_LAZY | RTLD_LOCAL); // Increment reference count in getLibraryHandle()
/external/swiftshader/src/System/
DSharedLibrary.hpp113 return dlopen(path, RTLD_LAZY | RTLD_LOCAL); in loadLibrary()
120 return dlopen(path, RTLD_NOW | RTLD_LOCAL); in getLibraryHandle()
122 void *resident = dlopen(path, RTLD_LAZY | RTLD_NOLOAD | RTLD_LOCAL); in getLibraryHandle()
126 return dlopen(path, RTLD_LAZY | RTLD_LOCAL); // Increment reference count in getLibraryHandle()
/external/google-breakpad/src/common/linux/
Dhttp_upload.cc75 void* curl_lib = dlopen(NULL, RTLD_NOW); in SendRequest()
82 curl_lib = dlopen("libcurl.so", RTLD_NOW); in SendRequest()
87 curl_lib = dlopen("libcurl.so.4", RTLD_NOW); in SendRequest()
92 curl_lib = dlopen("libcurl-gnutls.so.4", RTLD_NOW); in SendRequest()
95 curl_lib = dlopen("libcurl.so.3", RTLD_NOW); in SendRequest()
Dlibcurl_wrapper.cc44 curl_lib_ = dlopen("libcurl.so", RTLD_NOW); in LibcurlWrapper()
46 curl_lib_ = dlopen("libcurl.so.4", RTLD_NOW); in LibcurlWrapper()
49 curl_lib_ = dlopen("libcurl.so.3", RTLD_NOW); in LibcurlWrapper()
/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/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/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/swiftshader/third_party/LLVM/autoconf/m4/
Dltdl.m4109 AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
111 [# PORTME does your system automatically load deplibs for dlopen?
147 # at 6.2 and later dlopen does load deplibs.
157 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
163 # dlopen *does* load deplibs and with the right loader patch applied
188 [Define if the OS needs help to load dependent libraries for dlopen().])
274 AC_CACHE_CHECK([whether libtool supports -dlopen/-dlpreopen],
303 [AC_CHECK_LIB([dl], [dlopen],
310 ]], [[dlopen(0, 0);]])],[AC_DEFINE([HAVE_LIBDL], [1],
311 …ve the libdl library or equivalent.]) libltdl_cv_func_dlopen="yes"],[AC_CHECK_LIB([svld], [dlopen],
/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/protobuf/src/solaris/
Dlibstdc++.la23 # The name that we can dlopen(3).
46 # Files to dlopen/dlpreopen
47 dlopen=''
/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/googletest/googletest/cmake/
Dlibgtest.la.in16 # Files to dlopen/dlpreopen
17 dlopen=''
/external/iproute2/tc/
Dtc.c113 dlh = dlopen(buf, RTLD_LAZY); in get_qdisc_kind()
118 dlh = BODY = dlopen(NULL, RTLD_LAZY); in get_qdisc_kind()
157 dlh = dlopen(buf, RTLD_LAZY); in get_filter_kind()
161 dlh = BODY = dlopen(NULL, RTLD_LAZY); in get_filter_kind()
Dtc_exec.c54 dlh = dlopen(buf, RTLD_LAZY); in get_exec_kind()
58 dlh = BODY = dlopen(NULL, RTLD_LAZY); in get_exec_kind()
Dm_ipt.c195 handle = dlopen(path, RTLD_LAZY); in get_target_name()
199 handle = dlopen(path, RTLD_LAZY); in get_target_name()
203 handle = dlopen(path, RTLD_LAZY); in get_target_name()
208 handle = dlopen(path, RTLD_LAZY); in get_target_name()
/external/libese/tools/ese_replay/
Dhw.c50 void *hw_handle = dlopen(hw->lib, RTLD_NOW); in release_hardware()
57 void *hw_handle = dlopen(hw->lib, RTLD_NOW); in initialize_hardware()
/external/oj-libjdwp/src/solaris/back/
Dlinker_md.c125 result = dlopen(name, RTLD_LAZY); in dbgsysLoadLibrary()
128 result = dlopen(name, RTLD_NOW); in dbgsysLoadLibrary()
/external/iproute2/genl/
Dgenl.c67 dlh = dlopen(buf, RTLD_LAZY); in get_genl_kind()
71 dlh = BODY = dlopen(NULL, RTLD_LAZY); in get_genl_kind()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DDynamicLibrary.inc29 void *Handle = ::dlopen(File, RTLD_LAZY|RTLD_GLOBAL);
37 // with the handle of dlopen(NULL, RTLD_GLOBAL).
58 if (Err) *Err = "dlopen() not supported on this platform";
/external/ppp/pppd/
DREADME.pppol2tp19 6. pppd dlopen() pppol2tp-android plugin (because it receives corresponding\
29 3. pppol2tp-android plugin is actually loaded dynamically with dlopen(),
/external/tensorflow/tensorflow/lite/nnapi/
Dnnapi_implementation.cc115 libandroid = dlopen("libandroid.so", RTLD_LAZY | RTLD_LOCAL); in LoadNnApi()
124 libneuralnetworks = dlopen("libneuralnetworks.so", RTLD_LAZY | RTLD_LOCAL); in LoadNnApi()

12345678910>>...14