Lines Matching refs:from
75 static int str_copy(CONF *conf,char *section,char **to, char *from);
514 static int str_copy(CONF *conf, char *section, char **pto, char *from) in str_copy() argument
522 len=strlen(from)+1; in str_copy()
527 if (IS_QUOTE(conf,*from)) in str_copy()
529 q= *from; in str_copy()
530 from++; in str_copy()
531 while (!IS_EOF(conf,*from) && (*from != q)) in str_copy()
533 if (IS_ESC(conf,*from)) in str_copy()
535 from++; in str_copy()
536 if (IS_EOF(conf,*from)) break; in str_copy()
538 buf->data[to++]= *(from++); in str_copy()
540 if (*from == q) from++; in str_copy()
542 else if (IS_DQUOTE(conf,*from)) in str_copy()
544 q= *from; in str_copy()
545 from++; in str_copy()
546 while (!IS_EOF(conf,*from)) in str_copy()
548 if (*from == q) in str_copy()
550 if (*(from+1) == q) in str_copy()
552 from++; in str_copy()
559 buf->data[to++]= *(from++); in str_copy()
561 if (*from == q) from++; in str_copy()
563 else if (IS_ESC(conf,*from)) in str_copy()
565 from++; in str_copy()
566 v= *(from++); in str_copy()
574 else if (IS_EOF(conf,*from)) in str_copy()
576 else if (*from == '$') in str_copy()
580 s= &(from[1]); in str_copy()
632 BUF_MEM_grow_clean(buf,(strlen(p)+buf->length-(e-from))); in str_copy()
639 len -= e-from; in str_copy()
640 from=e; in str_copy()
648 buf->data[to++]= *(from++); in str_copy()