Searched defs:strbuf (Results 1 - 2 of 2) sorted by relevance

/systemd/src/basic/
H A Dstrbuf.h26 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);
/systemd/src/udev/
H A Dudev-rules.c39 #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...]

Completed in 259 milliseconds