Searched defs:total_size (Results 1 - 13 of 13) sorted by relevance

/system/core/libmemunreachable/include/memunreachable/
H A Dmemunreachable.h39 size_t total_size; member in struct:Leak
/system/extras/kexec_tools/
H A Dkexecload.c72 total_size; local
/system/core/libdiskconfig/
H A Ddiskconfig.c277 uint64_t total_size; local
346 total_size = dinfo->skip_lba * dinfo->sect_size;
352 total_size += part->len_kb * 1024;
374 if (S_ISBLK(stat.st_mode) && total_size > disk_size) {
376 "size (%"PRIu64").", total_size, disk_size);
/system/tpm/trunks/ftdi/
H A Dsupport.c98 int i = 0, j = 0, k = 0, dsize = 0, num_blocks = 0, total_size = 0, local
117 total_size = size + (CMD_SIZE * num_blocks);
121 total_size += (CMD_SIZE * 3 * num_blocks);
124 buf = malloc(total_size);
126 memset(buf, 0, total_size);
/system/core/cpio/
H A Dmkbootfs.c55 static int total_size = 0; variable
96 while(total_size & 3) {
97 total_size++;
124 total_size += 6 + 8*13 + olen + 1;
128 while(total_size & 3) {
129 total_size++;
135 total_size += datasize;
145 while(total_size & 0xff) {
146 total_size++;
/system/core/libziparchive/
H A Dzip_archive_test.cc518 uint64_t total_size = 0; local
520 total_size += data->size();
525 ASSERT_EQ(total_size, read_data->size());
/system/extras/puncture_fs/
H A Dpuncture_fs.c139 static bool puncture_fs (const char * const path, const u64 total_size, argument
141 u64 increments = (hole_size * total_size) / total_hole_size;
161 while (ending_max <= total_size) {
163 (int) (100.0 * starting_max / total_size));
204 u64 total_size = 0; local
247 total_size = get_free_space(path);
248 if (!total_size) {
251 if (total_size < total_hole_size || total_hole_size < hole_size) {
258 if (!puncture_fs(path, total_size, hole_size, total_hole_size)) {
/system/extras/showslab/
H A Dshowslab.c33 unsigned long total_size; /* size of all objects */ member in struct:slab_stat
136 stats->total_size += p->nr_objs * p->obj_size;
151 stats->avg_obj_size = stats->total_size / stats->nr_objs;
327 stats.total_size / 1024.0,
328 100.0 * stats.active_size / stats.total_size,
/system/update_engine/payload_generator/
H A Dpayload_file.cc322 off_t total_size = 0; local
329 total_size += aop.op.data_length();
336 total_size += metadata_size;
344 object.size * 100.0 / total_size,
352 100.0, static_cast<intmax_t>(total_size), "", "<total>");
/system/tpm/attestation/common/
H A Dcrypto_utility_impl.cc347 size_t total_size = output_size; local
355 total_size += output_size;
356 encrypted_data->resize(total_size);
397 size_t total_size = output_size; local
405 total_size += output_size;
406 data->resize(total_size);
/system/core/adb/
H A Dfile_sync_client.cpp221 uint64_t total_size = st.st_size; local
253 ReportProgress(rpath, bytes_copied, total_size);
H A Dcommandline.cpp2050 uint64_t total_size = 0; local
2064 total_size += sb.st_size;
2076 std::string cmd = android::base::StringPrintf("exec:pm install-create -S %" PRIu64, total_size);
/system/update_engine/
H A Dtest_http_server.cc161 const size_t total_size = str.size(); local
162 size_t remaining_size = total_size;
176 return total_size;

Completed in 402 milliseconds