/netbsd-current/external/gpl3/gdb/dist/gdb/tui/ |
H A D | tui-wingeneral.c | 76 if (handle != NULL) 77 tui_wrefresh (handle.get ()); 88 win = win_info->handle.get (); 135 && win_info->handle != NULL) 149 && win_info->handle != NULL) 172 handle.reset (newwin (height, width, y, x)); 173 if (handle != NULL) 176 wnoutrefresh (handle.get ()); 177 scrollok (handle.get (), TRUE); 195 handle [all...] |
/netbsd-current/external/mit/libuv/dist/src/unix/ |
H A D | sunos.c | 425 static int uv__fs_event_rearm(uv_fs_event_t *handle) { argument 426 if (handle->fd == PORT_DELETED) 429 if (port_associate(handle->loop->fs_fd, 431 (uintptr_t) &handle->fo, 433 handle) == -1) { 436 handle->fd = PORT_LOADED; 445 uv_fs_event_t *handle = NULL; local 474 handle = (uv_fs_event_t*) pe.portev_user; 477 if (uv__is_closing(handle)) { 478 uv__handle_stop(handle); 502 uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle) argument 508 uv_fs_event_start(uv_fs_event_t* handle, uv_fs_event_cb cb, const char* path, unsigned int flags) argument 550 uv__fs_event_stop(uv_fs_event_t* handle) argument 572 uv_fs_event_stop(uv_fs_event_t* handle) argument 577 uv__fs_event_close(uv_fs_event_t* handle) argument 592 uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle) argument 597 uv_fs_event_start(uv_fs_event_t* handle, uv_fs_event_cb cb, const char* filename, unsigned int flags) argument 605 uv_fs_event_stop(uv_fs_event_t* handle) argument 610 uv__fs_event_close(uv_fs_event_t* handle) argument [all...] |
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_cik_ih.c | 283 static int cik_ih_early_init(void *handle) argument 285 struct amdgpu_device *adev = (struct amdgpu_device *)handle; 297 static int cik_ih_sw_init(void *handle) argument 300 struct amdgpu_device *adev = (struct amdgpu_device *)handle; 311 static int cik_ih_sw_fini(void *handle) argument 313 struct amdgpu_device *adev = (struct amdgpu_device *)handle; 322 static int cik_ih_hw_init(void *handle) argument 325 struct amdgpu_device *adev = (struct amdgpu_device *)handle; 334 static int cik_ih_hw_fini(void *handle) argument 336 struct amdgpu_device *adev = (struct amdgpu_device *)handle; 343 cik_ih_suspend(void *handle) argument 350 cik_ih_resume(void *handle) argument 357 cik_ih_is_idle(void *handle) argument 368 cik_ih_wait_for_idle(void *handle) argument 384 cik_ih_soft_reset(void *handle) argument 414 cik_ih_set_clockgating_state(void *handle, enum amd_clockgating_state state) argument 420 cik_ih_set_powergating_state(void *handle, enum amd_powergating_state state) argument [all...] |
H A D | amdgpu_tonga_ih.c | 270 static int tonga_ih_early_init(void *handle) argument 272 struct amdgpu_device *adev = (struct amdgpu_device *)handle; 284 static int tonga_ih_sw_init(void *handle) argument 287 struct amdgpu_device *adev = (struct amdgpu_device *)handle; 301 static int tonga_ih_sw_fini(void *handle) argument 303 struct amdgpu_device *adev = (struct amdgpu_device *)handle; 312 static int tonga_ih_hw_init(void *handle) argument 315 struct amdgpu_device *adev = (struct amdgpu_device *)handle; 324 static int tonga_ih_hw_fini(void *handle) argument 326 struct amdgpu_device *adev = (struct amdgpu_device *)handle; 333 tonga_ih_suspend(void *handle) argument 340 tonga_ih_resume(void *handle) argument 347 tonga_ih_is_idle(void *handle) argument 358 tonga_ih_wait_for_idle(void *handle) argument 374 tonga_ih_check_soft_reset(void *handle) argument 393 tonga_ih_pre_soft_reset(void *handle) argument 403 tonga_ih_post_soft_reset(void *handle) argument 413 tonga_ih_soft_reset(void *handle) argument 444 tonga_ih_set_clockgating_state(void *handle, enum amd_clockgating_state state) argument 450 tonga_ih_set_powergating_state(void *handle, enum amd_powergating_state state) argument [all...] |
/netbsd-current/sys/dev/ic/ |
H A D | mm58167.c | 65 struct todr_chip_handle *handle; local 69 handle = &sc->_mm58167_todr_handle; 70 memset(handle, 0, sizeof(*handle)); 71 handle->cookie = sc; 72 handle->todr_gettime_ymdhms = mm58167_gettime_ymdhms; 73 handle->todr_settime_ymdhms = mm58167_settime_ymdhms; 74 return handle; 81 mm58167_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt) argument 83 struct mm58167_softc *sc = handle 231 mm58167_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt) argument [all...] |
H A D | mc146818.c | 49 todr_chip_handle_t handle; local 59 handle = &sc->sc_handle; 60 handle->cookie = sc; 61 KASSERT(handle->todr_gettime == NULL); 62 KASSERT(handle->todr_settime == NULL); 63 if (handle->todr_gettime_ymdhms == NULL) { 64 handle->todr_gettime_ymdhms = mc146818_gettime_ymdhms; 66 if (handle->todr_settime_ymdhms == NULL) { 67 handle->todr_settime_ymdhms = mc146818_settime_ymdhms; 70 todr_attach(handle); 79 mc146818_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt) argument 131 mc146818_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt) argument [all...] |
H A D | intersil7170.c | 55 todr_chip_handle_t handle; local 59 handle = &sc->sc_handle; 61 handle->cookie = sc; 62 handle->todr_gettime = NULL; 63 handle->todr_settime = NULL; 64 handle->todr_gettime_ymdhms = intersil7170_gettime_ymdhms; 65 handle->todr_settime_ymdhms = intersil7170_settime_ymdhms; 66 handle->todr_setwen = NULL; 68 todr_attach(handle); 75 intersil7170_gettime_ymdhms(todr_chip_handle_t handle, struc argument 120 intersil7170_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt) argument [all...] |
/netbsd-current/sys/arch/sparc/dev/ |
H A D | rtc.c | 58 bus_space_handle_t sc_bh; /* handle for registers */ 59 struct todr_chip_handle sc_todr;/* TODR handle */ 112 todr_chip_handle_t handle; local 133 handle = &sc->sc_todr; 134 handle->cookie = sc; 135 handle->bus_cookie = NULL; /* unused */ 136 handle->todr_gettime = NULL; 137 handle->todr_settime = NULL; 138 handle->todr_gettime_ymdhms = rtc_gettime_ymdhms; 139 handle 147 rtc_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt) argument 182 rtc_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt) argument [all...] |
/netbsd-current/sys/external/bsd/drm2/dist/drm/ |
H A D | drm_dumb_buffers.c | 90 * handle, pitch and size are output parameters. Zero them out to 95 args->handle = 0; 132 args->handle, 135 return drm_gem_dumb_map_offset(file_priv, dev, args->handle, 139 int drm_mode_destroy_dumb(struct drm_device *dev, u32 handle, argument 146 return dev->driver->dumb_destroy(file_priv, dev, handle); 148 return drm_gem_dumb_destroy(file_priv, dev, handle); 156 return drm_mode_destroy_dumb(dev, args->handle, file_priv);
|
H A D | drm_memory.c | 109 void drm_free_agp(struct agp_memory *handle, int pages) argument 111 agp_free_memory(handle); 115 int drm_bind_agp(struct agp_memory *handle, unsigned int start) argument 117 return agp_bind_memory(handle, start); 121 int drm_unbind_agp(struct agp_memory *handle) argument 123 return agp_unbind_memory(handle); 138 map->handle = agp_remap(map->offset, map->size, dev); 140 map->handle = ioremap(map->offset, map->size); 147 map->handle = agp_remap(map->offset, map->size, dev); 149 map->handle [all...] |
/netbsd-current/external/mpl/bind/dist/contrib/dlz/modules/filesystem/ |
H A D | dir.c | 28 dir->handle = NULL; 48 dir->handle = opendir(dirname); 49 if (dir->handle == NULL) { 88 entry = readdir(dir->handle); 108 (void)closedir(dir->handle); 109 dir->handle = NULL; 117 rewinddir(dir->handle);
|
/netbsd-current/external/mit/libuv/dist/test/ |
H A D | test-tcp-close-reset.c | 51 static void close_cb(uv_handle_t* handle); 57 static void do_write(uv_tcp_t* handle) { argument 64 r = uv_write(&write_reqs[i], (uv_stream_t*) handle, &buf, 1, write_cb); 70 static void do_close(uv_tcp_t* handle) { argument 75 ASSERT(0 == uv_shutdown(&shutdown_req, (uv_stream_t*) handle, shutdown_cb)); 76 ASSERT(UV_EINVAL == uv_tcp_close_reset(handle, close_cb)); 78 r = uv_fileno((const uv_handle_t*) handle, &fd); 86 ASSERT_EQ(0, uv_tcp_close_reset(handle, close_cb)); 88 ASSERT(0 == uv_tcp_close_reset(handle, close_cb)); 89 ASSERT(UV_ENOTCONN == uv_shutdown(&shutdown_req, (uv_stream_t*) handle, shutdown_c 95 alloc_cb(uv_handle_t* handle, size_t size, uv_buf_t* buf) argument 125 close_cb(uv_handle_t* handle) argument 166 start_server(uv_loop_t* loop, uv_tcp_t* handle) argument [all...] |
H A D | test-tcp-close.c | 38 static void close_cb(uv_handle_t* handle); 62 ASSERT(req->handle == (uv_stream_t*)&tcp_handle); 68 static void close_cb(uv_handle_t* handle) { argument 69 ASSERT(handle == (uv_handle_t*)&tcp_handle); 79 static void start_server(uv_loop_t* loop, uv_tcp_t* handle) { argument 85 r = uv_tcp_init(loop, handle); 88 r = uv_tcp_bind(handle, (const struct sockaddr*) &addr, 0); 91 r = uv_listen((uv_stream_t*)handle, 128, connection_cb); 94 uv_unref((uv_handle_t*)handle); 99 * invoked when the handle i [all...] |
H A D | benchmark-tcp-write-batch.c | 50 static void close_cb(uv_handle_t* handle); 58 ASSERT(req->handle == (uv_stream_t*)&tcp_client); 62 r = uv_write(&w->req, req->handle, &w->buf, 1, write_cb); 66 r = uv_shutdown(&shutdown_req, req->handle, shutdown_cb); 81 ASSERT(req->handle == (uv_stream_t*)&tcp_client); 82 ASSERT(req->handle->write_queue_size == 0); 84 uv_close((uv_handle_t*)req->handle, close_cb); 91 static void close_cb(uv_handle_t* handle) { argument 92 ASSERT(handle == (uv_handle_t*)&tcp_client);
|
H A D | benchmark-getaddrinfo.c | 41 static void getaddrinfo_initiate(uv_getaddrinfo_t* handle); 44 static void getaddrinfo_cb(uv_getaddrinfo_t* handle, int status, argument 49 getaddrinfo_initiate(handle); 56 static void getaddrinfo_initiate(uv_getaddrinfo_t* handle) { argument 61 r = uv_getaddrinfo(loop, handle, &getaddrinfo_cb, name, NULL, NULL);
|
H A D | test-shutdown-close.c | 46 static void close_cb(uv_handle_t* handle) { argument 57 r = uv_shutdown(&shutdown_req, req->handle, shutdown_cb); 59 ASSERT(0 == uv_is_closing((uv_handle_t*) req->handle)); 60 uv_close((uv_handle_t*) req->handle, close_cb); 61 ASSERT(1 == uv_is_closing((uv_handle_t*) req->handle));
|
H A D | test-socket-buffer-size.c | 34 static void close_cb(uv_handle_t* handle) { argument 39 static void check_buffer_size(uv_handle_t* handle) { argument 43 ASSERT(0 == uv_recv_buffer_size(handle, &value)); 47 ASSERT(0 == uv_recv_buffer_size(handle, &value)); 50 ASSERT(0 == uv_recv_buffer_size(handle, &value));
|
/netbsd-current/lib/libbluetooth/ |
H A D | sdp_record.c | 50 uint32_t *handle, const sdp_data_t *rec) 112 if (handle != NULL) 113 *handle = be32dec(ss->ibuf + sizeof(uint16_t)); 119 sdp_record_update(struct sdp_session *ss, uint32_t handle, argument 131 handle = htobe32(handle); 132 req[1].iov_base = &handle; 133 req[1].iov_len = sizeof(handle); 181 sdp_record_remove(struct sdp_session *ss, uint32_t handle) argument 190 handle 49 sdp_record_insert(struct sdp_session *ss, bdaddr_t *bdaddr, uint32_t *handle, const sdp_data_t *rec) argument [all...] |
/netbsd-current/sys/sys/ |
H A D | timepps.h | 191 time_pps_create(int filedes, pps_handle_t *handle) argument 194 *handle = filedes; 199 time_pps_destroy(pps_handle_t handle) argument 206 time_pps_setparams(pps_handle_t handle, const pps_params_t *ppsparams) argument 209 return (ioctl(handle, PPS_IOC_SETPARAMS, __UNCONST(ppsparams))); 213 time_pps_getparams(pps_handle_t handle, pps_params_t *ppsparams) argument 216 return (ioctl(handle, PPS_IOC_GETPARAMS, ppsparams)); 220 time_pps_getcap(pps_handle_t handle, int *mode) argument 223 return (ioctl(handle, PPS_IOC_GETCAP, mode)); 227 time_pps_fetch(pps_handle_t handle, cons argument 235 time_pps_kcbind(pps_handle_t handle, const int kernel_consumer, const int edge, const int tsformat) argument [all...] |
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
H A D | mpt.h | 88 return intel_gvt_host.mpt->attach_vgpu(vgpu, &vgpu->handle); 138 ret = intel_gvt_host.mpt->inject_msi(vgpu->handle, addr, data); 167 return intel_gvt_host.mpt->enable_page_track(vgpu->handle, gfn); 181 return intel_gvt_host.mpt->disable_page_track(vgpu->handle, gfn); 197 return intel_gvt_host.mpt->read_gpa(vgpu->handle, gpa, buf, len); 213 return intel_gvt_host.mpt->write_gpa(vgpu->handle, gpa, buf, len); 227 return intel_gvt_host.mpt->gfn_to_mfn(vgpu->handle, gfn); 244 return intel_gvt_host.mpt->dma_map_guest_page(vgpu->handle, gfn, size, 256 intel_gvt_host.mpt->dma_unmap_guest_page(vgpu->handle, dma_addr); 271 return intel_gvt_host.mpt->dma_pin_guest_page(vgpu->handle, dma_add [all...] |
/netbsd-current/sys/external/bsd/drm/dist/bsd-core/ |
H A D | drm_context.c | 45 DRM_ERROR("Attempt to free invalid context handle: %d\n", 158 request->handle = map->handle; 171 if (map->handle == request->handle) { 233 ctx.handle = i; 248 ctx->handle = drm_ctxbitmap_next(dev); 249 if (ctx->handle == DRM_KERNEL_CONTEXT) { 251 ctx->handle = drm_ctxbitmap_next(dev); 253 DRM_DEBUG("%d\n", ctx->handle); [all...] |
/netbsd-current/tests/lib/libpthread/dlopen/ |
H A D | t_dso_pthread_create.c | 66 void *handle; local 77 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL); 78 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror()); 80 testf_dso_pthread_create = dlsym(handle, "testf_dso_pthread_create"); 87 ATF_REQUIRE(dlclose(handle) == 0);
|
H A D | t_main_pthread_create.c | 82 void *handle; local 86 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL); 87 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror()); 89 testf_dso_pthread_create = dlsym(handle, "testf_dso_pthread_create"); 96 ATF_REQUIRE(dlclose(handle) == 0);
|
/netbsd-current/tests/lib/libc/tls/ |
H A D | t_tls_dlopen.c | 84 void *handle; local 91 handle = dlopen("h_tls_dlopen.so", RTLD_NOW | RTLD_LOCAL); 92 ATF_REQUIRE(handle != NULL); 94 testf_helper = dlsym(handle, "testf_dso_helper"); 105 dlclose(handle);
|
/netbsd-current/sys/external/bsd/vchiq/dist/interface/vchiq_arm/ |
H A D | vchiq_ioctl.h | 46 unsigned int handle; /* OUT */ member in struct:__anon18438 50 unsigned int handle; member in struct:__anon18439 56 unsigned int handle; member in struct:__anon18440 79 unsigned int handle; member in struct:__anon18443 91 unsigned int handle; member in struct:__anon18445
|