Searched refs:handle (Results 1 - 25 of 100) sorted by relevance

1234

/bionic/tests/libs/
H A Ddlopen_b.cpp10 void *handle = dlopen("libtest_dt_runpath_x.so", RTLD_NOW); local
11 if (handle != nullptr) {
13 return handle;
H A Dcfi_test_helper2.cpp23 void* handle; local
25 handle = dlopen("libcfi-test.so", RTLD_NOW | RTLD_NOLOAD);
26 CHECK(handle != nullptr);
27 dlclose(handle);
H A Ddlopen_testlib_dlopen_from_ctor.cpp20 void* handle = dlopen("libc.so", RTLD_NOW); local
21 dlclose(handle);
H A Dld_config_test_helper.cpp40 void* handle = dlopen(vdso_name, RTLD_NOW); local
41 if (handle == nullptr) {
45 dlclose(handle);
H A Dnamespaces_root.cpp54 void* handle = dlopen("libnstest_dlopened.so", RTLD_NOW | RTLD_GLOBAL); local
55 if (handle == nullptr) {
59 const char** result = static_cast<const char**>(dlsym(handle, "g_private_dlopened_string"));
H A Dbionic_tests_zipalign.cpp42 static bool GetEntries(ZipArchiveHandle handle, std::vector<ZipData>* entries) { argument
44 int32_t return_value = StartIteration(handle, &cookie, nullptr, nullptr);
68 static bool CreateAlignedZip(ZipArchiveHandle& handle, FILE* zip_dst, uint32_t alignment) { argument
72 if (!GetEntries(handle, &entries)) {
94 ZipArchiveStreamEntry::Create(handle, *zip_entry));
139 ZipArchiveHandle handle; local
141 int32_t return_value = OpenArchive(argv[2], &handle);
143 CloseArchive(handle);
154 bool success = CreateAlignedZip(handle, zip_dst, static_cast<uint32_t>(alignment));
156 CloseArchive(handle);
[all...]
/bionic/libc/dns/nameser/
H A Dns_parse.c77 int ns_msg_getflag(ns_msg handle, int flag) { argument
78 return((u_int32_t)((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift);
107 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) { argument
111 handle->_msg = msg;
112 handle->_eom = eom;
115 NS_GET16(handle->_id, msg);
118 NS_GET16(handle->_flags, msg);
122 NS_GET16(handle->_counts[i], msg);
125 if (handle->_counts[i] == 0)
126 handle
143 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) argument
206 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) argument
[all...]
/bionic/tests/
H A Ddlfcn_test.cpp99 void* handle = dlopen("libtest_dlsym_from_this.so", RTLD_LAZY | RTLD_LOCAL); local
100 ASSERT_TRUE(handle != nullptr) << dlerror();
109 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_DEFAULT"));
117 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol2_using_RTLD_DEFAULT"));
125 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_NEXT"));
132 dlclose(handle);
139 void* handle = dlopen("libtest_dlsym_from_this.so", RTLD_NOW | RTLD_LOCAL); local
140 ASSERT_TRUE(handle != nullptr) << dlerror();
149 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_DEFAULT"));
157 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol2_using_RTLD_DEFAUL
179 void* handle = dlopen("libtest_empty.so", RTLD_NOW); local
193 void* handle = dlopen("libtest_dlsym_from_this.so", RTLD_NOW); local
202 void* handle = dlopen("libtest_with_dependency.so", RTLD_NOW); local
215 void* handle = dlopen("libtest_simple.so", RTLD_NOW | RTLD_NOLOAD); local
230 void* handle = dlopen(soname, RTLD_NOW); local
264 void* handle = dlopen(vdso_name, RTLD_NOW); local
279 void* handle = dlopen("libtest_ifunc_variable.so", RTLD_NOW); local
311 void* handle = dlopen("libtest_ifunc.so", RTLD_NOW); local
337 void* handle = dlopen("libtest_ifunc.so", RTLD_NOW); local
352 void* handle = dlopen("libtest_ifunc.so", RTLD_LAZY); local
377 void* handle = nullptr; local
415 void* handle = dlopen("libtest_check_order_dlsym.so", RTLD_NOW | RTLD_GLOBAL); local
460 void* handle = dlopen("libtest_check_order_reloc_siblings.so", RTLD_NOW | RTLD_NOLOAD); local
484 void* handle = dlopen("libtest_check_order_reloc_siblings.so", RTLD_NOW | RTLD_NOLOAD); local
525 void* handle = dlopen("libtest_check_order_reloc_siblings.so", RTLD_NOW | RTLD_NOLOAD); local
571 void* handle = dlopen("libtest_check_order_reloc_siblings.so", RTLD_NOW | RTLD_NOLOAD); local
602 void* handle = dlopen("libtest_two_parents_parent1.so", RTLD_NOW | RTLD_LOCAL); local
646 void* handle = dlopen("libtest_check_order_reloc_root.so", RTLD_NOW | RTLD_NOLOAD); local
669 void* handle = dlopen("libtest_simple.so", RTLD_NOW); local
693 void* handle = dlopen("libtest_simple.so", RTLD_NOW | RTLD_GLOBAL); local
718 void* handle = dlopen("libtest_with_dependency_loop.so", RTLD_NOW); local
742 void* handle = dlopen("libtest_nodelete_1.so", RTLD_NOW | RTLD_NODELETE); local
775 void* handle = dlopen("libtest_nodelete_2.so", RTLD_NOW); local
802 void* handle = dlopen("libtest_nodelete_dt_flags_1.so", RTLD_NOW); local
814 void* handle = dlopen("libtest_dlsym_df_1_global.so", RTLD_NOW); local
834 void* handle = dlopen("libtest_simple.so", RTLD_NOW); local
851 void* handle = dlopen("/child/thread", RTLD_NOW); local
861 void* handle = dlopen("/main/thread", RTLD_NOW); local
877 void* handle = dlopen("/main/thread", RTLD_NOW); local
1045 void* handle = dlopen("libgnu-hash-table-library.so", RTLD_NOW); local
1066 void* handle = dlopen("libsysv-hash-table-library.so", RTLD_NOW); local
1085 void* handle = dlopen("libelf-tls-library.so", RTLD_NOW); local
1092 void* handle; local
1149 void* handle = dlopen("libtest_dlsym_weak_func.so", RTLD_NOW); local
1160 void* handle = dlopen("libtest_dlopen_weak_undefined_func.so", RTLD_NOW); local
1187 void* handle = dlopen("libtest_dlopen_from_ctor_main.so", RTLD_NOW); local
1203 void* handle = dlopen(libname, RTLD_NOW); local
1224 void* handle = dlopen("libtest_versioned_uselibv1.so", RTLD_NOW); local
1234 void* handle = dlopen("libtest_versioned_uselibv2.so", RTLD_NOW); local
1244 void* handle = dlopen("libtest_versioned_uselibv2_other.so", RTLD_NOW); local
1254 void* handle = dlopen("libtest_versioned_uselibv3_other.so", RTLD_NOW); local
1264 void* handle = dlopen("libtest_versioned_lib.so", RTLD_NOW); local
1274 void* handle = dlopen("libtest_versioned_lib.so", RTLD_NOW); local
1304 void* handle = dlopen("libtest_dt_runpath_d.so", RTLD_NOW); local
1319 void* handle = dlopen(libpath.c_str(), RTLD_NOW); local
1345 void* handle = dlopen("libtest_thread_local_dtor.so", RTLD_NOW | RTLD_NOLOAD); local
1388 void* handle = dlopen("libtest_thread_local_dtor.so", RTLD_NOW); local
1516 void* handle = dlopen(libpath.c_str(), RTLD_NOW); local
1527 void* handle = dlopen(libpath.c_str(), RTLD_NOW); local
1538 void* handle = dlopen(libpath.c_str(), RTLD_NOW); local
1549 void* handle = dlopen(libpath.c_str(), RTLD_NOW); local
1560 void* handle = dlopen(libpath.c_str(), RTLD_NOW); local
1571 void* handle = dlopen(libpath.c_str(), RTLD_NOW); local
1582 void* handle = dlopen(libpath.c_str(), RTLD_NOW); local
1593 void* handle = dlopen(libpath.c_str(), RTLD_NOW); local
1604 void* handle = dlopen(libpath.c_str(), RTLD_NOW); local
1611 void* handle = dlopen("libtest_dlopen_df_1_global.so", RTLD_NOW); local
[all...]
H A Datexit_test.cpp42 void* handle = dlopen("libtest_atexit.so", RTLD_NOW); local
43 ASSERT_TRUE(handle != nullptr);
47 get_cxx_ctor_called = reinterpret_cast<int_fn>(dlsym(handle, "get_cxx_ctor_called"));
48 get_attr_ctor_called = reinterpret_cast<int_fn>(dlsym(handle, "get_attr_ctor_called"));
55 void* sym = dlsym(handle, "register_atexit");
59 ASSERT_EQ(0, dlclose(handle));
H A Dcfi_test.cpp40 void* handle; local
41 handle = dlopen("libcfi-test.so", RTLD_NOW | RTLD_LOCAL);
42 ASSERT_TRUE(handle != nullptr) << dlerror();
46 #define SYM(type, name) auto name = reinterpret_cast<type>(dlsym(handle, #name))
107 EXPECT_EQ(handle2, handle);
115 dlclose(handle);
126 void* handle; local
127 handle = dlopen("libcfi-test-bad.so", RTLD_NOW | RTLD_LOCAL);
128 ASSERT_FALSE(handle != nullptr) << dlerror();
130 handle
[all...]
/bionic/libdl/
H A Dlibdl_static.c31 void* dlsym(void* handle __unused, const char* symbol __unused) {
35 void* dlvsym(void* handle __unused,
45 int dlclose(void* handle __unused) {
/bionic/libc/kernel/uapi/drm/
H A Darmada_drm.h29 __u32 handle; member in struct:drm_armada_gem_create
34 __u32 handle; member in struct:drm_armada_gem_mmap
43 __u32 handle; member in struct:drm_armada_gem_pwrite
H A Domap_drm.h49 __u32 handle; member in struct:drm_omap_gem_new
57 __u32 handle; member in struct:drm_omap_gem_cpu_prep
61 __u32 handle; member in struct:drm_omap_gem_cpu_fini
67 __u32 handle; member in struct:drm_omap_gem_info
H A Dtegra_drm.h29 __u32 handle; member in struct:drm_tegra_gem_create
32 __u32 handle; member in struct:drm_tegra_gem_mmap
74 __u32 handle; member in struct:drm_tegra_cmdbuf
81 __u32 handle; member in struct:drm_tegra_reloc::__anon228
85 __u32 handle; member in struct:drm_tegra_reloc::__anon229
92 __u32 handle; member in struct:drm_tegra_waitchk
116 __u32 handle; member in struct:drm_tegra_gem_set_tiling
122 __u32 handle; member in struct:drm_tegra_gem_get_tiling
130 __u32 handle; member in struct:drm_tegra_gem_set_flags
134 __u32 handle; member in struct:drm_tegra_gem_get_flags
[all...]
H A Dvc4_drm.h93 __u32 handle; member in struct:drm_vc4_wait_bo
100 __u32 handle; member in struct:drm_vc4_create_bo
104 __u32 handle; member in struct:drm_vc4_mmap_bo
112 __u32 handle; member in struct:drm_vc4_create_shader_bo
116 __u32 handle; member in struct:drm_vc4_get_hang_state_bo
154 __u32 handle; member in struct:drm_vc4_get_tiling
159 __u32 handle; member in struct:drm_vc4_set_tiling
164 __u32 handle; member in struct:drm_vc4_label_bo
173 __u32 handle; member in struct:drm_vc4_gem_madvise
/bionic/libc/versioner-dependencies/common/kernel_uapi/drm/
H A Darmada_drm.h29 __u32 handle; member in struct:drm_armada_gem_create
34 __u32 handle; member in struct:drm_armada_gem_mmap
43 __u32 handle; member in struct:drm_armada_gem_pwrite
H A Domap_drm.h49 __u32 handle; member in struct:drm_omap_gem_new
57 __u32 handle; member in struct:drm_omap_gem_cpu_prep
61 __u32 handle; member in struct:drm_omap_gem_cpu_fini
67 __u32 handle; member in struct:drm_omap_gem_info
H A Dtegra_drm.h29 __u32 handle; member in struct:drm_tegra_gem_create
32 __u32 handle; member in struct:drm_tegra_gem_mmap
74 __u32 handle; member in struct:drm_tegra_cmdbuf
81 __u32 handle; member in struct:drm_tegra_reloc::__anon1375
85 __u32 handle; member in struct:drm_tegra_reloc::__anon1376
92 __u32 handle; member in struct:drm_tegra_waitchk
116 __u32 handle; member in struct:drm_tegra_gem_set_tiling
122 __u32 handle; member in struct:drm_tegra_gem_get_tiling
130 __u32 handle; member in struct:drm_tegra_gem_set_flags
134 __u32 handle; member in struct:drm_tegra_gem_get_flags
[all...]
H A Dvc4_drm.h93 __u32 handle; member in struct:drm_vc4_wait_bo
100 __u32 handle; member in struct:drm_vc4_create_bo
104 __u32 handle; member in struct:drm_vc4_mmap_bo
112 __u32 handle; member in struct:drm_vc4_create_shader_bo
116 __u32 handle; member in struct:drm_vc4_get_hang_state_bo
154 __u32 handle; member in struct:drm_vc4_get_tiling
159 __u32 handle; member in struct:drm_vc4_set_tiling
164 __u32 handle; member in struct:drm_vc4_label_bo
173 __u32 handle; member in struct:drm_vc4_gem_madvise
/bionic/tools/versioner/dependencies/common/kernel_uapi/drm/
H A Darmada_drm.h29 __u32 handle; member in struct:drm_armada_gem_create
34 __u32 handle; member in struct:drm_armada_gem_mmap
43 __u32 handle; member in struct:drm_armada_gem_pwrite
H A Domap_drm.h49 __u32 handle; member in struct:drm_omap_gem_new
57 __u32 handle; member in struct:drm_omap_gem_cpu_prep
61 __u32 handle; member in struct:drm_omap_gem_cpu_fini
67 __u32 handle; member in struct:drm_omap_gem_info
H A Dtegra_drm.h29 __u32 handle; member in struct:drm_tegra_gem_create
32 __u32 handle; member in struct:drm_tegra_gem_mmap
74 __u32 handle; member in struct:drm_tegra_cmdbuf
81 __u32 handle; member in struct:drm_tegra_reloc::__anon2645
85 __u32 handle; member in struct:drm_tegra_reloc::__anon2646
92 __u32 handle; member in struct:drm_tegra_waitchk
116 __u32 handle; member in struct:drm_tegra_gem_set_tiling
122 __u32 handle; member in struct:drm_tegra_gem_get_tiling
130 __u32 handle; member in struct:drm_tegra_gem_set_flags
134 __u32 handle; member in struct:drm_tegra_gem_get_flags
[all...]
/bionic/libc/kernel/uapi/linux/
H A Dfirewire-cdev.h60 __u32 handle; member in struct:fw_cdev_event_request
73 __u32 handle; member in struct:fw_cdev_event_request2
92 __u32 handle; member in struct:fw_cdev_event_iso_resource
159 __u32 handle; member in struct:fw_cdev_send_response
165 __u32 handle; member in struct:fw_cdev_allocate
169 __u32 handle; member in struct:fw_cdev_deallocate
181 __u32 handle; member in struct:fw_cdev_add_descriptor
184 __u32 handle; member in struct:fw_cdev_remove_descriptor
195 __u32 handle; member in struct:fw_cdev_create_iso_context
199 __u32 handle; member in struct:fw_cdev_set_iso_channels
216 __u32 handle; member in struct:fw_cdev_queue_iso
227 __u32 handle; member in struct:fw_cdev_start_iso
230 __u32 handle; member in struct:fw_cdev_stop_iso
233 __u32 handle; member in struct:fw_cdev_flush_iso
249 __u32 handle; member in struct:fw_cdev_allocate_iso_resource
[all...]
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dfirewire-cdev.h60 __u32 handle; member in struct:fw_cdev_event_request
73 __u32 handle; member in struct:fw_cdev_event_request2
92 __u32 handle; member in struct:fw_cdev_event_iso_resource
159 __u32 handle; member in struct:fw_cdev_send_response
165 __u32 handle; member in struct:fw_cdev_allocate
169 __u32 handle; member in struct:fw_cdev_deallocate
181 __u32 handle; member in struct:fw_cdev_add_descriptor
184 __u32 handle; member in struct:fw_cdev_remove_descriptor
195 __u32 handle; member in struct:fw_cdev_create_iso_context
199 __u32 handle; member in struct:fw_cdev_set_iso_channels
216 __u32 handle; member in struct:fw_cdev_queue_iso
227 __u32 handle; member in struct:fw_cdev_start_iso
230 __u32 handle; member in struct:fw_cdev_stop_iso
233 __u32 handle; member in struct:fw_cdev_flush_iso
249 __u32 handle; member in struct:fw_cdev_allocate_iso_resource
[all...]
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Dfirewire-cdev.h60 __u32 handle; member in struct:fw_cdev_event_request
73 __u32 handle; member in struct:fw_cdev_event_request2
92 __u32 handle; member in struct:fw_cdev_event_iso_resource
159 __u32 handle; member in struct:fw_cdev_send_response
165 __u32 handle; member in struct:fw_cdev_allocate
169 __u32 handle; member in struct:fw_cdev_deallocate
181 __u32 handle; member in struct:fw_cdev_add_descriptor
184 __u32 handle; member in struct:fw_cdev_remove_descriptor
195 __u32 handle; member in struct:fw_cdev_create_iso_context
199 __u32 handle; member in struct:fw_cdev_set_iso_channels
216 __u32 handle; member in struct:fw_cdev_queue_iso
227 __u32 handle; member in struct:fw_cdev_start_iso
230 __u32 handle; member in struct:fw_cdev_stop_iso
233 __u32 handle; member in struct:fw_cdev_flush_iso
249 __u32 handle; member in struct:fw_cdev_allocate_iso_resource
[all...]

Completed in 281 milliseconds

1234