Lines Matching refs:nmemb
1287 static size_t curl_write_nothing(char *data, size_t size, size_t nmemb, void *ctx) in curl_write_nothing() argument
1289 return size * nmemb; in curl_write_nothing()
1295 static size_t curl_write(char *data, size_t size, size_t nmemb, void *ctx) in curl_write() argument
1299 size_t length = size * nmemb; in curl_write()
1304 fprintf(stderr, "data = %s, size = %d, nmemb = %d, ctx = %x\n", data, size, nmemb, ctx); in curl_write()
1312 return fwrite(data, size, nmemb, t->fp); in curl_write()
1520 static size_t curl_read(char *data, size_t size, size_t nmemb, void *ctx) in curl_read() argument
1529 length = fread(data, size, nmemb, t->fp); in curl_read()
1550 ZVAL_LONG(zlength, (int) size * nmemb); in curl_read()
1577 length = MIN((int) (size * nmemb), Z_STRLEN_P(retval_ptr)); in curl_read()
1596 static size_t curl_write_header(char *data, size_t size, size_t nmemb, void *ctx) in curl_write_header() argument
1600 size_t length = size * nmemb; in curl_write_header()
1614 return fwrite(data, size, nmemb, t->fp); in curl_write_header()