/external/wpa_supplicant_6/wpa_supplicant/ |
D | wpa_priv.c | 57 static void wpa_priv_cmd_register(struct wpa_priv_interface *iface, in wpa_priv_cmd_register() argument 60 if (iface->drv_priv) { in wpa_priv_cmd_register() 62 if (iface->driver->set_wpa) in wpa_priv_cmd_register() 63 iface->driver->set_wpa(iface->drv_priv, 0); in wpa_priv_cmd_register() 64 if (iface->driver->deinit) in wpa_priv_cmd_register() 65 iface->driver->deinit(iface->drv_priv); in wpa_priv_cmd_register() 66 iface->drv_priv = NULL; in wpa_priv_cmd_register() 67 iface->wpas_registered = 0; in wpa_priv_cmd_register() 70 if (iface->l2) { in wpa_priv_cmd_register() 73 l2_packet_deinit(iface->l2); in wpa_priv_cmd_register() [all …]
|
D | ctrl_iface_dbus.c | 42 static void process_watch(struct ctrl_iface_dbus_priv *iface, in process_watch() argument 45 dbus_connection_ref(iface->con); in process_watch() 47 iface->should_dispatch = 0; in process_watch() 56 if (iface->should_dispatch) { in process_watch() 57 while (dbus_connection_get_dispatch_status(iface->con) == in process_watch() 59 dbus_connection_dispatch(iface->con); in process_watch() 60 iface->should_dispatch = 0; in process_watch() 63 dbus_connection_unref(iface->con); in process_watch() 85 static void connection_setup_add_watch(struct ctrl_iface_dbus_priv *iface, in connection_setup_add_watch() argument 98 iface, watch); in connection_setup_add_watch() [all …]
|
D | main.c | 117 struct wpa_interface *ifaces, *iface; in main() local 128 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); in main() 141 iface->bridge_ifname = optarg; in main() 147 iface->confname = optarg; in main() 150 iface->ctrl_interface = optarg; in main() 153 iface->driver = optarg; in main() 178 iface->ifname = optarg; in main() 188 iface->driver_param = optarg; in main() 214 iface = os_realloc(ifaces, iface_count * in main() 216 if (iface == NULL) in main() [all …]
|
/external/bluetooth/glib/tests/gobject/ |
D | ifaceinit.c | 63 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 { \ argument 155 g_assert (G_TYPE_IS_INTERFACE (((GTypeInterface*) iface)->g_type)); \ 157 g_assert (((GTypeInterface*) iface)->g_instance_type == 0); \ [all …]
|
D | ifacecheck.c | 48 test_iface_base_init (TestIfaceClass *iface) in test_iface_base_init() argument 50 iface->history = g_string_new (iface->history ? iface->history->str : NULL); in test_iface_base_init() 107 TestIfaceClass *iface = g_iface; in check_func() local 109 g_string_append (iface->history, check_data); in check_func() 116 TestIfaceClass *iface; in main() local 128 iface = TEST_IFACE_GET_CLASS (object); in main() 129 g_assert (strcmp (iface->history->str, "A") == 0); in main() 137 iface = TEST_IFACE_GET_CLASS (object); in main() 138 g_assert (strcmp (iface->history->str, "AB") == 0); in main() 146 iface = TEST_IFACE_GET_CLASS (object); in main() [all …]
|
/external/bluetooth/glib/gio/ |
D | gappinfo.c | 148 GAppInfoIface *iface; in g_app_info_dup() local 152 iface = G_APP_INFO_GET_IFACE (appinfo); in g_app_info_dup() 154 return (* iface->dup) (appinfo); in g_app_info_dup() 170 GAppInfoIface *iface; in g_app_info_equal() local 178 iface = G_APP_INFO_GET_IFACE (appinfo1); in g_app_info_equal() 180 return (* iface->equal) (appinfo1, appinfo2); in g_app_info_equal() 200 GAppInfoIface *iface; in g_app_info_get_id() local 204 iface = G_APP_INFO_GET_IFACE (appinfo); in g_app_info_get_id() 206 return (* iface->get_id) (appinfo); in g_app_info_get_id() 220 GAppInfoIface *iface; in g_app_info_get_name() local [all …]
|
D | gvolume.c | 174 GVolumeIface *iface; in g_volume_get_name() local 178 iface = G_VOLUME_GET_IFACE (volume); in g_volume_get_name() 180 return (* iface->get_name) (volume); in g_volume_get_name() 196 GVolumeIface *iface; in g_volume_get_icon() local 200 iface = G_VOLUME_GET_IFACE (volume); in g_volume_get_icon() 202 return (* iface->get_icon) (volume); in g_volume_get_icon() 221 GVolumeIface *iface; in g_volume_get_uuid() local 225 iface = G_VOLUME_GET_IFACE (volume); in g_volume_get_uuid() 227 return (* iface->get_uuid) (volume); in g_volume_get_uuid() 243 GVolumeIface *iface; in g_volume_get_drive() local [all …]
|
D | gdrive.c | 167 GDriveIface *iface; in g_drive_get_name() local 171 iface = G_DRIVE_GET_IFACE (drive); in g_drive_get_name() 173 return (* iface->get_name) (drive); in g_drive_get_name() 188 GDriveIface *iface; in g_drive_get_icon() local 192 iface = G_DRIVE_GET_IFACE (drive); in g_drive_get_icon() 194 return (* iface->get_icon) (drive); in g_drive_get_icon() 208 GDriveIface *iface; in g_drive_has_volumes() local 212 iface = G_DRIVE_GET_IFACE (drive); in g_drive_has_volumes() 214 return (* iface->has_volumes) (drive); in g_drive_has_volumes() 231 GDriveIface *iface; in g_drive_get_volumes() local [all …]
|
D | gmount.c | 162 GMountIface *iface; in g_mount_get_root() local 166 iface = G_MOUNT_GET_IFACE (mount); in g_mount_get_root() 168 return (* iface->get_root) (mount); in g_mount_get_root() 184 GMountIface *iface; in g_mount_get_name() local 188 iface = G_MOUNT_GET_IFACE (mount); in g_mount_get_name() 190 return (* iface->get_name) (mount); in g_mount_get_name() 206 GMountIface *iface; in g_mount_get_icon() local 210 iface = G_MOUNT_GET_IFACE (mount); in g_mount_get_icon() 212 return (* iface->get_icon) (mount); in g_mount_get_icon() 231 GMountIface *iface; in g_mount_get_uuid() local [all …]
|
D | gfile.c | 276 GFileIface *iface = g_class; in g_file_class_init() local 278 iface->enumerate_children_async = g_file_real_enumerate_children_async; in g_file_class_init() 279 iface->enumerate_children_finish = g_file_real_enumerate_children_finish; in g_file_class_init() 280 iface->set_display_name_async = g_file_real_set_display_name_async; in g_file_class_init() 281 iface->set_display_name_finish = g_file_real_set_display_name_finish; in g_file_class_init() 282 iface->query_info_async = g_file_real_query_info_async; in g_file_class_init() 283 iface->query_info_finish = g_file_real_query_info_finish; in g_file_class_init() 284 iface->query_filesystem_info_async = g_file_real_query_filesystem_info_async; in g_file_class_init() 285 iface->query_filesystem_info_finish = g_file_real_query_filesystem_info_finish; in g_file_class_init() 286 iface->set_attributes_async = g_file_real_set_attributes_async; in g_file_class_init() [all …]
|
D | gseekable.c | 91 GSeekableIface *iface; in g_seekable_tell() local 95 iface = G_SEEKABLE_GET_IFACE (seekable); in g_seekable_tell() 97 return (* iface->tell) (seekable); in g_seekable_tell() 111 GSeekableIface *iface; in g_seekable_can_seek() local 115 iface = G_SEEKABLE_GET_IFACE (seekable); in g_seekable_can_seek() 117 return (* iface->can_seek) (seekable); in g_seekable_can_seek() 146 GSeekableIface *iface; in g_seekable_seek() local 150 iface = G_SEEKABLE_GET_IFACE (seekable); in g_seekable_seek() 152 return (* iface->seek) (seekable, offset, type, cancellable, error); in g_seekable_seek() 166 GSeekableIface *iface; in g_seekable_can_truncate() local [all …]
|
D | gloadableicon.c | 90 GLoadableIconIface *iface = g_class; in g_loadable_icon_class_init() local 92 iface->load_async = g_loadable_icon_real_load_async; in g_loadable_icon_class_init() 93 iface->load_finish = g_loadable_icon_real_load_finish; in g_loadable_icon_class_init() 122 GLoadableIconIface *iface; in g_loadable_icon_load() local 126 iface = G_LOADABLE_ICON_GET_IFACE (icon); in g_loadable_icon_load() 128 return (* iface->load) (icon, size, type, cancellable, error); in g_loadable_icon_load() 150 GLoadableIconIface *iface; in g_loadable_icon_load_async() local 154 iface = G_LOADABLE_ICON_GET_IFACE (icon); in g_loadable_icon_load_async() 156 (* iface->load_async) (icon, size, cancellable, callback, user_data); in g_loadable_icon_load_async() 177 GLoadableIconIface *iface; in g_loadable_icon_load_finish() local [all …]
|
/external/dhcpcd/ |
D | bpf.c | 52 open_socket(struct interface *iface, int protocol) in open_socket() argument 89 strlcpy(ifr.ifr_name, iface->name, sizeof(ifr.ifr_name)); in open_socket() 96 if (iface->buffer_size != (size_t)buf_len) { in open_socket() 97 free(iface->buffer); in open_socket() 98 iface->buffer_size = buf_len; in open_socket() 99 iface->buffer = xmalloc(buf_len); in open_socket() 100 iface->buffer_len = iface->buffer_pos = 0; in open_socket() 113 fdp = &iface->arp_fd; in open_socket() 117 fdp = &iface->raw_fd; in open_socket() 131 free(iface->buffer); in open_socket() [all …]
|
D | configure.c | 83 run_script(const struct options *options, const char *iface, in run_script() argument 106 e = strlen("interface") + strlen(iface) + 2; in run_script() 108 snprintf(env[1], e, "interface=%s", iface); in run_script() 184 delete_route(const struct interface *iface, struct rt *rt, int metric) in delete_route() argument 193 retval = del_route(iface, &rt->dest, &rt->net, &rt->gate, metric); in delete_route() 200 delete_routes(struct interface *iface, int metric) in delete_routes() argument 206 rt = reverse_routes(iface->routes); in delete_routes() 209 retval += delete_route(iface, rt, metric); in delete_routes() 213 iface->routes = NULL; in delete_routes() 232 configure_routes(struct interface *iface, const struct dhcp_message *dhcp, in configure_routes() argument [all …]
|
D | client.c | 256 get_duid(unsigned char *duid, const struct interface *iface) in get_duid() argument 300 hw = htons(iface->family); in get_duid() 310 memcpy(p, iface->hwaddr, iface->hwlen); in get_duid() 311 p += iface->hwlen; in get_duid() 392 struct interface *iface = state->interface; in get_old_lease() local 399 if (stat(iface->leasefile, &sb) == -1) { in get_old_lease() 404 if (!IN_LINKLOCAL(ntohl(iface->addr.s_addr))) in get_old_lease() 406 iface->leasefile); in get_old_lease() 407 if ((dhcp = read_lease(iface)) == NULL) { in get_old_lease() 464 struct interface *iface = state->interface; in client_setup() local [all …]
|
D | lpf.c | 68 open_socket(struct interface *iface, int protocol) in open_socket() argument 86 if (!(su.sll.sll_ifindex = if_nametoindex(iface->name))) { in open_socket() 108 fd = &iface->arp_fd; in open_socket() 110 fd = &iface->raw_fd; in open_socket() 122 send_raw_packet(const struct interface *iface, int protocol, in send_raw_packet() argument 135 if (!(su.sll.sll_ifindex = if_nametoindex(iface->name))) { in send_raw_packet() 139 su.sll.sll_hatype = htons(iface->family); in send_raw_packet() 140 su.sll.sll_halen = iface->hwlen; in send_raw_packet() 141 if (iface->family == ARPHRD_INFINIBAND) in send_raw_packet() 145 memset(&su.sll.sll_addr, 0xff, iface->hwlen); in send_raw_packet() [all …]
|
/external/wpa_supplicant/ |
D | ctrl_iface_dbus.c | 50 static void process_watch(struct ctrl_iface_dbus_priv *iface, in process_watch() argument 53 dbus_connection_ref(iface->con); in process_watch() 55 iface->should_dispatch = 0; in process_watch() 64 if (iface->should_dispatch) { in process_watch() 65 while (dbus_connection_get_dispatch_status(iface->con) == in process_watch() 67 dbus_connection_dispatch(iface->con); in process_watch() 68 iface->should_dispatch = 0; in process_watch() 71 dbus_connection_unref(iface->con); in process_watch() 93 static void connection_setup_add_watch(struct ctrl_iface_dbus_priv *iface, in connection_setup_add_watch() argument 106 iface, watch); in connection_setup_add_watch() [all …]
|
D | main.c | 131 struct wpa_interface *ifaces, *iface; in main() local 142 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); in main() 155 iface->bridge_ifname = optarg; in main() 161 iface->confname = optarg; in main() 164 iface->ctrl_interface = optarg; in main() 167 iface->driver = optarg; in main() 192 iface->ifname = optarg; in main() 202 iface->driver_param = optarg; in main() 231 iface = os_realloc(ifaces, iface_count * in main() 233 if (iface == NULL) in main() [all …]
|
/external/libvpx/vpx/src/ |
D | vpx_decoder.c | 22 vpx_codec_iface_t *iface, in vpx_codec_dec_init_ver() argument 31 else if (!ctx || !iface) in vpx_codec_dec_init_ver() 33 else if (iface->abi_version != VPX_CODEC_INTERNAL_ABI_VERSION) in vpx_codec_dec_init_ver() 35 else if ((flags & VPX_CODEC_USE_XMA) && !(iface->caps & VPX_CODEC_CAP_XMA)) in vpx_codec_dec_init_ver() 37 else if ((flags & VPX_CODEC_USE_POSTPROC) && !(iface->caps & VPX_CODEC_CAP_POSTPROC)) in vpx_codec_dec_init_ver() 42 ctx->iface = iface; in vpx_codec_dec_init_ver() 43 ctx->name = iface->name; in vpx_codec_dec_init_ver() 51 res = ctx->iface->init(ctx); in vpx_codec_dec_init_ver() 60 ctx->priv->iface = ctx->iface; in vpx_codec_dec_init_ver() 68 vpx_codec_err_t vpx_codec_peek_stream_info(vpx_codec_iface_t *iface, in vpx_codec_peek_stream_info() argument [all …]
|
D | vpx_encoder.c | 23 vpx_codec_iface_t *iface, in vpx_codec_enc_init_ver() argument 32 else if (!ctx || !iface || !cfg) in vpx_codec_enc_init_ver() 34 else if (iface->abi_version != VPX_CODEC_INTERNAL_ABI_VERSION) in vpx_codec_enc_init_ver() 36 else if (!(iface->caps & VPX_CODEC_CAP_ENCODER)) in vpx_codec_enc_init_ver() 38 else if ((flags & VPX_CODEC_USE_XMA) && !(iface->caps & VPX_CODEC_CAP_XMA)) in vpx_codec_enc_init_ver() 41 && !(iface->caps & VPX_CODEC_CAP_PSNR)) in vpx_codec_enc_init_ver() 45 ctx->iface = iface; in vpx_codec_enc_init_ver() 46 ctx->name = iface->name; in vpx_codec_enc_init_ver() 50 res = ctx->iface->init(ctx); in vpx_codec_enc_init_ver() 59 ctx->priv->iface = ctx->iface; in vpx_codec_enc_init_ver() [all …]
|
D | vpx_decoder_compat.c | 23 const char *vpx_dec_iface_name(vpx_dec_iface_t *iface) in vpx_dec_iface_name() argument 25 return vpx_codec_iface_name((vpx_codec_iface_t *)iface); in vpx_dec_iface_name() 45 vpx_dec_iface_t *iface, in vpx_dec_init_ver() argument 49 (vpx_codec_iface_t *)iface, in vpx_dec_init_ver() 62 vpx_dec_caps_t vpx_dec_get_caps(vpx_dec_iface_t *iface) in vpx_dec_get_caps() argument 64 return vpx_codec_get_caps((vpx_codec_iface_t *)iface); in vpx_dec_get_caps() 68 vpx_dec_err_t vpx_dec_peek_stream_info(vpx_dec_iface_t *iface, in vpx_dec_peek_stream_info() argument 73 return vpx_codec_peek_stream_info((vpx_codec_iface_t *)iface, data, data_sz, in vpx_dec_peek_stream_info() 131 vpx_dec_iface_t *iface, in vpx_dec_xma_init_ver() argument 135 (vpx_codec_iface_t *)iface, in vpx_dec_xma_init_ver() [all …]
|
D | vpx_codec.c | 41 const char *vpx_codec_iface_name(vpx_codec_iface_t *iface) in vpx_codec_iface_name() argument 43 return iface ? iface->name : "<invalid interface>"; in vpx_codec_iface_name() 96 else if (!ctx->iface || !ctx->priv) in vpx_codec_destroy() 101 ctx->iface->destroy(ctx->priv->alg_priv); in vpx_codec_destroy() 103 ctx->iface = NULL; in vpx_codec_destroy() 113 vpx_codec_caps_t vpx_codec_get_caps(vpx_codec_iface_t *iface) in vpx_codec_get_caps() argument 115 return (iface) ? iface->caps : 0; in vpx_codec_get_caps() 127 else if (!ctx->iface || !ctx->priv || !ctx->iface->ctrl_maps) in vpx_codec_control_() 135 for (entry = ctx->iface->ctrl_maps; entry && entry->fn; entry++) in vpx_codec_control_()
|
/external/bluetooth/glib/gobject/ |
D | gtype.c | 195 static IFaceHolder* type_iface_peek_holder_L (TypeNode *iface, 197 …ic gboolean type_iface_vtable_base_init_Wm (TypeNode *iface, 199 …ic void type_iface_vtable_iface_init_Wm (TypeNode *iface, 334 IFaceData iface; member 555 type_lookup_prerequisite_L (TypeNode *iface, in type_lookup_prerequisite_L() argument 558 if (NODE_IS_IFACE (iface) && IFACE_NODE_N_PREREQUISITES (iface)) in type_lookup_prerequisite_L() 560 GType *prerequisites = IFACE_NODE_PREREQUISITES (iface) - 1; in type_lookup_prerequisite_L() 561 guint n_prerequisites = IFACE_NODE_N_PREREQUISITES (iface); in type_lookup_prerequisite_L() 868 TypeNode *iface) in find_conforming_child_type_L() argument 873 if (type_lookup_iface_entry_L (pnode, iface)) in find_conforming_child_type_L() [all …]
|
D | gtypeplugin.c | 122 GTypePluginClass *iface; in g_type_plugin_use() local 126 iface = G_TYPE_PLUGIN_GET_CLASS (plugin); in g_type_plugin_use() 127 iface->use_plugin (plugin); in g_type_plugin_use() 141 GTypePluginClass *iface; in g_type_plugin_unuse() local 145 iface = G_TYPE_PLUGIN_GET_CLASS (plugin); in g_type_plugin_unuse() 146 iface->unuse_plugin (plugin); in g_type_plugin_unuse() 166 GTypePluginClass *iface; in g_type_plugin_complete_type_info() local 172 iface = G_TYPE_PLUGIN_GET_CLASS (plugin); in g_type_plugin_complete_type_info() 173 iface->complete_type_info (plugin, in g_type_plugin_complete_type_info() 197 GTypePluginClass *iface; in g_type_plugin_complete_interface_info() local [all …]
|
/external/bluetooth/bluez/gdbus/ |
D | object.c | 115 static void generate_interface_xml(GString *gstr, struct interface_data *iface) in generate_interface_xml() argument 120 for (method = iface->methods; method && method->name; method++) { in generate_interface_xml() 133 for (signal = iface->signals; signal && signal->name; signal++) { in generate_interface_xml() 161 struct interface_data *iface = list->data; in generate_introspection_xml() local 164 iface->name); in generate_introspection_xml() 166 generate_interface_xml(gstr, iface); in generate_introspection_xml() 228 struct interface_data *iface = list->data; in find_interface() local 229 if (!strcmp(name, iface->name)) in find_interface() 230 return iface; in find_interface() 240 struct interface_data *iface; in generic_message() local [all …]
|