Searched refs:iface (Results 1 - 25 of 122) sorted by relevance

12345

/external/wpa_supplicant_6/wpa_supplicant/
H A Dwpa_priv.c57 static void wpa_priv_cmd_register(struct wpa_priv_interface *iface, argument
60 if (iface->drv_priv) {
62 if (iface->driver->set_wpa)
63 iface->driver->set_wpa(iface->drv_priv, 0);
64 if (iface->driver->deinit)
65 iface->driver->deinit(iface->drv_priv);
66 iface->drv_priv = NULL;
67 iface
102 wpa_priv_cmd_unregister(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
116 wpa_priv_cmd_set_wpa(struct wpa_priv_interface *iface, char *buf, size_t len) argument
127 wpa_priv_cmd_scan(struct wpa_priv_interface *iface, char *buf, size_t len) argument
139 wpa_priv_get_scan_results2(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
185 wpa_priv_send_old_scan_results(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
283 wpa_priv_cmd_get_scan_results(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
299 wpa_priv_cmd_associate(struct wpa_priv_interface *iface, void *buf, size_t len) argument
345 wpa_priv_cmd_get_bssid(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
366 wpa_priv_cmd_get_ssid(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
392 wpa_priv_cmd_set_key(struct wpa_priv_interface *iface, void *buf, size_t len) argument
419 wpa_priv_cmd_get_capa(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
443 struct wpa_priv_interface *iface = ctx; local
464 wpa_priv_cmd_l2_register(struct wpa_priv_interface *iface, struct sockaddr_un *from, void *buf, size_t len) argument
517 wpa_priv_cmd_l2_unregister(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
527 wpa_priv_cmd_l2_notify_auth_start(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
535 wpa_priv_cmd_l2_send(struct wpa_priv_interface *iface, struct sockaddr_un *from, void *buf, size_t len) argument
567 wpa_priv_cmd_set_mode(struct wpa_priv_interface *iface, void *buf, size_t len) argument
578 wpa_priv_cmd_set_country(struct wpa_priv_interface *iface, char *buf) argument
591 struct wpa_priv_interface *iface = eloop_ctx; local
674 wpa_priv_interface_deinit(struct wpa_priv_interface *iface) argument
700 struct wpa_priv_interface *iface; local
815 wpa_priv_send_event(struct wpa_priv_interface *iface, int event, const void *data, size_t data_len) argument
841 wpa_priv_send_assoc(struct wpa_priv_interface *iface, int event, union wpa_event_data *data) argument
902 wpa_priv_send_interface_status(struct wpa_priv_interface *iface, union wpa_event_data *data) argument
934 wpa_priv_send_ft_response(struct wpa_priv_interface *iface, union wpa_event_data *data) argument
965 struct wpa_priv_interface *iface = ctx; local
1028 struct wpa_priv_interface *iface = ctx; local
1073 struct wpa_priv_interface *iface = ctx; local
1146 struct wpa_priv_interface *interfaces = NULL, *iface; local
[all...]
H A Dmain_none.c22 struct wpa_interface iface; local
34 memset(&iface, 0, sizeof(iface));
37 if (wpa_supplicant_add_iface(global, &iface) == NULL)
H A Dmain_symbian.cpp24 struct wpa_interface iface; local
36 memset(&iface, 0, sizeof(iface));
39 if (wpa_supplicant_add_iface(global, &iface) == NULL)
H A Dmain.c117 struct wpa_interface *ifaces, *iface; local
128 iface = ifaces = os_zalloc(sizeof(struct wpa_interface));
141 iface->bridge_ifname = optarg;
147 iface->confname = optarg;
150 iface->ctrl_interface = optarg;
153 iface->driver = optarg;
178 iface->ifname = optarg;
188 iface->driver_param = optarg;
214 iface = os_realloc(ifaces, iface_count *
216 if (iface
[all...]
H A Dctrl_iface_dbus.c42 static void process_watch(struct ctrl_iface_dbus_priv *iface, argument
45 dbus_connection_ref(iface->con);
47 iface->should_dispatch = 0;
56 if (iface->should_dispatch) {
57 while (dbus_connection_get_dispatch_status(iface->con) ==
59 dbus_connection_dispatch(iface->con);
60 iface->should_dispatch = 0;
63 dbus_connection_unref(iface->con);
85 static void connection_setup_add_watch(struct ctrl_iface_dbus_priv *iface, argument
98 iface, watc
113 connection_setup_remove_watch(struct ctrl_iface_dbus_priv *iface, DBusWatch *watch) argument
163 connection_setup_add_timeout(struct ctrl_iface_dbus_priv *iface, DBusTimeout *timeout) argument
176 connection_setup_remove_timeout(struct ctrl_iface_dbus_priv *iface, DBusTimeout *timeout) argument
212 struct ctrl_iface_dbus_priv *iface = signal_ctx; local
237 struct ctrl_iface_dbus_priv *iface = data; local
252 connection_setup_wakeup_main(struct ctrl_iface_dbus_priv *iface) argument
269 wpa_supplicant_dbus_next_objid(struct ctrl_iface_dbus_priv *iface) argument
635 struct ctrl_iface_dbus_priv *iface = wpa_s->global->dbus_ctrl_iface; local
680 struct ctrl_iface_dbus_priv *iface; local
758 struct ctrl_iface_dbus_priv *iface = wpa_s->global->dbus_ctrl_iface; local
805 struct ctrl_iface_dbus_priv *iface; local
871 integrate_with_eloop(DBusConnection *connection, struct ctrl_iface_dbus_priv *iface) argument
932 struct ctrl_iface_dbus_priv *iface; local
1023 wpa_supplicant_dbus_ctrl_iface_deinit(struct ctrl_iface_dbus_priv *iface) argument
[all...]
/external/bluetooth/glib/tests/gobject/
H A Difaceinit.c63 static void test_iface1_base_init (TestIface1Class *iface);
64 static void test_iface1_default_init (TestIface1Class *iface, gpointer class_data);
73 static void test_iface2_base_init (TestIface2Class *iface);
82 static void test_iface3_base_init (TestIface3Class *iface);
91 static void test_iface4_base_init (TestIface4Class *iface);
100 static void test_iface5_base_init (TestIface5Class *iface);
109 static void test_iface6_base_init (TestIface6Class *iface);
151 #define CHECK_IFACE_TWICE(iface) G_STMT_START { \
155 g_assert (G_TYPE_IS_INTERFACE (((GTypeInterface*) iface)->g_type)); \
157 g_assert (((GTypeInterface*) iface)
186 test_object_test_iface1_init(TestIface1Class *iface) argument
200 test_object_test_iface2_init(TestIface2Class *iface) argument
210 test_object_test_iface3_init(TestIface3Class *iface) argument
220 test_object_test_iface4_init(TestIface4Class *iface) argument
230 test_object_test_iface5_init(TestIface5Class *iface) argument
240 test_object_test_iface6_init(TestIface6Class *iface) argument
250 test_iface1_default_init(TestIface1Class *iface, gpointer class_data) argument
263 test_iface1_base_init(TestIface1Class *iface) argument
287 test_iface2_base_init(TestIface2Class *iface) argument
297 test_iface3_base_init(TestIface3Class *iface) argument
307 test_iface4_base_init(TestIface4Class *iface) argument
317 test_iface5_base_init(TestIface5Class *iface) argument
327 test_iface6_base_init(TestIface6Class *iface) argument
379 TestIfaceClass *iface; local
[all...]
H A Difacecheck.c48 test_iface_base_init (TestIfaceClass *iface) argument
50 iface->history = g_string_new (iface->history ? iface->history->str : NULL);
107 TestIfaceClass *iface = g_iface; local
109 g_string_append (iface->history, check_data);
116 TestIfaceClass *iface; local
128 iface = TEST_IFACE_GET_CLASS (object);
129 g_assert (strcmp (iface->history->str, "A") == 0);
137 iface
154 static GInterfaceInfo const iface = { local
[all...]
/external/bluetooth/glib/gio/
H A Dgvolume.c174 GVolumeIface *iface; local
178 iface = G_VOLUME_GET_IFACE (volume);
180 return (* iface->get_name) (volume);
196 GVolumeIface *iface; local
200 iface = G_VOLUME_GET_IFACE (volume);
202 return (* iface->get_icon) (volume);
221 GVolumeIface *iface; local
225 iface = G_VOLUME_GET_IFACE (volume);
227 return (* iface->get_uuid) (volume);
243 GVolumeIface *iface; local
265 GVolumeIface *iface; local
286 GVolumeIface *iface; local
309 GVolumeIface *iface; local
332 GVolumeIface *iface; local
366 GVolumeIface *iface; local
405 GVolumeIface *iface; local
440 GVolumeIface *iface; local
474 GVolumeIface *iface; local
507 GVolumeIface *iface; local
534 GVolumeIface *iface; local
587 GVolumeIface *iface; local
[all...]
H A Dgappinfo.c148 GAppInfoIface *iface; local
152 iface = G_APP_INFO_GET_IFACE (appinfo);
154 return (* iface->dup) (appinfo);
170 GAppInfoIface *iface; local
178 iface = G_APP_INFO_GET_IFACE (appinfo1);
180 return (* iface->equal) (appinfo1, appinfo2);
200 GAppInfoIface *iface; local
204 iface = G_APP_INFO_GET_IFACE (appinfo);
206 return (* iface->get_id) (appinfo);
220 GAppInfoIface *iface; local
241 GAppInfoIface *iface; local
262 GAppInfoIface *iface; local
287 GAppInfoIface *iface; local
314 GAppInfoIface *iface; local
340 GAppInfoIface *iface; local
372 GAppInfoIface *iface; local
402 GAppInfoIface *iface; local
430 GAppInfoIface *iface; local
459 GAppInfoIface *iface; local
500 GAppInfoIface *iface; local
521 GAppInfoIface *iface; local
542 GAppInfoIface *iface; local
578 GAppInfoIface *iface; local
600 GAppInfoIface *iface; local
666 GAppInfoIface *iface; local
696 GAppInfoIface *iface; local
[all...]
H A Dgdrive.c167 GDriveIface *iface; local
171 iface = G_DRIVE_GET_IFACE (drive);
173 return (* iface->get_name) (drive);
188 GDriveIface *iface; local
192 iface = G_DRIVE_GET_IFACE (drive);
194 return (* iface->get_icon) (drive);
208 GDriveIface *iface; local
212 iface = G_DRIVE_GET_IFACE (drive);
214 return (* iface->has_volumes) (drive);
231 GDriveIface *iface; local
252 GDriveIface *iface; local
272 GDriveIface *iface; local
294 GDriveIface *iface; local
314 GDriveIface *iface; local
338 GDriveIface *iface; local
371 GDriveIface *iface; local
405 GDriveIface *iface; local
441 GDriveIface *iface; local
475 GDriveIface *iface; local
507 GDriveIface *iface; local
534 GDriveIface *iface; local
[all...]
H A Dgseekable.c91 GSeekableIface *iface; local
95 iface = G_SEEKABLE_GET_IFACE (seekable);
97 return (* iface->tell) (seekable);
111 GSeekableIface *iface; local
115 iface = G_SEEKABLE_GET_IFACE (seekable);
117 return (* iface->can_seek) (seekable);
146 GSeekableIface *iface; local
150 iface = G_SEEKABLE_GET_IFACE (seekable);
152 return (* iface->seek) (seekable, offset, type, cancellable, error);
166 GSeekableIface *iface; local
201 GSeekableIface *iface; local
[all...]
H A Dgmount.c162 GMountIface *iface; local
166 iface = G_MOUNT_GET_IFACE (mount);
168 return (* iface->get_root) (mount);
184 GMountIface *iface; local
188 iface = G_MOUNT_GET_IFACE (mount);
190 return (* iface->get_name) (mount);
206 GMountIface *iface; local
210 iface = G_MOUNT_GET_IFACE (mount);
212 return (* iface->get_icon) (mount);
231 GMountIface *iface; local
253 GMountIface *iface; local
278 GMountIface *iface; local
298 GMountIface *iface; local
318 GMountIface *iface; local
346 GMountIface *iface; local
385 GMountIface *iface; local
421 GMountIface *iface; local
460 GMountIface *iface; local
503 GMountIface *iface; local
542 GMountIface *iface; local
587 GMountIface *iface; local
632 GMountIface *iface; local
677 GMountIface *iface; local
[all...]
H A Dgasyncresult.c168 GAsyncResultIface *iface; local
172 iface = G_ASYNC_RESULT_GET_IFACE (res);
174 return (* iface->get_user_data) (res);
188 GAsyncResultIface *iface; local
192 iface = G_ASYNC_RESULT_GET_IFACE (res);
194 return (* iface->get_source_object) (res);
H A Dgloadableicon.c90 GLoadableIconIface *iface = g_class; local
92 iface->load_async = g_loadable_icon_real_load_async;
93 iface->load_finish = g_loadable_icon_real_load_finish;
122 GLoadableIconIface *iface; local
126 iface = G_LOADABLE_ICON_GET_IFACE (icon);
128 return (* iface->load) (icon, size, type, cancellable, error);
150 GLoadableIconIface *iface; local
154 iface = G_LOADABLE_ICON_GET_IFACE (icon);
156 (* iface->load_async) (icon, size, cancellable, callback, user_data);
177 GLoadableIconIface *iface; local
218 GLoadableIconIface *iface; local
[all...]
/external/wpa_supplicant/
H A Dmain_none.c22 struct wpa_interface iface; local
34 memset(&iface, 0, sizeof(iface));
37 if (wpa_supplicant_add_iface(global, &iface) == NULL)
H A Dmain.c131 struct wpa_interface *ifaces, *iface; local
142 iface = ifaces = os_zalloc(sizeof(struct wpa_interface));
155 iface->bridge_ifname = optarg;
161 iface->confname = optarg;
164 iface->ctrl_interface = optarg;
167 iface->driver = optarg;
192 iface->ifname = optarg;
202 iface->driver_param = optarg;
231 iface = os_realloc(ifaces, iface_count *
233 if (iface
[all...]
H A Dctrl_iface_dbus.c50 static void process_watch(struct ctrl_iface_dbus_priv *iface, argument
53 dbus_connection_ref(iface->con);
55 iface->should_dispatch = 0;
64 if (iface->should_dispatch) {
65 while (dbus_connection_get_dispatch_status(iface->con) ==
67 dbus_connection_dispatch(iface->con);
68 iface->should_dispatch = 0;
71 dbus_connection_unref(iface->con);
93 static void connection_setup_add_watch(struct ctrl_iface_dbus_priv *iface, argument
106 iface, watc
121 connection_setup_remove_watch(struct ctrl_iface_dbus_priv *iface, DBusWatch *watch) argument
171 connection_setup_add_timeout(struct ctrl_iface_dbus_priv *iface, DBusTimeout *timeout) argument
184 connection_setup_remove_timeout(struct ctrl_iface_dbus_priv *iface, DBusTimeout *timeout) argument
220 struct ctrl_iface_dbus_priv *iface = signal_ctx; local
245 struct ctrl_iface_dbus_priv *iface = data; local
260 connection_setup_wakeup_main(struct ctrl_iface_dbus_priv *iface) argument
277 wpa_supplicant_dbus_next_objid(struct ctrl_iface_dbus_priv *iface) argument
632 struct ctrl_iface_dbus_priv *iface = wpa_s->global->dbus_ctrl_iface; local
677 struct ctrl_iface_dbus_priv *iface; local
753 integrate_with_eloop(DBusConnection *connection, struct ctrl_iface_dbus_priv *iface) argument
814 struct ctrl_iface_dbus_priv *iface; local
905 wpa_supplicant_dbus_ctrl_iface_deinit(struct ctrl_iface_dbus_priv *iface) argument
[all...]
/external/bluetooth/glib/gobject/
H A Dgtypeplugin.c122 GTypePluginClass *iface; local
126 iface = G_TYPE_PLUGIN_GET_CLASS (plugin);
127 iface->use_plugin (plugin);
141 GTypePluginClass *iface; local
145 iface = G_TYPE_PLUGIN_GET_CLASS (plugin);
146 iface->unuse_plugin (plugin);
166 GTypePluginClass *iface; local
172 iface = G_TYPE_PLUGIN_GET_CLASS (plugin);
173 iface->complete_type_info (plugin,
197 GTypePluginClass *iface; local
[all...]
/external/libvpx/vpx/src/
H A Dvpx_codec.c41 const char *vpx_codec_iface_name(vpx_codec_iface_t *iface) argument
43 return iface ? iface->name : "<invalid interface>";
96 else if (!ctx->iface || !ctx->priv)
101 ctx->iface->destroy(ctx->priv->alg_priv);
103 ctx->iface = NULL;
113 vpx_codec_caps_t vpx_codec_get_caps(vpx_codec_iface_t *iface) argument
115 return (iface) ? iface->caps : 0;
127 else if (!ctx->iface || !ct
[all...]
H A Dvpx_decoder.c22 vpx_codec_iface_t *iface,
31 else if (!ctx || !iface)
33 else if (iface->abi_version != VPX_CODEC_INTERNAL_ABI_VERSION)
35 else if ((flags & VPX_CODEC_USE_XMA) && !(iface->caps & VPX_CODEC_CAP_XMA))
37 else if ((flags & VPX_CODEC_USE_POSTPROC) && !(iface->caps & VPX_CODEC_CAP_POSTPROC))
42 ctx->iface = iface;
43 ctx->name = iface->name;
51 res = ctx->iface->init(ctx);
60 ctx->priv->iface
21 vpx_codec_dec_init_ver(vpx_codec_ctx_t *ctx, vpx_codec_iface_t *iface, vpx_codec_dec_cfg_t *cfg, vpx_codec_flags_t flags, int ver) argument
68 vpx_codec_peek_stream_info(vpx_codec_iface_t *iface, const uint8_t *data, unsigned int data_sz, vpx_codec_stream_info_t *si) argument
[all...]
H A Dvpx_encoder.c23 vpx_codec_iface_t *iface,
32 else if (!ctx || !iface || !cfg)
34 else if (iface->abi_version != VPX_CODEC_INTERNAL_ABI_VERSION)
36 else if (!(iface->caps & VPX_CODEC_CAP_ENCODER))
38 else if ((flags & VPX_CODEC_USE_XMA) && !(iface->caps & VPX_CODEC_CAP_XMA))
41 && !(iface->caps & VPX_CODEC_CAP_PSNR))
45 ctx->iface = iface;
46 ctx->name = iface->name;
50 res = ctx->iface
22 vpx_codec_enc_init_ver(vpx_codec_ctx_t *ctx, vpx_codec_iface_t *iface, vpx_codec_enc_cfg_t *cfg, vpx_codec_flags_t flags, int ver) argument
67 vpx_codec_enc_config_default(vpx_codec_iface_t *iface, vpx_codec_enc_cfg_t *cfg, unsigned int usage) argument
[all...]
H A Dvpx_decoder_compat.c23 const char *vpx_dec_iface_name(vpx_dec_iface_t *iface) argument
25 return vpx_codec_iface_name((vpx_codec_iface_t *)iface);
45 vpx_dec_iface_t *iface,
49 (vpx_codec_iface_t *)iface,
62 vpx_dec_caps_t vpx_dec_get_caps(vpx_dec_iface_t *iface) argument
64 return vpx_codec_get_caps((vpx_codec_iface_t *)iface);
68 vpx_dec_err_t vpx_dec_peek_stream_info(vpx_dec_iface_t *iface, argument
73 return vpx_codec_peek_stream_info((vpx_codec_iface_t *)iface, data, data_sz,
131 vpx_dec_iface_t *iface,
135 (vpx_codec_iface_t *)iface,
44 vpx_dec_init_ver(vpx_dec_ctx_t *ctx, vpx_dec_iface_t *iface, int ver) argument
130 vpx_dec_xma_init_ver(vpx_dec_ctx_t *ctx, vpx_dec_iface_t *iface, int ver) argument
[all...]
/external/dhcpcd/
H A Dbpf.c52 open_socket(struct interface *iface, int protocol) argument
89 strlcpy(ifr.ifr_name, iface->name, sizeof(ifr.ifr_name));
96 if (iface->buffer_size != (size_t)buf_len) {
97 free(iface->buffer);
98 iface->buffer_size = buf_len;
99 iface->buffer = xmalloc(buf_len);
100 iface->buffer_len = iface->buffer_pos = 0;
113 fdp = &iface->arp_fd;
117 fdp = &iface
138 send_raw_packet(const struct interface *iface, int protocol, const void *data, ssize_t len) argument
162 get_raw_packet(struct interface *iface, int protocol, void *data, ssize_t len) argument
[all...]
H A Dconfigure.c83 run_script(const struct options *options, const char *iface, argument
106 e = strlen("interface") + strlen(iface) + 2;
108 snprintf(env[1], e, "interface=%s", iface);
184 delete_route(const struct interface *iface, struct rt *rt, int metric) argument
193 retval = del_route(iface, &rt->dest, &rt->net, &rt->gate, metric);
200 delete_routes(struct interface *iface, int metric) argument
206 rt = reverse_routes(iface->routes);
209 retval += delete_route(iface, rt, metric);
213 iface->routes = NULL;
232 configure_routes(struct interface *iface, cons argument
324 delete_address(struct interface *iface) argument
339 configure(struct interface *iface, const char *reason, const struct dhcp_message *dhcp, const struct dhcp_message *old, const struct dhcp_lease *lease, const struct options *options, int up) argument
[all...]
H A Dlpf.c68 open_socket(struct interface *iface, int protocol) argument
86 if (!(su.sll.sll_ifindex = if_nametoindex(iface->name))) {
108 fd = &iface->arp_fd;
110 fd = &iface->raw_fd;
122 send_raw_packet(const struct interface *iface, int protocol, argument
135 if (!(su.sll.sll_ifindex = if_nametoindex(iface->name))) {
139 su.sll.sll_hatype = htons(iface->family);
140 su.sll.sll_halen = iface->hwlen;
141 if (iface->family == ARPHRD_INFINIBAND)
145 memset(&su.sll.sll_addr, 0xff, iface
155 get_raw_packet(struct interface *iface, int protocol, void *data, ssize_t len) argument
[all...]

Completed in 383 milliseconds

12345