Home
last modified time | relevance | path

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

12

/external/dtc/
Dflattree.c350 fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize); in make_fdt_header()
391 padlen = minsize - fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
397 fdt32_to_cpu(fdt.totalsize), minsize); in dt_to_blob()
405 padlen = ALIGN(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize) in dt_to_blob()
406 - fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
409 int tsize = fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
411 fdt.totalsize = cpu_to_fdt32(tsize); in dt_to_blob()
814 uint32_t magic, totalsize, version, size_dt, boot_cpuid_phys; in dt_from_blob() local
855 totalsize = fdt32_to_cpu(totalsize_buf); in dt_from_blob()
856 if (totalsize < FDT_V1_SIZE) in dt_from_blob()
[all …]
Dfdtdump.c57 uint32_t totalsize = fdt32_to_cpu(bph->totalsize); in dump_blob() local
69 printf("// totalsize:\t\t0x%x (%d)\n", totalsize, totalsize); in dump_blob()
Dutil.c300 int totalsize; in utilfdt_write_err() local
311 totalsize = fdt_totalsize(blob); in utilfdt_write_err()
314 while (offset < totalsize) { in utilfdt_write_err()
315 ret = write(fd, ptr + offset, totalsize - offset); in utilfdt_write_err()
/external/u-boot/scripts/dtc/
Dflattree.c350 fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize); in make_fdt_header()
391 padlen = minsize - fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
397 fdt32_to_cpu(fdt.totalsize), minsize); in dt_to_blob()
405 padlen = ALIGN(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize) in dt_to_blob()
406 - fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
409 int tsize = fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
411 fdt.totalsize = cpu_to_fdt32(tsize); in dt_to_blob()
814 uint32_t magic, totalsize, version, size_dt, boot_cpuid_phys; in dt_from_blob() local
855 totalsize = fdt32_to_cpu(totalsize_buf); in dt_from_blob()
856 if (totalsize < FDT_V1_SIZE) in dt_from_blob()
[all …]
Dutil.c300 int totalsize; in utilfdt_write_err() local
311 totalsize = fdt_totalsize(blob); in utilfdt_write_err()
314 while (offset < totalsize) { in utilfdt_write_err()
315 ret = write(fd, ptr + offset, totalsize - offset); in utilfdt_write_err()
/external/curl/lib/
Dcurl_range.c69 curl_off_t totalsize; in Curl_range() local
75 totalsize = to - from; in Curl_range()
76 if(totalsize == CURL_OFF_T_MAX) in Curl_range()
79 data->req.maxdownload = totalsize + 1; /* include last byte */ in Curl_range()
/external/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()
/external/vboot_reference/utility/
Dchromeos-tpm-recovery-test62 totalsize=$(( $size + $space_overhead ))
65 if [ $totalsize -gt $free ]; then
75 echo $(( $free - $totalsize )) > nvram.freespace
/external/u-boot/lib/
Dcircbuf.c18 buf->totalsize = size; in buf_init()
86 if (buf->size < buf->totalsize) { in buf_push()
/external/dtc/tests/
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/stressapptest/src/
Dos.cc435 int64 totalsize = pages * pagesize; in FindFreeMemSize() local
437 if (reserve_kb > totalsize) { in FindFreeMemSize()
439 "available %lld\n", reserve_kb, totalsize); in FindFreeMemSize()
440 } else if (reserve_kb > totalsize - minsize) { in FindFreeMemSize()
442 "current %lld\n", minsize, totalsize - reserve_kb); in FindFreeMemSize()
443 minsize = totalsize - reserve_kb; in FindFreeMemSize()
/external/lua/src/
Dlstrlib.c1268 static KOption getdetails (Header *h, size_t totalsize, in getdetails() argument
1283 *ntoalign = (align - (int)(totalsize & (align - 1))) & (align - 1); in getdetails()
1335 size_t totalsize = 0; /* accumulate total size of result */ in str_pack() local
1341 KOption opt = getdetails(&h, totalsize, &fmt, &size, &ntoalign); in str_pack()
1342 totalsize += ntoalign + size; in str_pack()
1394 totalsize += len; in str_pack()
1403 totalsize += len + 1; in str_pack()
1420 size_t totalsize = 0; /* accumulate total size of result */ in str_packsize() local
1424 KOption opt = getdetails(&h, totalsize, &fmt, &size, &ntoalign); in str_packsize()
1426 luaL_argcheck(L, totalsize <= MAXSIZE - size, 1, in str_packsize()
[all …]
Dlstring.c136 size_t totalsize; /* total size of TString object */ in createstrobj() local
137 totalsize = sizelstring(l); in createstrobj()
138 o = luaC_newobj(L, tag, totalsize); in createstrobj()
/external/curl/tests/server/
Drtspd.c125 static void storerequest(char *reqbuf, size_t totalsize);
731 static void storerequest(char *reqbuf, size_t totalsize) in storerequest() argument
741 if(totalsize == 0) in storerequest()
754 writeleft = totalsize; in storerequest()
756 written = fwrite(&reqbuf[totalsize-writeleft], in storerequest()
765 logmsg("Wrote request (%zu bytes) input to " REQUEST_DUMP, totalsize); in storerequest()
770 totalsize-writeleft, totalsize, REQUEST_DUMP); in storerequest()
Dsws.c138 static void storerequest(const char *reqbuf, size_t totalsize);
899 static void storerequest(const char *reqbuf, size_t totalsize) in storerequest() argument
910 if(totalsize == 0) in storerequest()
923 writeleft = totalsize; in storerequest()
925 written = fwrite(&reqbuf[totalsize-writeleft], in storerequest()
934 logmsg("Wrote request (%zu bytes) input to %s", totalsize, dumpfile); in storerequest()
939 totalsize-writeleft, totalsize, dumpfile); in storerequest()
/external/python/cpython2/PC/
D_subprocess.c359 size_t ksize, vsize, totalsize; in getenvironment() local
382 totalsize = (p - PyString_AS_STRING(out)) + ksize + 1 + in getenvironment()
384 if (totalsize > (size_t)PyString_GET_SIZE(out)) { in getenvironment()
386 if (_PyString_Resize(&out, totalsize + 1024)) in getenvironment()
/external/python/cpython3/Modules/
D_winapi.c712 Py_ssize_t i, envsize, totalsize; in getenvironment() local
739 totalsize = 1; /* trailing null character */ in getenvironment()
763 if (totalsize > PY_SSIZE_T_MAX - PyUnicode_GET_LENGTH(key) - 1) { in getenvironment()
767 totalsize += PyUnicode_GET_LENGTH(key) + 1; /* +1 for '=' */ in getenvironment()
768 if (totalsize > PY_SSIZE_T_MAX - PyUnicode_GET_LENGTH(value) - 1) { in getenvironment()
772 totalsize += PyUnicode_GET_LENGTH(value) + 1; /* +1 for '\0' */ in getenvironment()
775 buffer = PyMem_NEW(Py_UCS4, totalsize); in getenvironment()
781 end = buffer + totalsize; in getenvironment()
/external/u-boot/include/
Dcircbuf.h12 unsigned int totalsize; /* number of bytes allocated */ member
/external/dtc/libfdt/
Dfdt.h59 fdt32_t totalsize; /* total size of DT block */ member
Dlibfdt.h218 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize))
235 __fdt_set_hdr(totalsize);
/external/u-boot/scripts/dtc/libfdt/
Dfdt.h59 fdt32_t totalsize; /* total size of DT block */ member
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.h66 GLuint totalsize; /** total size of the miptree, in bytes */ member
Dradeon_mipmap_tree.c168 mt->totalsize = (curOffset + RADEON_OFFSET_MASK) & ~RADEON_OFFSET_MASK; in calculate_miptree_layout()
172 __func__, rmesa, mt, mt->totalsize); in calculate_miptree_layout()
202 0, mt->totalsize, 1024, in radeon_miptree_create()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.h66 GLuint totalsize; /** total size of the miptree, in bytes */ member
Dradeon_mipmap_tree.c168 mt->totalsize = (curOffset + RADEON_OFFSET_MASK) & ~RADEON_OFFSET_MASK; in calculate_miptree_layout()
172 __func__, rmesa, mt, mt->totalsize); in calculate_miptree_layout()
202 0, mt->totalsize, 1024, in radeon_miptree_create()

12