Searched refs:object_path_is_valid (Results 1 – 8 of 8) sorted by relevance
/systemd-251/src/libsystemd/sd-bus/ |
D | test-bus-signature.c | 110 assert_se(object_path_is_valid("/foo/bar")); in main() 111 assert_se(object_path_is_valid("/foo")); in main() 112 assert_se(object_path_is_valid("/")); in main() 113 assert_se(object_path_is_valid("/foo5")); in main() 114 assert_se(object_path_is_valid("/foo_5")); in main() 115 assert_se(!object_path_is_valid("")); in main() 116 assert_se(!object_path_is_valid("/foo/")); in main() 117 assert_se(!object_path_is_valid("//")); in main() 118 assert_se(!object_path_is_valid("//foo")); in main() 119 assert_se(!object_path_is_valid("/foo//bar")); in main() [all …]
|
D | bus-internal.c | 10 bool object_path_is_valid(const char *p) { in object_path_is_valid() function 53 if (!object_path_is_valid(a) || in object_path_startswith() 54 !object_path_is_valid(b)) in object_path_startswith()
|
D | bus-objects.c | 136 if (!object_path_is_valid(*k)) { in add_enumerated_to_set() 1597 assert_return(object_path_is_valid(path), -EINVAL); in bus_add_object() 1788 assert_return(object_path_is_valid(path), -EINVAL); in add_object_vtable_internal() 2015 assert_return(object_path_is_valid(path), -EINVAL); in sd_bus_add_node_enumerator() 2267 assert_return(object_path_is_valid(path), -EINVAL); in sd_bus_emit_properties_changed_strv() 2321 assert_return(object_path_is_valid(path), -EINVAL); in sd_bus_emit_properties_changed() 2509 assert_return(object_path_is_valid(path), -EINVAL); in sd_bus_emit_object_added() 2685 assert_return(object_path_is_valid(path), -EINVAL); in sd_bus_emit_object_removed() 2843 assert_return(object_path_is_valid(path), -EINVAL); in sd_bus_emit_interfaces_added_strv() 2912 assert_return(object_path_is_valid(path), -EINVAL); in sd_bus_emit_interfaces_added() [all …]
|
D | bus-type.c | 161 return object_path_is_valid(p); in sd_bus_object_path_is_valid()
|
D | bus-convenience.c | 762 assert_return(!path || object_path_is_valid(path), -EINVAL); in sd_bus_match_signal() 788 assert_return(!path || object_path_is_valid(path), -EINVAL); in sd_bus_match_signal_async()
|
D | bus-internal.h | 354 bool object_path_is_valid(const char *p) _pure_;
|
D | bus-message.c | 625 assert_return(object_path_is_valid(path), -EINVAL); in sd_bus_message_new_signal() 667 assert_return(object_path_is_valid(path), -EINVAL); in sd_bus_message_new_method_call() 3347 if (!object_path_is_valid(s)) in validate_object_path() 5051 r = message_peek_field_string(m, object_path_is_valid, ri, 0, NULL); in message_skip_fields() 5319 … r = message_peek_field_string(m, object_path_is_valid, &ri, item_size, &m->path); in bus_message_parse_fields()
|
D | sd-bus.c | 3946 assert_return(object_path_is_valid(prefix), -EINVAL); in sd_bus_path_encode() 3966 assert_return(object_path_is_valid(path), -EINVAL); in sd_bus_path_decode() 3967 assert_return(object_path_is_valid(prefix), -EINVAL); in sd_bus_path_decode()
|