Searched refs:handle (Results 51 - 75 of 1815) sorted by relevance

1234567891011>>

/netbsd-current/external/mit/libuv/dist/src/win/
H A Dstream.c26 #include "handle-inl.h"
70 int uv__read_start(uv_stream_t* handle, argument
76 switch (handle->type) {
78 err = uv__tcp_read_start((uv_tcp_t*)handle, alloc_cb, read_cb);
81 err = uv__pipe_read_start((uv_pipe_t*)handle, alloc_cb, read_cb);
84 err = uv__tty_read_start((uv_tty_t*) handle, alloc_cb, read_cb);
94 int uv_read_stop(uv_stream_t* handle) { argument
97 if (!(handle->flags & UV_HANDLE_READING))
101 if (handle->type == UV_TTY) {
102 err = uv__tty_read_stop((uv_tty_t*) handle);
114 uv_write(uv_write_t* req, uv_stream_t* handle, const uv_buf_t bufs[], unsigned int nbufs, uv_write_cb cb) argument
146 uv_write2(uv_write_t* req, uv_stream_t* handle, const uv_buf_t bufs[], unsigned int nbufs, uv_stream_t* send_handle, uv_write_cb cb) argument
203 uv_shutdown(uv_shutdown_t* req, uv_stream_t* handle, uv_shutdown_cb cb) argument
233 uv_is_readable(const uv_stream_t* handle) argument
238 uv_is_writable(const uv_stream_t* handle) argument
243 uv_stream_set_blocking(uv_stream_t* handle, int blocking) argument
[all...]
H A Dtcp.c27 #include "handle-inl.h"
48 static int uv__tcp_nodelay(uv_tcp_t* handle, SOCKET socket, int enable) { argument
60 static int uv__tcp_keepalive(uv_tcp_t* handle, SOCKET socket, int enable, unsigned int delay) { argument
82 uv_tcp_t* handle,
90 if (handle->socket != INVALID_SOCKET)
109 handle->flags |= UV_HANDLE_EMULATE_IOCP;
121 if (!(handle->flags & UV_HANDLE_EMULATE_IOCP) && !non_ifs_lsp) {
126 handle->flags |= UV_HANDLE_SYNC_BYPASS_IOCP;
129 if (handle->flags & UV_HANDLE_TCP_NODELAY) {
130 err = uv__tcp_nodelay(handle, socke
81 uv__tcp_set_socket(uv_loop_t* loop, uv_tcp_t* handle, SOCKET socket, int family, int imported) argument
154 uv_tcp_init_ex(uv_loop_t* loop, uv_tcp_t* handle, unsigned int flags) argument
203 uv_tcp_init(uv_loop_t* loop, uv_tcp_t* handle) argument
236 uv__tcp_endgame(uv_loop_t* loop, uv_tcp_t* handle) argument
292 uv__tcp_try_bind(uv_tcp_t* handle, const struct sockaddr* addr, unsigned int addrlen, unsigned int flags) argument
355 uv_tcp_t* handle; local
374 uv_tcp_t* handle; local
391 uv__tcp_queue_accept(uv_tcp_t* handle, uv_tcp_accept_t* req) argument
475 uv__tcp_queue_read(uv_loop_t* loop, uv_tcp_t* handle) argument
549 uv_tcp_close_reset(uv_tcp_t* handle, uv_close_cb close_cb) argument
564 uv__tcp_listen(uv_tcp_t* handle, int backlog, uv_connection_cb cb) argument
725 uv__tcp_read_start(uv_tcp_t* handle, uv_alloc_cb alloc_cb, uv_read_cb read_cb) argument
785 uv__tcp_try_connect(uv_connect_t* req, uv_tcp_t* handle, const struct sockaddr* addr, unsigned int addrlen, uv_connect_cb cb) argument
885 uv_tcp_getsockname(const uv_tcp_t* handle, struct sockaddr* name, int* namelen) argument
897 uv_tcp_getpeername(const uv_tcp_t* handle, struct sockaddr* name, int* namelen) argument
909 uv__tcp_write(uv_loop_t* loop, uv_write_t* req, uv_tcp_t* handle, const uv_buf_t bufs[], unsigned int nbufs, uv_write_cb cb) argument
976 uv__tcp_try_write(uv_tcp_t* handle, const uv_buf_t bufs[], unsigned int nbufs) argument
1000 uv__process_tcp_read_req(uv_loop_t* loop, uv_tcp_t* handle, uv_req_t* req) argument
1129 uv__process_tcp_write_req(uv_loop_t* loop, uv_tcp_t* handle, uv_write_t* req) argument
1176 uv__process_tcp_accept_req(uv_loop_t* loop, uv_tcp_t* handle, uv_req_t* raw_req) argument
1224 uv__process_tcp_connect_req(uv_loop_t* loop, uv_tcp_t* handle, uv_connect_t* req) argument
1264 uv__tcp_xfer_export(uv_tcp_t* handle, int target_pid, uv__ipc_socket_xfer_type_t* xfer_type, uv__ipc_socket_xfer_info_t* xfer_info) argument
1339 uv_tcp_nodelay(uv_tcp_t* handle, int enable) argument
1358 uv_tcp_keepalive(uv_tcp_t* handle, int enable, unsigned int delay) argument
1379 uv_tcp_simultaneous_accepts(uv_tcp_t* handle, int enable) argument
1509 uv_tcp_open(uv_tcp_t* handle, uv_os_sock_t sock) argument
1555 uv__tcp_bind(uv_tcp_t* handle, const struct sockaddr* addr, unsigned int addrlen, unsigned int flags) argument
1572 uv__tcp_connect(uv_connect_t* req, uv_tcp_t* handle, const struct sockaddr* addr, unsigned int addrlen, uv_connect_cb cb) argument
[all...]
/netbsd-current/external/mit/libuv/dist/src/unix/
H A Dpipe.c33 int uv_pipe_init(uv_loop_t* loop, uv_pipe_t* handle, int ipc) { argument
34 uv__stream_init(loop, (uv_stream_t*)handle, UV_NAMED_PIPE);
35 handle->shutdown_req = NULL;
36 handle->connect_req = NULL;
37 handle->pipe_fname = NULL;
38 handle->ipc = ipc;
43 int uv_pipe_bind(uv_pipe_t* handle, const char* name) { argument
52 if (uv__stream_fd(handle) >= 0)
54 if (uv__is_closing(handle)) {
85 handle
96 uv__pipe_listen(uv_pipe_t* handle, int backlog, uv_connection_cb cb) argument
122 uv__pipe_close(uv_pipe_t* handle) argument
139 uv_pipe_open(uv_pipe_t* handle, uv_file fd) argument
175 uv_pipe_connect(uv_connect_t* req, uv_pipe_t* handle, const char* name, uv_connect_cb cb) argument
242 uv__pipe_getsockpeername(const uv_pipe_t* handle, uv__peersockfunc func, char* buffer, size_t* size) argument
286 uv_pipe_getsockname(const uv_pipe_t* handle, char* buffer, size_t* size) argument
291 uv_pipe_getpeername(const uv_pipe_t* handle, char* buffer, size_t* size) argument
296 uv_pipe_pending_instances(uv_pipe_t* handle, int count) argument
300 uv_pipe_pending_count(uv_pipe_t* handle) argument
317 uv_pipe_pending_type(uv_pipe_t* handle) argument
328 uv_pipe_chmod(uv_pipe_t* handle, int mode) argument
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdbsupport/
H A Dgdb-dlfcn.h27 void operator() (void *handle) const;
34 /* Load the dynamic library file named FILENAME, and return a handle
41 library whose handle is HANDLE. Return NULL when the symbol could
44 void *gdb_dlsym (const gdb_dlhandle_up &handle, const char *symbol);
/netbsd-current/crypto/external/bsd/openssl/dist/providers/fips/
H A Dfips_entry.c13 int OSSL_provider_init(const OSSL_CORE_HANDLE *handle, argument
18 return OSSL_provider_init_int(handle, in, out, provctx);
/netbsd-current/external/bsd/openpam/dist/lib/libpam/
H A Dopenpam_dlfunc.h52 dlfunc(void *handle, const char *symbol) argument
55 return ((dlfunc_t)dlsym(handle, symbol));
/netbsd-current/external/gpl3/gdb/dist/gdbsupport/
H A Dgdb-dlfcn.h27 void operator() (void *handle) const;
34 /* Load the dynamic library file named FILENAME, and return a handle
41 library whose handle is HANDLE. Return NULL when the symbol could
44 void *gdb_dlsym (const gdb_dlhandle_up &handle, const char *symbol);
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/
H A Dgen-unix.h49 DIR *handle; member in struct:__anon10
57 dir->handle = opendir(path);
59 if (dir->handle != NULL) {
72 if (dir->handle != NULL) {
74 dirent = readdir(dir->handle);
93 if (dir->handle != NULL) {
94 (void)closedir(dir->handle);
97 dir->handle = NULL;
/netbsd-current/external/mpl/bind/dist/lib/ns/include/ns/
H A Dnotify.h35 ns_notify_start(ns_client_t *client, isc_nmhandle_t *handle);
/netbsd-current/external/gpl3/gcc/dist/gcc/jit/
H A Djit-result.h37 typedef HMODULE handle; typedef in class:gcc::jit::result
39 typedef void* handle;
42 result(logger *logger, handle dso_handle, tempdir *tempdir_);
53 handle m_dso_handle;
/netbsd-current/external/mpl/bind/dist/lib/isc/netmgr/
H A Duv-compat.c25 isc_uv_udp_connect(uv_udp_t *handle, const struct sockaddr *addr) { argument
32 err = connect(handle->io_watcher.fd, addr, addrlen);
49 uv_tcp_close_reset(uv_tcp_t *handle, uv_close_cb close_cb) { argument
50 if (setsockopt(handle->io_watcher.fd, SOL_SOCKET, SO_LINGER,
60 uv_close((uv_handle_t *)handle, close_cb);
66 isc_uv_udp_freebind(uv_udp_t *handle, const struct sockaddr *addr, argument
71 r = uv_fileno((const uv_handle_t *)handle, (uv_os_fd_t *)&fd);
76 r = uv_udp_bind(handle, addr, flags);
86 r = uv_udp_bind(handle, addr, flags);
93 isc__uv_tcp_bind_now(uv_tcp_t *handle, cons argument
118 isc_uv_tcp_freebind(uv_tcp_t *handle, const struct sockaddr *addr, unsigned int flags) argument
[all...]
/netbsd-current/external/gpl2/lvm2/dist/tools/
H A Dlvm2cmd.h48 * Returns a handle so repeated use of lvm2_run is more efficient.
56 void lvm2_log_level(void *handle, int level);
60 * Use NULL handle if the call is a one-off and you don't want to bother
63 int lvm2_run(void *handle, const char *cmdline);
65 /* Release handle */
66 void lvm2_exit(void *handle);
/netbsd-current/external/ibm-public/postfix/dist/src/oqmgr/
H A Dqmgr_scan.c91 if (scan_info->handle)
109 scan_info->handle = scan_dir_open(scan_info->queue);
134 if (scan_info->handle != 0 && (flags & QMGR_SCAN_ALL))
141 if (scan_info->handle != 0 && (flags & QMGR_FLUSH_DFXP))
148 if (scan_info->handle == 0 && (flags & QMGR_SCAN_START) != 0) {
164 if (scan_info->handle && (path = mail_scan_dir_next(scan_info->handle)) == 0) {
165 scan_info->handle = scan_dir_close(scan_info->handle);
169 if (!scan_info->handle
[all...]
/netbsd-current/external/ibm-public/postfix/dist/src/qmgr/
H A Dqmgr_scan.c91 if (scan_info->handle)
109 scan_info->handle = scan_dir_open(scan_info->queue);
134 if (scan_info->handle != 0 && (flags & QMGR_SCAN_ALL))
141 if (scan_info->handle != 0 && (flags & QMGR_FLUSH_DFXP))
148 if (scan_info->handle == 0 && (flags & QMGR_SCAN_START) != 0) {
164 if (scan_info->handle && (path = mail_scan_dir_next(scan_info->handle)) == 0) {
165 scan_info->handle = scan_dir_close(scan_info->handle);
169 if (!scan_info->handle
[all...]
/netbsd-current/external/mit/libuv/dist/test/
H A Dtest-run-once.c31 static void idle_cb(uv_idle_t* handle) { argument
32 ASSERT(handle == &idle_handle);
35 uv_idle_stop(handle);
H A Dbenchmark-async-pummel.c39 static void async_cb(uv_async_t* handle) { argument
42 ACCESS_ONCE(const char*, handle->data) = stop;
45 while (ACCESS_ONCE(const char*, handle->data) != stopped)
48 uv_close((uv_handle_t*) handle, NULL);
54 uv_async_t* handle = (uv_async_t*) arg; local
56 while (ACCESS_ONCE(const char*, handle->data) == running)
57 uv_async_send(handle);
59 /* Acknowledge that we've seen handle->data change. */
60 ACCESS_ONCE(const char*, handle->data) = stopped;
66 uv_async_t handle; local
[all...]
/netbsd-current/external/bsd/libpcap/dist/
H A Dpcap-dbus.c59 dbus_read(pcap_t *handle, int max_packets _U_, pcap_handler callback, u_char *user) argument
61 struct pcap_dbus *handlep = handle->priv;
74 /* XXX handle->opt.timeout = timeout_ms; */
76 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Connection closed");
80 if (handle->break_loop) {
81 handle->break_loop = 0;
89 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Disconnected");
95 /* pkth.caplen = min (payload_len, handle->snapshot); */
98 if (handle->fcode.bf_insns == NULL ||
99 pcap_filter(handle
111 dbus_write(pcap_t *handle, const void *buf, int size) argument
133 dbus_stats(pcap_t *handle, struct pcap_stat *stats) argument
144 dbus_cleanup(pcap_t *handle) argument
176 dbus_activate(pcap_t *handle) argument
[all...]
H A Dpcap-bt-linux.c197 bt_activate(pcap_t* handle) argument
199 struct pcap_bt *handlep = handle->priv;
207 if (sscanf(handle->opt.device, BT_IFACE"%d", &dev_id) != 1)
209 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE,
211 handle->opt.device);
223 if (handle->snapshot <= 0 || handle->snapshot > MAXIMUM_SNAPLEN)
224 handle->snapshot = MAXIMUM_SNAPLEN;
227 handle->bufsize = BT_CTRL_SIZE+sizeof(pcap_bluetooth_h4_header)+handle
323 bt_read_linux(pcap_t *handle, int max_packets _U_, pcap_handler callback, u_char *user) argument
409 bt_inject_linux(pcap_t *handle, const void *buf _U_, int size _U_) argument
418 bt_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument
[all...]
H A Dpcap-linux.c252 static void destroy_ring(pcap_t *handle);
253 static int create_ring(pcap_t *handle, int *status);
254 static int prepare_tpacket_socket(pcap_t *handle);
325 static int enter_rfmon_mode(pcap_t *handle, int sock_fd,
327 static int iface_get_ts_types(const char *device, pcap_t *handle,
329 static int iface_get_offload(pcap_t *handle);
331 static int fix_program(pcap_t *handle, struct sock_fprog *fcode);
332 static int fix_offset(pcap_t *handle, struct bpf_insn *p);
333 static int set_kernel_filter(pcap_t *handle, struct sock_fprog *fcode);
334 static int reset_kernel_filter(pcap_t *handle);
346 pcap_t *handle; local
444 get_mac80211_phydev(pcap_t *handle, const char *device, char *phydev_path, size_t phydev_max_pathlen) argument
486 nl80211_init(pcap_t *handle, struct nl80211_state *state, const char *device) argument
540 add_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state, const char *device, const char *mondevice) argument
645 del_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state, const char *device, const char *mondevice) argument
699 pcap_protocol(pcap_t *handle) argument
711 pcap_can_set_rfmon_linux(pcap_t *handle) argument
945 pcap_breakloop_linux(pcap_t *handle) argument
961 set_vlan_offset(pcap_t *handle) argument
998 pcap_activate_linux(pcap_t *handle) argument
1155 pcap_set_datalink_linux(pcap_t *handle, int dlt) argument
1174 linux_check_direction(const pcap_t *handle, const struct sockaddr_ll *sll) argument
1230 device_still_exists(pcap_t *handle) argument
1271 pcap_inject_linux(pcap_t *handle, const void *buf, int size) argument
1313 pcap_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument
1781 pcap_setdirection_linux(pcap_t *handle, pcap_direction_t d) argument
1834 map_arphrd_to_dlt(pcap_t *handle, int arptype, const char *device, int cooked_ok) argument
2282 set_dlt_list_cooked(pcap_t *handle) argument
2304 setup_socket(pcap_t *handle, int is_any_device) argument
2666 setup_mmapped(pcap_t *handle, int *status) argument
2729 init_tpacket(pcap_t *handle, int version, const char *version_str) argument
2797 prepare_tpacket_socket(pcap_t *handle) argument
2874 create_ring(pcap_t *handle, int *status) argument
3301 destroy_ring(pcap_t *handle) argument
3346 pcap_t *handle = sp->pd; local
3355 pcap_getnonblock_linux(pcap_t *handle) argument
3364 pcap_setnonblock_linux(pcap_t *handle, int nonblock) argument
3417 pcap_get_ring_frame_status(pcap_t *handle, int offset) argument
3440 pcap_wait_for_frames_mmap(pcap_t *handle) argument
3793 pcap_handle_packet_mmap( pcap_t *handle, pcap_handler callback, u_char *user, unsigned char *frame, unsigned int tp_len, unsigned int tp_mac, unsigned int tp_snaplen, unsigned int tp_sec, unsigned int tp_usec, int tp_vlan_tci_valid, __u16 tp_vlan_tci, __u16 tp_vlan_tpid) argument
4083 pcap_read_linux_mmap_v2(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument
4180 pcap_read_linux_mmap_v3(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument
4321 pcap_setfilter_linux(pcap_t *handle, struct bpf_program *filter) argument
4652 enter_rfmon_mode(pcap_t *handle, int sock_fd, const char *device) argument
4810 iface_set_all_ts_types(pcap_t *handle, char *ebuf) argument
4831 iface_get_ts_types(const char *device, pcap_t *handle, char *ebuf) argument
4951 iface_get_ts_types(const char *device, pcap_t *handle, char *ebuf) argument
5007 iface_ethtool_flag_ioctl(pcap_t *handle, int cmd, const char *cmdname, int eperm_ok) argument
5053 iface_get_offload(pcap_t *handle) argument
5144 iface_dsa_get_proto_info(const char *device, pcap_t *handle) argument
5266 fix_program(pcap_t *handle, struct sock_fprog *fcode) argument
5335 fix_offset(pcap_t *handle, struct bpf_insn *p) argument
5420 set_kernel_filter(pcap_t *handle, struct sock_fprog *fcode) argument
5547 reset_kernel_filter(pcap_t *handle) argument
[all...]
H A Dpcap-netfilter-linux.c91 static int nfqueue_send_verdict(const pcap_t *handle, uint16_t group_id, u_int32_t id, u_int32_t verdict);
95 netfilter_read_linux(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument
97 struct pcap_netfilter *handlep = handle->priv;
105 if (handle->break_loop) {
111 handle->break_loop = 0;
114 len = handle->cc;
122 * to set handle->break_loop (we ignore it on other
126 len = recv(handle->fd, handle->buffer, handle
315 netfilter_set_datalink(pcap_t *handle, int dlt) argument
322 netfilter_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument
333 netfilter_inject_linux(pcap_t *handle, const void *buf _U_, int size _U_) argument
347 netfilter_send_config_msg(const pcap_t *handle, uint16_t msg_type, int ack, u_int8_t family, u_int16_t res_id, const struct my_nfattr *mynfa) argument
435 nflog_send_config_msg(const pcap_t *handle, uint8_t family, u_int16_t group_id, const struct my_nfattr *mynfa) argument
441 nflog_send_config_cmd(const pcap_t *handle, uint16_t group_id, u_int8_t cmd, u_int8_t family) argument
456 nflog_send_config_mode(const pcap_t *handle, uint16_t group_id, u_int8_t copy_mode, u_int32_t copy_range) argument
472 nfqueue_send_verdict(const pcap_t *handle, uint16_t group_id, u_int32_t id, u_int32_t verdict) argument
488 nfqueue_send_config_msg(const pcap_t *handle, uint8_t family, u_int16_t group_id, const struct my_nfattr *mynfa) argument
494 nfqueue_send_config_cmd(const pcap_t *handle, uint16_t group_id, u_int8_t cmd, u_int16_t pf) argument
510 nfqueue_send_config_mode(const pcap_t *handle, uint16_t group_id, u_int8_t copy_mode, u_int32_t copy_range) argument
526 netfilter_activate(pcap_t* handle) argument
[all...]
H A Dpcap-haiku.cpp50 pcap_read_haiku(pcap_t* handle, int maxPackets _U_, pcap_handler callback, argument
55 u_char* buffer = (u_char*)handle->buffer + handle->offset;
59 if (handle->break_loop) {
62 handle->break_loop = 0;
67 bytesReceived = recvfrom(handle->fd, buffer, handle->bufsize, MSG_TRUNC,
77 snprintf(handle->errbuf, sizeof(handle->errbuf),
83 if (captureLength > handle
110 pcap_inject_haiku(pcap_t *handle, const void *buffer, int size) argument
122 pcap_stats_haiku(pcap_t *handle, struct pcap_stat *stats) argument
147 pcap_activate_haiku(pcap_t *handle) argument
252 pcap_t* handle = pcap_create_common(errorBuffer, local
[all...]
/netbsd-current/tests/lib/libpthread/dlopen/
H A Dt_dlopen.c54 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...]
/netbsd-current/tests/libexec/ld.elf_so/
H A Dt_dlerror-cleared.c47 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);
/netbsd-current/external/gpl3/gdb.old/dist/gdb/tui/
H A Dtui-command.c48 if (handle == nullptr)
54 destroying the underlying handle. We don't currently track
59 wresize (handle.get (), height, width);
61 mvwin (handle.get (), y, x);
62 wmove (handle.get (), 0, 0);
71 WINDOW *w = TUI_CMD_WIN->handle.get ();
/netbsd-current/external/bsd/less/dist/
H A Dlglob.h49 #define GLOB_FIRST_FAILED(handle) ((handle) != 0)
50 #define GLOB_NEXT_NAME(handle,fndp) _dos_findnext(fndp)
51 #define GLOB_NAME_DONE(handle)
53 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \
59 int handle;
64 #define GLOB_FIRST_FAILED(handle) ((handle) == -1)
65 #define GLOB_NEXT_NAME(handle,fndp) _findnext(handle, fnd
[all...]

Completed in 757 milliseconds

1234567891011>>