Home | History | Annotate | Download | only in scripts

Lines Matching defs:from

69 // Sets *from to where dash lines removed from (in case they weren't).
72 // If no prefix, *help NULL. If no postfix, *from == *help
73 // if no dashlines returned *from == *help.
75 char **grab_dashlines(struct double_list **help, struct double_list **from,
84 *from = *help;
88 s = trim((*from)->data);
94 *from = (*from)->next;
95 if (*from == *help) return 0;
101 while (!*trim((*from)->prev->data)) {
102 *from = (*from)->prev;
103 free(dlist_zap(from));
107 // If *help was at start of dashblock, move it with *from
109 dd = *from;
110 if (*help == *from) *help = 0;
114 if (*from == (dd = dd->next)) break;
119 while (count) list[--count] = dlist_zap(from);
244 // text out of throw into catch, copying from this to that
258 // Grab option description lines to collate from catch and throw
323 char *from = this+2, *to = that+2;
324 int ff = strcspn(from, " ]"), tt = strcspn(to, " ]");
326 if (from[ff] == ']' && to[tt] == ']') {
327 try = xmprintf("[-%.*s%.*s] ", ff, from, tt, to);