Lines Matching refs:srcpos
234 void srcpos_update(struct srcpos *pos, const char *text, int len) in srcpos_update()
255 struct srcpos *
256 srcpos_copy(struct srcpos *pos) in srcpos_copy()
258 struct srcpos *pos_new; in srcpos_copy()
264 pos_new = xmalloc(sizeof(struct srcpos)); in srcpos_copy()
266 memcpy(pos_new, pos, sizeof(struct srcpos)); in srcpos_copy()
276 struct srcpos *srcpos_extend(struct srcpos *pos, struct srcpos *newtail) in srcpos_extend()
278 struct srcpos *p; in srcpos_extend()
289 srcpos_string(struct srcpos *pos) in srcpos_string()
314 srcpos_string_comment(struct srcpos *pos, bool first_line, int level) in srcpos_string_comment()
365 char *srcpos_string_first(struct srcpos *pos, int level) in srcpos_string_first()
370 char *srcpos_string_last(struct srcpos *pos, int level) in srcpos_string_last()
375 void srcpos_verror(struct srcpos *pos, const char *prefix, in srcpos_verror()
389 void srcpos_error(struct srcpos *pos, const char *prefix, in srcpos_error()