/external/curl/tests/libtest/ |
H A D | lib1533.c | 58 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 D | flattree.c | 350 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 D | fdtdump.c | 57 uint32_t totalsize = fdt32_to_cpu(bph->totalsize); local 69 printf("// totalsize:\t\t0x%x (%d)\n", totalsize, totalsize);
|
H A D | util.c | 300 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 D | fdt.h | 59 fdt32_t totalsize; /* total size of DT block */ member in struct:fdt_header
|
H A D | libfdt.h | 218 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) 235 __fdt_set_hdr(totalsize); variable
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | radeon_mipmap_tree.h | 66 GLuint totalsize; /** total size of the miptree, in bytes */ member in struct:_radeon_mipmap_tree
|
H A D | radeon_mipmap_tree.c | 168 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 D | radeon_mipmap_tree.h | 66 GLuint totalsize; /** total size of the miptree, in bytes */ member in struct:_radeon_mipmap_tree
|
H A D | radeon_mipmap_tree.c | 168 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 D | pylibfdt_tests.py | 248 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 D | lstring.c | 101 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 D | chromeos-tpm-recovery-test | 62 totalsize=$(( $size + $space_overhead )) 65 if [ $totalsize -gt $free ]; then 75 echo $(( $free - $totalsize )) > nvram.freespace
|
/external/stressapptest/src/ |
H A D | os.cc | 435 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 D | file.c | 136 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.c | 355 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 D | mkdiskimage.in | 217 $totalsize = $c*$h*$s; 221 unless ($opt{'s'} && truncate(OUTPUT, $totalsize)) {
|
/external/curl/tests/server/ |
H A D | rtspd.c | 125 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 D | sws.c | 136 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.c | 714 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 D | mkdiskimage | 217 $totalsize = $c*$h*$s; 221 unless ($opt{'s'} && truncate(OUTPUT, $totalsize)) {
|
/external/dtc/pylibfdt/ |
H A D | libfdt.i | 288 def totalsize(self):
|
/external/python/cpython2/Lib/test/ |
H A D | test_struct.py | 567 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 D | test_struct.py | 562 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 D | bytearrayobject.c | 2606 Py_ssize_t totalsize = 0; local 2629 totalsize += mysize; 2630 totalsize += Py_SIZE(obj); 2631 if (totalsize < 0) { 2638 result = PyByteArray_FromStringAndSize(NULL, totalsize);
|