Lines Matching refs:ptr

340               char *ptr = curlx_dyn_ptr(&buf);  in writeString()  local
341 if(ptr[len -1] != '\n') { in writeString()
544 const char *ptr = writeinfo; in ourWriteOut() local
553 while(ptr && *ptr && !done) { in ourWriteOut()
554 if('%' == *ptr && ptr[1]) { in ourWriteOut()
555 if('%' == ptr[1]) { in ourWriteOut()
558 ptr += 2; in ourWriteOut()
564 if('{' == ptr[1]) { in ourWriteOut()
567 end = strchr(ptr, '}'); in ourWriteOut()
568 ptr += 2; /* pass the % and the { */ in ourWriteOut()
573 vlen = end - ptr; in ourWriteOut()
576 if(!curlx_dyn_addn(&name, ptr, vlen)) { in ourWriteOut()
617 (int)vlen, ptr); in ourWriteOut()
619 ptr = end + 1; /* pass the end */ in ourWriteOut()
621 else if(!strncmp("header{", &ptr[1], 7)) { in ourWriteOut()
622 ptr += 8; in ourWriteOut()
623 end = strchr(ptr, '}'); in ourWriteOut()
627 vlen = end - ptr; in ourWriteOut()
629 memcpy(hname, ptr, vlen); in ourWriteOut()
635 ptr = end + 1; in ourWriteOut()
640 else if(!strncmp("output{", &ptr[1], 7)) { in ourWriteOut()
642 ptr += 8; in ourWriteOut()
643 if((ptr[0] == '>') && (ptr[1] == '>')) { in ourWriteOut()
645 ptr += 2; in ourWriteOut()
647 end = strchr(ptr, '}'); in ourWriteOut()
650 size_t flen = end - ptr; in ourWriteOut()
653 memcpy(fname, ptr, flen); in ourWriteOut()
665 ptr = end + 1; in ourWriteOut()
673 fputc(ptr[1], stream); in ourWriteOut()
674 ptr += 2; in ourWriteOut()
678 else if('\\' == *ptr && ptr[1]) { in ourWriteOut()
679 switch(ptr[1]) { in ourWriteOut()
691 fputc(*ptr, stream); in ourWriteOut()
692 fputc(ptr[1], stream); in ourWriteOut()
695 ptr += 2; in ourWriteOut()
698 fputc(*ptr, stream); in ourWriteOut()
699 ptr++; in ourWriteOut()