/system/libufdt/utils/src/ |
H A D | dt_table.h | 32 uint32_t total_size; /* includes dt_table_header + all dt_table_entry member in struct:dt_table_header
|
H A D | mkdtimg_core.c | 176 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 D | memunreachable.h | 42 size_t total_size; member in struct:android::Leak
|
/system/core/fs_mgr/ |
H A D | fs_mgr_avb_ops.cpp | 159 off64_t total_size = lseek64(fd, 0, SEEK_END); local 160 if (total_size == -1) { 164 offset = total_size + offset;
|
H A D | fs_mgr_avb.cpp | 102 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 D | diskconfig.c | 275 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 D | support.c | 97 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 D | command_processor.cpp | 172 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 D | mkbootfs.c | 57 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 D | puncture_fs.c | 139 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 D | showslab.c | 33 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 D | nvram_client.c | 103 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 D | scoped_nvram_device.cc | 68 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 D | nvram_messages.h | 54 uint64_t total_size = 0; member in struct:nvram::GetInfoResponse
|
/system/update_engine/payload_generator/ |
H A D | payload_file.cc | 327 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 D | lmkd_test.cpp | 182 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 D | nvram_device_adapter.cpp | 62 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 D | crypto_utility_impl.cc | 346 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 D | zip_archive_test.cc | 456 uint64_t total_size = 0; local 458 total_size += data->size(); 463 ASSERT_EQ(total_size, read_data->size());
|
/system/update_engine/ |
H A D | test_http_server.cc | 163 const size_t total_size = str.size(); local 164 size_t remaining_size = total_size; 178 return total_size;
|
/system/core/adb/ |
H A D | file_sync_client.cpp | 432 uint64_t total_size = st.st_size; local 464 ReportProgress(rpath, bytes_copied, total_size);
|
H A D | commandline.cpp | 1924 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 D | nfa_ee_act.cc | 1335 uint16_t total_size = NFC_GetLmrtSize(); local 1337 evt_data.size = total_size - nfa_ee_total_lmrt_size(); 1340 total_size, evt_data.size);
|