Home
last modified time | relevance | path

Searched refs:lib (Results 1 – 19 of 19) sorted by relevance

/bionic/libm/
DAndroid.bp16 "upstream-freebsd/lib/msun/bsdsrc/b_exp.c",
17 "upstream-freebsd/lib/msun/bsdsrc/b_log.c",
18 "upstream-freebsd/lib/msun/bsdsrc/b_tgamma.c",
19 "upstream-freebsd/lib/msun/src/catrig.c",
20 "upstream-freebsd/lib/msun/src/catrigf.c",
21 "upstream-freebsd/lib/msun/src/e_acos.c",
22 "upstream-freebsd/lib/msun/src/e_acosf.c",
23 "upstream-freebsd/lib/msun/src/e_acosh.c",
24 "upstream-freebsd/lib/msun/src/e_acoshf.c",
25 "upstream-freebsd/lib/msun/src/e_asin.c",
[all …]
/bionic/tests/
Delftls_dl_test.cpp53 void* lib = dlopen("libtest_elftls_shared_var_ie.so", RTLD_LOCAL | RTLD_NOW); in TEST() local
54 ASSERT_NE(nullptr, lib); in TEST()
56 auto bump_shared_var = reinterpret_cast<int(*)()>(dlsym(lib, "bump_shared_var")); in TEST()
91 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST() local
92 ASSERT_NE(nullptr, lib); in TEST()
94 auto bump_shared_var = reinterpret_cast<int(*)()>(dlsym(lib, "bump_shared_var")); in TEST()
107 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST() local
108 ASSERT_NE(nullptr, lib); in TEST()
110 auto bump_local_vars = reinterpret_cast<int(*)()>(dlsym(lib, "bump_local_vars")); in TEST()
139 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST() local
[all …]
Ddl_test.cpp345 static void RelocationsTest(const char* lib, const char* expectation) { in RelocationsTest() argument
348 const std::string path = GetTestlibRoot() + "/" + lib; in RelocationsTest()
355 void* handle = dlopen(lib, RTLD_NOW); in RelocationsTest()
358 UNUSED(lib); in RelocationsTest()
Ddlext_test.cpp452 void CreateRelroFile(const char* lib, const char* relro_file, bool recursive) { in CreateRelroFile() argument
465 void* handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo_); in CreateRelroFile()
499 void TryUsingRelro(const char* lib, bool recursive) { in TryUsingRelro() argument
500 handle_ = android_dlopen_ext(lib, RTLD_NOW, &extinfo_); in TryUsingRelro()
518 void SpawnChildrenAndMeasurePss(const char* lib, const char* relro_file, bool share_relro,
620 void GetPss(bool shared_relro, const char* lib, const char* relro_file, pid_t pid, in GetPss() argument
630 if (android::base::EndsWith(vma.name, lib) || (vma.name == relro_file)) { in GetPss()
644 void DlExtRelroSharingTest::SpawnChildrenAndMeasurePss(const char* lib, const char* relro_file, in SpawnChildrenAndMeasurePss() argument
666 handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo_); in SpawnChildrenAndMeasurePss()
668 handle = dlopen(lib, RTLD_NOW); in SpawnChildrenAndMeasurePss()
[all …]
/bionic/benchmarks/linker_relocation/regen/
Dgen_bench.py131 def build_symbol_index(lib: LoadedLibrary) -> Definitions:
133 for lib in bfs_walk(lib):
134 for sym in lib.syms.values():
136 defs.setdefault(sym.name, lib)
143 for lib in bfs_walk(root):
144 rels = lib.rels
165 def make_asm_file(lib: LoadedLibrary, is_main: bool, out_filename: Path, map_out_filename: Path,
190 for d in lib.syms.values():
209 for r in lib.rels.jump_slots:
215 for r in lib.rels.got:
[all …]
Dcommon_types.py145 result['needed'] = [lib.soname for lib in self.needed]
162 for lib in bfs_walk(tree):
163 result['libs'].append(lib.to_json())
171 lib, needed = LoadedLibrary.from_json(lib_obj)
172 libraries[lib.soname] = lib
173 all_needed.append((lib, needed))
174 for lib, needed in all_needed:
175 lib.needed = [libraries[x] for x in needed]
183 lib = work_list.pop(0)
184 if lib in seen: continue
[all …]
Ddump_relocs.py214 lib = LoadedLibrary()
215 lib.soname = get_elf_soname(path)
216 if lib.soname in libraries: sys.exit(f'soname already loaded: {lib.soname}')
217 libraries[lib.soname] = lib
219 lib.syms = get_dyn_symbols(path)
220 lib.rels = scan_relocations(path, lib.syms)
225 lib.needed.append(needed_lib)
227 return lib
/bionic/libc/
DAndroid.bp218 …"upstream-openbsd/lib/libc/time/wcsftime.c", // tzcode doesn't include wcsftime, so we use the Ope…
257 "upstream-netbsd/lib/libc/isc/ev_streams.c",
258 "upstream-netbsd/lib/libc/isc/ev_timers.c",
272 "upstream-netbsd/lib/libc/include",
289 "upstream-freebsd/lib/libc/gen/ldexp.c",
290 "upstream-freebsd/lib/libc/stdlib/getopt_long.c",
291 "upstream-freebsd/lib/libc/stdlib/hcreate.c",
292 "upstream-freebsd/lib/libc/stdlib/hcreate_r.c",
293 "upstream-freebsd/lib/libc/stdlib/hdestroy_r.c",
294 "upstream-freebsd/lib/libc/stdlib/hsearch_r.c",
[all …]
/bionic/linker/
Dlinker_soinfo.cpp92 void SymbolLookupList::set_dt_symbolic_lib(soinfo* lib) { in set_dt_symbolic_lib() argument
95 libs_[0] = lib ? lib->get_lookup_lib() : SymbolLookupLib(); in set_dt_symbolic_lib()
97 begin_ = lib ? &libs_[0] : &libs_[1]; in set_dt_symbolic_lib()
129 const SymbolLookupLib* lib; in ElfW() local
136 lib = it++; in ElfW()
138 if (IsGeneral && lib->needs_sysv_lookup()) { in ElfW()
139 if (const ElfW(Sym)* sym = lib->si_->find_symbol_by_name(elf_symbol_name, vi)) { in ElfW()
140 *si_found_in = lib->si_; in ElfW()
148 name, lib->si_->get_realpath(), reinterpret_cast<void*>(lib->si_->base)); in ElfW()
151 const uint32_t word_num = (hash / kBloomMaskBits) & lib->gnu_maskwords_; in ElfW()
[all …]
Dld.config.format.md52 # Default namespace search path. Note that ${LIB} here is substituted with "lib" for 32bit targets
/bionic/build/
Drun-on-host.sh35 mkdir -p -m 0777 /system/lib
54 for i in ${TARGET_OUT}/lib/bootstrap/* ${TARGET_OUT}/lib/*; do
55 make_link /system/lib ${i}
/bionic/
DCleanSpec.mk53 $(call add-clean-step, rm -f $(PRODUCT_OUT)/system/lib/libGLES*)
62 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/apex/com.android.runtime/lib{,64})
63 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib{,64})
Dandroid-changes-for-ndk-developers.md79 should avoid saying something like `/system/lib/libfoo.so` and just say
111 find `/system/lib/libc.so` because it’s already loaded. This also meant
209 platforms/android-API/usr/lib.
394 dlopen failed: "/data/data/com.example.bad/lib.so" has unsupported e_shentsize: 0x0 (expected 0x28)
/bionic/tests/libs/
DAndroid.build.dlext_testzip.mk72 …$(LOCAL_BUILT_MODULE) : PRIVATE_LIB_OR_LIB64 := $(if $(LOCAL_2ND_ARCH_VAR_PREFIX),lib/$(TARGET_2ND…
74 $(LOCAL_BUILT_MODULE) : PRIVATE_LIB_OR_LIB64 := $(if $(LOCAL_2ND_ARCH_VAR_PREFIX),lib,lib64)
78 …ILT_MODULE) : PRIVATE_LIB_OR_LIB64 := $(if $(LOCAL_2ND_ARCH_VAR_PREFIX),lib/$(TARGET_2ND_ARCH),lib)
80 $(LOCAL_BUILT_MODULE) : PRIVATE_LIB_OR_LIB64 := lib
Delftls_dlopen_ie_error_helper.cpp38 void* lib = dlopen("libtest_elftls_shared_var_ie.so", RTLD_LOCAL | RTLD_NOW); in main() local
39 if (lib) { in main()
DAndroid.bp376 // internal lib.
519 // |-> dt_runpath_y/lib[64]/libtest_dt_runpath_y.so
611 // A leaf library in lib or lib64 directory
619 relative_install_path: "bionic-loader-test-libs/dt_runpath_y/lib",
953 // lib v1 - this one used during static linking but never used at runtime
964 // lib v2 - to make libtest_versioned_uselibv2.so use version 2 of versioned_function()
/bionic/libc/malloc_debug/
DREADME.md224 04-15 12:00:31.305 7412 7412 E malloc_debug: #00 pc 00029310 /system/lib/libc.so
225 …04-15 12:00:31.305 7412 7412 E malloc_debug: #01 pc 00021438 /system/lib/libc.so (ne…
226 04-15 12:00:31.305 7412 7412 E malloc_debug: #02 pc 000a9e38 /system/lib/libc++.so
227 04-15 12:00:31.305 7412 7412 E malloc_debug: #03 pc 000a28a8 /system/lib/libc++.so
260 04-15 12:35:33.305 7412 7412 E malloc_debug: #00 pc 00029310 /system/lib/libc.so
261 …04-15 12:35:33.305 7412 7412 E malloc_debug: #01 pc 00021438 /system/lib/libc.so (ne…
262 04-15 12:35:33.305 7412 7412 E malloc_debug: #02 pc 000a9e38 /system/lib/libc++.so
263 04-15 12:35:33.305 7412 7412 E malloc_debug: #03 pc 000a28a8 /system/lib/libc++.so
266 04-15 12:35:33.305 7412 7412 E malloc_debug: #00 pc 00029310 /system/lib/libc.so
267 …04-15 12:35:33.305 7412 7412 E malloc_debug: #01 pc 00021438 /system/lib/libc.so (ne…
[all …]
/bionic/libc/kernel/tools/
Dcpp.py234 conf.lib.clang_tokenize(self._tu, self._tu.cursor.extent,
248 conf.lib.clang_annotateTokens(self._tu, tokens_memory, count,
/bionic/docs/
Dstatus.md243 ndk-r21$ for i in `ls -1v platforms/android-*/arch-arm/usr/lib/libc.so` ; do \