/netbsd/external/gpl3/gdb/dist/gdb/testsuite/gdb.perf/ |
H A D | solib.c | 30 static void **handles; variable 38 handles = malloc (sizeof (void *) * number); in do_test_load() 39 if (handles == NULL) in do_test_load() 48 handles[i] = dlopen (libname, RTLD_LAZY); in do_test_load() 49 if (handles[i] == NULL) in do_test_load() 68 dlclose (handles[i]); in do_test_unload() 70 free (handles); in do_test_unload()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.perf/ |
H A D | solib.c | 30 static void **handles; variable 38 handles = malloc (sizeof (void *) * number); in do_test_load() 39 if (handles == NULL) in do_test_load() 48 handles[i] = dlopen (libname, RTLD_LAZY); in do_test_load() 49 if (handles[i] == NULL) in do_test_load() 68 dlclose (handles[i]); in do_test_unload() 70 free (handles); in do_test_unload()
|
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/ |
H A D | tsp_key.c | 111 TCS_HANDLE *handles, handle; in Transport_EvictKey() local 131 handles = &handle; in Transport_EvictKey() 148 TCS_HANDLE *handles, handle; in Transport_GetPubKey() local 169 handles = &handle; in Transport_GetPubKey() 172 &pubKeyHash, &handlesLen, &handles, pAuth, NULL, in Transport_GetPubKey() 195 TCS_HANDLE *handles, handle; in Transport_CreateWrapKey() local 218 handles = &handle; in Transport_CreateWrapKey() 255 TCS_HANDLE *handles, handle; in Transport_LoadKeyByBlob() local 276 handles = &handle; in Transport_LoadKeyByBlob() 280 &handles, pAuth, NULL, &decLen, &dec))) in Transport_LoadKeyByBlob() [all …]
|
H A D | tsp_seal.c | 89 TCS_HANDLE *handles, handle; in Transport_Seal() local 111 handles = &handle; in Transport_Seal() 127 &pubKeyHash, &handlesLen, &handles, pubAuth, in Transport_Seal() 151 TCS_HANDLE *handles, handle; in Transport_Sealx() local 173 handles = &handle; in Transport_Sealx() 189 &pubKeyHash, &handlesLen, &handles, pubAuth, in Transport_Sealx() 212 TCS_HANDLE *handles, handle; in Transport_Unseal() local 233 handles = &handle; in Transport_Unseal() 236 SealedData, &pubKeyHash, &handlesLen, &handles, in Transport_Unseal()
|
H A D | tsp_migration.c | 43 TCS_HANDLE *handles, handle; in Transport_CreateMigrationBlob() local 64 handles = &handle; in Transport_CreateMigrationBlob() 83 &handles, parentAuth, entityAuth, &decLen, in Transport_CreateMigrationBlob() 132 TCS_HANDLE *handles, handle; in Transport_ConvertMigrationBlob() local 153 handles = &handle; in Transport_ConvertMigrationBlob() 169 &handles, parentAuth, NULL, &decLen, &dec))) { in Transport_ConvertMigrationBlob()
|
H A D | tsp_sign.c | 37 TCS_HANDLE *handles, handle; in Transport_Sign() local 58 handles = &handle; in Transport_Sign() 71 &pubKeyHash, &handlesLen, &handles, in Transport_Sign()
|
H A D | tsp_bind.c | 36 TCS_HANDLE *handles, handle; in Transport_UnBind() local 57 handles = &handle; in Transport_UnBind() 70 &pubKeyHash, &handlesLen, &handles, in Transport_UnBind()
|
H A D | tsp_certify.c | 39 TCS_HANDLE *handles, handle[2]; in Transport_CertifyKey() local 67 handles = &handle[0]; in Transport_CertifyKey() 73 data, &pubKeyHash1, &handlesLen, &handles, in Transport_CertifyKey()
|
H A D | tsp_quote.c | 40 TCS_HANDLE *handles, handle; in Transport_Quote() local 63 handles = &handle; in Transport_Quote() 76 &pubKeyHash, &handlesLen, &handles, in Transport_Quote()
|
H A D | tsp_tick.c | 65 TCS_HANDLE *handles, handle; in Transport_TickStampBlob() local 87 handles = &handle; in Transport_TickStampBlob() 94 data, &pubKeyHash, &handlesLen, &handles, in Transport_TickStampBlob()
|
/netbsd/external/bsd/wpa/dist/src/utils/ |
H A D | eloop_win.c | 68 HANDLE *handles; member 80 eloop.handles = os_malloc(eloop.num_handles * in eloop_init() 81 sizeof(eloop.handles[0])); in eloop_init() 82 if (eloop.handles == NULL) in eloop_init() 89 os_free(eloop.handles); in eloop_init() 104 sizeof(eloop.handles[0])); in eloop_prepare_handles() 107 eloop.handles = n; in eloop_prepare_handles() 560 eloop.handles[count++] = eloop.term_event; in eloop_run() 621 eloop.handles, FALSE, 0); in eloop_run() 662 os_free(eloop.handles); in eloop_destroy() [all …]
|
/netbsd/external/mit/libuv/dist/docs/src/ |
H A D | design.rst | 13 'handles' and 'streams' provide a high level abstraction for sockets and other entities; 28 handles and requests. 46 the loop or handles, for that matter) **is not thread-safe** except where stated otherwise. 53 (readable, writable hangup) so handles can read, write or perform the desired I/O operation. 67 when is a loop considered to be *alive*? If a loop has active and ref'd handles, active 68 requests or closing handles it's considered to be *alive*. 88 * If there are no active handles or requests, the timeout is 0. 89 * If there are any idle handles active, the timeout is 0. 90 * If there are any handles pending to be closed, the timeout is 0. 95 in the previous step. All I/O related handles that were monitoring a given file descriptor [all …]
|
H A D | idle.rst | 7 Idle handles will run the given callback once per loop iteration, right 8 before the :c:type:`uv_prepare_t` handles. 11 The notable difference with prepare handles is that when there are active idle handles, 15 Despite the name, idle handles will get their callbacks called on every loop iteration,
|
H A D | pipe.rst | 7 Pipe handles provide an abstraction over streaming files on Unix (including 27 Only a connected pipe that will be passing the handles should have this flag 41 passing the handles should have this flag set, not the listening pipe 96 Set the number of pending pipe instance handles when the pipe server is 105 Used to receive handles over IPC pipes. 124 Create a pair of connected pipe handles. 126 The resulting handles can be passed to `uv_pipe_open`, used with `uv_spawn`, 133 This is recommended for handles that will be used by libuv,
|
H A D | loop.rst | 81 has finished executing and all open handles and requests have been closed, 105 referenced handles or requests. Returns non-zero if :c:func:`uv_stop` 106 was called and there are still active handles or requests. Returns 109 there are no pending callbacks. Returns zero when done (no active handles 113 pending callbacks. Returns zero if done (no active handles 121 Returns non-zero if there are referenced active handles, active 122 requests or closing handles in the loop. 179 Walk the list of handles: `walk_cb` will be executed with the given `arg`. 214 On Mac OS X, if directory FS event handles were in use in the 217 implementation. Instead, uses of directory FS event handles in [all …]
|
H A D | handle.rst | 12 Libuv handles are not movable. Pointers to handle structures passed to 14 care when using stack allocated handles. 199 This function works for TCP, pipe and UDP handles on Unix and for TCP and 200 UDP handles on Windows. 216 This function works for TCP, pipe and UDP handles on Unix and for TCP and 217 UDP handles on Windows. 226 The following handles are supported: TCP, pipes, TTY, UDP and poll. Passing 275 active `and` referenced handles left. The user can force the loop to exit early 276 by unreferencing handles which are active, for example by calling :c:func:`uv_unref` 282 All handles are referenced when active by default, see :c:func:`uv_is_active`
|
/netbsd/sys/stand/efiboot/ |
H A D | efipxe.c | 48 EFI_HANDLE *handles; in efi_pxe_probe() local 57 &nhandles, &handles); in efi_pxe_probe() 62 status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i], in efi_pxe_probe() 72 status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i], in efi_pxe_probe() 81 status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i], in efi_pxe_probe()
|
/netbsd/external/mit/libuv/dist/test/ |
H A D | test-ipc-send-recv.c | 35 union handles { union 49 union handles send; 50 union handles send2; 51 union handles recv; 52 union handles recv2; 61 union handles recv; 62 union handles recv2; 92 union handles* recv; in recv_cb() 304 union handles* recv; in read_cb()
|
/netbsd/sys/arch/i386/stand/efiboot/ |
H A D | efipxe.c | 48 EFI_HANDLE *handles; in efi_pxe_probe() local 57 &nhandles, &handles); in efi_pxe_probe() 62 status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i], in efi_pxe_probe() 72 status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i], in efi_pxe_probe() 81 status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i], in efi_pxe_probe()
|
/netbsd/external/gpl3/gdb/dist/gdb/ |
H A D | mingw-hdep.c | 54 HANDLE handles[MAXIMUM_WAIT_OBJECTS]; in gdb_select() local 115 handles[num_handles++] = read; in gdb_select() 121 handles[num_handles++] = except; in gdb_select() 128 handles, in gdb_select() 148 h = handles[event - WAIT_OBJECT_0]; in gdb_select() 159 fd_h = handles[indx++]; in gdb_select() 170 fd_h = handles[indx++]; in gdb_select()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/ |
H A D | mingw-hdep.c | 54 HANDLE handles[MAXIMUM_WAIT_OBJECTS]; in gdb_select() local 115 handles[num_handles++] = read; in gdb_select() 121 handles[num_handles++] = except; in gdb_select() 128 handles, in gdb_select() 148 h = handles[event - WAIT_OBJECT_0]; in gdb_select() 159 fd_h = handles[indx++]; in gdb_select() 170 fd_h = handles[indx++]; in gdb_select()
|
/netbsd/external/bsd/wpa/dist/src/l2_packet/ |
H A D | l2_packet_ndis.c | 162 HANDLE handles[2]; in l2_packet_rx_thread_try_read() local 189 handles[0] = l2_ndisuio_global->stop_request; in l2_packet_rx_thread_try_read() 190 handles[1] = l2_ndisuio_global->rx_processed; in l2_packet_rx_thread_try_read() 191 WaitForMultipleObjects(2, handles, FALSE, INFINITE); in l2_packet_rx_thread_try_read() 200 HANDLE handles[2]; in l2_packet_rx_thread() local 204 handles[0] = l2_ndisuio_global->stop_request; in l2_packet_rx_thread() 205 handles[1] = l2_ndisuio_global->ready_for_read; in l2_packet_rx_thread() 225 res = WaitForMultipleObjects(2, handles, FALSE, INFINITE); in l2_packet_rx_thread()
|
/netbsd/crypto/external/bsd/openssh/dist/ |
H A D | sftp-server.c | 321 static Handle *handles = NULL; variable 341 handles = xreallocarray(handles, num_handles, sizeof(Handle)); in handle_new() 348 handles[i].use = use; in handle_new() 349 handles[i].dirp = dirp; in handle_new() 350 handles[i].fd = fd; in handle_new() 351 handles[i].flags = flags; in handle_new() 353 handles[i].bytes_read = handles[i].bytes_write = 0; in handle_new() 394 return handles[handle].name; in handle_to_name() 410 return handles[handle].fd; in handle_to_fd() 459 free(handles[handle].name); in handle_close() [all …]
|
/netbsd/sys/arch/ia64/stand/efi/libefi/ |
H A D | efinet.c | 235 EFI_HANDLE *handles; in efinet_init_driver() local 245 handles = (EFI_HANDLE *) alloc(sz); in efinet_init_driver() 246 status = BS->LocateHandle(ByProtocol, &netid, 0, &sz, handles); in efinet_init_driver() 248 free(handles); in efinet_init_driver() 266 BS->HandleProtocol(handles[i], &netid, in efinet_init_driver()
|
/netbsd/sys/external/bsd/drm2/dist/drm/ |
H A D | drm_syncobj.c | 1310 uint32_t i, *handles; in drm_syncobj_array_find() local 1314 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL); in drm_syncobj_array_find() 1315 if (handles == NULL) in drm_syncobj_array_find() 1338 kfree(handles); in drm_syncobj_array_find() 1347 kfree(handles); in drm_syncobj_array_find() 1380 u64_to_user_ptr(args->handles), in drm_syncobj_wait_ioctl() 1414 u64_to_user_ptr(args->handles), in drm_syncobj_timeline_wait_ioctl() 1448 u64_to_user_ptr(args->handles), in drm_syncobj_reset_ioctl() 1481 u64_to_user_ptr(args->handles), in drm_syncobj_signal_ioctl() 1516 u64_to_user_ptr(args->handles), in drm_syncobj_timeline_signal_ioctl() [all …]
|