/external/dtc/ |
D | flattree.c | 350 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 …]
|
D | fdtdump.c | 57 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()
|
D | util.c | 300 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/ |
D | flattree.c | 350 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 …]
|
D | util.c | 300 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/ |
D | curl_range.c | 69 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/ |
D | lib1533.c | 58 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/ |
D | chromeos-tpm-recovery-test | 62 totalsize=$(( $size + $space_overhead )) 65 if [ $totalsize -gt $free ]; then 75 echo $(( $free - $totalsize )) > nvram.freespace
|
/external/u-boot/lib/ |
D | circbuf.c | 18 buf->totalsize = size; in buf_init() 86 if (buf->size < buf->totalsize) { in buf_push()
|
/external/dtc/tests/ |
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/stressapptest/src/ |
D | os.cc | 435 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/ |
D | lstrlib.c | 1268 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 …]
|
D | lstring.c | 136 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/ |
D | rtspd.c | 125 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()
|
D | sws.c | 138 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.c | 359 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.c | 712 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/ |
D | circbuf.h | 12 unsigned int totalsize; /* number of bytes allocated */ member
|
/external/dtc/libfdt/ |
D | fdt.h | 59 fdt32_t totalsize; /* total size of DT block */ member
|
D | libfdt.h | 218 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) 235 __fdt_set_hdr(totalsize);
|
/external/u-boot/scripts/dtc/libfdt/ |
D | fdt.h | 59 fdt32_t totalsize; /* total size of DT block */ member
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_mipmap_tree.h | 66 GLuint totalsize; /** total size of the miptree, in bytes */ member
|
D | radeon_mipmap_tree.c | 168 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/ |
D | radeon_mipmap_tree.h | 66 GLuint totalsize; /** total size of the miptree, in bytes */ member
|
D | radeon_mipmap_tree.c | 168 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()
|