Searched defs:lib (Results 1 - 25 of 81) sorted by relevance

1234

/external/conscrypt/common/src/jni/main/cpp/
H A DCompatibilityCloseMonitor.cpp31 void *lib = dlopen("libjavacore.so", RTLD_NOW); local
32 if (lib != nullptr) {
34 (acm_ctor_func)dlsym(lib, "_ZN24AsynchronousCloseMonitorC1Ei");
36 (acm_dtor_func)dlsym(lib, "_ZN24AsynchronousCloseMonitorD1Ev");
/external/compiler-rt/test/tsan/
H A Dignore_lib1.cc23 std::string lib = std::string(dirname(argv[0])) + "/libignore_lib1.so"; local
24 void *h = dlopen(lib.c_str(), RTLD_GLOBAL | RTLD_NOW);
H A Dignore_lib3.cc21 std::string lib = std::string(dirname(argv[0])) + "/libignore_lib3.so"; local
22 void *h = dlopen(lib.c_str(), RTLD_GLOBAL | RTLD_NOW);
H A Dignore_lib4.cc15 // Test longjmp in ignored lib.
38 std::string lib = std::string(dirname(argv[0])) + "/libignore_lib4.so"; local
39 void *h = dlopen(lib.c_str(), RTLD_GLOBAL | RTLD_NOW);
H A Ddl_iterate_phdr.cc42 void *lib = dlopen(path.c_str(), RTLD_NOW); local
43 if (!lib) {
47 dlclose(lib);
H A Ddlclose.cc24 void *lib; variable
29 dlclose(lib);
36 lib = dlopen((std::string(argv[0]) + std::string("-so.so")).c_str(),
38 if (lib == 0) {
42 void *f = dlsym(lib, "sofunc");
H A Dload_shared_lib.cc59 void *lib = dlopen(path.c_str(), RTLD_NOW); local
60 if (!lib) {
65 *(void **)&init_so = dlsym(lib, "init_so");
68 *(void **)&write_from_so = dlsym(lib, "write_from_so");
/external/skia/third_party/lua/src/
H A Dlinit.c53 const luaL_Reg *lib; local
55 for (lib = loadedlibs; lib->func; lib++) {
56 luaL_requiref(L, lib->name, lib->func, 1);
57 lua_pop(L, 1); /* remove lib */
61 for (lib = preloadedlibs; lib->func; lib
[all...]
/external/syslinux/com32/lua/src/
H A Dlinit.c55 const luaL_Reg *lib; local
57 for (lib = loadedlibs; lib->func; lib++) {
58 luaL_requiref(L, lib->name, lib->func, 1);
59 lua_pop(L, 1); /* remove lib */
63 for (lib = preloadedlibs; lib->func; lib
[all...]
/external/valgrind/drd/tests/
H A Ddlopen_main.c8 const char *lib = argc > 1 ? argv[1] : "./libfoo.so"; local
13 handle = dlopen(lib, RTLD_NOW);
/external/emma/core/java12/com/vladium/jcd/lib/
H A DUDataInputStream.java9 package com.vladium.jcd.lib;
H A DUDataOutputStream.java9 package com.vladium.jcd.lib;
/external/libese/tools/ese_replay/
H A Dhw.h28 const char *lib; member in struct:Hardware
/external/python/cpython2/Lib/ctypes/test/
H A Dtest_libc.py6 lib = CDLL(_ctypes_test.__file__) variable
10 lib.my_sqrt.argtypes = c_double,
11 lib.my_sqrt.restype = c_double
12 self.assertEqual(lib.my_sqrt(4.0), 2.0)
14 self.assertEqual(lib.my_sqrt(2.0), math.sqrt(2.0))
18 lib.my_qsort.argtypes = c_void_p, c_size_t, c_size_t, comparefunc
19 lib.my_qsort.restype = None
25 lib.my_qsort(chars, len(chars)-1, sizeof(c_char), comparefunc(sort))
H A Dtest_stringptr.py6 lib = CDLL(_ctypes_test.__file__) variable
45 strchr = lib.my_strchr
H A Dtest_funcptr.py11 lib = CDLL(_ctypes_test.__file__) variable
97 strchr = lib.my_strchr
104 strtok = lib.my_strtok
/external/python/cpython2/Python/
H A Ddynload_atheos.c21 int lib; local
27 lib = load_library(pathname, 0);
28 if (lib < 0) {
40 if (get_symbol_address(lib, funcname, -1, &p) < 0) {
H A Ddynload_hpux.c26 shl_t lib; local
36 lib = shl_load(pathname, flags, 0);
38 if (lib == NULL) {
50 if (shl_findsym(&lib, funcname, TYPE_UNDEFINED, (void *) &p) == -1) {
51 shl_unload(lib);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_libignore.cc31 Lib *lib = &libs_[count_++]; local
32 lib->templ = internal_strdup(name_templ);
33 lib->name = nullptr;
34 lib->real_name = nullptr;
35 lib->loaded = false;
45 Lib *lib = &libs_[i]; local
46 if (!lib->loaded && (!lib->real_name) &&
47 TemplateMatch(lib->templ, name))
48 lib
56 Lib *lib = &libs_[i]; local
[all...]
/external/compiler-rt/test/asan/TestCases/Posix/
H A Dasan-symbolize-sanity-test.cc27 void *lib = dlopen(path.c_str(), RTLD_NOW); local
28 if (!lib) {
32 fun_t *inc2 = (fun_t*)dlsym(lib, "inc2");
H A Dshared-lib-test.cc25 void *lib = dlopen(path.c_str(), RTLD_NOW); local
26 if (!lib) {
30 fun_t *inc = (fun_t*)dlsym(lib, "inc");
38 // CHECK: {{ #1 0x.* in main .*shared-lib-test.cc:}}[[@LINE-4]]
H A Ddlclose-test.cc51 void *lib = dlopen(path.c_str(), RTLD_NOW); local
52 if (!lib) {
56 fun_t *get = (fun_t*)dlsym(lib, "get_address_of_static_var");
68 if (dlclose(lib)) {
/external/llvm/bindings/python/llvm/
H A Dbit_reader.py14 lib = get_library() variable
19 result = lib.LLVMParseBitcode2(mem_buffer, byref(module))
30 register_library(lib)
/external/clang/lib/StaticAnalyzer/Frontend/
H A DCheckerRegistration.cpp56 DynamicLibrary lib = DynamicLibrary::getPermanentLibrary(i->c_str(), &err); local
57 if (!lib.isValid()) {
64 (const char *) lib.getAddressOfSymbol("clang_analyzerAPIVersionString");
72 (RegisterCheckersFn) (intptr_t) lib.getAddressOfSymbol(
/external/clang/test/Lexer/
H A Dcxx0x_keyword_as_cxx98.cpp7 namespace lib { namespace

Completed in 766 milliseconds

1234