Lines Matching refs:realsize
530 size_t realsize = size * nmemb; in curl_header_cb() local
594 return realsize; in curl_header_cb()
602 for(i=pos; i<realsize && ' '!=line[i]; ++i); in curl_header_cb()
603 if(i == realsize) in curl_header_cb()
610 for(i=pos; i<realsize && ' '!=line[i] && '\r'!=line[i] && '\n'!=line[i]; ++i); in curl_header_cb()
615 if(i<realsize && '\r'!=line[i] && '\n'!=line[i]) in curl_header_cb()
619 for(i=pos; i<realsize && '\r'!=line[i] && '\n'!=line[i]; ++i); in curl_header_cb()
624 return realsize; in curl_header_cb()
629 for(i=pos; i<realsize && ':'!=line[i] && '\r'!=line[i] && '\n'!=line[i]; ++i) in curl_header_cb()
640 return realsize; in curl_header_cb()
642 if(i == realsize || '\r'==line[i] || '\n'==line[i]) in curl_header_cb()
647 return realsize; in curl_header_cb()
652 while(pos<realsize && isspace(line[pos])) ++pos; //remove leading space in curl_header_cb()
653 for(i=pos; i<realsize && '\r'!=line[i] && '\n'!=line[i]; ++i); in curl_header_cb()
678 return realsize; in curl_header_cb()
685 size_t realsize = size * nmemb; in curl_write_cb() local
697 if(!store_in_buffer(contents, realsize, &proxy->http_body, &proxy->http_body_size)) in curl_write_cb()
718 PRINT_VERBOSE2("received bytes from curl: %zu", realsize); in curl_write_cb()
722 return realsize; in curl_write_cb()