/src/tests/libexec/ld.elf_so/ |
h_df_1_noopen.c | 38 void *handle; local in function:main 40 handle = dlopen("libpthread.so", RTLD_NOLOAD); 41 if (handle == NULL)
|
h_df_1_noopen.c | 38 void *handle; local in function:main 40 handle = dlopen("libpthread.so", RTLD_NOLOAD); 41 if (handle == NULL)
|
t_dlerror-cleared.c | 47 void *handle; local in function:ATF_TC_BODY 54 handle = dlopen("libnonexistent.so", RTLD_LAZY); 55 ATF_CHECK(handle == NULL); 56 handle = dlopen("libm.so", RTLD_NOW); 57 ATF_CHECK(handle);
|
t_dlerror-cleared.c | 47 void *handle; local in function:ATF_TC_BODY 54 handle = dlopen("libnonexistent.so", RTLD_LAZY); 55 ATF_CHECK(handle == NULL); 56 handle = dlopen("libm.so", RTLD_NOW); 57 ATF_CHECK(handle);
|
t_dlerror-false.c | 47 void *handle, *sym; local in function:ATF_TC_BODY 57 handle = dlopen("libm.so", RTLD_LAZY); 60 ATF_CHECK(handle != NULL); 62 sym = dlsym(handle, "sin"); 67 dlclose(handle);
|
t_dlvsym.c | 45 void *handle; local in function:ATF_TC_BODY 53 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY); 56 ATF_CHECK(handle != NULL); 58 sym = dlvsym(handle, "testfunc", "V_1"); 65 dlclose(handle); 77 void *handle; local in function:ATF_TC_BODY 85 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY); 88 ATF_CHECK(handle != NULL); 90 sym = dlvsym(handle, "testfunc", "V_3"); 97 dlclose(handle); 110 void *handle; local in function:ATF_TC_BODY 140 void *handle; local in function:ATF_TC_BODY 170 void *handle; local in function:ATF_TC_BODY [all...] |
t_dlinfo.c | 41 atf_tc_set_md_var(tc, "descr", "dlinfo with RTLD_SELF handle works"); 56 atf_tc_set_md_var(tc, "descr", "dlinfo with invalid handle fails"); 70 atf_tc_set_md_var(tc, "descr", "dlinfo dlopen'd handle works"); 75 void *handle; local in function:ATF_TC_BODY 78 handle = dlopen("libutil.so", RTLD_LAZY); 79 ATF_REQUIRE_MSG(handle, "dlopen: %s", dlerror()); 81 rv = dlinfo(handle, RTLD_DI_LINKMAP, &map); 84 ATF_CHECK_EQ_MSG(dlclose(handle), 0, "dlclose: %s", dlerror()); 95 void *handle; local in function:ATF_TC_BODY 97 handle = dlopen("libutil.so", RTLD_LAZY) [all...] |
t_dlerror-false.c | 47 void *handle, *sym; local in function:ATF_TC_BODY 57 handle = dlopen("libm.so", RTLD_LAZY); 60 ATF_CHECK(handle != NULL); 62 sym = dlsym(handle, "sin"); 67 dlclose(handle);
|
t_dlvsym.c | 45 void *handle; local in function:ATF_TC_BODY 53 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY); 56 ATF_CHECK(handle != NULL); 58 sym = dlvsym(handle, "testfunc", "V_1"); 65 dlclose(handle); 77 void *handle; local in function:ATF_TC_BODY 85 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY); 88 ATF_CHECK(handle != NULL); 90 sym = dlvsym(handle, "testfunc", "V_3"); 97 dlclose(handle); 110 void *handle; local in function:ATF_TC_BODY 140 void *handle; local in function:ATF_TC_BODY 170 void *handle; local in function:ATF_TC_BODY [all...] |
t_dlinfo.c | 41 atf_tc_set_md_var(tc, "descr", "dlinfo with RTLD_SELF handle works"); 56 atf_tc_set_md_var(tc, "descr", "dlinfo with invalid handle fails"); 70 atf_tc_set_md_var(tc, "descr", "dlinfo dlopen'd handle works"); 75 void *handle; local in function:ATF_TC_BODY 78 handle = dlopen("libutil.so", RTLD_LAZY); 79 ATF_REQUIRE_MSG(handle, "dlopen: %s", dlerror()); 81 rv = dlinfo(handle, RTLD_DI_LINKMAP, &map); 84 ATF_CHECK_EQ_MSG(dlclose(handle), 0, "dlclose: %s", dlerror()); 95 void *handle; local in function:ATF_TC_BODY 97 handle = dlopen("libutil.so", RTLD_LAZY) [all...] |
/src/tests/lib/csu/ |
h_initfini3.cxx | 12 void *handle; local in function:main 15 handle = dlopen("h_initfini3_dso.so", RTLD_NOW | RTLD_LOCAL); 16 if (handle == NULL) 19 dlclose(handle);
|
h_initfini3.cxx | 12 void *handle; local in function:main 15 handle = dlopen("h_initfini3_dso.so", RTLD_NOW | RTLD_LOCAL); 16 if (handle == NULL) 19 dlclose(handle);
|
/src/lib/libc/citrus/ |
citrus_ctype.c | 63 _citrus_module_t handle, void *variable, size_t lenvar, 71 cc->cc_module = handle; 147 _citrus_module_t handle; local in function:_citrus_ctype_open 158 ret = _citrus_load_module(&handle, encname); 164 _citrus_unload_module(handle); 168 ret = _initctypemodule(cc, encname, handle, variable, lenvar, szpriv);
|
citrus_stdenc.c | 71 _citrus_module_t handle; local in function:_citrus_stdenc_open 93 ret = _citrus_load_module(&handle, encname); 97 ce->ce_module = handle;
|
/src/lib/libc/iconv/ |
iconv.c | 62 struct _citrus_iconv *handle; local in function:__weak_alias 64 ret = _citrus_iconv_open(&handle, _PATH_ICONV, in, out); 70 return ((iconv_t)(void *)handle); 74 iconv_close(iconv_t handle) 76 if (ISBADF(handle)) { 81 _citrus_iconv_close((struct _citrus_iconv *)(void *)handle); 87 iconv(iconv_t handle, char **in, size_t *szin, char **out, size_t *szout) 92 if (ISBADF(handle)) { 98 (struct _citrus_iconv *)(void *)handle, 109 __iconv(iconv_t handle, char **in, size_t *szin, char **out [all...] |
/src/sys/arch/macppc/stand/ofwboot/ |
ofdev.h | 39 int handle; member in struct:of_dev
|
/src/sys/arch/ofppc/stand/ofwboot/ |
ofdev.h | 39 int handle; member in struct:of_dev
|
/src/sys/arch/shark/stand/ofwboot/ |
ofdev.h | 37 int handle; member in struct:of_dev
|
/src/sys/arch/sparc/stand/ofwboot/ |
ofdev.h | 37 int handle; member in struct:of_dev
|
/src/sys/dev/acpi/ |
acpi_ged.c | 72 ACPI_HANDLE handle = aa->aa_node->ad_handle; local in function:acpi_ged_attach 74 if (ACPI_FAILURE(acpi_event_create_int(self, handle, acpi_ged_register_event, self)))
|
dwcwdt_acpi.c | 64 ACPI_HANDLE handle = aa->aa_node->ad_handle; local in function:dwcwdt_acpi_attach 70 rv = acpi_resource_parse(sc->sc_dev, handle, "_CRS", 89 if (ACPI_SUCCESS(acpi_dsd_integer(handle, "clock-frequency", &ival))) {
|
/src/sys/external/bsd/drm2/dist/drm/qxl/ |
qxl_dumb.c | 42 uint32_t handle; local in function:qxl_mode_dumb_create 69 &handle); 74 args->handle = handle; 80 uint32_t handle, uint64_t *offset_p) 86 gobj = drm_gem_object_lookup(file_priv, handle);
|
/src/sys/external/bsd/drm2/drm/ |
drm_gem_framebuffer_helper.c | 71 * Create a GEM handle for the object of the first plane (plane=0) 94 * ENOENT missing handle 127 unsigned handle = mode_cmd->handles[plane]; local in function:drm_gem_fb_create_with_funcs 131 fb->obj[plane] = drm_gem_object_lookup(file, handle); 137 /* Confirm the object is large enough to handle it. */
|
/src/tests/lib/libpthread/dlopen/ |
t_dlopen.c | 54 void *handle; local in function:ATF_TC_BODY 56 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL); 57 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror()); 59 testf_dso_null = dlsym(handle, "testf_dso_null"); 64 ATF_REQUIRE(dlclose(handle) == 0); 78 void *handle; local in function:ATF_TC_BODY 84 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL); 85 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror()); 87 testf_dso_null = dlsym(handle, "testf_dso_null"); 94 ATF_REQUIRE(dlclose(handle) == 0) 110 void *handle; local in function:ATF_TC_BODY 142 void *handle; local in function:ATF_TC_BODY [all...] |
t_main_pthread_create.c | 82 void *handle; local in function:ATF_TC_BODY 86 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL); 87 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror()); 89 testf_dso_pthread_create = dlsym(handle, "testf_dso_pthread_create"); 96 ATF_REQUIRE(dlclose(handle) == 0);
|