Home
last modified time | relevance | path

Searched refs:object_path_is_valid (Results 1 – 8 of 8) sorted by relevance

/systemd-251/src/libsystemd/sd-bus/
Dtest-bus-signature.c110 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 …]
Dbus-internal.c10 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()
Dbus-objects.c136 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 …]
Dbus-type.c161 return object_path_is_valid(p); in sd_bus_object_path_is_valid()
Dbus-convenience.c762 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()
Dbus-internal.h354 bool object_path_is_valid(const char *p) _pure_;
Dbus-message.c625 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()
Dsd-bus.c3946 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()