/freebsd-10-stable/sys/dev/ieee488/ |
H A D | ugpib.h | 106 int ibask(int handle, int option, int *retval); 107 int ibbna(int handle, char *bdname); 108 int ibcac(int handle, int v); 109 int ibclr(int handle); 110 int ibcmd(int handle, void *buffer, long cnt); 111 int ibcmda(int handle, void *buffer, long cnt); 112 int ibconfig(int handle, int option, int value); 114 int ibdiag(int handle, void *buffer, long cnt); 115 int ibdma(int handle, int v); 116 int ibeos(int handle, in [all...] |
/freebsd-10-stable/contrib/netbsd-tests/libexec/ld.elf_so/ |
H A D | h_df_1_noopen.c | 38 void *handle; local 40 handle = dlopen("libpthread.so", RTLD_NOLOAD); 41 if (handle == NULL)
|
H A D | t_dlerror-cleared.c | 47 void *handle; local 54 handle = dlopen("libnonexistent.so", RTLD_LAZY); 55 ATF_CHECK(handle == NULL); 56 handle = dlopen("libm.so", RTLD_NOW); 57 ATF_CHECK(handle);
|
H A D | t_dlvsym.c | 45 void *handle; local 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 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 140 void *handle; local 170 void *handle; local [all...] |
/freebsd-10-stable/tools/regression/tls/ttls3/ |
H A D | tls-test.c | 34 void *handle; local 38 handle = dlopen("libtls-test.so.1", RTLD_NOW); 39 if (!handle) { 46 __gl_tls_test = dlsym(handle, "__gl_tls_test"); 50 dlclose(handle); 56 dlclose(handle);
|
/freebsd-10-stable/contrib/openpam/lib/libpam/ |
H A D | openpam_dlfunc.h | 36 dlfunc(void *handle, const char *symbol) argument 39 return ((dlfunc_t)dlsym(handle, symbol));
|
/freebsd-10-stable/contrib/netbsd-tests/lib/csu/ |
H A D | h_initfini3.cxx | 12 void *handle; local 15 handle = dlopen("h_initfini3_dso.so", RTLD_NOW | RTLD_LOCAL); 16 if (handle == NULL) 19 dlclose(handle);
|
/freebsd-10-stable/lib/libc/nameser/ |
H A D | ns_parse.c | 77 int ns_msg_getflag(ns_msg handle, int flag) { argument 78 return(((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift); 106 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) { argument 110 handle->_msg = msg; 111 handle->_eom = eom; 114 NS_GET16(handle->_id, msg); 117 NS_GET16(handle->_flags, msg); 121 NS_GET16(handle->_counts[i], msg); 124 if (handle->_counts[i] == 0) 125 handle 142 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) argument 205 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) argument [all...] |
/freebsd-10-stable/contrib/libpcap/ |
H A D | pcap-bt-linux.c | 181 bt_activate(pcap_t* handle) argument 190 if (sscanf(handle->opt.source, BT_IFACE"%d", &dev_id) != 1) 192 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 194 handle->opt.source); 199 handle->bufsize = handle->snapshot+BT_CTRL_SIZE+sizeof(pcap_bluetooth_h4_header); 200 handle->offset = BT_CTRL_SIZE; 201 handle->linktype = DLT_BLUETOOTH_HCI_H4_WITH_PHDR; 203 handle->read_op = bt_read_linux; 204 handle 297 bt_read_linux(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument 366 bt_inject_linux(pcap_t *handle, const void *buf, size_t size) argument 375 bt_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument [all...] |
H A D | pcap-linux.c | 315 static void destroy_ring(pcap_t *handle); 316 static int create_ring(pcap_t *handle, int *status); 317 static int prepare_tpacket_socket(pcap_t *handle); 340 static int enter_rfmon_mode(pcap_t *handle, int sock_fd, 343 static int iface_get_offload(pcap_t *handle); 347 static int fix_program(pcap_t *handle, struct sock_fprog *fcode, 350 static int set_kernel_filter(pcap_t *handle, struct sock_fprog *fcode); 351 static int reset_kernel_filter(pcap_t *handle); 362 pcap_t *handle; local 364 handle 445 get_mac80211_phydev(pcap_t *handle, const char *device, char *phydev_path, size_t phydev_max_pathlen) argument 521 nl80211_init(pcap_t *handle, struct nl80211_state *state, const char *device) argument 571 add_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state, const char *device, const char *mondevice) argument 667 del_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state, const char *device, const char *mondevice) argument 721 enter_rfmon_mode_mac80211(pcap_t *handle, int sock_fd, const char *device) argument 847 pcap_can_set_rfmon_linux(pcap_t *handle) argument 1166 pcap_activate_linux(pcap_t *handle) argument 1324 pcap_read_linux(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument 1339 pcap_read_packet(pcap_t *handle, pcap_handler callback, u_char *userdata) argument 1681 pcap_inject_linux(pcap_t *handle, const void *buf, size_t size) argument 1732 pcap_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument 2230 pcap_setfilter_linux_common(pcap_t *handle, struct bpf_program *filter, int is_mmapped) argument 2389 pcap_setfilter_linux(pcap_t *handle, struct bpf_program *filter) argument 2400 pcap_setdirection_linux(pcap_t *handle, pcap_direction_t d) argument 2470 map_arphrd_to_dlt(pcap_t *handle, int arptype, int cooked_ok) argument 2786 activate_new(pcap_t *handle) argument 3133 activate_mmap(pcap_t *handle, int *status) argument 3211 prepare_tpacket_socket(pcap_t *handle) argument 3274 create_ring(pcap_t *handle, int *status) argument 3592 destroy_ring(pcap_t *handle) argument 3679 pcap_get_ring_frame(pcap_t *handle, int status) argument 3706 pcap_read_linux_mmap(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument 4004 pcap_setfilter_linux_mmap(pcap_t *handle, struct bpf_program *filter) argument 4182 enter_rfmon_mode_wext(pcap_t *handle, int sock_fd, const char *device) argument 4811 enter_rfmon_mode(pcap_t *handle, int sock_fd, const char *device) argument 4851 iface_ethtool_ioctl(pcap_t *handle, int cmd, const char *cmdname) argument 4879 iface_get_offload(pcap_t *handle) argument 4956 activate_old(pcap_t *handle) argument 5238 fix_program(pcap_t *handle, struct sock_fprog *fcode, int is_mmapped) argument 5375 set_kernel_filter(pcap_t *handle, struct sock_fprog *fcode) argument 5477 reset_kernel_filter(pcap_t *handle) argument [all...] |
H A D | pcap-can-linux.c | 137 can_activate(pcap_t* handle) argument 143 handle->bufsize = 24; 144 handle->offset = 8; 145 handle->linktype = DLT_CAN_SOCKETCAN; 146 handle->read_op = can_read_linux; 147 handle->inject_op = can_inject_linux; 148 handle->setfilter_op = can_setfilter_linux; 149 handle->setdirection_op = can_setdirection_linux; 150 handle->set_datalink_op = NULL; 151 handle 212 can_read_linux(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument 266 can_inject_linux(pcap_t *handle, const void *buf, size_t size) argument 276 can_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument [all...] |
H A D | pcap-netfilter-linux.c | 77 static int nfqueue_send_verdict(const pcap_t *handle, u_int16_t group_id, u_int32_t id, u_int32_t verdict); 80 netfilter_read_linux(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument 88 len = recv(handle->fd, handle->buffer, handle->bufsize, 0); 89 if (handle->break_loop) { 90 handle->break_loop = 0; 96 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't receive packet %d:%s", errno, pcap_strerror(errno)); 100 buf = handle->buffer; 107 snprintf(handle 205 netfilter_set_datalink(pcap_t *handle, int dlt) argument 212 netfilter_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument 221 netfilter_inject_linux(pcap_t *handle, const void *buf, size_t size) argument 234 netfilter_send_config_msg(const pcap_t *handle, u_int16_t msg_type, int ack, u_int8_t family, u_int16_t res_id, const struct my_nfattr *mynfa) argument 315 nflog_send_config_msg(const pcap_t *handle, u_int8_t family, u_int16_t group_id, const struct my_nfattr *mynfa) argument 321 nflog_send_config_cmd(const pcap_t *handle, u_int16_t group_id, u_int8_t cmd, u_int8_t family) argument 336 nflog_send_config_mode(const pcap_t *handle, u_int16_t group_id, u_int8_t copy_mode, u_int32_t copy_range) argument 352 nfqueue_send_verdict(const pcap_t *handle, u_int16_t group_id, u_int32_t id, u_int32_t verdict) argument 368 nfqueue_send_config_msg(const pcap_t *handle, u_int8_t family, u_int16_t group_id, const struct my_nfattr *mynfa) argument 374 nfqueue_send_config_cmd(const pcap_t *handle, u_int16_t group_id, u_int8_t cmd, u_int16_t pf) argument 390 nfqueue_send_config_mode(const pcap_t *handle, u_int16_t group_id, u_int8_t copy_mode, u_int32_t copy_range) argument 406 netfilter_activate(pcap_t* handle) argument [all...] |
/freebsd-10-stable/sys/dev/drm2/ |
H A D | drm_memory.c | 53 #define vunmap(handle) 56 void drm_free_agp(DRM_AGP_MEM * handle, int pages) argument 61 if (!agpdev || !handle) 64 agp_free_memory(agpdev, handle); 69 int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start) argument 74 if (!agpdev || !handle) 77 return -agp_bind_memory(agpdev, handle, start * PAGE_SIZE); 81 int drm_unbind_agp(DRM_AGP_MEM * handle) argument 86 if (!agpdev || !handle) 89 return -agp_unbind_memory(agpdev, handle); [all...] |
/freebsd-10-stable/crypto/heimdal/lib/gssapi/krb5/ |
H A D | copy_ccache.c | 74 gsskrb5_cred handle; local 81 handle = calloc(1, sizeof(*handle)); 82 if (handle == NULL) { 87 HEIMDAL_MUTEX_init(&handle->cred_id_mutex); 89 handle->usage = 0; 94 handle->usage |= GSS_C_INITIATE; 97 &handle->principal); 99 free(handle); 108 handle [all...] |
H A D | add_cred.c | 51 gsskrb5_cred cred, handle; local 54 handle = NULL; 99 handle = calloc(1, sizeof(*handle)); 100 if (handle == NULL) { 106 handle->usage = cred_usage; 107 handle->lifetime = cred->lifetime; 108 handle->principal = NULL; 109 handle->keytab = NULL; 110 handle [all...] |
/freebsd-10-stable/lib/libgpib/ |
H A D | ibfoo.c | 63 ibask (int handle, int option, int * retval) argument 68 io.handle = handle; 76 ibbna (int handle, char * bdname) argument 81 io.handle = handle; 88 ibcac (int handle, int v) argument 93 io.handle = handle; 100 ibclr (int handle) argument 111 ibcmd(int handle, void * buffer, long cnt) argument 124 ibcmda(int handle, void * buffer, long cnt) argument 137 ibconfig(int handle, int option, int value) argument 166 ibdiag(int handle, void * buffer, long cnt) argument 179 ibdma(int handle, int v) argument 191 ibeos(int handle, int eos) argument 203 ibeot(int handle, int eot) argument 215 ibevent(int handle, short * event) argument 238 ibgts(int handle, int v) argument 250 ibist(int handle, int v) argument 262 iblines(int handle, short * lines) argument 274 ibllo(int handle) argument 285 ibln(int handle, int padval, int sadval, short * listenflag) argument 299 ibloc(int handle) argument 310 ibonl(int handle, int v) argument 322 ibpad(int handle, int v) argument 334 ibpct(int handle) argument 345 ibpoke(int handle, int option, int value) argument 358 ibppc(int handle, int v) argument 370 ibrd(int handle, void * buffer, long cnt) argument 383 ibrda(int handle, void * buffer, long cnt) argument 396 ibrdf(int handle, char * flname) argument 408 ibrdkey(int handle, void * buffer, int cnt) argument 421 ibrpp(int handle, char * ppr) argument 433 ibrsc(int handle, int v) argument 445 ibrsp(int handle, char * spr) argument 457 ibrsv(int handle, int v) argument 469 ibsad(int handle, int sad) argument 481 ibsgnl(int handle, int v) argument 493 ibsic(int handle) argument 504 ibsre(int handle, int v) argument 527 ibstop(int handle) argument 538 ibtmo(int handle, int tmo) argument 562 ibtrg(int handle) argument 573 ibwait(int handle, int mask) argument 585 ibwrt(int handle, const void *buffer, long cnt) argument 598 ibwrta(int handle, const void * buffer, long cnt) argument 611 ibwrtf(int handle, const char *flname) argument 623 ibwrtkey(int handle, const void *buffer, int cnt) argument 636 ibxtrc(int handle, void * buffer, long cnt) argument [all...] |
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/ |
H A D | tst.ret2.c | 47 handle(int sig) function 56 (void) signal(SIGUSR1, handle);
|
H A D | tst.weak2.c | 47 handle(int sig) function 56 (void) signal(SIGUSR1, handle);
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libpthread/dlopen/ |
H A D | t_dlopen.c | 54 void *handle; local 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 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) 110 void *handle; local 142 void *handle; local [all...] |
/freebsd-10-stable/contrib/less/ |
H A D | lglob.h | 47 #define GLOB_FIRST_FAILED(handle) ((handle) != 0) 48 #define GLOB_NEXT_NAME(handle,fndp) _dos_findnext(fndp) 49 #define GLOB_NAME_DONE(handle) 51 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \ 57 int handle; 62 #define GLOB_FIRST_FAILED(handle) ((handle) == -1) 63 #define GLOB_NEXT_NAME(handle,fndp) _findnext(handle, fnd [all...] |
/freebsd-10-stable/contrib/apr-util/test/ |
H A D | testdbd.c | 34 static void test_statement(abts_case *tc, apr_dbd_t* handle, argument 40 rv = apr_dbd_query(driver, handle, &nrows, sql); 45 static void create_table(abts_case *tc, apr_dbd_t* handle, argument 53 test_statement(tc, handle, driver, sql); 56 static void drop_table(abts_case *tc, apr_dbd_t* handle, argument 60 test_statement(tc, handle, driver, sql); 63 static void delete_rows(abts_case *tc, apr_dbd_t* handle, argument 67 test_statement(tc, handle, driver, sql); 71 static void insert_data(abts_case *tc, apr_dbd_t* handle, argument 83 rv = apr_dbd_query(driver, handle, 89 select_rows(abts_case *tc, apr_dbd_t* handle, const apr_dbd_driver_t* driver, int count) argument 139 test_escape(abts_case *tc, apr_dbd_t *handle, const apr_dbd_driver_t *driver) argument 147 test_dbd_generic(abts_case *tc, apr_dbd_t* handle, const apr_dbd_driver_t* driver) argument 180 apr_dbd_t* handle = NULL; local 208 apr_dbd_t* handle = NULL; local [all...] |
/freebsd-10-stable/contrib/wpa/src/ap/ |
H A D | vlan_util.c | 35 struct nl_sock *handle = NULL; local 55 handle = nl_socket_alloc(); 56 if (!handle) { 61 if (nl_connect(handle, NETLINK_ROUTE) < 0) { 66 if (rtnl_link_alloc_cache(handle, AF_UNSPEC, &cache) < 0) { 108 if (rtnl_link_add(handle, rlink, NLM_F_CREATE) < 0) { 122 if (handle) 123 nl_socket_free(handle); 131 struct nl_sock *handle = NULL; local 137 handle [all...] |
/freebsd-10-stable/contrib/ntp/include/ |
H A D | timepps-SCO.h | 204 * create PPS handle from file descriptor 210 pps_handle_t *handle /* returned handle */ 219 if (!handle) { 228 *handle = malloc(sizeof(pps_unit_t)); 229 if (!(*handle)) { 234 memset(*handle, 0, sizeof(pps_unit_t)); 235 (*handle)->filedes = filedes; 236 (*handle)->params.api_version = PPS_API_VERS_1; 237 (*handle) 267 time_pps_setparams( pps_handle_t handle, const pps_params_t *params ) argument 330 time_pps_getparams( pps_handle_t handle, pps_params_t *params ) argument 358 time_pps_getcap( pps_handle_t handle, int *mode ) argument 385 time_pps_fetch( pps_handle_t handle, const int tsformat, pps_info_t *ppsinfo, const struct timespec *timeout ) argument 482 time_pps_kcbind( pps_handle_t handle, const int kernel_consumer, const int edge, const int tsformat ) argument [all...] |
H A D | timepps-SunOS.h | 202 * create PPS handle from file descriptor 208 pps_handle_t *handle /* returned handle */ 215 if (!handle) { 229 *handle = malloc(sizeof(pps_unit_t)); 230 if (!(*handle)) { 235 memset(*handle, 0, sizeof(pps_unit_t)); 236 (*handle)->filedes = filedes; 237 (*handle)->params.api_version = PPS_API_VERS_1; 238 (*handle) 268 time_pps_setparams( pps_handle_t handle, const pps_params_t *params ) argument 331 time_pps_getparams( pps_handle_t handle, pps_params_t *params ) argument 359 time_pps_getcap( pps_handle_t handle, int *mode ) argument 386 time_pps_fetch( pps_handle_t handle, const int tsformat, pps_info_t *ppsinfo, const struct timespec *timeout ) argument 483 time_pps_kcbind( pps_handle_t handle, const int kernel_consumer, const int edge, const int tsformat ) argument [all...] |
/freebsd-10-stable/contrib/gdb/gdb/tui/ |
H A D | tui-wingeneral.c | 52 && data_item_win_ptr->handle != (WINDOW *) NULL) 53 wrefresh (data_item_win_ptr->handle); 62 if (win_info->handle != (WINDOW *) NULL) 63 wrefresh (win_info->handle); 85 if (win_info && win_info->handle) 90 win = win_info->handle; 111 if (win_info != NULL && win_info->generic.handle != (WINDOW *) NULL) 114 wrefresh (win_info->generic.handle); 125 && win_info->generic.handle != (WINDOW *) NULL) 128 wrefresh (win_info->generic.handle); 151 WINDOW *handle; local [all...] |