/system/extras/puncture_fs/ |
D | puncture_fs.c | 139 static bool puncture_fs (const char * const path, const u64 total_size, in puncture_fs() argument 141 u64 increments = (hole_size * total_size) / total_hole_size; in puncture_fs() 161 while (ending_max <= total_size) { in puncture_fs() 163 (int) (100.0 * starting_max / total_size)); in puncture_fs() 204 u64 total_size = 0; in main() local 247 total_size = get_free_space(path); in main() 248 if (!total_size) { in main() 251 if (total_size < total_hole_size || total_hole_size < hole_size) { in main() 258 if (!puncture_fs(path, total_size, hole_size, total_hole_size)) { in main()
|
/system/core/cpio/ |
D | mkbootfs.c | 55 static int total_size = 0; variable 96 while(total_size & 3) { in _eject() 97 total_size++; in _eject() 124 total_size += 6 + 8*13 + olen + 1; in _eject() 128 while(total_size & 3) { in _eject() 129 total_size++; in _eject() 135 total_size += datasize; in _eject() 145 while(total_size & 0xff) { in _eject_trailer() 146 total_size++; in _eject_trailer()
|
/system/tpm/trunks/ftdi/ |
D | support.c | 98 int i = 0, j = 0, k = 0, dsize = 0, num_blocks = 0, total_size = 0, in build_block_buffer() local 117 total_size = size + (CMD_SIZE * num_blocks); in build_block_buffer() 121 total_size += (CMD_SIZE * 3 * num_blocks); in build_block_buffer() 124 buf = malloc(total_size); in build_block_buffer() 126 memset(buf, 0, total_size); in build_block_buffer()
|
/system/extras/showslab/ |
D | showslab.c | 33 unsigned long total_size; /* size of all objects */ member 136 stats->total_size += p->nr_objs * p->obj_size; in get_slabinfo() 151 stats->avg_obj_size = stats->total_size / stats->nr_objs; in get_slabinfo() 327 stats.total_size / 1024.0, in main() 328 100.0 * stats.active_size / stats.total_size, in main()
|
/system/core/libdiskconfig/ |
D | diskconfig.c | 277 uint64_t total_size; in validate() local 346 total_size = dinfo->skip_lba * dinfo->sect_size; in validate() 352 total_size += part->len_kb * 1024; in validate() 374 if (S_ISBLK(stat.st_mode) && total_size > disk_size) { in validate() 376 "size (%"PRIu64").", total_size, disk_size); in validate()
|
/system/update_engine/payload_generator/ |
D | payload_file.cc | 322 off_t total_size = 0; in ReportPayloadUsage() local 329 total_size += aop.op.data_length(); in ReportPayloadUsage() 336 total_size += metadata_size; in ReportPayloadUsage() 344 object.size * 100.0 / total_size, in ReportPayloadUsage() 352 100.0, static_cast<intmax_t>(total_size), "", "<total>"); in ReportPayloadUsage()
|
/system/tpm/attestation/common/ |
D | crypto_utility_impl.cc | 347 size_t total_size = output_size; in AesEncrypt() local 355 total_size += output_size; in AesEncrypt() 356 encrypted_data->resize(total_size); in AesEncrypt() 397 size_t total_size = output_size; in AesDecrypt() local 405 total_size += output_size; in AesDecrypt() 406 data->resize(total_size); in AesDecrypt()
|
/system/core/libmemunreachable/ |
D | MemUnreachable.cpp | 176 similar_leak->total_size += it.range.size(); in GetUnreachableMemory() 177 similar_leak->total_size += it.referenced_size; in GetUnreachableMemory() 186 leak->total_size = leak->size + leak->referenced_size; in GetUnreachableMemory() 194 return a.total_size > b.total_size; in GetUnreachableMemory()
|
/system/core/libmemunreachable/include/memunreachable/ |
D | memunreachable.h | 39 size_t total_size; member
|
/system/extras/micro_bench/ |
D | micro_bench.cpp | 292 size_t total_size = size; \ 294 total_size += cmd_data.dst_str_size; \ 295 uint8_t *buf2 = allocateAlignedMemory(total_size, cmd_data.dst_align, cmd_data.dst_or_mask); \ 350 size_t total_size = size; \ 352 total_size += cmd_data.dst_str_size; \ 353 size_t buf2_incr = getAlignmentIncrement(total_size, cmd_data.dst_align); \
|
/system/extras/kexec_tools/ |
D | kexecload.c | 72 total_size; in main() local
|
/system/update_engine/ |
D | test_http_server.cc | 161 const size_t total_size = str.size(); in WriteString() local 162 size_t remaining_size = total_size; in WriteString() 176 return total_size; in WriteString()
|
/system/core/libziparchive/ |
D | zip_archive_test.cc | 518 uint64_t total_size = 0; in ZipArchiveStreamTest() local 520 total_size += data->size(); in ZipArchiveStreamTest() 525 ASSERT_EQ(total_size, read_data->size()); in ZipArchiveStreamTest()
|
/system/core/adb/ |
D | file_sync_client.cpp | 221 uint64_t total_size = st.st_size; in SendLargeFile() local 253 ReportProgress(rpath, bytes_copied, total_size); in SendLargeFile()
|
D | commandline.cpp | 2050 uint64_t total_size = 0; in install_multiple_app() local 2064 total_size += sb.st_size; in install_multiple_app() 2076 std::string cmd = android::base::StringPrintf("exec:pm install-create -S %" PRIu64, total_size); in install_multiple_app()
|