Lines Matching refs:from
50 static int str_copy(CONF *conf, char *section, char **to, char *from);
642 static int str_copy(CONF *conf, char *section, char **pto, char *from) in str_copy() argument
651 len = strlen(from) + 1; in str_copy()
656 if (IS_QUOTE(conf, *from)) { in str_copy()
657 q = *from; in str_copy()
658 from++; in str_copy()
659 while (!IS_EOF(conf, *from) && (*from != q)) { in str_copy()
660 if (IS_ESC(conf, *from)) { in str_copy()
661 from++; in str_copy()
662 if (IS_EOF(conf, *from)) in str_copy()
665 buf->data[to++] = *(from++); in str_copy()
667 if (*from == q) in str_copy()
668 from++; in str_copy()
669 } else if (IS_DQUOTE(conf, *from)) { in str_copy()
670 q = *from; in str_copy()
671 from++; in str_copy()
672 while (!IS_EOF(conf, *from)) { in str_copy()
673 if (*from == q) { in str_copy()
674 if (*(from + 1) == q) { in str_copy()
675 from++; in str_copy()
680 buf->data[to++] = *(from++); in str_copy()
682 if (*from == q) in str_copy()
683 from++; in str_copy()
684 } else if (IS_ESC(conf, *from)) { in str_copy()
685 from++; in str_copy()
686 v = *(from++); in str_copy()
698 } else if (IS_EOF(conf, *from)) in str_copy()
700 else if (*from == '$' in str_copy()
702 || from[1] == '{' in str_copy()
703 || from[1] == '(')) { in str_copy()
708 s = &(from[1]); in str_copy()
762 newsize = strlen(p) + buf->length - (e - from); in str_copy()
778 len -= e - from; in str_copy()
779 from = e; in str_copy()
788 buf->data[to++] = *(from++); in str_copy()