Lines Matching refs:srcpos
256 void srcpos_update(struct srcpos *pos, const char *text, int len) in srcpos_update()
277 struct srcpos *
278 srcpos_copy(struct srcpos *pos) in srcpos_copy()
280 struct srcpos *pos_new; in srcpos_copy()
286 pos_new = xmalloc(sizeof(struct srcpos)); in srcpos_copy()
288 memcpy(pos_new, pos, sizeof(struct srcpos)); in srcpos_copy()
298 struct srcpos *srcpos_extend(struct srcpos *pos, struct srcpos *newtail) in srcpos_extend()
300 struct srcpos *p; in srcpos_extend()
310 void srcpos_free(struct srcpos *pos) in srcpos_free()
312 struct srcpos *p_next; in srcpos_free()
322 srcpos_string(struct srcpos *pos) in srcpos_string()
347 srcpos_string_comment(struct srcpos *pos, bool first_line, int level) in srcpos_string_comment()
398 char *srcpos_string_first(struct srcpos *pos, int level) in srcpos_string_first()
403 char *srcpos_string_last(struct srcpos *pos, int level) in srcpos_string_last()
408 void srcpos_verror(struct srcpos *pos, const char *prefix, in srcpos_verror()
422 void srcpos_error(struct srcpos *pos, const char *prefix, in srcpos_error()