Searched refs:totalsize (Results 1 - 8 of 8) sorted by relevance
/third_party/curl/tests/libtest/ |
H A D | lib1533.c | 60 size_t totalsize = nitems * size; in read_callback() local 63 if(bytes_to_send > totalsize) { in read_callback() 64 bytes_to_send = totalsize; in read_callback() 83 size_t totalsize = nmemb * size; in write_callback() local 97 return totalsize; in write_callback()
|
H A D | lib1948.c | 36 size_t totalsize = size * nmemb; in put_callback() local 37 size_t tocopy = (putdata->len < totalsize) ? putdata->len : totalsize; in put_callback()
|
/third_party/curl/lib/ |
H A D | curl_range.c | 70 curl_off_t totalsize; in Curl_range() local 76 totalsize = to - from; in Curl_range() 77 if(totalsize == CURL_OFF_T_MAX) in Curl_range() 80 data->req.maxdownload = totalsize + 1; /* include last byte */ in Curl_range()
|
/third_party/curl/tests/server/ |
H A D | rtspd.c | 125 static void storerequest(char *reqbuf, size_t totalsize); 600 static void storerequest(char *reqbuf, size_t totalsize) in storerequest() argument 613 if(totalsize == 0) in storerequest() 626 writeleft = totalsize; in storerequest() 628 written = fwrite(&reqbuf[totalsize-writeleft], in storerequest() 637 logmsg("Wrote request (%zu bytes) input to %s", totalsize, dumpfile); in storerequest() 642 totalsize-writeleft, totalsize, dumpfile); in storerequest()
|
H A D | sws.c | 139 static void storerequest(const char *reqbuf, size_t totalsize); 788 static void storerequest(const char *reqbuf, size_t totalsize) in storerequest() argument 802 if(totalsize == 0) in storerequest() 815 writeleft = totalsize; in storerequest() 817 written = fwrite(&reqbuf[totalsize-writeleft], in storerequest() 826 logmsg("Wrote request (%zu bytes) input to %s", totalsize, dumpfile); in storerequest() 831 totalsize-writeleft, totalsize, dumpfile); in storerequest()
|
/third_party/curl/tests/http/clients/ |
H A D | h2-pausing.c | 156 curl_off_t totalsize; in cb() local 160 &totalsize) == CURLE_OK) in cb() 162 "\n", handle->idx, totalsize); in cb()
|
/third_party/python/Modules/ |
H A D | _winapi.c | 787 Py_ssize_t i, envsize, totalsize; in getenvironment() local 814 totalsize = 1; /* trailing null character */ in getenvironment() 842 if (totalsize > PY_SSIZE_T_MAX - size) { in getenvironment() 846 totalsize += size; /* including '=' */ in getenvironment() 850 if (totalsize > PY_SSIZE_T_MAX - size) { in getenvironment() 854 totalsize += size; /* including trailing '\0' */ in getenvironment() 857 buffer = PyMem_NEW(wchar_t, totalsize); in getenvironment() 863 end = buffer + totalsize; in getenvironment()
|
/third_party/python/Lib/test/ |
H A D | test_struct.py | 566 totalsize = support.calcobjsize('2n3P') 568 totalsize += struct.calcsize('P3n0P') * (number_of_codes + 1) 569 support.check_sizeof(self, struct.Struct(format_str), totalsize)
|
Completed in 11 milliseconds