Searched refs:sbuf_cur (Results 1 – 2 of 2) sorted by relevance
103 static __inline char *sbuf_cur(struct sbuf* buf) { in sbuf_cur() function112 *c = *sbuf_cur(buf); in sbuf_peek()259 sbuf_parser_init(&tryp, sbuf_cur(buf), sbuf_left(buf)); in sbuf_try()261 sbuf_advance(buf, sbuf_cur(&tryp) - sbuf_cur(buf)); in sbuf_try()
337 out->file = sbuf_cur(&buf); in parse_uri()339 out->filelen = sbuf_cur(&buf) - out->file; in parse_uri()342 out->sym = sbuf_cur(&buf); in parse_uri()344 out->symlen = sbuf_cur(&buf) - out->sym; in parse_uri()352 name = sbuf_cur(&buf); in parse_uri()356 nameLen = sbuf_cur(&buf) - name; in parse_uri()362 value = sbuf_cur(&buf); in parse_uri()366 valueLen = sbuf_cur(&buf) - value; in parse_uri()