Lines Matching refs:nmemb
567 static size_t curl_write(char *data, size_t size, size_t nmemb, void *ctx) in curl_write() argument
571 size_t length = size * nmemb; in curl_write()
575 fprintf(stderr, "data = %s, size = %d, nmemb = %d, ctx = %x\n", data, size, nmemb, ctx); in curl_write()
583 return fwrite(data, size, nmemb, write_handler->fp); in curl_write()
820 static size_t curl_read(char *data, size_t size, size_t nmemb, void *ctx) in curl_read() argument
829 length = fread(data, size, nmemb, read_handler->fp); in curl_read()
844 ZVAL_LONG(&argv[2], (int)size * nmemb); in curl_read()
852 length = MIN((size * nmemb), Z_STRLEN(retval)); in curl_read()
872 static size_t curl_write_header(char *data, size_t size, size_t nmemb, void *ctx) in curl_write_header() argument
876 size_t length = size * nmemb; in curl_write_header()
889 return fwrite(data, size, nmemb, write_handler->fp); in curl_write_header()