Lines Matching refs:nmemb
1342 static size_t curl_write_nothing(char *data, size_t size, size_t nmemb, void *ctx) in curl_write_nothing() argument
1344 return size * nmemb; in curl_write_nothing()
1349 static size_t curl_write(char *data, size_t size, size_t nmemb, void *ctx) in curl_write() argument
1353 size_t length = size * nmemb; in curl_write()
1357 fprintf(stderr, "data = %s, size = %d, nmemb = %d, ctx = %x\n", data, size, nmemb, ctx); in curl_write()
1365 return fwrite(data, size, nmemb, t->fp); in curl_write()
1509 static size_t curl_read(char *data, size_t size, size_t nmemb, void *ctx) in curl_read() argument
1518 length = fread(data, size, nmemb, t->fp); in curl_read()
1535 ZVAL_LONG(&argv[2], (int)size * nmemb); in curl_read()
1554 length = MIN((int) (size * nmemb), Z_STRLEN(retval)); in curl_read()
1571 static size_t curl_write_header(char *data, size_t size, size_t nmemb, void *ctx) in curl_write_header() argument
1575 size_t length = size * nmemb; in curl_write_header()
1588 return fwrite(data, size, nmemb, t->fp); in curl_write_header()