Searched refs:serialize_item_escaped (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/test/ |
D | test-serialize.c | 40 TEST(serialize_item_escaped) { in TEST() argument 47 assert_se(serialize_item_escaped(f, "a", NULL) == 0); in TEST() 48 assert_se(serialize_item_escaped(f, "a", "bbb") == 1); in TEST() 49 assert_se(serialize_item_escaped(f, "a", "bbb") == 1); in TEST() 50 assert_se(serialize_item_escaped(f, "a", long_string) == -EINVAL); in TEST() 51 assert_se(serialize_item_escaped(f, long_string, "a") == -EINVAL); in TEST() 52 assert_se(serialize_item_escaped(f, long_string, long_string) == -EINVAL); in TEST()
|
/systemd-251/src/shared/ |
D | serialize.c | 39 int serialize_item_escaped(FILE *f, const char *key, const char *value) { in serialize_item_escaped() function 124 r = serialize_item_escaped(f, key, *i); in serialize_strv()
|
D | serialize.h | 12 int serialize_item_escaped(FILE *f, const char *key, const char *value);
|
/systemd-251/src/login/ |
D | logind-dbus.c | 2139 r = serialize_item_escaped(f, "WALL_MESSAGE", m->wall_message); in update_schedule_file()
|
/systemd-251/src/core/ |
D | service.c | 2732 r = serialize_item_escaped(f, "status-text", s->status_text); in service_serialize()
|