Lines Matching refs:nmemb
1414 static size_t curl_write_nothing(char *data, size_t size, size_t nmemb, void *ctx) in curl_write_nothing() argument
1416 return size * nmemb; in curl_write_nothing()
1422 static size_t curl_write(char *data, size_t size, size_t nmemb, void *ctx) in curl_write() argument
1426 size_t length = size * nmemb; in curl_write()
1430 fprintf(stderr, "data = %s, size = %d, nmemb = %d, ctx = %x\n", data, size, nmemb, ctx); in curl_write()
1438 return fwrite(data, size, nmemb, t->fp); in curl_write()
1597 static size_t curl_read(char *data, size_t size, size_t nmemb, void *ctx) in curl_read() argument
1606 length = fread(data, size, nmemb, t->fp); in curl_read()
1623 ZVAL_LONG(&argv[2], (int)size * nmemb); in curl_read()
1646 length = MIN((int) (size * nmemb), Z_STRLEN(retval)); in curl_read()
1665 static size_t curl_write_header(char *data, size_t size, size_t nmemb, void *ctx) in curl_write_header() argument
1669 size_t length = size * nmemb; in curl_write_header()
1682 return fwrite(data, size, nmemb, t->fp); in curl_write_header()