Home
last modified time | relevance | path

Searched refs:g_new0 (Results 1 – 25 of 103) sorted by relevance

12345

/external/bluetooth/bluez/health/
Dmcap_sync.c116 cmd = g_new0(mcap_md_sync_cap_rsp, 1); in send_unsupported_cap_req()
131 cmd = g_new0(mcap_md_sync_set_rsp, 1); in send_unsupported_set_req()
158 mcl->csp = g_new0(struct mcap_csp, 1); in mcap_sync_init()
400 rsp = g_new0(mcap_md_sync_cap_rsp, 1); in send_sync_cap_rsp()
467 rsp = g_new0(mcap_md_sync_set_rsp, 1); in send_sync_set_rsp()
535 cmd = g_new0(mcap_md_sync_info_ind, 1); in sync_send_indication()
733 mcl->csp->set_data = g_new0(struct sync_set_data, 1); in proc_sync_set_req()
941 cmd = g_new0(mcap_md_sync_cap_req, 1); in mcap_sync_cap_req()
946 cbdata = g_new0(struct mcap_sync_cap_cbdata, 1); in mcap_sync_cap_req()
988 cmd = g_new0(mcap_md_sync_set_req, 1); in mcap_sync_set_req()
[all …]
Dmcap.c127 mcl->cb = g_new0(struct mcap_mdl_cb, 1); in set_default_cb()
410 req_cmd = g_new0(mcap_md_req, 1); in create_req()
423 req_mdl = g_new0(mcap_md_create_mdl_req, 1); in create_mdl_req()
486 mdl = g_new0(struct mcap_mdl, 1); in mcap_create_mdl()
492 con = g_new0(struct mcap_mdl_op_cb, 1); in mcap_create_mdl()
541 con = g_new0(struct mcap_mdl_op_cb, 1); in mcap_reconnect_mdl()
598 con = g_new0(struct mcap_mdl_op_cb, 1); in mcap_delete_all_mdls()
638 con = g_new0(struct mcap_mdl_op_cb, 1); in mcap_delete_mdl()
674 con = g_new0(struct mcap_mdl_op_cb, 1); in mcap_mdl_abort()
878 c = g_new0(struct mcap_mdl_cb, 1); in parse_set_opts()
[all …]
Dhdp.c662 dc_data = g_new0(struct hdp_tmp_dc_data, 1); in channel_acquire()
775 hdp_chann = g_new0(struct hdp_channel, 1); in create_channel()
787 hdp_chann->edata = g_new0(struct hdp_echo_data, 1); in create_channel()
1394 hdp_adapter = g_new0(struct hdp_adapter, 1); in hdp_adapter_register()
1739 hdp_conn = g_new0(struct hdp_tmp_dc_data, 1); in device_create_mdl_cb()
1829 data = g_new0(struct hdp_create_dc, 1); in device_echo()
1934 data = g_new0(struct hdp_create_dc, 1); in device_create_channel()
2024 del_data = g_new0(struct hdp_tmp_dc_data, 1); in device_destroy_channel()
2126 dev = g_new0(struct hdp_device, 1); in create_health_device()
/external/bluetooth/bluez/audio/
Dgstavdtpsink.c508 value = g_value_init(g_new0(GValue, 1), G_TYPE_STRING); in gst_avdtp_sink_parse_sbc_caps()
511 list = g_value_init(g_new0(GValue, 1), GST_TYPE_LIST); in gst_avdtp_sink_parse_sbc_caps()
536 list = g_value_init(g_new0(GValue, 1), GST_TYPE_LIST); in gst_avdtp_sink_parse_sbc_caps()
555 list = g_value_init(g_new0(GValue, 1), GST_TYPE_LIST); in gst_avdtp_sink_parse_sbc_caps()
581 list = g_value_init(g_new0(GValue,1), GST_TYPE_LIST); in gst_avdtp_sink_parse_sbc_caps()
599 list = g_value_init(g_new0(GValue, 1), GST_TYPE_LIST); in gst_avdtp_sink_parse_sbc_caps()
680 value = g_new0(GValue, 1); in gst_avdtp_sink_parse_mpeg_caps()
683 list = g_value_init(g_new0(GValue, 1), GST_TYPE_LIST); in gst_avdtp_sink_parse_mpeg_caps()
693 list = g_value_init(g_new0(GValue, 1), GST_TYPE_LIST); in gst_avdtp_sink_parse_mpeg_caps()
723 list = g_value_init(g_new0(GValue, 1), GST_TYPE_LIST); in gst_avdtp_sink_parse_mpeg_caps()
[all …]
Dsource.c374 source->connect = g_new0(struct pending_request, 1); in source_setup_stream()
440 pending = g_new0(struct pending_request, 1); in source_disconnect()
550 source = g_new0(struct source, 1); in source_init()
Dmedia.c196 endpoint = g_new0(struct media_endpoint, 1); in media_endpoint_create()
430 adapter = g_new0(struct media_adapter, 1); in media_register()
549 request = g_new0(struct endpoint_request, 1); in media_endpoint_async_call()
Dsink.c423 sink->connect = g_new0(struct pending_request, 1); in sink_setup_stream()
489 pending = g_new0(struct pending_request, 1); in sink_disconnect()
707 sink = g_new0(struct sink, 1); in sink_init()
/external/bluetooth/bluez/attrib/
Dclient.c430 watcher = g_new0(struct watcher, 1); in register_watcher()
455 match = g_new0(struct watcher, 1); in unregister_watcher()
621 chr = g_new0(struct characteristic, 1); in string_to_characteristic_list()
742 chr->format = g_new0(struct format, 1); in update_char_format()
822 qfmt = g_new0(struct query_data, 1); in descriptor_cb()
852 qdesc = g_new0(struct query_data, 1); in update_all_chars()
860 qvalue = g_new0(struct query_data, 1); in update_all_chars()
899 chr = g_new0(struct characteristic, 1); in char_discovered_cb()
960 qchr = g_new0(struct query_data, 1); in discover_char()
993 chars = g_new0(char *, g_slist_length(prim->chars) + 1); in prim_get_properties()
[all …]
/external/bluetooth/bluez/gdbus/
Dmainloop.c143 info = g_new0(struct watch_info, 1); in add_watch()
219 handler = g_new0(struct timeout_handler, 1); in add_timeout()
367 dc_data = g_new0(struct disconnect_data, 1); in g_dbus_set_disconnect_function()
Dobject.c345 data = g_new0(struct builtin_security_data, 1); in builtin_security_function()
508 iface = g_new0(struct interface_data, 1); in add_interface()
532 data = g_new0(struct generic_data, 1); in object_path_ref()
/external/bluetooth/glib/gio/
Dgioscheduler.c236 job = g_new0 (GIOSchedulerJob, 1); in g_io_scheduler_push_job()
379 proxy = g_new0 (MainLoopProxy, 1); in g_io_scheduler_job_send_to_mainloop()
445 proxy = g_new0 (MainLoopProxy, 1); in g_io_scheduler_job_send_to_mainloop_async()
Dgunixmounts.c387 mount_entry = g_new0 (GUnixMountEntry, 1); in _g_get_unix_mounts()
462 mount_entry = g_new0 (GUnixMountEntry, 1); in _g_get_unix_mounts()
531 mount_entry = g_new0 (GUnixMountEntry, 1); in _g_get_unix_mounts()
586 mount_entry = g_new0 (GUnixMountEntry, 1); in _g_get_unix_mounts()
640 GUnixMountEntry* mount_entry = g_new0(GUnixMountEntry, 1); in _g_get_unix_mounts()
716 mount_entry = g_new0 (GUnixMountPoint, 1); in _g_get_unix_mount_points()
782 mount_entry = g_new0 (GUnixMountPoint, 1); in _g_get_unix_mount_points()
946 mount_entry = g_new0 (GUnixMountPoint, 1); in _g_get_unix_mount_points()
1009 mount_entry = g_new0 (GUnixMountPoint, 1); in _g_get_unix_mount_points()
Dgunixoutputstream.c484 data = g_new0 (WriteAsyncData, 1); in g_unix_output_stream_write_async()
586 data = g_new0 (CloseAsyncData, 1); in g_unix_output_stream_close_async()
Dgunixinputstream.c497 data = g_new0 (ReadAsyncData, 1); in g_unix_input_stream_read_async()
630 data = g_new0 (CloseAsyncData, 1); in g_unix_input_stream_close_async()
/external/bluetooth/glib/gio/fam/
Dfam-helper.c166 fam_connection = g_new0 (FAMConnection, 1); in _fam_sub_startup()
229 sub = g_new0 (fam_sub, 1); in _fam_sub_add()
/external/bluetooth/glib/glib/
Dgrand.c128 GRand *rand = g_new0 (GRand, 1); in g_rand_new_with_seed()
147 GRand *rand = g_new0 (GRand, 1); in g_rand_new_with_seed_array()
252 new_rand = g_new0 (GRand, 1); in g_rand_copy()
Dgmem.h66 #define g_new0(struct_type, n_structs) \ macro
/external/bluetooth/glib/gio/win32/
Dgwin32directorymonitor.c209 self->priv = (GWin32DirectoryMonitorPrivate*)g_new0 (GWin32DirectoryMonitorPrivate, 1); in g_win32_directory_monitor_init()
213 self->priv->file_notify_buffer = g_new0 (gchar, self->priv->buffer_allocated_bytes); in g_win32_directory_monitor_init()
/external/bluetooth/glib/gio/inotify/
Dinotify-sub.c54 sub = g_new0 (inotify_sub, 1); in _ih_sub_new()
Dinotify-kernel.c219 ik_event_internal_t *internal_event = g_new0 (ik_event_internal_t, 1); in ik_event_internal_new()
236 ik_event_t *event = g_new0 (ik_event_t, 1); in ik_event_new()
257 ik_event_t *event = g_new0 (ik_event_t, 1); in _ik_event_new_dummy()
/external/bluetooth/bluez/src/
Dmanager.c181 array = g_new0(char *, g_slist_length(adapters) + 1); in get_properties()
230 array = g_new0(char *, g_slist_length(adapters) + 1); in manager_update_adapters()
/external/bluetooth/bluez/serial/
Dport.c457 port = g_new0(struct serial_port, 1); in create_port()
557 device = g_new0(struct serial_device, 1); in create_serial_device()
596 port = g_new0(struct serial_port, 1); in port_register()
/external/bluetooth/bluez/input/
Ddevice.c582 req = g_new0(struct hidp_connadd_req, 1); in hidp_add_connection()
607 fake = g_new0(struct fake_input, 1); in hidp_add_connection()
1046 idev = g_new0(struct input_device, 1); in input_device_new()
1080 iconn = g_new0(struct input_conn, 1); in input_conn_new()
1133 iconn->fake = g_new0(struct fake_input, 1); in fake_input_register()
/external/bluetooth/glib/gio/fen/
Dfen-kernel.c305 pn = g_new0 (pnode_t, 1); in pnode_new()
356 fo = g_new0 (_f, 1); in port_add_internal()
/external/dbus/tools/
Ddbus-viewer.c347 d = g_new0 (LoadFromServiceData, 1); in start_load_from_service()
408 w = g_new0 (TreeWindow, 1); in tree_window_new()

12345