/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
H A D | print-file-var-main.c | 48 void *handle = dlopen (SHLIB_NAME, RTLD_LAZY); local 51 assert (handle != NULL); 53 getver2 = (int (*)(void)) dlsym (handle, "get_version_2");
|
/netbsd-current/external/mpl/bind/dist/tests/isc/ |
H A D | uv_wrap.h | 40 __wrap_uv_udp_open(uv_udp_t *handle, uv_os_sock_t sock); 42 __wrap_uv_udp_bind(uv_udp_t *handle, const struct sockaddr *addr, 46 __wrap_uv_udp_connect(uv_udp_t *handle, const struct sockaddr *addr); 48 __wrap_uv_udp_getpeername(const uv_udp_t *handle, struct sockaddr *name, 52 __wrap_uv_udp_getsockname(const uv_udp_t *handle, struct sockaddr *name, 55 __wrap_uv_udp_send(uv_udp_send_t *req, uv_udp_t *handle, const uv_buf_t bufs[], 59 __wrap_uv_udp_recv_start(uv_udp_t *handle, uv_alloc_cb alloc_cb, 62 __wrap_uv_udp_recv_stop(uv_udp_t *handle); 66 __wrap_uv_tcp_open(uv_tcp_t *handle, uv_os_sock_t sock); 68 __wrap_uv_tcp_bind(uv_tcp_t *handle, cons 104 __wrap_uv_udp_open(uv_udp_t *handle, uv_os_sock_t sock) argument 114 __wrap_uv_udp_bind(uv_udp_t *handle, const struct sockaddr *addr, unsigned int flags) argument 126 __wrap_uv_udp_connect(uv_udp_t *handle, const struct sockaddr *addr) argument 138 __wrap_uv_udp_getpeername(const uv_udp_t *handle, struct sockaddr *name, int *namelen) argument 149 __wrap_uv_udp_getsockname(const uv_udp_t *handle, struct sockaddr *name, int *namelen) argument 159 __wrap_uv_udp_send(uv_udp_send_t *req, uv_udp_t *handle, const uv_buf_t bufs[], unsigned int nbufs, const struct sockaddr *addr, uv_udp_send_cb send_cb) argument 170 __wrap_uv_udp_recv_start(uv_udp_t *handle, uv_alloc_cb alloc_cb, uv_udp_recv_cb recv_cb) argument 180 __wrap_uv_udp_recv_stop(uv_udp_t *handle) argument 189 __wrap_uv_tcp_open(uv_tcp_t *handle, uv_os_sock_t sock) argument 198 __wrap_uv_tcp_bind(uv_tcp_t *handle, const struct sockaddr *addr, unsigned int flags) argument 208 __wrap_uv_tcp_getsockname(const uv_tcp_t *handle, struct sockaddr *name, int *namelen) argument 218 __wrap_uv_tcp_getpeername(const uv_tcp_t *handle, struct sockaddr *name, int *namelen) argument 228 __wrap_uv_tcp_connect(uv_connect_t *req, uv_tcp_t *handle, const struct sockaddr *addr, uv_connect_cb cb) argument 256 __wrap_uv_send_buffer_size(uv_handle_t *handle, int *value) argument 265 __wrap_uv_recv_buffer_size(uv_handle_t *handle, int *value) argument 274 __wrap_uv_fileno(const uv_handle_t *handle, uv_os_fd_t *fd) argument [all...] |
/netbsd-current/external/gpl2/lvm2/dist/tools/ |
H A D | lvmcmdlib.c | 46 int lvm2_run(void *handle, const char *cmdline) argument 54 if (!handle) { 56 if (!(handle = lvm2_init())) { 62 cmd = (struct cmd_context *) handle; 97 lvm2_exit(handle); 102 void lvm2_log_level(void *handle, int level) argument 104 struct cmd_context *cmd = (struct cmd_context *) handle; 116 void lvm2_exit(void *handle) argument 118 struct cmd_context *cmd = (struct cmd_context *) handle;
|
/netbsd-current/sys/arch/sparc/stand/ofwboot/ |
H A D | ofdev.h | 37 int handle; member in struct:of_dev
|
/netbsd-current/sys/arch/shark/stand/ofwboot/ |
H A D | ofdev.h | 37 int handle; member in struct:of_dev
|
/netbsd-current/external/mit/libcbor/dist/test/ |
H A D | type_5_test.c | 46 struct cbor_pair *handle = cbor_map_handle(map); local 47 assert_uint8(handle[0].key, 1); 48 assert_uint8(handle[0].value, 2); 49 assert_uint8(handle[1].key, 3); 50 assert_uint8(handle[1].value, 4); 66 struct cbor_pair *handle = cbor_map_handle(map); local 67 assert_uint8(handle[0].key, 1); 68 assert_uint8(handle[0].value, 2); 69 assert_uint8(handle[1].key, 3); 70 assert_uint8(handle[ 93 struct cbor_pair *handle = cbor_map_handle(map); local 117 struct cbor_pair *handle = cbor_map_handle(map); local 139 struct cbor_pair *handle = cbor_map_handle(map); local 166 struct cbor_pair *handle = cbor_map_handle(map); local [all...] |
/netbsd-current/external/bsd/ntp/dist/include/ |
H A D | timepps-SCO.h | 206 * create PPS handle from file descriptor 212 pps_handle_t *handle /* returned handle */ 221 if (!handle) { 230 *handle = malloc(sizeof(pps_unit_t)); 231 if (!(*handle)) { 236 memset(*handle, 0, sizeof(pps_unit_t)); 237 (*handle)->filedes = filedes; 238 (*handle)->params.api_version = PPS_API_VERS_1; 239 (*handle) 269 time_pps_setparams( pps_handle_t handle, const pps_params_t *params ) argument 332 time_pps_getparams( pps_handle_t handle, pps_params_t *params ) argument 360 time_pps_getcap( pps_handle_t handle, int *mode ) argument 387 time_pps_fetch( pps_handle_t handle, const int tsformat, pps_info_t *ppsinfo, const struct timespec *timeout ) argument 484 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 | 204 * create PPS handle from file descriptor 210 pps_handle_t *handle /* returned handle */ 217 if (!handle) { 231 *handle = malloc(sizeof(pps_unit_t)); 232 if (!(*handle)) { 237 memset(*handle, 0, sizeof(pps_unit_t)); 238 (*handle)->filedes = filedes; 239 (*handle)->params.api_version = PPS_API_VERS_1; 240 (*handle) 270 time_pps_setparams( pps_handle_t handle, const pps_params_t *params ) argument 333 time_pps_getparams( pps_handle_t handle, pps_params_t *params ) argument 361 time_pps_getcap( pps_handle_t handle, int *mode ) argument 388 time_pps_fetch( pps_handle_t handle, const int tsformat, pps_info_t *ppsinfo, const struct timespec *timeout ) argument 485 time_pps_kcbind( pps_handle_t handle, const int kernel_consumer, const int edge, const int tsformat ) argument [all...] |
/netbsd-current/external/gpl3/gdb/dist/bfd/ |
H A D | xtensa-dynconfig.c | 45 dlsym (void *handle, const char *name) argument 47 return (void *) GetProcAddress ((HMODULE) handle, name); 51 dlclose (void *handle) argument 53 FreeLibrary ((HMODULE) handle); 73 static void *handle; local 83 handle = dlopen (path, RTLD_LAZY); 84 if (!handle) 91 else if (!handle) 96 p = dlsym (handle, name);
|
/netbsd-current/external/mpl/bind/dist/lib/isc/netmgr/ |
H A D | timer.c | 26 isc_nmhandle_t *handle; member in struct:isc_nm_timer 32 isc_nm_timer_create(isc_nmhandle_t *handle, isc_nm_timer_cb cb, void *cbarg, argument 40 REQUIRE(VALID_NMHANDLE(handle)); 41 REQUIRE(VALID_NMSOCK(handle->sock)); 43 sock = handle->sock; 50 isc_nmhandle_attach(handle, &timer->handle); 72 isc_nmhandle_t *handle = timer->handle; local 73 isc_mem_t *mctx = timer->handle 83 isc_nmhandle_t *handle = NULL; local [all...] |
/netbsd-current/external/bsd/libpcap/dist/ |
H A D | pcap-usb-linux.c | 231 usb_set_ring_size(pcap_t* handle, int header_size) argument 255 if (handle->snapshot < header_size) 256 handle->snapshot = header_size; 258 ring_size = (handle->snapshot - header_size) * 5; 273 handle->snapshot = header_size + (MAX_RING_SIZE/5); 284 if (ioctl(handle->fd, MON_IOCT_RING_SIZE, ring_size) == -1) { 285 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, 286 errno, "Can't set ring size from fd %d", handle->fd); 293 int usb_mmap(pcap_t* handle) argument 295 struct pcap_usb_linux *handlep = handle 468 usb_activate(pcap_t* handle) argument 626 usb_inject_linux(pcap_t *handle, const void *buf _U_, int size _U_) argument 645 usb_stats_linux_bin(pcap_t *handle, struct pcap_stat *stats) argument 669 usb_read_linux_bin(pcap_t *handle, int max_packets _U_, pcap_handler callback, u_char *user) argument 759 usb_read_linux_mmap(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument 939 usb_cleanup_linux_mmap(pcap_t* handle) argument [all...] |
/netbsd-current/external/mit/libuv/dist/src/unix/ |
H A D | linux-inotify.c | 94 uv_fs_event_t* handle; local 115 handle = QUEUE_DATA(q, uv_fs_event_t, watchers); 120 tmp_path = uv__strdup(handle->path); 124 uv_fs_event_stop(handle); 126 QUEUE_INSERT_TAIL(&tmp_watcher_list.watchers, &handle->watchers); 127 handle->path = tmp_path; 137 handle = QUEUE_DATA(q, uv_fs_event_t, watchers); 138 tmp_path = handle->path; 139 handle->path = NULL; 140 err = uv_fs_event_start(handle, handl 243 uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle) argument 249 uv_fs_event_start(uv_fs_event_t* handle, uv_fs_event_cb cb, const char* path, unsigned int flags) argument 305 uv_fs_event_stop(uv_fs_event_t* handle) argument 325 uv__fs_event_close(uv_fs_event_t* handle) argument [all...] |
H A D | tcp.c | 31 static int new_socket(uv_tcp_t* handle, int domain, unsigned long flags) { argument 42 err = uv__stream_open((uv_stream_t*) handle, sockfd, flags); 52 if (getsockname(uv__stream_fd(handle), (struct sockaddr*) &saddr, &slen)) { 57 if (bind(uv__stream_fd(handle), (struct sockaddr*) &saddr, slen)) { 67 static int maybe_new_socket(uv_tcp_t* handle, int domain, unsigned long flags) { argument 72 handle->flags |= flags; 76 if (uv__stream_fd(handle) != -1) { 80 if (handle->flags & UV_HANDLE_BOUND) { 82 handle->flags |= flags; 89 if (getsockname(uv__stream_fd(handle), (struc 205 uv__tcp_connect(uv_connect_t* req, uv_tcp_t* handle, const struct sockaddr* addr, unsigned int addrlen, uv_connect_cb cb) argument 271 uv_tcp_open(uv_tcp_t* handle, uv_os_sock_t sock) argument 287 uv_tcp_getsockname(const uv_tcp_t* handle, struct sockaddr* name, int* namelen) argument 301 uv_tcp_getpeername(const uv_tcp_t* handle, struct sockaddr* name, int* namelen) argument 315 uv_tcp_close_reset(uv_tcp_t* handle, uv_close_cb close_cb) argument 422 uv_tcp_nodelay(uv_tcp_t* handle, int on) argument 440 uv_tcp_keepalive(uv_tcp_t* handle, int on, unsigned int delay) argument 462 uv_tcp_simultaneous_accepts(uv_tcp_t* handle, int enable) argument 471 uv__tcp_close(uv_tcp_t* handle) argument [all...] |
/netbsd-current/sys/external/bsd/vchiq/dist/interface/vchi/message_drivers/ |
H A D | message.h | 109 void *handle; member in struct:rx_bulk_slotinfo_t 166 // handle to this instance of message driver (as returned by ->open) 171 int32_t (*suspending)( VCHI_MDRIVER_HANDLE_T *handle ); 172 int32_t (*resumed)( VCHI_MDRIVER_HANDLE_T *handle ); 173 int32_t (*power_control)( VCHI_MDRIVER_HANDLE_T *handle, MESSAGE_TX_CHANNEL_T, int32_t enable ); 174 int32_t (*add_msg_rx_slot)( VCHI_MDRIVER_HANDLE_T *handle, RX_MSG_SLOTINFO_T *slot ); // rx message 175 int32_t (*add_bulk_rx)( VCHI_MDRIVER_HANDLE_T *handle, void *data, uint32_t len, RX_BULK_SLOTINFO_T *slot ); // rx data (bulk) 176 int32_t (*send)( VCHI_MDRIVER_HANDLE_T *handle, MESSAGE_TX_CHANNEL_T channel, const void *data, uint32_t len, VCHI_MSG_FLAGS_T flags, void *send_handle ); // tx (message & bulk) 177 void (*next_event)( VCHI_MDRIVER_HANDLE_T *handle, MESSAGE_EVENT_T *event ); // get the next event from message_driver 178 int32_t (*enable)( VCHI_MDRIVER_HANDLE_T *handle ); [all...] |
/netbsd-current/external/mit/libuv/dist/test/ |
H A D | test-timer.c | 39 static void once_close_cb(uv_handle_t* handle) { argument 42 ASSERT_NOT_NULL(handle); 43 ASSERT(0 == uv_is_active(handle)); 49 static void once_cb(uv_timer_t* handle) { argument 52 ASSERT_NOT_NULL(handle); 53 ASSERT(0 == uv_is_active((uv_handle_t*) handle)); 57 uv_close((uv_handle_t*)handle, once_close_cb); 63 static void twice_close_cb(uv_handle_t* handle) { argument 66 ASSERT_NOT_NULL(handle); 67 ASSERT(0 == uv_is_active(handle)); 72 twice_cb(uv_timer_t* handle) argument 85 repeat_close_cb(uv_handle_t* handle) argument 94 repeat_cb(uv_timer_t* handle) argument 108 never_cb(uv_timer_t* handle) argument 183 uv_timer_t handle; local 195 order_cb_a(uv_timer_t *handle) argument 200 order_cb_b(uv_timer_t *handle) argument 244 tiny_timer_cb(uv_timer_t* handle) argument 268 huge_repeat_cb(uv_timer_t* handle) argument 297 timer_run_once_timer_cb(uv_timer_t* handle) argument 323 uv_timer_t handle; local 336 uv_timer_t handle; local 349 timer_early_check_cb(uv_timer_t* handle) argument [all...] |
H A D | test-run-nowait.c | 29 static void timer_cb(uv_timer_t* handle) { argument 30 ASSERT(handle == &timer_handle);
|
H A D | test-udp-send-hang-loop.c | 29 #define CHECK_OBJECT(handle, type, parent) \ 30 ASSERT((type*)(handle) == &(parent)) 44 static void idle_cb(uv_idle_t* handle) { argument 47 ASSERT_NULL(send_req.handle); 48 CHECK_OBJECT(handle, uv_idle_t, idle_handle); 49 ASSERT(0 == uv_idle_stop(handle)); 71 CHECK_OBJECT(req->handle, uv_udp_t, client); 73 req->handle = NULL;
|
/netbsd-current/external/mit/libuv/dist/src/win/ |
H A D | process-stdio.c | 29 #include "handle-inl.h" 75 HANDLE handle; local 79 handle = GetStdHandle(STD_INPUT_HANDLE); 80 if (handle != NULL && handle != INVALID_HANDLE_VALUE) 81 SetHandleInformation(handle, HANDLE_FLAG_INHERIT, 0); 83 handle = GetStdHandle(STD_OUTPUT_HANDLE); 84 if (handle != NULL && handle != INVALID_HANDLE_VALUE) 85 SetHandleInformation(handle, HANDLE_FLAG_INHERI 98 uv__duplicate_handle(uv_loop_t* loop, HANDLE handle, HANDLE* dup) argument 132 HANDLE handle; local 146 HANDLE handle; local 362 HANDLE handle = CHILD_STDIO_HANDLE(buffer, i); local 377 HANDLE handle = CHILD_STDIO_HANDLE(buffer, i); local [all...] |
/netbsd-current/sys/external/bsd/vchiq/dist/interface/vchiq_arm/ |
H A D | vchiq_shim.c | 45 VCHIQ_SERVICE_HANDLE_T handle; member in struct:__anon243 83 * Arguments: const VCHI_SERVICE_HANDLE_T handle, 97 int32_t vchi_msg_peek(VCHI_SERVICE_HANDLE_T handle, argument 102 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; 124 * Arguments: const VCHI_SERVICE_HANDLE_T handle, 132 int32_t vchi_msg_remove(VCHI_SERVICE_HANDLE_T handle) argument 134 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; 139 vchiq_release_message(service->handle, header); 148 * Arguments: VCHI_SERVICE_HANDLE_T handle, 159 int32_t vchi_msg_queue(VCHI_SERVICE_HANDLE_T handle, argument 202 vchi_bulk_queue_receive(VCHI_SERVICE_HANDLE_T handle, void *data_dst, uint32_t data_size, VCHI_FLAGS_T flags, void *bulk_handle) argument 261 vchi_bulk_queue_transmit(VCHI_SERVICE_HANDLE_T handle, void *data_src, uint32_t data_size, VCHI_FLAGS_T flags, void *bulk_handle) argument 321 vchi_msg_dequeue(VCHI_SERVICE_HANDLE_T handle, void *data, uint32_t max_data_size_to_read, uint32_t *actual_msg_size, VCHI_FLAGS_T flags) argument 371 vchi_msg_queuev(VCHI_SERVICE_HANDLE_T handle, VCHI_MSG_VECTOR_T *vector, uint32_t count, VCHI_FLAGS_T flags, void *msg_handle) argument 430 vchi_msg_hold(VCHI_SERVICE_HANDLE_T handle, void **data, uint32_t *msg_size, VCHI_FLAGS_T flags, VCHI_HELD_MSG_T *message_handle) argument 545 shim_callback(VCHIQ_REASON_T reason, VCHIQ_HEADER_T *header, VCHIQ_SERVICE_HANDLE_T handle, void *bulk_user) argument 634 vchi_service_open(VCHI_INSTANCE_T instance_handle, SERVICE_CREATION_T *setup, VCHI_SERVICE_HANDLE_T *handle) argument 667 vchi_service_create(VCHI_INSTANCE_T instance_handle, SERVICE_CREATION_T *setup, VCHI_SERVICE_HANDLE_T *handle) argument 699 vchi_service_close(const VCHI_SERVICE_HANDLE_T handle) argument 716 vchi_service_destroy(const VCHI_SERVICE_HANDLE_T handle) argument 733 vchi_service_set_option(const VCHI_SERVICE_HANDLE_T handle, VCHI_SERVICE_OPTION_T option, int value) argument 763 vchi_get_peer_version( const VCHI_SERVICE_HANDLE_T handle, short *peer_version ) argument 836 vchi_service_use(const VCHI_SERVICE_HANDLE_T handle) argument 856 vchi_service_release(const VCHI_SERVICE_HANDLE_T handle) argument [all...] |
/netbsd-current/external/mit/libuv/dist/docs/code/idle-basic/ |
H A D | main.c | 6 void wait_for_a_while(uv_idle_t* handle) { argument 10 uv_idle_stop(handle);
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/display/dc/ |
H A D | dm_cp_psp.h | 42 void (*update_stream_config)(void *handle, struct cp_psp_stream_config *config); 46 void *handle; member in struct:cp_psp
|
/netbsd-current/external/apache2/argon2/dist/phc-winner-argon2/src/ |
H A D | thread.h | 31 and the type of the thread handle---argon2_thread_handle_t. 44 * @param handle pointer to a thread handle, which is the output of this 49 * @return 0 if @handle and @func are valid pointers and a thread is successfully 52 int argon2_thread_create(argon2_thread_handle_t *handle, 56 * @param handle Handle to a thread created with argon2_thread_create. 57 * @return 0 if @handle is a valid handle, and joining completed successfully. 59 int argon2_thread_join(argon2_thread_handle_t handle);
|
/netbsd-current/external/gpl3/gdb.old/dist/gdbsupport/ |
H A D | gdb-dlfcn.cc | 41 gdb_dlsym (const gdb_dlhandle_up &handle, const char *symbol) argument 47 dlclose_deleter::operator() (void *handle) const 93 gdb_dlsym (const gdb_dlhandle_up &handle, const char *symbol) argument 96 return dlsym (handle.get (), symbol); 98 return (void *) GetProcAddress ((HMODULE) handle.get (), symbol); 103 dlclose_deleter::operator() (void *handle) const 106 dlclose (handle); 108 FreeLibrary ((HMODULE) handle);
|
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
H A D | catch-load.c | 23 #define dlclose(handle) FreeLibrary (handle)
|
H A D | catch-signal.c | 27 handle (int sig) function 29 do_nothing (); /* handle marker */ 35 signal (SIGHUP, handle);
|