Home
last modified time | relevance | path

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

/bionic/libm/
DAndroid.bp34 "upstream-freebsd/lib/msun/bsdsrc/b_tgamma.c",
35 "upstream-freebsd/lib/msun/src/catrig.c",
36 "upstream-freebsd/lib/msun/src/catrigf.c",
37 "upstream-freebsd/lib/msun/src/e_acos.c",
38 "upstream-freebsd/lib/msun/src/e_acosf.c",
39 "upstream-freebsd/lib/msun/src/e_acosh.c",
40 "upstream-freebsd/lib/msun/src/e_acoshf.c",
41 "upstream-freebsd/lib/msun/src/e_asin.c",
42 "upstream-freebsd/lib/msun/src/e_asinf.c",
43 "upstream-freebsd/lib/msun/src/e_atan2.c",
[all …]
/bionic/tests/
Delftls_dl_test.cpp56 void* lib = dlopen("libtest_elftls_shared_var_ie.so", RTLD_LOCAL | RTLD_NOW); in TEST() local
57 ASSERT_NE(nullptr, lib); in TEST()
59 auto bump_shared_var = reinterpret_cast<int(*)()>(dlsym(lib, "bump_shared_var")); in TEST()
93 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST() local
94 ASSERT_NE(nullptr, lib); in TEST()
96 auto bump_shared_var = reinterpret_cast<int(*)()>(dlsym(lib, "bump_shared_var")); in TEST()
109 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST() local
110 ASSERT_NE(nullptr, lib); in TEST()
112 auto bump_local_vars = reinterpret_cast<int(*)()>(dlsym(lib, "bump_local_vars")); in TEST()
141 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST() local
[all …]
Ddl_test.cpp371 static void RelocationsTest(const char* lib, const char* expectation) { in RelocationsTest() argument
374 const std::string path = GetTestlibRoot() + "/" + lib; in RelocationsTest()
382 void* handle = dlopen(lib, RTLD_NOW); in RelocationsTest()
385 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.bp257 "upstream-openbsd/lib/libc/locale/_def_time.c",
258 "upstream-openbsd/lib/libc/time/wcsftime.c",
302 "upstream-netbsd/lib/libc/isc/ev_streams.c",
303 "upstream-netbsd/lib/libc/isc/ev_timers.c",
318 "upstream-netbsd/lib/libc/include",
336 "upstream-freebsd/lib/libc/gen/ldexp.c",
337 "upstream-freebsd/lib/libc/stdlib/getopt_long.c",
338 "upstream-freebsd/lib/libc/stdlib/hcreate.c",
339 "upstream-freebsd/lib/libc/stdlib/hcreate_r.c",
340 "upstream-freebsd/lib/libc/stdlib/hdestroy_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}
Dcoverage.sh59 --object=$OUT/symbols/apex/com.android.runtime/lib/bionic/libc.so \
60 --object=$OUT/symbols/apex/com.android.runtime/lib/bionic/libm.so \
/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.md84 should avoid saying something like `/system/lib/libfoo.so` and just say
116 find `/system/lib/libc.so` because it’s already loaded. This also meant
212 platforms/android-API/usr/lib.
397 dlopen failed: "/data/data/com.example.bad/lib.so" has unsupported e_shentsize: 0x0 (expected 0x28)
/bionic/tests/libs/
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()
Dtls_properties_helper.cpp77 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in test_iter_tls() local
DAndroid.bp431 // internal lib.
574 // |-> dt_runpath_y/lib[64]/libtest_dt_runpath_y.so
666 // A leaf library in lib or lib64 directory
674 relative_install_path: "bionic-loader-test-libs/dt_runpath_y/lib",
1008 // lib v1 - this one used during static linking but never used at runtime
1019 // lib v2 - to make libtest_versioned_uselibv2.so use version 2 of versioned_function()
1757 " PRIVATE_LIB_OR_LIB64=lib;" +
/bionic/libc/malloc_debug/
DREADME.md296 04-15 12:00:31.305 7412 7412 E malloc_debug: #00 pc 00029310 /system/lib/libc.so
297 …04-15 12:00:31.305 7412 7412 E malloc_debug: #01 pc 00021438 /system/lib/libc.so (ne…
298 04-15 12:00:31.305 7412 7412 E malloc_debug: #02 pc 000a9e38 /system/lib/libc++.so
299 04-15 12:00:31.305 7412 7412 E malloc_debug: #03 pc 000a28a8 /system/lib/libc++.so
332 04-15 12:35:33.305 7412 7412 E malloc_debug: #00 pc 00029310 /system/lib/libc.so
333 …04-15 12:35:33.305 7412 7412 E malloc_debug: #01 pc 00021438 /system/lib/libc.so (ne…
334 04-15 12:35:33.305 7412 7412 E malloc_debug: #02 pc 000a9e38 /system/lib/libc++.so
335 04-15 12:35:33.305 7412 7412 E malloc_debug: #03 pc 000a28a8 /system/lib/libc++.so
338 04-15 12:35:33.305 7412 7412 E malloc_debug: #00 pc 00029310 /system/lib/libc.so
339 …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.py239 conf.lib.clang_tokenize(self._tu, self._tu.cursor.extent,
253 conf.lib.clang_annotateTokens(self._tu, tokens_memory, count,
/bionic/docs/
Dstatus.md278 ndk-r21$ for i in `ls -1v platforms/android-*/arch-arm/usr/lib/libc.so` ; do \