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

/ndk/tests/device/whole-static-libs/jni/
H A Dmain.c12 void* lib; local
15 lib = dlopen(buf, RTLD_NOW);
16 if (lib == NULL) {
20 if (dlsym(lib, "foo2") == NULL) {
24 dlclose(lib);
/ndk/sources/android/crazy_linker/tests/
H A Dbench_load_library.cpp71 void* lib; local
75 lib = dlopen(library_path, RTLD_NOW);
77 if (!lib)
80 dlclose(lib);
/ndk/sources/cxx-stl/gabi++/tests/
H A Dmalloc_lockup.cpp97 void* lib = dlopen("libtest_malloc_lockup.so", RTLD_NOW); local
98 if (!lib) {
104 g_get_globals = reinterpret_cast<get_globals_fn>(dlsym(lib, "get_globals"));
108 dlclose(lib);
167 dlclose(lib);
/ndk/sources/android/crazy_linker/src/
H A Dcrazy_linker_wrappers.cpp174 SharedLibrary* lib = wrap->GetCrazy(); local
176 info->dli_fname = lib->base_name();
177 info->dli_fbase = reinterpret_cast<void*>(lib->load_address());
180 (void)lib->FindNearestSymbolForAddress(
H A Dcrazy_linker_library_list.cpp29 bool CheckSymbol(const char* symbol, SharedLibrary* lib) { argument
30 const ELF::Sym* entry = lib->LookupSymbolEntry(symbol);
34 void* address = reinterpret_cast<void*>(lib->load_bias() + entry->st_value);
94 LibraryView* lib = work_queue.PopFirst(); local
95 if (lib->IsCrazy()) {
96 if (lookup_state.CheckSymbol(symbol_name, lib->GetCrazy()))
98 } else if (lib->IsSystem()) {
102 void* addr = lib->LookupSymbol(symbol_name);
109 if (lib->IsCrazy()) {
110 SharedLibrary::DependencyIterator iter(lib
139 SharedLibrary* lib = wrap->GetCrazy(); local
190 SharedLibrary* lib = wrap->GetCrazy(); local
[all...]
H A Dcrazy_linker_shared_library.cpp87 SharedLibraryResolver(SharedLibrary* lib, argument
90 : lib_(lib), dependencies_(dependencies) {}
H A Dcrazy_linker_shared_library.h141 // SharedLibary::DependencyIterator iter(lib);
148 DependencyIterator(SharedLibrary* lib) argument
149 : iter_(&lib->view_), symbols_(&lib->symbols_), dep_name_(NULL) {}
H A Dcrazy_linker_api.cpp214 crazy::SharedLibrary* lib = wrap->GetCrazy(); local
215 if (!lib->SetJavaVM(
269 crazy::SharedLibrary* lib = wrap->GetCrazy(); local
270 if (!lib->CreateSharedRelro(
289 crazy::SharedLibrary* lib = wrap->GetCrazy(); local
290 if (!lib->UseSharedRelro(relro_start, relro_size, relro_fd, &context->error))
/ndk/build/core/
H A Ddefinitions-utils.mk168 # Strip any 'lib' prefix in front of a given string.
170 # Function : strip-lib-prefix
172 # Returns : module name, without any 'lib' prefix if any
173 # Usage : $(call strip-lib-prefix,$(LOCAL_MODULE))
175 strip-lib-prefix = $(1:lib%=%)
177 -test-strip-lib-prefix = \
178 $(call test-expect,,$(call strip-lib-prefix,))\
179 $(call test-expect,foo,$(call strip-lib-prefix,foo))\
180 $(call test-expect,foo,$(call strip-lib
[all...]
/ndk/sources/host-tools/make-3.81/
H A Dremake.c69 static int library_search PARAMS ((char **lib, FILE_TIMESTAMP *mtime_ptr));
1148 the library's actual name (/lib/libLIBNAME.a, etc.) is substituted into
1458 library_search (char **lib, FILE_TIMESTAMP *mtime_ptr)
1463 "/lib",
1464 "/usr/lib",
1479 char *libname = &(*lib)[2]; /* Name without the `-l'. */
1535 *lib = xstrdup (libbuf);
1546 *lib = file;
1575 *lib = xstrdup (buf);
1450 library_search(char **lib, FILE_TIMESTAMP *mtime_ptr) argument
/ndk/sources/host-tools/ndk-depends/
H A Dndk-depends.cc943 // library. This means its must begin with "lib" and end with "so"
947 !libname.compare(0, 3, _T("lib")) &&
1403 const String& lib = needed_libs[i]; local
1404 if (IsAndroidSystemLib(lib)) {
1408 if (!IsAndroidNdkCompatibleLib(lib)) {
1412 lib.c_str());
1416 lib.substr(3, lib.size() - 6).c_str());
1441 const String& lib = needed_libs[i]; local
1442 LibNode& node = deps[lib];
1461 const String& lib = needed_libs[i]; local
[all...]

Completed in 368 milliseconds