Home
last modified time | relevance | path

Searched refs:g_variant_new (Results 1 – 25 of 62) sorted by relevance

123

/third_party/glib/gio/
Dgdbus-daemon-generated.c1583 g_variant_new ("()"), in _g_freedesktop_dbus_call_hello()
1644 g_variant_new ("()"), in _g_freedesktop_dbus_call_hello_sync()
1685 g_variant_new ("(su)", in _g_freedesktop_dbus_call_request_name()
1752 g_variant_new ("(su)", in _g_freedesktop_dbus_call_request_name_sync()
1793 g_variant_new ("(s)", in _g_freedesktop_dbus_call_release_name()
1857 g_variant_new ("(s)", in _g_freedesktop_dbus_call_release_name_sync()
1899 g_variant_new ("(su)", in _g_freedesktop_dbus_call_start_service_by_name()
1966 g_variant_new ("(su)", in _g_freedesktop_dbus_call_start_service_by_name_sync()
2007 g_variant_new ("(s)", in _g_freedesktop_dbus_call_name_has_owner()
2071 g_variant_new ("(s)", in _g_freedesktop_dbus_call_name_has_owner_sync()
[all …]
Dggtknotificationbackend.c63 … "GetNameOwner", g_variant_new ("(s)", "org.gtk.Notifications"), in g_gtk_notification_backend_is_supported()
84 params = g_variant_new ("(ss@a{sv})", g_application_get_application_id (backend->application), in g_gtk_notification_backend_send_notification()
101 params = g_variant_new ("(ss)", g_application_get_application_id (backend->application), id); in g_gtk_notification_backend_withdraw_notification()
Dgportalnotificationbackend.c63 g_variant_new ("(s@a{sv})", in g_portal_notification_backend_send_notification()
79 g_variant_new ("(s)", id), in g_portal_notification_backend_withdraw_notification()
Dxdp-dbus.c1297 g_variant_new ("()"), in gxdp_documents_call_get_mount_point()
1358 g_variant_new ("()"), in gxdp_documents_call_get_mount_point_sync()
1403 g_variant_new ("(@hbb)", in gxdp_documents_call_add()
1480 g_variant_new ("(@hbb)", in gxdp_documents_call_add_sync()
1532 g_variant_new ("(@h^aybb)", in gxdp_documents_call_add_named()
1612 g_variant_new ("(@h^aybb)", in gxdp_documents_call_add_named_sync()
1665 g_variant_new ("(@ahus^as)", in gxdp_documents_call_add_full()
1750 g_variant_new ("(@ahus^as)", in gxdp_documents_call_add_full_sync()
1806 g_variant_new ("(@h^ayus^as)", in gxdp_documents_call_add_named_full()
1894 g_variant_new ("(@h^ayus^as)", in gxdp_documents_call_add_named_full_sync()
[all …]
Dgapplicationimpl-dbus.c166 g_variant_new ("(sa{sv}as)", in send_property_change()
485 g_variant_new ("(su)", impl->bus_name, name_owner_flags), in g_application_impl_attempt_primary()
556 "ReleaseName", g_variant_new ("(s)", impl->bus_name), in g_application_impl_stop_primary()
677 g_variant_new ("(@a{sv})", platform_data), in g_application_impl_activate()
825g_variant_new ("(o^aay@a{sv})", object_path, arguments, platform_data), in g_application_impl_command_line()
833 g_variant_new ("(o^aay@a{sv})", object_path, arguments, platform_data), in g_application_impl_command_line()
895 g_variant_new ("(s)", message), in G_DEFINE_TYPE()
909 g_variant_new ("(s)", message), in g_dbus_command_line_printerr_literal()
952 g_variant_new ("(i)", status)); in g_dbus_command_line_finalize()
Dgthreadedresolver.c545 return g_variant_new ("(qqqs)", in parse_res_srv()
570 return g_variant_new ("(ssuuuuu)", in parse_res_soa()
589 return g_variant_new ("(s)", namebuf); in parse_res_ns()
604 return g_variant_new ("(qs)", in parse_res_mx()
630 record = g_variant_new ("(@as)", in parse_res_txt()
768 return g_variant_new ("(qqqs)", in parse_dns_srv()
778 return g_variant_new ("(ssuuuuu)", in parse_dns_soa()
791 return g_variant_new ("(s)", rec->Data.NS.pNameHost); in parse_dns_ns()
797 return g_variant_new ("(qs)", in parse_dns_mx()
812 record = g_variant_new ("(@as)", in parse_dns_txt()
Dgpropertyaction.c166 return g_variant_new ("(ii)", pspec->minimum, pspec->maximum); in g_property_action_get_state_hint()
171 return g_variant_new ("(uu)", pspec->minimum, pspec->maximum); in g_property_action_get_state_hint()
176 return g_variant_new ("(dd)", (double)pspec->minimum, (double)pspec->maximum); in g_property_action_get_state_hint()
181 return g_variant_new ("(dd)", pspec->minimum, pspec->maximum); in g_property_action_get_state_hint()
Dgdbusactiongroup.c392 g_variant_new ("(sav@a{sv})", action_name, &builder, platform_data), in g_dbus_action_group_activate_action_full()
405 g_variant_new ("(sv@a{sv})", action_name, value, platform_data), in g_dbus_action_group_change_action_state_full()
415 action_name, value, g_variant_new ("a{sv}", NULL)); in g_dbus_action_group_change_state()
424 action_name, parameter, g_variant_new ("a{sv}", NULL)); in g_dbus_action_group_activate()
Dgactiongroupexporter.c201 g_variant_new ("(asa{sb}a{sv}a{s(bgav)})", in g_action_group_exporter_dispatch_events()
386 result = g_variant_new ("(^as)", list); in org_gtk_Actions_method_call()
405 result = g_variant_new ("(@(bgav))", desc); in org_gtk_Actions_method_call()
424 result = g_variant_new ("(a{s(bgav)})", &builder); in org_gtk_Actions_method_call()
Dgapplication-tool.c364 …return app_call (args[0], "ActivateAction", g_variant_new ("(sav@a{sv})", name, &params, app_get_p… in app_action()
370 return app_call (app_id, "Activate", g_variant_new ("(@a{sv})", app_get_platform_data ())); in app_activate()
397 return app_call (args[0], "Open", g_variant_new ("(as@a{sv})", &files, app_get_platform_data ())); in app_launch()
/third_party/libsoup/tests/
Dxmlrpc-test.c96 g_variant_new ("(@ad)", g_variant_builder_end (&builder)), in test_sum()
135 g_variant_new ("(@ab)", g_variant_builder_end (&builder)), in test_countBools()
176 g_variant_new ("(@ay)", in test_md5sum()
262 g_variant_new ("(vv)", in test_dateChange()
311 originals = g_variant_new ("^as", echo_strings); in test_echo()
318 g_variant_new ("(@as)", originals), in test_echo()
349 request = soup_xmlrpc_build_request ("ping", g_variant_new ("()"), &error); in test_ping()
505 verify_serialization (g_variant_new ("(^ay)", "bytestring"), in test_serializer()
509 verify_serialization (g_variant_new ("(y)", 42), in test_serializer()
514 verify_serialization (g_variant_new ("(v)", soup_xmlrpc_variant_new_datetime (date)), in test_serializer()
[all …]
/third_party/glib/gio/tests/
Dgdbus-proxy.c46 g_variant_new ("(s)", "Hey"), in test_methods()
61 g_variant_new ("(s)", "Yo"), in test_methods()
85 g_variant_new ("(i)", 10000 /* msec */), in test_methods()
101 g_variant_new ("(i)", 500 /* msec */), in test_methods()
118 g_variant_new ("(i)", 10000 /* msec */), in test_methods()
241 g_variant_new ("(sv)", in test_properties()
289 g_variant_new ("(s)", "OMGInvalidated"), in test_properties()
327 g_variant_new ("(s)", "OMGInvalidated2"), in test_properties()
423 g_variant_new ("(so)", in test_signals()
456 g_variant_new ("(so)", in test_signals()
[all …]
Dgdbus-example-server.c95 g_variant_new ("(s)", response)); in handle_method_call()
114 g_variant_new ("(ds)", in handle_method_call()
248 g_variant_new ("(sa{sv}as)", in handle_set_property()
310 g_variant_new ("(sa{sv}as)", in on_timeout_cb()
Dgdbus-export.c148 g_dbus_method_invocation_return_value (invocation, g_variant_new ("(s)", output)); in foo_method_call()
562 g_variant_new ("()"), in dyna_create()
801 g_variant_new ("(s)", "winwinwin"), in test_dispatch_thread_func()
829 g_variant_new ("(s)", "failfailfail"), in test_dispatch_thread_func()
868 g_variant_new ("(ss)", in test_dispatch_thread_func()
887 g_variant_new ("(ss)", in test_dispatch_thread_func()
902 g_variant_new ("(ss)", in test_dispatch_thread_func()
917 g_variant_new ("(ssv)", in test_dispatch_thread_func()
938 g_variant_new ("(ssv)", in test_dispatch_thread_func()
954 g_variant_new ("(s)", in test_dispatch_thread_func()
[all …]
Dgdbus-example-subtree.c67 g_variant_new ("(s)", response)); in manager_method_call()
106 g_variant_new ("(s)", response)); in block_method_call()
219 g_variant_new ("(s)", response)); in partition_method_call()
Dgdbus-non-socket.c108 g_dbus_method_invocation_return_value (invocation, g_variant_new ("(s)", ret)); in pokee_method_call()
262 g_variant_new ("(s)", "I am the POKER!"), in test_non_socket()
Dgdbus-proxy-threads.c138 g_variant_new ("(su)", MY_NAME, 0), in request_name()
182 g_variant_new ("(s)", MY_NAME), in release_name()
Dactions.c731 g_variant_new ("(s)", "copy"), in call_describe()
1083 …g_action_group_change_action_state (G_ACTION_GROUP (group), "app-id", g_variant_new ("s", "org.gtk… in test_property_actions()
1088 …g_action_group_activate_action (G_ACTION_GROUP (group), "app-id", g_variant_new ("s", "org.gtk.tes… in test_property_actions()
1098 …g_action_group_change_action_state (G_ACTION_GROUP (group), "keepalive", g_variant_new ("u", 1234)… in test_property_actions()
1103 g_action_group_activate_action (G_ACTION_GROUP (group), "keepalive", g_variant_new ("u", 5678)); in test_property_actions()
1113 g_action_group_change_action_state (G_ACTION_GROUP (group), "tls", g_variant_new ("b", TRUE)); in test_property_actions()
1118 …g_action_group_change_action_state (G_ACTION_GROUP (group), "disable-proxy", g_variant_new ("b", T… in test_property_actions()
1155 …g_action_group_change_action_state (G_ACTION_GROUP (group), "type", g_variant_new ("s", "datagram"… in test_property_actions()
1160 g_action_group_activate_action (G_ACTION_GROUP (group), "type", g_variant_new ("s", "stream")); in test_property_actions()
Dgdbus-connection.c766 "Foo", g_variant_new ("(s)", arg0), in test_match_rule()
772 … "Bar", g_variant_new ("()"), G_VARIANT_TYPE_UNIT, G_DBUS_CALL_FLAGS_NONE, in test_match_rule()
893 g_dbus_message_set_body (copy, g_variant_new ("(s)", s2)); in other_filter_func()
975 g_dbus_message_set_body (m, g_variant_new ("(s)", "org.freedesktop.DBus")); in test_connection_filter()
1071 g_variant_new ("(s)", "Cat"), /* parameters */ in test_connection_filter()
1090 g_variant_new ("(s)", "Cat"), /* parameters */ in test_connection_filter()
1125 g_dbus_message_set_body (m, g_variant_new ("(s)", "org.freedesktop.DBus")); in send_bogus_message()
Dgdbus-testserver.c236 g_variant_new ("(s)", response)); in handle_method_call()
249 g_variant_new ("(ss)", reply1, reply2)); in handle_method_call()
256 g_variant_new ("(su)", "foo", 42)); in handle_method_call()
295 g_variant_new ("(ybnqiuxtdsog)", in handle_method_call()
638 g_variant_new ("((ii)(&s(ii)aya{ss}))", in handle_method_call()
661 ret = g_variant_new ("(si)", "other struct", 100); in handle_method_call()
Dgdbus-example-peer.c109 g_variant_new ("(s)", response)); in handle_method_call()
369 g_variant_new ("(s)", greeting), in main()
/third_party/gstreamer/gstplugins_bad/ext/wpe/wpe-extension/
Dgstwpeaudiosink.c121 g_variant_new ("(u)", self->id), self->fdlist); in render()
140 g_variant_new ("(ut)", self->id, info.size)); in render()
176 g_variant_new ("(uss)", self->id, self->caps, stream_id)), in set_caps()
Dgstwpebusmsgforwarder.c67 g_variant_new ("(issssusss)", in create_gerror_bus_msg()
149 g_variant_new ("(issss)", in gst_message_post_cb()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Dgstdiscoverer.c2100 nextv = g_variant_new ("()"); in _serialize_common_stream_info()
2103 g_variant_new ("(msmsmsmsv)", sinfo->stream_id, caps_str, tags_str, in _serialize_common_stream_info()
2123 g_variant_new ("(mstbmsb)", info->uri, info->duration, info->seekable, in _serialize_info()
2134 return g_variant_new ("(uuuuumst)", in _serialize_audio_stream_info()
2144 return g_variant_new ("(uuuuuuubuub)", in _serialize_video_stream_info()
2158 return g_variant_new ("ms", sinfo->language); in _serialize_subtitle_stream_info()
2186 g_variant_new ("(yvav)", 'c', common_stream_variant, &children); in gst_discoverer_info_to_variant_recurse()
2189 g_variant_new ("(yvav)", 'c', common_stream_variant, NULL); in gst_discoverer_info_to_variant_recurse()
2197 g_variant_new ("(yvv)", 'a', common_stream_variant, audio_stream_info); in gst_discoverer_info_to_variant_recurse()
2202 g_variant_new ("(yvv)", 'v', common_stream_variant, video_stream_info); in gst_discoverer_info_to_variant_recurse()
[all …]
/third_party/glib/glib/tests/
Dgvariant.c2955 value = g_variant_new ("z"); in test_invalid_varargs()
2967 value = g_variant_new ("y", 'a'); in test_invalid_varargs()
2990 g_variant_new ("(a{s*})", NULL); in test_varargs_empty_array()
3009 check_and_free (g_variant_new ("(ma{sv}m(a{sv})ma{sv}ii)", in test_varargs()
3016 check_and_free (g_variant_new ("(imimimmimmimmi)", in test_varargs()
3025 check_and_free (g_variant_new ("(ybnixd)", in test_varargs()
3029 check_and_free (g_variant_new ("(@y?*rv)", in test_varargs()
3030 g_variant_new ("y", 'a'), in test_varargs()
3031 g_variant_new ("y", 'b'), in test_varargs()
3032 g_variant_new ("y", 'c'), in test_varargs()
[all …]

123