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

/systemd/src/libsystemd/sd-bus/
H A Dtest-bus-marshal.c73 assert_se(sd_bus_path_decode_many("/foo/bar", "/prefix/%", NULL) == 0);
74 assert_se(sd_bus_path_decode_many("/prefix/bar", "/prefix/%bar", NULL) == 1);
75 assert_se(sd_bus_path_decode_many("/foo/bar", "/prefix/%/suffix", NULL) == 0);
76 assert_se(sd_bus_path_decode_many("/prefix/foobar/suffix", "/prefix/%/suffix", &a) == 1 && streq_ptr(a, "foobar"));
77 assert_se(sd_bus_path_decode_many("/prefix/one_foo_two/mid/three_bar_four/suffix", "/prefix/one_%_two/mid/three_%_four/suffix", &b, &c) == 1 && streq_ptr(b, "foo") && streq_ptr(c, "bar"));
78 assert_se(sd_bus_path_decode_many("/prefix/one_foo_two/mid/three_bar_four/suffix", "/prefix/one_%_two/mid/three_%_four/suffix", NULL, &d) == 1 && streq_ptr(d, "bar"));
80 assert_se(sd_bus_path_decode_many("/foo/bar", "/foo/bar/%", NULL) == 0);
81 assert_se(sd_bus_path_decode_many("/foo/bar/suffix", "/foo/bar%", NULL) == 0);
82 assert_se(sd_bus_path_decode_many("/foo/bar/suffix", "/foo/%/bar", NULL) == 0);
83 assert_se(sd_bus_path_decode_many("/fo
[all...]
H A Dsd-bus.c3525 _public_ int sd_bus_path_decode_many(const char *path, const char *path_template, ...) { function
/systemd/src/libsystemd/
H A Dlibsystemd.sym480 sd_bus_path_decode_many;
/systemd/src/systemd/
H A Dsd-bus.h424 int sd_bus_path_decode_many(const char *path, const char *path_template, ...);

Completed in 556 milliseconds