Lines Matching defs:matchmaker
1073 BusMatchmaker *matchmaker;
1076 matchmaker = dbus_new0 (BusMatchmaker, 1);
1077 if (matchmaker == NULL)
1080 matchmaker->refcount = 1;
1084 RulePool *p = matchmaker->rules_by_type + i;
1093 return matchmaker;
1098 RulePool *p = matchmaker->rules_by_type + i;
1110 bus_matchmaker_get_rules (BusMatchmaker *matchmaker,
1124 p = matchmaker->rules_by_type + message_type;
1168 bus_matchmaker_gc_rules (BusMatchmaker *matchmaker,
1184 p = matchmaker->rules_by_type + message_type;
1193 bus_matchmaker_ref (BusMatchmaker *matchmaker)
1195 _dbus_assert (matchmaker->refcount > 0);
1197 matchmaker->refcount += 1;
1199 return matchmaker;
1203 bus_matchmaker_unref (BusMatchmaker *matchmaker)
1205 _dbus_assert (matchmaker->refcount > 0);
1207 matchmaker->refcount -= 1;
1208 if (matchmaker->refcount == 0)
1214 RulePool *p = matchmaker->rules_by_type + i;
1220 dbus_free (matchmaker);
1226 bus_matchmaker_add_rule (BusMatchmaker *matchmaker,
1237 rules = bus_matchmaker_get_rules (matchmaker, rule->message_type,
1249 bus_matchmaker_gc_rules (matchmaker, rule->message_type,
1360 bus_matchmaker_remove_rule (BusMatchmaker *matchmaker,
1371 rules = bus_matchmaker_get_rules (matchmaker, rule->message_type,
1380 bus_matchmaker_gc_rules (matchmaker, rule->message_type, rule->interface,
1398 bus_matchmaker_remove_rule_by_value (BusMatchmaker *matchmaker,
1409 rules = bus_matchmaker_get_rules (matchmaker, value->message_type,
1443 bus_matchmaker_gc_rules (matchmaker, value->message_type, value->interface,
1494 bus_matchmaker_disconnected (BusMatchmaker *matchmaker,
1513 RulePool *p = matchmaker->rules_by_type + i;
1789 bus_matchmaker_get_recipients (BusMatchmaker *matchmaker,
1818 neither = bus_matchmaker_get_rules (matchmaker, DBUS_MESSAGE_TYPE_INVALID,
1823 just_iface = bus_matchmaker_get_rules (matchmaker,
1828 just_type = bus_matchmaker_get_rules (matchmaker, type, NULL, FALSE);
1831 both = bus_matchmaker_get_rules (matchmaker, type, interface, FALSE);
2278 BusMatchmaker *matchmaker;
2280 matchmaker = bus_matchmaker_new ();
2281 bus_matchmaker_ref (matchmaker);
2282 bus_matchmaker_unref (matchmaker);
2283 bus_matchmaker_unref (matchmaker);