Home
last modified time | relevance | path

Searched refs:strbuf (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/basic/
Dstrbuf.h10 struct strbuf { struct
35 struct strbuf* strbuf_new(void); argument
36 ssize_t strbuf_add_string(struct strbuf *str, const char *s, size_t len);
37 void strbuf_complete(struct strbuf *str);
38 struct strbuf* strbuf_free(struct strbuf *str);
39 DEFINE_TRIVIAL_CLEANUP_FUNC(struct strbuf*, strbuf_free);
Dstrbuf.c29 struct strbuf* strbuf_new(void) { in strbuf_new()
30 struct strbuf *str; in strbuf_new()
32 str = new(struct strbuf, 1); in strbuf_new()
35 *str = (struct strbuf) { in strbuf_new()
60 void strbuf_complete(struct strbuf *str) { in strbuf_complete()
68 struct strbuf* strbuf_free(struct strbuf *str) { in strbuf_free()
108 ssize_t strbuf_add_string(struct strbuf *str, const char *s, size_t len) { in strbuf_add_string()
Dmeson.build222 'strbuf.c',
223 'strbuf.h',
/systemd-251/src/test/
Dtest-strbuf.c11 static ssize_t add_string(struct strbuf *sb, const char *s) { in add_string()
15 TEST(strbuf) { in TEST() argument
16 _cleanup_(strbuf_freep) struct strbuf *sb; in TEST()
Dmeson.build536 [files('test-strbuf.c')],
/systemd-251/src/libsystemd/sd-journal/
Dcatalog.c374 struct strbuf *sb, in write_catalog()
442 _cleanup_(strbuf_freep) struct strbuf *sb = NULL; in catalog_update()
/systemd-251/src/shared/
Dhwdb-util.c39 struct strbuf *strings;