/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 | dt_table.c | 31 header->total_size = cpu_to_fdt32(header_size);
|
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
|
H A D | mkdtboimg.py | 186 self.total_size, self.header_size, 232 (self.magic, self.total_size, self.header_size, 338 self.total_size = self._DT_TABLE_HEADER_SIZE 352 _keys = ('magic', 'total_size', 'header_size', 'dt_entry_size', 402 self.total_size += dt_entry.size 406 self.total_size += self.dt_entry_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/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/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/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/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/libmemunreachable/include/memunreachable/ |
H A D | memunreachable.h | 42 size_t total_size; member in struct:android::Leak
|
/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/nvram/hal/tests/ |
H A D | nvram_hal_test.cc | 205 uint64_t total_size = 0; 206 ASSERT_EQ(NV_RESULT_SUCCESS, device.GetTotalSizeInBytes(&total_size)); 207 EXPECT_LE(2048u, total_size); 214 uint64_t total_size = 0; 215 ASSERT_EQ(NV_RESULT_SUCCESS, device.GetTotalSizeInBytes(&total_size)); 216 EXPECT_LE(available_size, total_size); 223 uint64_t total_size = 0; 224 ASSERT_EQ(NV_RESULT_SUCCESS, device.GetTotalSizeInBytes(&total_size)); 225 EXPECT_LE(max_space_size, total_size);
|
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/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/include/nvram/hal/tests/ |
H A D | scoped_nvram_device.h | 43 virtual nvram_result_t GetTotalSizeInBytes(uint64_t* total_size);
|
/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/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/nvram/messages/include/nvram/messages/ |
H A D | nvram_messages.h | 54 uint64_t total_size = 0; member in struct:nvram::GetInfoResponse
|
/system/core/libmemunreachable/ |
H A D | MemUnreachable.cpp | 183 similar_leak->total_size += it.range.size(); 184 similar_leak->total_size += it.referenced_size; 193 leak->total_size = leak->size + leak->referenced_size; 201 [](const Leak& a, const Leak& b) { return a.total_size > b.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/ |
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/extras/micro_bench/ |
H A 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/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;
|