Lines Matching refs:matchmaker
1173 BusMatchmaker *matchmaker; in bus_matchmaker_new() local
1176 matchmaker = dbus_new0 (BusMatchmaker, 1); in bus_matchmaker_new()
1177 if (matchmaker == NULL) in bus_matchmaker_new()
1180 matchmaker->refcount = 1; in bus_matchmaker_new()
1184 RulePool *p = matchmaker->rules_by_type + i; in bus_matchmaker_new()
1193 return matchmaker; in bus_matchmaker_new()
1198 RulePool *p = matchmaker->rules_by_type + i; in bus_matchmaker_new()
1205 dbus_free (matchmaker); in bus_matchmaker_new()
1211 bus_matchmaker_get_rules (BusMatchmaker *matchmaker, in bus_matchmaker_get_rules() argument
1225 p = matchmaker->rules_by_type + message_type; in bus_matchmaker_get_rules()
1269 bus_matchmaker_gc_rules (BusMatchmaker *matchmaker, in bus_matchmaker_gc_rules() argument
1285 p = matchmaker->rules_by_type + message_type; in bus_matchmaker_gc_rules()
1294 bus_matchmaker_ref (BusMatchmaker *matchmaker) in bus_matchmaker_ref() argument
1296 _dbus_assert (matchmaker->refcount > 0); in bus_matchmaker_ref()
1298 matchmaker->refcount += 1; in bus_matchmaker_ref()
1300 return matchmaker; in bus_matchmaker_ref()
1304 bus_matchmaker_unref (BusMatchmaker *matchmaker) in bus_matchmaker_unref() argument
1306 _dbus_assert (matchmaker->refcount > 0); in bus_matchmaker_unref()
1308 matchmaker->refcount -= 1; in bus_matchmaker_unref()
1309 if (matchmaker->refcount == 0) in bus_matchmaker_unref()
1315 RulePool *p = matchmaker->rules_by_type + i; in bus_matchmaker_unref()
1321 dbus_free (matchmaker); in bus_matchmaker_unref()
1327 bus_matchmaker_add_rule (BusMatchmaker *matchmaker, in bus_matchmaker_add_rule() argument
1338 rules = bus_matchmaker_get_rules (matchmaker, rule->message_type, in bus_matchmaker_add_rule()
1350 bus_matchmaker_gc_rules (matchmaker, rule->message_type, in bus_matchmaker_add_rule()
1464 bus_matchmaker_remove_rule (BusMatchmaker *matchmaker, in bus_matchmaker_remove_rule() argument
1475 rules = bus_matchmaker_get_rules (matchmaker, rule->message_type, in bus_matchmaker_remove_rule()
1484 bus_matchmaker_gc_rules (matchmaker, rule->message_type, rule->interface, in bus_matchmaker_remove_rule()
1502 bus_matchmaker_remove_rule_by_value (BusMatchmaker *matchmaker, in bus_matchmaker_remove_rule_by_value() argument
1513 rules = bus_matchmaker_get_rules (matchmaker, value->message_type, in bus_matchmaker_remove_rule_by_value()
1547 bus_matchmaker_gc_rules (matchmaker, value->message_type, value->interface, in bus_matchmaker_remove_rule_by_value()
1598 bus_matchmaker_disconnected (BusMatchmaker *matchmaker, in bus_matchmaker_disconnected() argument
1617 RulePool *p = matchmaker->rules_by_type + i; in bus_matchmaker_disconnected()
1998 bus_matchmaker_get_recipients (BusMatchmaker *matchmaker, in bus_matchmaker_get_recipients() argument
2027 neither = bus_matchmaker_get_rules (matchmaker, DBUS_MESSAGE_TYPE_INVALID, in bus_matchmaker_get_recipients()
2032 just_iface = bus_matchmaker_get_rules (matchmaker, in bus_matchmaker_get_recipients()
2037 just_type = bus_matchmaker_get_rules (matchmaker, type, NULL, FALSE); in bus_matchmaker_get_recipients()
2040 both = bus_matchmaker_get_rules (matchmaker, type, interface, FALSE); in bus_matchmaker_get_recipients()
2796 BusMatchmaker *matchmaker; in bus_signals_test() local
2798 matchmaker = bus_matchmaker_new (); in bus_signals_test()
2799 bus_matchmaker_ref (matchmaker); in bus_signals_test()
2800 bus_matchmaker_unref (matchmaker); in bus_signals_test()
2801 bus_matchmaker_unref (matchmaker); in bus_signals_test()