Lines Matching refs:fp

202 			ch->handlers->read->fp = 0;  in _php_curl_verify_handlers()
215 ch->handlers->write_header->fp = 0; in _php_curl_verify_handlers()
229 ch->handlers->write->fp = 0; in _php_curl_verify_handlers()
1487 return fwrite(data, size, nmemb, t->fp); in curl_write()
1644 if (t->fp) { in curl_read()
1645 length = fread(data, size, nmemb, t->fp); in curl_read()
1716 return fwrite(data, size, nmemb, t->fp); in curl_write_header()
2051 ch->handlers->write->fp = source->handlers->write->fp; in _php_setup_easy_copy_handlers()
2052 ch->handlers->write_header->fp = source->handlers->write_header->fp; in _php_setup_easy_copy_handlers()
2053 ch->handlers->read->fp = source->handlers->read->fp; in _php_setup_easy_copy_handlers()
2760 FILE *fp = NULL; in _php_curl_setopt() local
2769 if (FAILURE == php_stream_cast(what, PHP_STREAM_AS_STDIO, (void *) &fp, REPORT_ERRORS)) { in _php_curl_setopt()
2773 if (!fp) { in _php_curl_setopt()
2786 ch->handlers->write->fp = NULL; in _php_curl_setopt()
2790 ch->handlers->write->fp = fp; in _php_curl_setopt()
2804 ch->handlers->write_header->fp = NULL; in _php_curl_setopt()
2808 ch->handlers->write_header->fp = fp; in _php_curl_setopt()
2822 ch->handlers->read->fp = NULL; in _php_curl_setopt()
2826 ch->handlers->read->fp = fp; in _php_curl_setopt()
2846 error = curl_easy_setopt(ch->cp, option, fp); in _php_curl_setopt()
3264 if (ch->handlers->write->method == PHP_CURL_FILE && ch->handlers->write->fp) { in PHP_FUNCTION()
3265 fflush(ch->handlers->write->fp); in PHP_FUNCTION()
3267 if (ch->handlers->write_header->method == PHP_CURL_FILE && ch->handlers->write_header->fp) { in PHP_FUNCTION()
3268 fflush(ch->handlers->write_header->fp); in PHP_FUNCTION()
3726 ch->handlers->write->fp = NULL; in _php_curl_reset_handlers()
3733 ch->handlers->write_header->fp = NULL; in _php_curl_reset_handlers()
3740 ch->handlers->read->fp = NULL; in _php_curl_reset_handlers()