Searched refs:handle (Results 126 - 150 of 1815) sorted by relevance

1234567891011>>

/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.mi/
H A Dmi-catch-load.c23 #define dlclose(handle) FreeLibrary (handle)
/netbsd-current/external/gpl3/gdb/dist/gdbsupport/
H A Dgdb-dlfcn.cc41 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/dist/gdb/testsuite/gdb.base/
H A Dcatch-signal.c27 handle (int sig) function
29 do_nothing (); /* handle marker */
35 signal (SIGHUP, handle);
H A Dcatch-load.c23 #define dlclose(handle) FreeLibrary (handle)
H A Dsolib-vanish-main.c27 void *handle; local
33 handle = dlopen (VANISH_LIB, RTLD_NOW);
34 if (!handle)
52 foo = dlsym (handle, "foo");
64 dlclose (handle);
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.mi/
H A Dmi-catch-load.c23 #define dlclose(handle) FreeLibrary (handle)
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.python/
H A Dpy-event-load.c23 #define dlclose(handle) FreeLibrary (handle)
/netbsd-current/external/mpl/bind/dist/lib/ns/include/ns/
H A Dupdate.h44 ns_update_start(ns_client_t *client, isc_nmhandle_t *handle,
/netbsd-current/external/gpl2/lvm2/dist/tools/
H A Dtoollib.h32 uint32_t flags, void *handle,
36 void *handle));
40 int scan_label_only, void *handle,
44 void *handle));
49 void *handle,
53 void *handle));
56 uint32_t flags, void *handle,
59 void *handle));
62 struct logical_volume *lv, void *handle,
65 void *handle));
[all...]
/netbsd-current/tests/libexec/ld.elf_so/
H A Dt_dlerror-false.c47 void *handle, *sym; local
57 handle = dlopen("libm.so", RTLD_LAZY);
60 ATF_CHECK(handle != NULL);
62 sym = dlsym(handle, "sin");
67 dlclose(handle);
/netbsd-current/external/mit/libuv/dist/test/
H A Dtest-udp-alloc-cb-fail.c29 #define CHECK_HANDLE(handle) \
30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
44 static void sv_alloc_cb(uv_handle_t* handle, argument
48 CHECK_HANDLE(handle);
54 static void cl_alloc_cb(uv_handle_t* handle, argument
61 static void close_cb(uv_handle_t* handle) { argument
62 CHECK_HANDLE(handle);
63 ASSERT(1 == uv_is_closing(handle));
68 static void cl_recv_cb(uv_udp_t* handle, argument
109 sv_recv_cb(uv_udp_t* handle, ssize_t nread, const uv_buf_t* rcvbuf, const struct sockaddr* addr, unsigned flags) argument
[all...]
H A Dtest-udp-try-send.c29 #define CHECK_HANDLE(handle) \
30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
40 static void alloc_cb(uv_handle_t* handle, argument
44 CHECK_HANDLE(handle);
51 static void close_cb(uv_handle_t* handle) { argument
52 CHECK_HANDLE(handle);
53 ASSERT(uv_is_closing(handle));
58 static void sv_recv_cb(uv_udp_t* handle, argument
74 uv_close((uv_handle_t*) handle, close_c
[all...]
H A Dtest-timer-again.c37 static void close_cb(uv_handle_t* handle) { argument
38 ASSERT_NOT_NULL(handle);
44 static void repeat_1_cb(uv_timer_t* handle) { argument
47 ASSERT(handle == &repeat_1);
48 ASSERT(uv_timer_get_repeat((uv_timer_t*)handle) == 50);
60 uv_close((uv_handle_t*)handle, close_cb);
69 static void repeat_2_cb(uv_timer_t* handle) { argument
70 ASSERT(handle == &repeat_2);
80 ASSERT(0 == uv_is_active((uv_handle_t*) handle));
81 uv_close((uv_handle_t*)handle, close_c
[all...]
H A Dtest-udp-send-and-recv.c29 #define CHECK_HANDLE(handle) \
30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
44 static void alloc_cb(uv_handle_t* handle, argument
48 CHECK_HANDLE(handle);
55 static void close_cb(uv_handle_t* handle) { argument
56 CHECK_HANDLE(handle);
57 ASSERT(1 == uv_is_closing(handle));
62 static void cl_recv_cb(uv_udp_t* handle, argument
67 CHECK_HANDLE(handle);
116 sv_recv_cb(uv_udp_t* handle, ssize_t nread, const uv_buf_t* rcvbuf, const struct sockaddr* addr, unsigned flags) argument
[all...]
H A Dtest-udp-multicast-interface6.c29 #define CHECK_HANDLE(handle) \
30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
39 static void close_cb(uv_handle_t* handle) { argument
40 CHECK_HANDLE(handle);
48 CHECK_HANDLE(req->handle);
52 uv_close((uv_handle_t*) req->handle, close_cb);
H A Dtest-udp-multicast-ttl.c29 #define CHECK_HANDLE(handle) \
30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
39 static void close_cb(uv_handle_t* handle) { argument
40 CHECK_HANDLE(handle);
48 CHECK_HANDLE(req->handle);
52 uv_close((uv_handle_t*) req->handle, close_cb);
H A Dtest-udp-multicast-interface.c29 #define CHECK_HANDLE(handle) \
30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
39 static void close_cb(uv_handle_t* handle) { argument
40 CHECK_HANDLE(handle);
48 CHECK_HANDLE(req->handle);
52 uv_close((uv_handle_t*) req->handle, close_cb);
H A Dtest-idle.c36 static void close_cb(uv_handle_t* handle) { argument
41 static void timer_cb(uv_timer_t* handle) { argument
42 ASSERT(handle == &timer_handle);
54 static void idle_cb(uv_idle_t* handle) { argument
55 ASSERT(handle == &idle_handle);
63 static void check_cb(uv_check_t* handle) { argument
64 ASSERT(handle == &check_handle);
102 static void idle_stop(uv_idle_t* handle) { argument
103 uv_idle_stop(handle);
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Dsolib-vanish-main.c27 void *handle; local
33 handle = dlopen (VANISH_LIB, RTLD_NOW);
34 if (!handle)
52 foo = dlsym (handle, "foo");
64 dlclose (handle);
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/
H A Dadd_cred.c53 gsskrb5_cred cred, handle; local
56 handle = NULL;
130 handle = calloc(1, sizeof(*handle));
131 if (handle == NULL) {
138 handle->usage = cred_usage;
139 handle->endtime = cred->endtime;
140 handle->principal = NULL;
141 handle->keytab = NULL;
142 handle
[all...]
/netbsd-current/usr.sbin/intrctl/
H A Dintrctl_io.c84 intrctl_io_free(void *handle) argument
87 free(handle);
91 intrctl_io_ncpus(void *handle) argument
93 struct intrio_list *list = handle;
99 intrctl_io_nintrs(void *handle) argument
101 struct intrio_list *list = handle;
107 intrctl_io_firstline(void *handle) argument
109 struct intrio_list *list = handle;
122 intrctl_io_nextline(void *handle, struct intrio_list_line *cur) argument
129 list = handle;
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/powerplay/
H A Damdgpu_amd_powerplay.c81 static int pp_early_init(void *handle) argument
84 struct amdgpu_device *adev = handle;
98 static int pp_sw_init(void *handle) argument
100 struct amdgpu_device *adev = handle;
111 static int pp_sw_fini(void *handle) argument
113 struct amdgpu_device *adev = handle;
124 static int pp_hw_init(void *handle) argument
127 struct amdgpu_device *adev = handle;
138 static int pp_hw_fini(void *handle) argument
140 struct amdgpu_device *adev = handle;
179 pp_late_init(void *handle) argument
196 pp_late_fini(void *handle) argument
206 pp_is_idle(void *handle) argument
211 pp_wait_for_idle(void *handle) argument
216 pp_sw_reset(void *handle) argument
221 pp_set_powergating_state(void *handle, enum amd_powergating_state state) argument
227 pp_suspend(void *handle) argument
235 pp_resume(void *handle) argument
243 pp_set_clockgating_state(void *handle, enum amd_clockgating_state state) argument
281 pp_dpm_load_fw(void *handle) argument
296 pp_dpm_fw_loading_complete(void *handle) argument
301 pp_set_clockgating_by_smu(void *handle, uint32_t msg_id) argument
352 pp_dpm_force_performance_level(void *handle, enum amd_dpm_forced_level level) argument
372 pp_dpm_get_performance_level( void *handle) argument
387 pp_dpm_get_sclk(void *handle, bool low) argument
405 pp_dpm_get_mclk(void *handle, bool low) argument
423 pp_dpm_powergate_vce(void *handle, bool gate) argument
439 pp_dpm_powergate_uvd(void *handle, bool gate) argument
455 pp_dpm_dispatch_tasks(void *handle, enum amd_pp_task task_id, enum amd_pm_state_type *user_state) argument
471 pp_dpm_get_current_power_state(void *handle) argument
506 pp_dpm_set_fan_control_mode(void *handle, uint32_t mode) argument
522 pp_dpm_get_fan_control_mode(void *handle) argument
540 pp_dpm_set_fan_speed_percent(void *handle, uint32_t percent) argument
558 pp_dpm_get_fan_speed_percent(void *handle, uint32_t *speed) argument
577 pp_dpm_get_fan_speed_rpm(void *handle, uint32_t *rpm) argument
594 pp_dpm_set_fan_speed_rpm(void *handle, uint32_t rpm) argument
612 pp_dpm_get_pp_num_states(void *handle, struct pp_states_info *data) argument
651 pp_dpm_get_pp_table(void *handle, char **table) argument
666 amd_powerplay_reset(void *handle) argument
682 pp_dpm_set_pp_table(void *handle, const char *buf, size_t size) argument
719 pp_dpm_force_clock_level(void *handle, enum pp_clock_type type, uint32_t mask) argument
744 pp_dpm_print_clock_levels(void *handle, enum pp_clock_type type, char *buf) argument
763 pp_dpm_get_sclk_od(void *handle) argument
781 pp_dpm_set_sclk_od(void *handle, uint32_t value) argument
800 pp_dpm_get_mclk_od(void *handle) argument
818 pp_dpm_set_mclk_od(void *handle, uint32_t value) argument
836 pp_dpm_read_sensor(void *handle, int idx, void *value, int *size) argument
867 pp_dpm_get_vce_clock_state(void *handle, unsigned idx) argument
879 pp_get_power_profile_mode(void *handle, char *buf) argument
894 pp_set_power_profile_mode(void *handle, long *input, uint32_t size) argument
918 pp_odn_edit_dpm_table(void *handle, uint32_t type, long *input, uint32_t size) argument
933 pp_dpm_set_mp1_state(void *handle, enum pp_mp1_state mp1_state) argument
949 pp_dpm_switch_power_profile(void *handle, enum PP_SMC_POWER_PROFILE type, bool en) argument
996 pp_set_power_limit(void *handle, uint32_t limit) argument
1028 pp_get_power_limit(void *handle, uint32_t *limit, bool default_limit) argument
1052 pp_display_configuration_change(void *handle, const struct amd_pp_display_configuration *display_config) argument
1066 pp_get_display_power_level(void *handle, struct amd_pp_simple_clock_info *output) argument
1081 pp_get_current_clocks(void *handle, struct amd_pp_clock_info *clocks) argument
1133 pp_get_clock_by_type(void *handle, enum amd_pp_clock_type type, struct amd_pp_clocks *clocks) argument
1150 pp_get_clock_by_type_with_latency(void *handle, enum amd_pp_clock_type type, struct pp_clock_levels_with_latency *clocks) argument
1166 pp_get_clock_by_type_with_voltage(void *handle, enum amd_pp_clock_type type, struct pp_clock_levels_with_voltage *clocks) argument
1184 pp_set_watermarks_for_clocks_ranges(void *handle, void *clock_ranges) argument
1201 pp_display_clock_voltage_request(void *handle, struct pp_display_clock_request *clock) argument
1217 pp_get_display_mode_validation_clocks(void *handle, struct amd_pp_simple_clock_info *clocks) argument
1237 pp_dpm_powergate_mmhub(void *handle) argument
1252 pp_dpm_powergate_gfx(void *handle, bool gate) argument
1267 pp_dpm_powergate_acp(void *handle, bool gate) argument
1282 pp_dpm_powergate_sdma(void *handle, bool gate) argument
1297 pp_set_powergating_by_smu(void *handle, uint32_t block_type, bool gate) argument
1328 pp_notify_smu_enable_pwe(void *handle) argument
1347 pp_enable_mgpu_fan_boost(void *handle) argument
1365 pp_set_min_deep_sleep_dcefclk(void *handle, uint32_t clock) argument
1384 pp_set_hard_min_dcefclk_by_freq(void *handle, uint32_t clock) argument
1403 pp_set_hard_min_fclk_by_freq(void *handle, uint32_t clock) argument
1422 pp_set_active_display_count(void *handle, uint32_t count) argument
1437 pp_get_asic_baco_capability(void *handle, bool *cap) argument
1455 pp_get_asic_baco_state(void *handle, int *state) argument
1472 pp_set_asic_baco_state(void *handle, int state) argument
1489 pp_get_ppfeature_status(void *handle, char *buf) argument
1509 pp_set_ppfeature_status(void *handle, uint64_t ppfeature_masks) argument
1529 pp_asic_reset_mode_2(void *handle) argument
1549 pp_smu_i2c_bus_access(void *handle, bool acquire) argument
1569 pp_set_df_cstate(void *handle, enum pp_df_cstate state) argument
1586 pp_set_xgmi_pstate(void *handle, uint32_t pstate) argument
[all...]
/netbsd-current/external/bsd/libpcap/dist/
H A Dpcap-rpcap-unix.c397 rpcap_inject_common(pcap_t *handle, const void *buf, size_t size) argument
399 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "inject not supported with remote capture");
404 rpcap_stats_common(pcap_t *handle, struct pcap_stat *stats) argument
418 stats->ps_recv = handle->md.packets_read;
424 if (rpcap_send_pkt(handle, buf_stats, sizeof(buf_stats)))
427 reply_len = rpcap_recv_pkt(handle, handle->fd, reply_buf, sizeof(reply_buf));
430 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Bad protocol (statsreply: %u)", reply_len);
441 rpcap_setfilter_common(pcap_t *handle, struct bpf_program *prog) argument
446 if (install_bpf_program(handle, pro
491 rpcap_read_unix(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument
540 rpcap_cleanup(pcap_t *handle) argument
554 rpcap_activate(pcap_t *handle) argument
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/test/
H A Dupcallstest.c40 static int obj_provider_init(const OSSL_CORE_HANDLE *handle, argument
45 *provctx = (void *)handle;
63 if (!c_obj_create(handle, DIGEST_OID, DIGEST_SN, DIGEST_LN)
64 || !c_obj_create(handle, SIG_OID, SIG_SN, SIG_LN)
65 || !c_obj_create(handle, SIGALG_OID, SIGALG_SN, SIGALG_LN))
68 if (!c_obj_add_sigid(handle, SIGALG_OID, DIGEST_SN, SIG_LN))
72 if (!c_obj_add_sigid(handle, SIGALG_OID, "", SIG_LN))
74 if (!c_obj_add_sigid(handle, SIGALG_OID, NULL, SIG_LN))
77 if (c_obj_add_sigid(handle, SIGALG_OID, "NonsenseAlg", SIG_LN))
/netbsd-current/external/gpl2/lvm2/dist/include/
H A Dreport.h42 void report_free(void *handle);
43 int report_object(void *handle, struct volume_group *vg,
46 int report_output(void *handle);

Completed in 190 milliseconds

1234567891011>>