Searched refs:match_add (Results 1 - 1 of 1) sorted by relevance

/systemd/src/libsystemd/sd-bus/
H A Dtest-bus-match.c55 static int match_add(sd_bus_slot *slots, struct bus_match_node *root, const char *match, int value) { function
101 assert_se(match_add(slots, &root, "arg2='wal\\'do',sender='foo',type='signal',interface='bar.x',", 1) >= 0);
102 assert_se(match_add(slots, &root, "arg2='wal\\'do2',sender='foo',type='signal',interface='bar.x',", 2) >= 0);
103 assert_se(match_add(slots, &root, "arg3='test',sender='foo',type='signal',interface='bar.x',", 3) >= 0);
104 assert_se(match_add(slots, &root, "arg3='test',sender='foo',type='method_call',interface='bar.x',", 4) >= 0);
105 assert_se(match_add(slots, &root, "", 5) >= 0);
106 assert_se(match_add(slots, &root, "interface='quux.x'", 6) >= 0);
107 assert_se(match_add(slots, &root, "interface='bar.x'", 7) >= 0);
108 assert_se(match_add(slots, &root, "member='waldo',path='/foo/bar'", 8) >= 0);
109 assert_se(match_add(slot
[all...]

Completed in 10 milliseconds