Searched refs:handle (Results 276 - 300 of 1815) sorted by relevance

<<11121314151617181920>>

/netbsd-current/external/mit/libuv/dist/test/
H A Dtest-tcp-write-fail.c54 static void close_cb(uv_handle_t* handle) { argument
55 ASSERT_NOT_NULL(handle);
67 uv_close((uv_handle_t*)(req->handle), close_cb);
79 stream = req->handle;
H A Dtest-tcp-shutdown-after-write.c42 static void close_cb(uv_handle_t* handle) { argument
43 if (handle == (uv_handle_t*)&conn)
45 else if (handle == (uv_handle_t*)&timer)
48 ASSERT(0 && "bad handle in close_cb");
52 static void alloc_cb(uv_handle_t* handle, argument
61 static void timer_cb(uv_timer_t* handle) { argument
65 uv_close((uv_handle_t*)handle, close_cb);
76 static void read_cb(uv_stream_t* handle, ssize_t nread, const uv_buf_t* buf) { argument
H A Dtest-udp-connect.c29 #define CHECK_HANDLE(handle) \
30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
43 static void alloc_cb(uv_handle_t* handle, argument
47 CHECK_HANDLE(handle);
54 static void close_cb(uv_handle_t* handle) { argument
55 CHECK_HANDLE(handle);
56 ASSERT(uv_is_closing(handle));
66 CHECK_HANDLE(req->handle);
83 static void sv_recv_cb(uv_udp_t* handle, argument
[all...]
H A Dtest-udp-connect6.c29 #define CHECK_HANDLE(handle) \
30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
43 static void alloc_cb(uv_handle_t* handle, argument
47 CHECK_HANDLE(handle);
54 static void close_cb(uv_handle_t* handle) { argument
55 CHECK_HANDLE(handle);
56 ASSERT(uv_is_closing(handle));
66 CHECK_HANDLE(req->handle);
83 static void sv_recv_cb(uv_udp_t* handle, argument
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/mmix/
H A Dbasep-11.s1 # Test that we handle weak symbols with base-plus-offset relocs.
H A Dgreg9.s2 % A bit cheesy: we allocate anonymous GREGs with no handle. This isn't
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.cp/
H A Dcall-c.cc41 FooHandle handle = pf; local
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dtest_plugin.c92 krb5_krbhst_handle handle; local
112 &handle);
117 while(krb5_krbhst_next_as_string(context, handle, host, sizeof(host)) == 0){
127 krb5_krbhst_free(context, handle);
/netbsd-current/crypto/external/bsd/openssl/dist/include/crypto/
H A Drand.h111 size_t ossl_rand_get_entropy(ossl_unused const OSSL_CORE_HANDLE *handle,
114 void ossl_rand_cleanup_entropy(ossl_unused const OSSL_CORE_HANDLE *handle,
116 size_t ossl_rand_get_nonce(ossl_unused const OSSL_CORE_HANDLE *handle,
119 void ossl_rand_cleanup_nonce(ossl_unused const OSSL_CORE_HANDLE *handle,
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/rand/
H A Dprov_seed.c15 size_t ossl_rand_get_entropy(ossl_unused const OSSL_CORE_HANDLE *handle, argument
41 void ossl_rand_cleanup_entropy(ossl_unused const OSSL_CORE_HANDLE *handle, argument
47 size_t ossl_rand_get_nonce(ossl_unused const OSSL_CORE_HANDLE *handle, argument
72 void ossl_rand_cleanup_nonce(ossl_unused const OSSL_CORE_HANDLE *handle, argument
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/
H A Dcall-c.cc41 FooHandle handle = pf; local
/netbsd-current/external/mit/libuv/dist/src/win/
H A Ddl.c31 lib->handle = NULL;
43 lib->handle = LoadLibraryExW(filename_w, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
44 if (lib->handle == NULL) {
58 if (lib->handle) {
60 FreeLibrary(lib->handle);
61 lib->handle = NULL;
68 *ptr = (void*)(uintptr_t) GetProcAddress(lib->handle, name);
/netbsd-current/external/apache2/llvm/dist/clang/tools/scan-build-py/libscanbuild/
H A Dreport.py78 with open(os.path.join(args.output, 'index.html'), 'w') as handle:
80 handle.write(reindent("""
89 handle.write(comment('SUMMARYENDHEAD'))
90 handle.write(reindent("""
110 shutil.copyfileobj(input_handle, handle)
111 handle.write(reindent("""
120 with open(name, 'w') as handle:
122 handle.write(reindent("""
133 handle.write(reindent("""
145 handle
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/virtio/
H A Dvirtgpu_object.c50 static int handle; local
51 handle++;
52 *resid = handle + 1;
54 int handle = ida_alloc(&vgdev->resource_ida, GFP_KERNEL); local
55 if (handle < 0)
56 return handle;
57 *resid = handle + 1;
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/
H A Dgen-win32.h215 HANDLE handle; member in struct:__anon11
246 dir->handle = FindFirstFile(pattern, &dir->find_data);
248 if (dir->handle == INVALID_HANDLE_VALUE) {
261 } else if (dir->handle != INVALID_HANDLE_VALUE) {
262 if (FindNextFile(dir->handle, &dir->find_data) == TRUE) {
280 if (dir->handle != INVALID_HANDLE_VALUE) {
281 FindClose(dir->handle);
/netbsd-current/external/mpl/dhcp/dist/contrib/ms2isc/
H A DRegistry.pm75 my ($RootKeyHandle, $handle, $key, $type);
80 if (!RegConnectRegistry ($RemoteMachine, $RootKeyHandle, $handle)) {
85 # local handle mapping. Should always pass in the Machine name to use for now
86 $handle = $RootKey;
89 if (!RegOpenKeyEx ($handle, $RegPath, 0, KEY_READ, $key)) {
104 RegCloseKey ($handle);
145 my ($RootKeyHandle, $handle, $key, $type);
150 if (!RegConnectRegistry ($RemoteMachine, $RootKeyHandle, $handle)) {
155 # local handle mapping. Should always pass in the Machine name to use for now
156 $handle
[all...]
/netbsd-current/external/bsd/ntp/dist/lib/isc/unix/
H A Ddir.c52 dir->handle = NULL;
92 dir->handle = opendir(dirname);
94 if (dir->handle == NULL)
112 REQUIRE(VALID_DIR(dir) && dir->handle != NULL);
117 entry = readdir(dir->handle);
144 REQUIRE(VALID_DIR(dir) && dir->handle != NULL);
146 (void)closedir(dir->handle);
147 dir->handle = NULL;
155 REQUIRE(VALID_DIR(dir) && dir->handle != NULL);
157 rewinddir(dir->handle);
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/include/uapi/drm/
H A Dtegra_drm.h62 * @handle:
64 * The handle of the created GEM object. Set by the kernel upon
67 __u32 handle; member in struct:drm_tegra_gem_create
75 * @handle:
79 __u32 handle; member in struct:drm_tegra_gem_mmap
293 * @handle:
297 __u32 handle; member in struct:drm_tegra_cmdbuf
302 * Offset, in bytes, into the GEM object identified by @handle at
328 * @cmdbuf.handle:
333 __u32 handle; member in struct:drm_tegra_reloc::__anon1747
349 __u32 handle; member in struct:drm_tegra_reloc::__anon1748
385 __u32 handle; member in struct:drm_tegra_waitchk
539 __u32 handle; member in struct:drm_tegra_gem_set_tiling
581 __u32 handle; member in struct:drm_tegra_gem_get_tiling
619 __u32 handle; member in struct:drm_tegra_gem_set_flags
638 __u32 handle; member in struct:drm_tegra_gem_get_flags
[all...]
/netbsd-current/sys/dev/acpi/
H A Ddwcmmc_acpi.c85 ACPI_HANDLE handle = aa->aa_node->ad_handle; local
95 rv = acpi_resource_parse(sc->sc_dev, handle, "_CRS",
129 if (dwcmmc_acpi_init_props(sc, handle) != 0) {
137 ih = acpi_intr_establish(self, (uint64_t)(uintptr_t)handle, IPL_NET,
149 dwcmmc_acpi_init_props(struct dwc_mmc_softc *sc, ACPI_HANDLE handle) argument
160 if (ACPI_SUCCESS(acpi_dsd_integer(handle, "fifo-depth", &ival))) {
163 if (ACPI_SUCCESS(acpi_dsd_integer(handle, "max-frequency", &ival))) {
166 if (ACPI_SUCCESS(acpi_dsd_integer(handle, "bus-width", &ival))) {
170 acpi_dsd_bool(handle, "non-removable", &bval);
175 acpi_dsd_bool(handle, "broke
[all...]
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/unix/
H A Ddir.c43 dir->handle = NULL;
83 dir->handle = opendir(dirname);
85 if (dir->handle == NULL) {
103 REQUIRE(VALID_DIR(dir) && dir->handle != NULL);
108 entry = readdir(dir->handle);
136 REQUIRE(VALID_DIR(dir) && dir->handle != NULL);
138 (void)closedir(dir->handle);
139 dir->handle = NULL;
147 REQUIRE(VALID_DIR(dir) && dir->handle != NULL);
149 rewinddir(dir->handle);
[all...]
/netbsd-current/external/mpl/bind/dist/lib/isc/
H A Ddir.c43 dir->handle = NULL;
83 dir->handle = opendir(dirname);
85 if (dir->handle == NULL) {
103 REQUIRE(VALID_DIR(dir) && dir->handle != NULL);
108 entry = readdir(dir->handle);
136 REQUIRE(VALID_DIR(dir) && dir->handle != NULL);
138 (void)closedir(dir->handle);
139 dir->handle = NULL;
147 REQUIRE(VALID_DIR(dir) && dir->handle != NULL);
149 rewinddir(dir->handle);
[all...]
/netbsd-current/external/mpl/bind/dist/lib/isccc/
H A Dccmsg.c49 recv_data(isc_nmhandle_t *handle, isc_result_t eresult, isc_region_t *region, argument
120 isc_nm_pauseread(handle);
121 ccmsg->cb(handle, ccmsg->result, ccmsg->cbarg);
125 isccc_ccmsg_init(isc_mem_t *mctx, isc_nmhandle_t *handle, argument
128 REQUIRE(handle != NULL);
135 .handle = handle,
161 isc_nm_resumeread(ccmsg->handle);
163 isc_nm_read(ccmsg->handle, recv_data, ccmsg);
173 isc_nm_cancelread(ccmsg->handle);
[all...]
/netbsd-current/external/mit/libuv/dist/include/
H A Duv.h161 XX(HANDLE, handle) \
313 typedef void (*uv_alloc_cb)(uv_handle_t* handle,
323 typedef void (*uv_close_cb)(uv_handle_t* handle);
324 typedef void (*uv_poll_cb)(uv_poll_t* handle, int status, int events);
325 typedef void (*uv_timer_cb)(uv_timer_t* handle);
326 typedef void (*uv_async_cb)(uv_async_t* handle);
327 typedef void (*uv_prepare_cb)(uv_prepare_t* handle);
328 typedef void (*uv_check_cb)(uv_check_t* handle);
329 typedef void (*uv_idle_cb)(uv_idle_t* handle);
331 typedef void (*uv_walk_cb)(uv_handle_t* handle, voi
426 uv_stream_t* handle; member in struct:uv_shutdown_s
543 uv_stream_t* handle; member in struct:uv_write_s
600 uv_stream_t* handle; member in struct:uv_connect_s
677 uv_udp_t* handle; member in struct:uv_udp_send_s
773 uv_tty_set_mode(uv_tty_t* handle, int mode) argument
[all...]
/netbsd-current/sys/external/bsd/drm/dist/bsd-core/
H A Ddrm_agpsupport.c211 void *handle; local
227 handle = drm_agp_allocate_memory(pages, type);
229 if (handle == NULL) {
234 entry->handle = handle;
243 agp_memory_info(dev->agp->agpdev, entry->handle, &info);
245 request->handle = (unsigned long) entry->handle;
269 void *handle)
274 if (entry->handle
268 drm_agp_lookup_entry(struct drm_device *dev, void *handle) argument
447 drm_agp_free_memory(void *handle) argument
459 drm_agp_bind_memory(void *handle, off_t start) argument
470 drm_agp_unbind_memory(void *handle) argument
[all...]
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dsftp-server.c303 /* handle handles */
366 handle_to_string(int handle, u_char **stringp, int *hlenp) argument
371 put_u32(*stringp, handle);
377 handle_from_string(const u_char *handle, u_int hlen) argument
383 val = get_u32(handle);
391 handle_to_name(int handle) argument
393 if (handle_is_ok(handle, HANDLE_DIR)||
394 handle_is_ok(handle, HANDLE_FILE))
395 return handles[handle].name;
400 handle_to_dir(int handle) argument
408 handle_to_fd(int handle) argument
416 handle_to_flags(int handle) argument
424 handle_update_read(int handle, ssize_t bytes) argument
431 handle_update_write(int handle, ssize_t bytes) argument
438 handle_bytes_read(int handle) argument
446 handle_bytes_write(int handle) argument
454 handle_close(int handle) argument
473 handle_log_close(int handle, const char *emsg) argument
501 u_char *handle; local
600 send_handle(u_int32_t id, int handle) argument
743 int r, handle, fd, flags, mode, status = SSH2_FX_FAILURE; local
782 int r, handle, ret, status = SSH2_FX_FAILURE; local
800 int r, handle, fd, ret, status = SSH2_FX_FAILURE; local
854 int r, handle, fd, ret, status; local
937 int fd, r, handle, status = SSH2_FX_FAILURE; local
1033 int handle, fd, r; local
1087 int r, handle, status = SSH2_FX_FAILURE; local
1118 int r, handle; local
1390 int r, handle, fd; local
1429 int handle, fd, r, status = SSH2_FX_OP_UNSUPPORTED; local
[all...]

Completed in 247 milliseconds

<<11121314151617181920>>