Home
last modified time | relevance | path

Searched refs:handles (Results 1 – 25 of 900) sorted by relevance

12345678910>>...36

/netbsd/external/gpl3/gdb/dist/gdb/testsuite/gdb.perf/
H A Dsolib.c30 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 Dsolib.c30 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 Dtsp_key.c111 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 Dtsp_seal.c89 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 Dtsp_migration.c43 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 Dtsp_sign.c37 TCS_HANDLE *handles, handle; in Transport_Sign() local
58 handles = &handle; in Transport_Sign()
71 &pubKeyHash, &handlesLen, &handles, in Transport_Sign()
H A Dtsp_bind.c36 TCS_HANDLE *handles, handle; in Transport_UnBind() local
57 handles = &handle; in Transport_UnBind()
70 &pubKeyHash, &handlesLen, &handles, in Transport_UnBind()
H A Dtsp_certify.c39 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 Dtsp_quote.c40 TCS_HANDLE *handles, handle; in Transport_Quote() local
63 handles = &handle; in Transport_Quote()
76 &pubKeyHash, &handlesLen, &handles, in Transport_Quote()
H A Dtsp_tick.c65 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 Deloop_win.c68 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 Ddesign.rst13 '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 Didle.rst7 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 Dpipe.rst7 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 Dloop.rst81 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 Dhandle.rst12 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 Defipxe.c48 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 Dtest-ipc-send-recv.c35 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 Defipxe.c48 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 Dmingw-hdep.c54 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 Dmingw-hdep.c54 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 Dl2_packet_ndis.c162 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 Dsftp-server.c321 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 Definet.c235 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 Ddrm_syncobj.c1310 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 …]

12345678910>>...36