Home
last modified time | relevance | path

Searched refs:bus_gvariant_get_alignment (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/libsystemd/sd-bus/
Dtest-bus-gvariant.c75 TEST(bus_gvariant_get_alignment) { in TEST() argument
76 assert_se(bus_gvariant_get_alignment("") == 1); in TEST()
77 assert_se(bus_gvariant_get_alignment("()") == -EINVAL); in TEST()
78 assert_se(bus_gvariant_get_alignment("y") == 1); in TEST()
79 assert_se(bus_gvariant_get_alignment("b") == 1); in TEST()
80 assert_se(bus_gvariant_get_alignment("u") == 4); in TEST()
81 assert_se(bus_gvariant_get_alignment("s") == 1); in TEST()
82 assert_se(bus_gvariant_get_alignment("o") == 1); in TEST()
83 assert_se(bus_gvariant_get_alignment("g") == 1); in TEST()
84 assert_se(bus_gvariant_get_alignment("v") == 8); in TEST()
[all …]
Dbus-gvariant.c31 r = bus_gvariant_get_alignment(t); in bus_gvariant_get_size()
96 r = bus_gvariant_get_alignment(signature); in bus_gvariant_get_size()
103 int bus_gvariant_get_alignment(const char *signature) { in bus_gvariant_get_alignment() function
151 a = bus_gvariant_get_alignment(t); in bus_gvariant_get_alignment()
162 a = bus_gvariant_get_alignment(t); in bus_gvariant_get_alignment()
Dbus-gvariant.h7 int bus_gvariant_get_alignment(const char *signature) _pure_;
Dbus-message.c1520 align = bus_gvariant_get_alignment(CHAR_TO_STR(type)); in message_append_basic()
1777 alignment = bus_gvariant_get_alignment(contents); in bus_message_open_array()
1932 alignment = bus_gvariant_get_alignment(contents); in bus_message_open_struct()
1993 alignment = bus_gvariant_get_alignment(contents); in bus_message_open_dict_entry()
2201 alignment = bus_gvariant_get_alignment(strempty(c->signature)); in bus_message_close_struct()
3197 alignment = bus_gvariant_get_alignment(c->signature); in container_next_item()
3235 alignment = bus_gvariant_get_alignment(t); in container_next_item()
3410 align = bus_gvariant_get_alignment(CHAR_TO_STR(type)); in sd_bus_message_read_basic()
3690 alignment = bus_gvariant_get_alignment(c->signature); in bus_message_enter_array()
3900 size_t align = bus_gvariant_get_alignment(t); in build_struct_offsets()
[all …]