Searched defs:n_components (Results 1 - 4 of 4) sorted by relevance
| /systemd/src/libsystemd/sd-bus/ |
| H A D | test-bus-match.c | 57 unsigned n_components = 0; local 64 r = bus_match_parse(match, &components, &n_components); 71 r = bus_match_add(root, components, n_components, &s->match_callback); 72 bus_match_parse_free(components, n_components); 79 unsigned n_components = 0; local 81 assert_se(bus_match_parse(match, &components, &n_components) >= 0); 82 assert_se(bus_match_get_scope(components, n_components) == scope); 83 bus_match_parse_free(components, n_components);
|
| H A D | bus-match.c | 786 void bus_match_parse_free(struct bus_match_component *components, unsigned n_components) { argument 789 for (i = 0; i < n_components; i++) 803 unsigned n_components = 0, i; local 894 if (!GREEDY_REALLOC(components, components_allocated, n_components + 1)) { 899 components[n_components].type = t; 900 components[n_components].value_str = value; 901 components[n_components].value_u8 = u; 902 n_components++; 918 qsort_safe(components, n_components, sizeof(struct bus_match_component), match_component_compare); 921 for (i = 0; i+1 < n_components; 937 bus_match_to_string(struct bus_match_component *components, unsigned n_components) argument 978 bus_match_add( struct bus_match_node *root, struct bus_match_component *components, unsigned n_components, struct match_callback *callback) argument 1036 bus_match_find( struct bus_match_node *root, struct bus_match_component *components, unsigned n_components, sd_bus_message_handler_t callback, void *userdata, struct match_callback **ret) argument 1183 bus_match_get_scope(const struct bus_match_component *components, unsigned n_components) argument [all...] |
| H A D | bus-control.c | 1222 unsigned n_components, 1248 for (i = 0; i < n_components; i++) { 1467 unsigned n_components, 1476 return bus_add_match_internal_kernel(bus, components, n_components, cookie); 1219 bus_add_match_internal_kernel( sd_bus *bus, struct bus_match_component *components, unsigned n_components, uint64_t cookie) argument 1463 bus_add_match_internal( sd_bus *bus, const char *match, struct bus_match_component *components, unsigned n_components, uint64_t cookie) argument
|
| H A D | sd-bus.c | 2972 unsigned n_components = 0; local 2980 r = bus_match_parse(match, &components, &n_components); 2996 scope = bus_match_get_scope(components, n_components); 3015 r = bus_add_match_internal(bus, s->match_callback.match_string, components, n_components, s->match_callback.cookie); 3024 r = bus_match_add(&bus->match_callbacks, components, n_components, &s->match_callback); 3033 bus_match_parse_free(components, n_components); 3046 unsigned n_components = 0; local 3054 r = bus_match_parse(match, &components, &n_components); 3058 r = bus_match_find(&bus->match_callbacks, components, n_components, NULL, NULL, &c); 3065 bus_match_parse_free(components, n_components); [all...] |
Completed in 25 milliseconds