Home
last modified time | relevance | path

Searched refs:serialize_item_escaped (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/test/
Dtest-serialize.c40 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/
Dserialize.c39 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()
Dserialize.h12 int serialize_item_escaped(FILE *f, const char *key, const char *value);
/systemd-251/src/login/
Dlogind-dbus.c2139 r = serialize_item_escaped(f, "WALL_MESSAGE", m->wall_message); in update_schedule_file()
/systemd-251/src/core/
Dservice.c2732 r = serialize_item_escaped(f, "status-text", s->status_text); in service_serialize()