Lines Matching refs:mech
426 GDBusAuthMechanism *mech; in client_choose_mech_and_send_initial_response() local
436 mech = NULL; in client_choose_mech_and_send_initial_response()
491 mech = g_object_new (auth_mech_to_use_gtype, in client_choose_mech_and_send_initial_response()
501 if (!_g_dbus_auth_mechanism_is_supported (mech)) in client_choose_mech_and_send_initial_response()
504 g_object_unref (mech); in client_choose_mech_and_send_initial_response()
505 mech = NULL; in client_choose_mech_and_send_initial_response()
510 initial_response = _g_dbus_auth_mechanism_client_initiate (mech, in client_choose_mech_and_send_initial_response()
515 g_type_name (G_TYPE_FROM_INSTANCE (mech)), in client_choose_mech_and_send_initial_response()
535 g_object_unref (mech); in client_choose_mech_and_send_initial_response()
536 mech = NULL; in client_choose_mech_and_send_initial_response()
543 return mech; in client_choose_mech_and_send_initial_response()
574 GDBusAuthMechanism *mech; in _g_dbus_auth_run_client() local
585 mech = NULL; in _g_dbus_auth_run_client()
669 mech = client_choose_mech_and_send_initial_response (auth, in _g_dbus_auth_run_client()
676 if (mech == NULL) in _g_dbus_auth_run_client()
678 …if (_g_dbus_auth_mechanism_client_get_state (mech) == G_DBUS_AUTH_MECHANISM_STATE_WAITING_FOR_DATA) in _g_dbus_auth_run_client()
804 _g_dbus_auth_mechanism_client_data_receive (mech, decoded_data, decoded_data_len); in _g_dbus_auth_run_client()
807 …if (_g_dbus_auth_mechanism_client_get_state (mech) == G_DBUS_AUTH_MECHANISM_STATE_HAVE_DATA_TO_SEN… in _g_dbus_auth_run_client()
812 data = _g_dbus_auth_mechanism_client_data_send (mech, &data_len); in _g_dbus_auth_run_client()
854 if (mech != NULL) in _g_dbus_auth_run_client()
855 g_object_unref (mech); in _g_dbus_auth_run_client()
941 GDBusAuthMechanism *mech; in _g_dbus_auth_run_server() local
954 mech = NULL; in _g_dbus_auth_run_server()
1132 g_clear_object (&mech); in _g_dbus_auth_run_server()
1133 mech = g_object_new (auth_mech_to_use_gtype, in _g_dbus_auth_run_server()
1152 _g_dbus_auth_mechanism_server_initiate (mech, in _g_dbus_auth_run_server()
1159 switch (_g_dbus_auth_mechanism_server_get_state (mech)) in _g_dbus_auth_run_server()
1220 data = _g_dbus_auth_mechanism_server_data_send (mech, &data_len); in _g_dbus_auth_run_server()
1284 _g_dbus_auth_mechanism_server_data_receive (mech, decoded_data, decoded_data_len); in _g_dbus_auth_run_server()
1366 g_clear_object (&mech); in _g_dbus_auth_run_server()