Lines Matching refs:srcpos
232 void srcpos_update(struct srcpos *pos, const char *text, int len) in srcpos_update()
253 struct srcpos *
254 srcpos_copy(struct srcpos *pos) in srcpos_copy()
256 struct srcpos *pos_new; in srcpos_copy()
262 pos_new = xmalloc(sizeof(struct srcpos)); in srcpos_copy()
264 memcpy(pos_new, pos, sizeof(struct srcpos)); in srcpos_copy()
274 struct srcpos *srcpos_extend(struct srcpos *pos, struct srcpos *newtail) in srcpos_extend()
276 struct srcpos *p; in srcpos_extend()
287 srcpos_string(struct srcpos *pos) in srcpos_string()
312 srcpos_string_comment(struct srcpos *pos, bool first_line, int level) in srcpos_string_comment()
363 char *srcpos_string_first(struct srcpos *pos, int level) in srcpos_string_first()
368 char *srcpos_string_last(struct srcpos *pos, int level) in srcpos_string_last()
373 void srcpos_verror(struct srcpos *pos, const char *prefix, in srcpos_verror()
387 void srcpos_error(struct srcpos *pos, const char *prefix, in srcpos_error()