Searched refs:totalsize (Results 1 - 25 of 29) sorted by relevance

12

/external/curl/tests/libtest/
H A Dlib1533.c58 size_t totalsize = nitems * size; local
61 if(bytes_to_send > totalsize) {
62 bytes_to_send = totalsize;
81 size_t totalsize = nmemb * size; local
95 return totalsize;
/external/dtc/
H A Dflattree.c350 fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize);
388 * If the user asked for more space than is used, adjust the totalsize.
391 padlen = minsize - fdt32_to_cpu(fdt.totalsize);
397 fdt32_to_cpu(fdt.totalsize), minsize);
405 padlen = ALIGN(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize)
406 - fdt32_to_cpu(fdt.totalsize);
409 int tsize = fdt32_to_cpu(fdt.totalsize);
411 fdt.totalsize = cpu_to_fdt32(tsize);
482 fprintf(f, "\t/* totalsize */\n");
814 uint32_t magic, totalsize, versio local
[all...]
H A Dfdtdump.c57 uint32_t totalsize = fdt32_to_cpu(bph->totalsize); local
69 printf("// totalsize:\t\t0x%x (%d)\n", totalsize, totalsize);
H A Dutil.c300 int totalsize; local
311 totalsize = fdt_totalsize(blob);
314 while (offset < totalsize) {
315 ret = write(fd, ptr + offset, totalsize - offset);
/external/dtc/libfdt/
H A Dfdt.h59 fdt32_t totalsize; /* total size of DT block */ member in struct:fdt_header
H A Dlibfdt.h218 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize))
235 __fdt_set_hdr(totalsize); variable
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dradeon_mipmap_tree.h66 GLuint totalsize; /** total size of the miptree, in bytes */ member in struct:_radeon_mipmap_tree
H A Dradeon_mipmap_tree.c168 mt->totalsize = (curOffset + RADEON_OFFSET_MASK) & ~RADEON_OFFSET_MASK;
172 __func__, rmesa, mt, mt->totalsize);
202 0, mt->totalsize, 1024,
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_mipmap_tree.h66 GLuint totalsize; /** total size of the miptree, in bytes */ member in struct:_radeon_mipmap_tree
H A Dradeon_mipmap_tree.c168 mt->totalsize = (curOffset + RADEON_OFFSET_MASK) & ~RADEON_OFFSET_MASK;
172 __func__, rmesa, mt, mt->totalsize);
202 0, mt->totalsize, 1024,
/external/dtc/tests/
H A Dpylibfdt_tests.py248 self.assertEquals(self.fdt.totalsize(), len(self.fdt._fdt))
253 orig_size = self.fdt.totalsize()
256 self.assertEquals(orig_size, self.fdt.totalsize())
258 self.assertTrue(self.fdt.totalsize() < orig_size)
/external/syslinux/com32/lua/src/
H A Dlstring.c101 size_t totalsize; /* total size of TString object */ local
102 totalsize = sizeof(TString) + ((l + 1) * sizeof(char));
103 ts = &luaC_newobj(L, tag, totalsize, list, 0)->ts;
/external/vboot_reference/utility/
H A Dchromeos-tpm-recovery-test62 totalsize=$(( $size + $space_overhead ))
65 if [ $totalsize -gt $free ]; then
75 echo $(( $free - $totalsize )) > nvram.freespace
/external/stressapptest/src/
H A Dos.cc435 int64 totalsize = pages * pagesize; local
437 if (reserve_kb > totalsize) {
439 "available %lld\n", reserve_kb, totalsize);
440 } else if (reserve_kb > totalsize - minsize) {
442 "current %lld\n", minsize, totalsize - reserve_kb);
443 minsize = totalsize - reserve_kb;
/external/curl/lib/
H A Dfile.c136 curl_off_t totalsize = -1; local
167 totalsize = to-from;
168 if(totalsize == CURL_OFF_T_MAX)
171 data->req.maxdownload = totalsize + 1; /* include last byte */
/external/python/cpython2/PC/
H A D_subprocess.c355 int ksize, vsize, totalsize; local
366 totalsize = (p - PyString_AS_STRING(out)) + ksize + 1 +
368 if (totalsize > PyString_GET_SIZE(out)) {
370 if (_PyString_Resize(&out, totalsize + 1024))
/external/syslinux/utils/
H A Dmkdiskimage.in217 $totalsize = $c*$h*$s;
221 unless ($opt{'s'} && truncate(OUTPUT, $totalsize)) {
/external/curl/tests/server/
H A Drtspd.c125 static void storerequest(char *reqbuf, size_t totalsize);
733 static void storerequest(char *reqbuf, size_t totalsize) argument
743 if(totalsize == 0)
756 writeleft = totalsize;
758 written = fwrite(&reqbuf[totalsize-writeleft],
767 logmsg("Wrote request (%zu bytes) input to " REQUEST_DUMP, totalsize);
772 totalsize-writeleft, totalsize, REQUEST_DUMP);
H A Dsws.c136 static void storerequest(const char *reqbuf, size_t totalsize);
870 static void storerequest(const char *reqbuf, size_t totalsize) argument
881 if(totalsize == 0)
894 writeleft = totalsize;
896 written = fwrite(&reqbuf[totalsize-writeleft],
905 logmsg("Wrote request (%zu bytes) input to %s", totalsize, dumpfile);
910 totalsize-writeleft, totalsize, dumpfile);
/external/python/cpython3/Modules/
H A D_winapi.c714 Py_ssize_t i, envsize, totalsize; local
732 totalsize = 1; /* trailing null character */
742 if (totalsize > PY_SSIZE_T_MAX - PyUnicode_GET_LENGTH(key) - 1) {
746 totalsize += PyUnicode_GET_LENGTH(key) + 1; /* +1 for '=' */
747 if (totalsize > PY_SSIZE_T_MAX - PyUnicode_GET_LENGTH(value) - 1) {
751 totalsize += PyUnicode_GET_LENGTH(value) + 1; /* +1 for '\0' */
754 buffer = PyMem_NEW(Py_UCS4, totalsize);
760 end = buffer + totalsize;
/external/syslinux/bios/utils/
H A Dmkdiskimage217 $totalsize = $c*$h*$s;
221 unless ($opt{'s'} && truncate(OUTPUT, $totalsize)) {
/external/dtc/pylibfdt/
H A Dlibfdt.i288 def totalsize(self):
/external/python/cpython2/Lib/test/
H A Dtest_struct.py567 totalsize = support.calcobjsize('5P')
569 totalsize += struct.calcsize('3P') * (number_of_codes + 1)
570 support.check_sizeof(self, struct.Struct(format_str), totalsize)
/external/python/cpython3/Lib/test/
H A Dtest_struct.py562 totalsize = support.calcobjsize('2n3P')
564 totalsize += struct.calcsize('P3n0P') * (number_of_codes + 1)
565 support.check_sizeof(self, struct.Struct(format_str), totalsize)
/external/python/cpython2/Objects/
H A Dbytearrayobject.c2606 Py_ssize_t totalsize = 0; local
2629 totalsize += mysize;
2630 totalsize += Py_SIZE(obj);
2631 if (totalsize < 0) {
2638 result = PyByteArray_FromStringAndSize(NULL, totalsize);

Completed in 6399 milliseconds

12