Lines Matching defs:lls
12 void linestack_addstack(struct linestack **lls, struct linestack *throw,
15 struct linestack *catch = *lls;
24 *lls = xmalloc(sizeof(struct linestack)+catch->max*sizeof(struct ptr_len));
25 memcpy(*lls, catch, sizeof(struct linestack)+pos*sizeof(struct ptr_len));
30 memmove((*lls)->idx+pos+throw->len, catch->idx+pos,
34 if (catch != *lls) {
36 catch = *lls;
45 void linestack_insert(struct linestack **lls, long pos, char *line, long len)
58 linestack_addstack(lls, &ls.ls, pos);
61 void linestack_append(struct linestack **lls, char *line)
63 linestack_insert(lls, (*lls)->len, line, strlen(line));