Home
last modified time | relevance | path

Searched refs:totalsize (Results 1 – 12 of 12) sorted by relevance

/third_party/curl/lib/
Dcurl_range.c68 curl_off_t totalsize; in Curl_range() local
74 totalsize = to - from; in Curl_range()
75 if(totalsize == CURL_OFF_T_MAX) in Curl_range()
78 data->req.maxdownload = totalsize + 1; /* include last byte */ in Curl_range()
/third_party/curl/tests/libtest/
Dlib1533.c58 size_t totalsize = nitems * size; in read_callback() local
61 if(bytes_to_send > totalsize) { in read_callback()
62 bytes_to_send = totalsize; in read_callback()
81 size_t totalsize = nmemb * size; in write_callback() local
95 return totalsize; in write_callback()
Dlib1948.c36 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/tests/server/
Drtspd.c125 static void storerequest(char *reqbuf, size_t totalsize);
594 static void storerequest(char *reqbuf, size_t totalsize) in storerequest() argument
604 if(totalsize == 0) in storerequest()
617 writeleft = totalsize; in storerequest()
619 written = fwrite(&reqbuf[totalsize-writeleft], in storerequest()
628 logmsg("Wrote request (%zu bytes) input to " REQUEST_DUMP, totalsize); in storerequest()
633 totalsize-writeleft, totalsize, REQUEST_DUMP); in storerequest()
Dsws.c136 static void storerequest(const char *reqbuf, size_t totalsize);
785 static void storerequest(const char *reqbuf, size_t totalsize) in storerequest() argument
796 if(totalsize == 0) in storerequest()
809 writeleft = totalsize; in storerequest()
811 written = fwrite(&reqbuf[totalsize-writeleft], in storerequest()
820 logmsg("Wrote request (%zu bytes) input to %s", totalsize, dumpfile); in storerequest()
825 totalsize-writeleft, totalsize, dumpfile); in storerequest()
/third_party/python/Modules/
D_winapi.c787 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/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.h66 GLuint totalsize; /** total size of the miptree, in bytes */ member
Dradeon_mipmap_tree.c169 mt->totalsize = (curOffset + RADEON_OFFSET_MASK) & ~RADEON_OFFSET_MASK; in calculate_miptree_layout()
173 __func__, rmesa, mt, mt->totalsize); in calculate_miptree_layout()
203 0, mt->totalsize, 1024, in radeon_miptree_create()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.h66 GLuint totalsize; /** total size of the miptree, in bytes */ member
Dradeon_mipmap_tree.c169 mt->totalsize = (curOffset + RADEON_OFFSET_MASK) & ~RADEON_OFFSET_MASK; in calculate_miptree_layout()
173 __func__, rmesa, mt, mt->totalsize); in calculate_miptree_layout()
203 0, mt->totalsize, 1024, in radeon_miptree_create()
/third_party/python/Lib/test/
Dtest_struct.py563 totalsize = support.calcobjsize('2n3P')
565 totalsize += struct.calcsize('P3n0P') * (number_of_codes + 1)
566 support.check_sizeof(self, struct.Struct(format_str), totalsize)
/third_party/e2fsprogs/lib/ext2fs/
Dtdb.c2329 tdb_off_t totalsize; in update_tailer() local
2332 totalsize = sizeof(*rec) + rec->rec_len; in update_tailer()
2333 return tdb_ofs_write(tdb, offset + totalsize - sizeof(tdb_off_t), in update_tailer()
2334 &totalsize); in update_tailer()