Lines Matching refs:sbuf
98 static __inline void sbuf_parser_init(struct sbuf* buf, const char *data, int dataLen) { in sbuf_parser_init()
103 static __inline char *sbuf_cur(struct sbuf* buf) { in sbuf_cur()
108 static __inline int sbuf_peek(struct sbuf* buf, char* c) { in sbuf_peek()
117 static __inline int sbuf_end(struct sbuf* buf) { in sbuf_end()
122 static __inline int sbuf_chars(struct sbuf *buf, const char *chars) { in sbuf_chars()
138 static __inline int sbuf_notchars(struct sbuf *buf, const char *chars) { in sbuf_notchars()
154 static __inline int sbuf_char(struct sbuf *buf, const char t) { in sbuf_char()
160 static __inline int sbuf_notchar(struct sbuf *buf, const char t) { in sbuf_notchar()
168 static __inline int sbuf_any(struct sbuf* buf) { in sbuf_any()
182 static __inline int sbuf_range(struct sbuf *buf, const char *chars) { in sbuf_range()
202 static __inline int sbuf_string(struct sbuf *buf, const char *str) { in sbuf_string()
215 static __inline int sbuf_many(struct sbuf *buf, in sbuf_many()
216 int(*consume)(struct sbuf *buf)) in sbuf_many()
227 static __inline int sbuf_many1(struct sbuf *buf, in sbuf_many1()
228 int(*consume)(struct sbuf *buf)) in sbuf_many1()
240 static __inline int sbuf_until(struct sbuf *buf, in sbuf_until()
241 int(*consume)(struct sbuf *buf), in sbuf_until()
242 int(*stop)(struct sbuf *buf)) in sbuf_until()
256 static __inline int sbuf_try(struct sbuf *buf, int(*parser)(struct sbuf *buf)) in sbuf_try()
258 struct sbuf tryp; in sbuf_try()