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

/system/libufdt/utils/src/
H A Ddt_table.h32 uint32_t total_size; /* includes dt_table_header + all dt_table_entry member in struct:dt_table_header
H A Dmkdtimg_core.c176 uint32_t entry_count, uint32_t total_size,
181 header.total_size = cpu_to_fdt32(total_size);
175 output_img_header(FILE *img_fp, uint32_t entry_count, uint32_t total_size, struct dt_global_options *options) argument
/system/core/libmemunreachable/include/memunreachable/
H A Dmemunreachable.h42 size_t total_size; member in struct:android::Leak
/system/core/fs_mgr/
H A Dfs_mgr_avb_ops.cpp159 off64_t total_size = lseek64(fd, 0, SEEK_END); local
160 if (total_size == -1) {
164 offset = total_size + offset;
H A Dfs_mgr_avb.cpp102 size_t total_size = 0; local
107 total_size += verify_data.vbmeta_images[n].vbmeta_size;
112 return std::make_pair(total_size, matched);
206 size_t total_size = 0; local
210 std::tie(total_size, digest_matched) =
213 std::tie(total_size, digest_matched) =
217 if (total_size != vbmeta_size_) {
218 LERROR << "total vbmeta size mismatch: " << total_size << " (expected: " << vbmeta_size_
/system/core/libdiskconfig/
H A Ddiskconfig.c275 uint64_t total_size; local
344 total_size = dinfo->skip_lba * dinfo->sect_size;
350 total_size += part->len_kb * 1024;
372 if (S_ISBLK(stat.st_mode) && total_size > disk_size) {
374 "size (%"PRIu64").", total_size, disk_size);
/system/tpm/trunks/ftdi/
H A Dsupport.c97 int i = 0, j = 0, k = 0, dsize = 0, num_blocks = 0, total_size = 0, local
116 total_size = size + (CMD_SIZE * num_blocks);
120 total_size += (CMD_SIZE * 3 * num_blocks);
123 buf = malloc(total_size);
125 memset(buf, 0, total_size);
/system/connectivity/wifilogd/
H A Dcommand_processor.cpp172 uint16_t total_size; local
173 static_assert(GetMaxVal(total_size) > sizeof(TimestampHeader) &&
174 GetMaxVal(total_size) - sizeof(TimestampHeader) >=
176 "total_size cannot represent some input messages");
177 total_size = sizeof(TimestampHeader) + command_len;
178 CHECK(current_log_buffer_.CanFitEver(total_size));
180 if (!current_log_buffer_.CanFitNow(total_size)) {
187 CHECK(current_log_buffer_.CanFitNow(total_size));
/system/core/cpio/
H A Dmkbootfs.c57 static int total_size = 0; variable
98 while(total_size & 3) {
99 total_size++;
126 total_size += 6 + 8*13 + olen + 1;
130 while(total_size & 3) {
131 total_size++;
137 total_size += datasize;
147 while(total_size & 0xff) {
148 total_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));
208 u64 total_size = 0; local
251 total_size = get_free_space(path);
252 if (!total_size) {
255 if (total_size < total_hole_size || total_hole_size < hole_size) {
262 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/nvram/client/
H A Dnvram_client.c103 uint64_t total_size = 0; local
104 nvram_result_t result = device->get_total_size_in_bytes(device, &total_size);
109 printf("%" PRIu64 "\n", total_size);
/system/nvram/hal/tests/
H A Dscoped_nvram_device.cc68 nvram_result_t ScopedNvramDevice::GetTotalSizeInBytes(uint64_t* total_size) { argument
72 return device_->get_total_size_in_bytes(device_, total_size);
/system/nvram/messages/include/nvram/messages/
H A Dnvram_messages.h54 uint64_t total_size = 0; member in struct:nvram::GetInfoResponse
/system/update_engine/payload_generator/
H A Dpayload_file.cc327 off_t total_size = 0; local
333 total_size += aop.op.data_length();
338 total_size += metadata_size;
345 object.size * 100.0 / total_size,
355 static_cast<intmax_t>(total_size),
/system/core/lmkd/tests/
H A Dlmkd_test.cpp182 size_t total_size; member in struct:shared_data
194 while (allocated_size < data->total_size) {
207 data->finished = (allocated_size >= data->total_size);
225 data->total_size = (size_t)-1; /* allocate until killed */
/system/nvram/hal/
H A Dnvram_device_adapter.cpp62 uint64_t* total_size) {
67 *total_size = get_info_response.total_size;
61 device_get_total_size_in_bytes(const nvram_device_t* device, uint64_t* total_size) argument
/system/tpm/attestation/common/
H A Dcrypto_utility_impl.cc346 size_t total_size = output_size; local
354 total_size += output_size;
355 encrypted_data->resize(total_size);
396 size_t total_size = output_size; local
404 total_size += output_size;
405 data->resize(total_size);
/system/core/libziparchive/
H A Dzip_archive_test.cc456 uint64_t total_size = 0; local
458 total_size += data->size();
463 ASSERT_EQ(total_size, read_data->size());
/system/update_engine/
H A Dtest_http_server.cc163 const size_t total_size = str.size(); local
164 size_t remaining_size = total_size;
178 return total_size;
/system/core/adb/
H A Dfile_sync_client.cpp432 uint64_t total_size = st.st_size; local
464 ReportProgress(rpath, bytes_copied, total_size);
H A Dcommandline.cpp1924 uint64_t total_size = 0; local
1931 if (stat(file, &sb) != -1) total_size += sb.st_size;
1947 std::string cmd = android::base::StringPrintf("%s install-create -S %" PRIu64, install_cmd.c_str(), total_size);
/system/nfc/src/nfa/ee/
H A Dnfa_ee_act.cc1335 uint16_t total_size = NFC_GetLmrtSize(); local
1337 evt_data.size = total_size - nfa_ee_total_lmrt_size();
1340 total_size, evt_data.size);

Completed in 397 milliseconds