/freebsd-10.3-release/contrib/netbsd-tests/lib/libc/tls/ |
H A D | t_tls_dlopen.c | 86 void *handle; local 93 handle = dlopen("h_tls_dlopen.so", RTLD_NOW | RTLD_LOCAL); 94 ATF_REQUIRE(handle != NULL); 96 testf_helper = dlsym(handle, "testf_dso_helper"); 107 dlclose(handle);
|
/freebsd-10.3-release/contrib/netbsd-tests/lib/libpthread/dlopen/ |
H A D | t_dso_pthread_create.c | 66 void *handle; local 77 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL); 78 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror()); 80 testf_dso_pthread_create = dlsym(handle, "testf_dso_pthread_create"); 87 ATF_REQUIRE(dlclose(handle) == 0);
|
H A D | t_main_pthread_create.c | 82 void *handle; local 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);
|
/freebsd-10.3-release/contrib/netbsd-tests/libexec/ld.elf_so/ |
H A D | t_ifunc.c | 53 void *handle; local 62 handle = dlopen("libh_helper_ifunc_dso.so", RTLD_LAZY); 65 ATF_CHECK(handle != NULL); 67 sym = dlsym(handle, "ifunc"); 75 dlclose(handle);
|
/freebsd-10.3-release/lib/libsdp/ |
H A D | service.c | 47 uint8_t const *data, uint32_t datalen, uint32_t *handle) 101 if (handle != NULL) { 102 *handle = (uint32_t) ss->rsp[--len]; 103 *handle |= (uint32_t) ss->rsp[--len] << 8; 104 *handle |= (uint32_t) ss->rsp[--len] << 16; 105 *handle |= (uint32_t) ss->rsp[--len] << 24; 112 sdp_unregister_service(void *xss, uint32_t handle) argument 125 if (sizeof(pdu) + sizeof(handle) > SDP_LOCAL_MTU) { 132 pdu.len = htons(sizeof(handle)); 134 handle 46 sdp_register_service(void *xss, uint16_t uuid, bdaddr_p const bdaddr, uint8_t const *data, uint32_t datalen, uint32_t *handle) argument 155 sdp_change_service(void *xss, uint32_t handle, uint8_t const *data, uint32_t datalen) argument [all...] |
/freebsd-10.3-release/sys/dev/drm/ |
H A D | drm_context.c | 48 DRM_ERROR("Attempt to free invalid context handle: %d\n", 150 request->handle = (void *)map->handle; 163 if (map->handle == request->handle) { 225 ctx.handle = i; 240 ctx->handle = drm_ctxbitmap_next(dev); 241 if (ctx->handle == DRM_KERNEL_CONTEXT) { 243 ctx->handle = drm_ctxbitmap_next(dev); 245 DRM_DEBUG("%d\n", ctx->handle); [all...] |
/freebsd-10.3-release/contrib/apr-util/include/ |
H A D | apr_dbd.h | 113 * @param handle - pointer to handle to return 145 apr_dbd_t **handle, 153 * @param handle - pointer to handle to return 160 apr_dbd_t **handle); 165 * @param handle - handle to close 169 apr_dbd_t *handle); 180 /** apr_dbd_native_handle: get native database handle o [all...] |
/freebsd-10.3-release/contrib/ntp/include/ |
H A D | timepps-Solaris.h | 222 * implementation uses the handle as a pointer so it must be large 228 * create PPS handle from file descriptor 234 pps_handle_t *handle /* returned handle */ 244 if (!handle) { 269 *handle = (pps_handle_t)punit; 274 * release PPS handle 279 pps_handle_t handle 288 if (!handle) { 290 return (-1); /* bad handle */ 302 time_pps_setparams( pps_handle_t handle, const pps_params_t *params ) argument 394 time_pps_getparams( pps_handle_t handle, pps_params_t *params ) argument 425 time_pps_getcap( pps_handle_t handle, int *mode ) argument 452 time_pps_fetch( pps_handle_t handle, const int tsformat, pps_info_t *ppsinfo, const struct timespec *timeout ) argument 547 time_pps_kcbind( pps_handle_t handle, const int kernel_consumer, const int edge, const int tsformat ) argument [all...] |
/freebsd-10.3-release/lib/libc/iconv/ |
H A D | bsd_iconv.c | 55 __bsd___iconv_open(const char *out, const char *in, struct _citrus_iconv *handle) argument 63 * //ignore, //translate, etc) and we just don't handle them. 74 ret = _citrus_iconv_open(&handle, in, out_noslashes); 77 ret = _citrus_iconv_open(&handle, in, out); 85 handle->cv_shared->ci_discard_ilseq = strcasestr(out, "//IGNORE"); 86 handle->cv_shared->ci_ilseq_invalid = false; 87 handle->cv_shared->ci_hooks = NULL; 89 return ((iconv_t)(void *)handle); 102 struct _citrus_iconv *handle; local 104 handle 109 __bsd_iconv_close(iconv_t handle) argument 123 __bsd_iconv(iconv_t handle, char **in, size_t *szin, char **out, size_t *szout) argument 144 __bsd___iconv(iconv_t handle, char **in, size_t *szin, char **out, size_t *szout, uint32_t flags, size_t *invalids) argument [all...] |
/freebsd-10.3-release/contrib/libpcap/ |
H A D | pcap-dag.c | 575 * Get a handle for a live capture from the given DAG device. Passing a NULL 585 static int dag_activate(pcap_t* handle) argument 594 char * device = handle->opt.source; 602 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "device is NULL: %s", pcap_strerror(errno)); 611 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate string for device name: %s\n", pcap_strerror(errno)); 616 if (dag_parse_name(device, newDev, strlen(device) + 16, &handle->md.dag_stream) < 0) { 617 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_parse_name: %s\n", pcap_strerror(errno)); 622 if (handle->md.dag_stream%2) { 623 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_parse_name: tx (even numbered) streams not supported for capture\n"); 630 snprintf(handle [all...] |
H A D | pcap-canusb-linux.c | 327 static void canusb_close(pcap_t* handle) argument 341 static int canusb_activate(pcap_t* handle) argument 345 handle->read_op = canusb_read_linux; 347 handle->inject_op = canusb_inject_linux; 348 handle->setfilter_op = canusb_setfilter_linux; 349 handle->setdirection_op = canusb_setdirection_linux; 350 handle->getnonblock_op = pcap_getnonblock_fd; 351 handle->setnonblock_op = pcap_setnonblock_fd; 352 handle->stats_op = canusb_stats_linux; 353 handle 383 canusb_read_linux(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument 423 canusb_inject_linux(pcap_t *handle, const void *buf, size_t size) argument 432 canusb_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument [all...] |
/freebsd-10.3-release/sys/kgssapi/ |
H A D | gssapi_impl.h | 36 gssd_ctx_id_t handle; member in struct:_gss_ctx_id_t 40 gssd_cred_id_t handle; member in struct:_gss_cred_id_t 44 gssd_name_t handle; member in struct:_gss_name_t
|
/freebsd-10.3-release/lib/libc/locale/ |
H A D | cXXrtomb_iconv.h | 59 struct _citrus_iconv *handle; local 68 handle = &cs->iconv; 72 if (_citrus_iconv_open(&handle, UTF_XX_INTERNAL, 78 handle->cv_shared->ci_discard_ilseq = true; 79 handle->cv_shared->ci_hooks = NULL; 94 err = _citrus_iconv_convert(handle, &src, &srcleft, &dst, &dstleft,
|
/freebsd-10.3-release/sys/dev/acpica/ |
H A D | acpi_video.c | 47 ACPI_HANDLE handle; member in struct:acpi_video_output 67 ACPI_HANDLE handle; member in struct:acpi_video_softc 263 sc->handle = acpi_get_handle(dev); 266 AcpiInstallNotifyHandler(sc->handle, ACPI_DEVICE_NOTIFY, 279 vid_set_switch_policy(sc->handle, DOS_SWITCH_BY_OSPM | 295 vid_set_switch_policy(sc->handle, DOS_SWITCH_BY_BIOS); 297 AcpiRemoveNotifyHandler(sc->handle, ACPI_DEVICE_NOTIFY, 326 if ((vo_get_device_status(vo->handle) & DCS_ACTIVE) == 0) 329 level = vo_get_brightness(vo->handle); 331 vo_set_brightness(vo->handle, leve 351 acpi_video_notify_handler(ACPI_HANDLE handle, UINT32 notify, void *context) argument 430 acpi_video_bind_outputs_subr(ACPI_HANDLE handle, UINT32 adr, void *context) argument 596 acpi_video_vo_bind(struct acpi_video_output *vo, ACPI_HANDLE handle) argument 671 acpi_video_vo_notify_handler(ACPI_HANDLE handle, UINT32 notify, void *context) argument 875 vid_set_switch_policy(ACPI_HANDLE handle, UINT32 policy) argument 893 vid_enum_outputs_subr(ACPI_HANDLE handle, UINT32 level __unused, void *context, void **retp __unused) argument 920 vid_enum_outputs(ACPI_HANDLE handle, void (*callback)(ACPI_HANDLE, UINT32, void *), void *context) argument 966 vo_get_brightness_levels(ACPI_HANDLE handle, int **levelp) argument 1011 vo_get_brightness(ACPI_HANDLE handle) argument 1030 vo_set_brightness(ACPI_HANDLE handle, int level) argument 1042 vo_get_device_status(ACPI_HANDLE handle) argument 1058 vo_get_graphics_state(ACPI_HANDLE handle) argument 1073 vo_set_device_state(ACPI_HANDLE handle, UINT32 state) argument [all...] |
/freebsd-10.3-release/sys/mips/cavium/ |
H A D | uart_cpu_octeonusart.c | 58 ou_bs_r_1(void *t, bus_space_handle_t handle, bus_size_t offset) argument 61 return (cvmx_read64_uint64(handle + offset)); 65 ou_bs_r_2(void *t, bus_space_handle_t handle, bus_size_t offset) argument 68 return (cvmx_read64_uint64(handle + offset)); 72 ou_bs_r_4(void *t, bus_space_handle_t handle, bus_size_t offset) argument 75 return (cvmx_read64_uint64(handle + offset)); 79 ou_bs_r_8(void *t, bus_space_handle_t handle, bus_size_t offset) argument 82 return (cvmx_read64_uint64(handle + offset));
|
/freebsd-10.3-release/contrib/apr-util/dbd/ |
H A D | apr_dbd.c | 218 apr_dbd_t **handle, 222 *handle = (driver->open)(pool, params, error); 223 if (*handle == NULL) { 226 rv = apr_dbd_check_conn(driver, pool, *handle); 230 *error = apr_dbd_error(driver, *handle, rv); 232 apr_dbd_close(driver, *handle); 240 apr_dbd_t **handle) 242 return apr_dbd_open_ex(driver,pool,params,handle,NULL); 246 apr_pool_t *pool, apr_dbd_t *handle, 249 int ret = driver->start_transaction(pool, handle, tran 245 apr_dbd_transaction_start(const apr_dbd_driver_t *driver, apr_pool_t *pool, apr_dbd_t *handle, apr_dbd_transaction_t **trans) argument 290 apr_dbd_native_handle(const apr_dbd_driver_t *driver, apr_dbd_t *handle) argument 296 apr_dbd_check_conn(const apr_dbd_driver_t *driver, apr_pool_t *pool, apr_dbd_t *handle) argument 303 apr_dbd_set_dbname(const apr_dbd_driver_t *driver, apr_pool_t *pool, apr_dbd_t *handle, const char *name) argument 310 apr_dbd_query(const apr_dbd_driver_t *driver, apr_dbd_t *handle, int *nrows, const char *statement) argument 317 apr_dbd_select(const apr_dbd_driver_t *driver, apr_pool_t *pool, apr_dbd_t *handle, apr_dbd_results_t **res, const char *statement, int random) argument 357 apr_dbd_error(const apr_dbd_driver_t *driver, apr_dbd_t *handle, int errnum) argument 363 apr_dbd_escape(const apr_dbd_driver_t *driver, apr_pool_t *pool, const char *string, apr_dbd_t *handle) argument 370 apr_dbd_prepare(const apr_dbd_driver_t *driver, apr_pool_t *pool, apr_dbd_t *handle, const char *query, const char *label, apr_dbd_prepared_t **statement) argument 481 apr_dbd_pquery(const apr_dbd_driver_t *driver, apr_pool_t *pool, apr_dbd_t *handle, int *nrows, apr_dbd_prepared_t *statement, int nargs, const char **args) argument 490 apr_dbd_pselect(const apr_dbd_driver_t *driver, apr_pool_t *pool, apr_dbd_t *handle, apr_dbd_results_t **res, apr_dbd_prepared_t *statement, int random, int nargs, const char **args) argument 499 apr_dbd_pvquery(const apr_dbd_driver_t *driver, apr_pool_t *pool, apr_dbd_t *handle, int *nrows, apr_dbd_prepared_t *statement, ...) argument 512 apr_dbd_pvselect(const apr_dbd_driver_t *driver, apr_pool_t *pool, apr_dbd_t *handle, apr_dbd_results_t **res, apr_dbd_prepared_t *statement, int random, ...) argument 526 apr_dbd_pbquery(const apr_dbd_driver_t *driver, apr_pool_t *pool, apr_dbd_t *handle, int *nrows, apr_dbd_prepared_t *statement, const void **args) argument 535 apr_dbd_pbselect(const apr_dbd_driver_t *driver, apr_pool_t *pool, apr_dbd_t *handle, apr_dbd_results_t **res, apr_dbd_prepared_t *statement, int random, const void **args) argument 544 apr_dbd_pvbquery(const apr_dbd_driver_t *driver, apr_pool_t *pool, apr_dbd_t *handle, int *nrows, apr_dbd_prepared_t *statement, ...) argument 557 apr_dbd_pvbselect(const apr_dbd_driver_t *driver, apr_pool_t *pool, apr_dbd_t *handle, apr_dbd_results_t **res, apr_dbd_prepared_t *statement, int random, ...) argument [all...] |
/freebsd-10.3-release/sys/sys/ |
H A D | timepps.h | 179 time_pps_create(int filedes, pps_handle_t *handle) argument 183 *handle = -1; 187 *handle = filedes; 192 time_pps_destroy(pps_handle_t handle) argument 194 return (ioctl(handle, PPS_IOC_DESTROY, 0)); 198 time_pps_setparams(pps_handle_t handle, const pps_params_t *ppsparams) argument 200 return (ioctl(handle, PPS_IOC_SETPARAMS, ppsparams)); 204 time_pps_getparams(pps_handle_t handle, pps_params_t *ppsparams) argument 206 return (ioctl(handle, PPS_IOC_GETPARAMS, ppsparams)); 210 time_pps_getcap(pps_handle_t handle, in argument 216 time_pps_fetch(pps_handle_t handle, const int tsformat, pps_info_t *ppsinfobuf, const struct timespec *timeout) argument 234 time_pps_fetch_ffc(pps_handle_t handle, const int tsformat, pps_info_ffc_t *ppsinfobuf, const struct timespec *timeout) argument 253 time_pps_kcbind(pps_handle_t handle, const int kernel_consumer, const int edge, const int tsformat) argument [all...] |
H A D | iconv.h | 155 int iconv_open(const char *to, const char *from, void **handle); 156 int iconv_close(void *handle); 157 int iconv_conv(void *handle, const char **inbuf, 159 int iconv_conv_case(void *handle, const char **inbuf, 161 int iconv_convchr(void *handle, const char **inbuf, 163 int iconv_convchr_case(void *handle, const char **inbuf, 166 char* iconv_convstr(void *handle, char *dst, const char *src); 167 void* iconv_convmem(void *handle, void *dst, const void *src, int size); 170 int towlower(int c, void *handle); 171 int towupper(int c, void *handle); [all...] |
/freebsd-10.3-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | win32_xlate.h | 32 /* Set *XLATE_P to a handle node for converting from FROMPAGE to TOPAGE. 42 /* Convert SRC_LENGTH bytes of SRC_DATA in NODE->handle, store the result 44 apr_status_t svn_subr__win32_xlate_to_stringbuf(win32_xlate_t *handle,
|
/freebsd-10.3-release/crypto/heimdal/lib/gssapi/krb5/ |
H A D | creds.c | 41 gsskrb5_cred handle = (gsskrb5_cred)cred_handle; local 51 if (handle->usage != GSS_C_INITIATE && handle->usage != GSS_C_BOTH) { 62 type = krb5_cc_get_type(context, handle->ccache); 72 ret = _krb5_get_krbtgt(context, handle->ccache, 73 handle->principal->realm, 97 ret = krb5_cc_get_full_name(context, handle->ccache, &str); 164 gsskrb5_cred handle; local 240 handle = calloc(1, sizeof(*handle)); [all...] |
/freebsd-10.3-release/crypto/heimdal/lib/krb5/ |
H A D | krbhst-test.c | 87 krb5_krbhst_handle handle; local 93 krb5_krbhst_init(context, argv[i], types[j], &handle); 94 while(krb5_krbhst_next_as_string(context, handle, 97 krb5_krbhst_reset(context, handle);
|
H A D | test_plugin.c | 89 krb5_krbhst_handle handle; local 109 &handle); 114 while(krb5_krbhst_next_as_string(context, handle, host, sizeof(host)) == 0){ 122 krb5_krbhst_free(context, handle);
|
/freebsd-10.3-release/sys/dev/agp/ |
H A D | agpvar.h | 96 * aperture. The value returned is an opaque handle which can be 104 void agp_free_memory(device_t dev, void *handle); 111 int agp_bind_memory(device_t dev, void *handle, vm_offset_t offset); 117 int agp_unbind_memory(device_t dev, void *handle); 123 void agp_memory_info(device_t dev, void *handle, struct agp_memory_info *mi);
|
/freebsd-10.3-release/contrib/apr/include/arch/unix/ |
H A D | apr_arch_dso.h | 57 void *handle; member in struct:apr_dso_handle_t
|
/freebsd-10.3-release/sys/rpc/ |
H A D | getnetconfig.c | 98 getnetconfig(void *handle) argument 100 struct netconfig **nconfp = (struct netconfig **) handle; 132 endnetconfig(void * handle) argument 134 struct netconfig **nconfp = (struct netconfig **) handle;
|