Searched refs:strbuf (Results 1 - 7 of 7) sorted by relevance
/systemd/src/basic/ |
H A D | strbuf.h | 26 struct strbuf { struct 51 struct strbuf *strbuf_new(void); 52 ssize_t strbuf_add_string(struct strbuf *str, const char *s, size_t len); 53 void strbuf_complete(struct strbuf *str); 54 void strbuf_cleanup(struct strbuf *str);
|
H A D | strbuf.c | 25 #include "strbuf.h" 45 struct strbuf *strbuf_new(void) { 46 struct strbuf *str; 48 str = new0(struct strbuf, 1); 79 void strbuf_complete(struct strbuf *str) { 88 void strbuf_cleanup(struct strbuf *str) { 128 ssize_t strbuf_add_string(struct strbuf *str, const char *s, size_t len) {
|
/systemd/src/test/ |
H A D | test-strbuf.c | 23 #include "strbuf.h" 28 static ssize_t add_string(struct strbuf *sb, const char *s) { 33 struct strbuf *sb;
|
/systemd/src/udev/ |
H A D | udev-rules.c | 39 #include "strbuf.h" 75 struct strbuf *strbuf; member in struct:udev_rules 87 return rules->strbuf->buf + off; 91 return strbuf_add_string(rules->strbuf, s, strlen(s)); 1659 rules->strbuf = strbuf_new(); 1660 if (!rules->strbuf) 1687 rules->token_max * sizeof(struct token), rules->token_max, sizeof(struct token), rules->strbuf->len); 1689 /* cleanup temporary strbuf data */ 1691 rules->strbuf [all...] |
H A D | udevadm-hwdb.c | 31 #include "strbuf.h" 50 struct strbuf *strings;
|
/systemd/src/journal/ |
H A D | catalog.c | 41 #include "strbuf.h" 392 static int64_t write_catalog(const char *database, struct strbuf *sb, 462 struct strbuf *sb = NULL;
|
/systemd/src/hwdb/ |
H A D | hwdb.c | 33 #include "strbuf.h" 56 struct strbuf *strings;
|
Completed in 1483 milliseconds