Searched refs:partition_size (Results 1 – 3 of 3) sorted by relevance
/system/core/fastboot/ |
D | fastboot.cpp | 1162 std::string partition_type, partition_size; in fb_perform_format() local 1189 if (!fb_getvar(transport, std::string("partition-size:") + partition, &partition_size)) { in fb_perform_format() 1194 if (partition_size != size_override) { in fb_perform_format() 1196 partition, partition_size.c_str(), size_override); in fb_perform_format() 1198 partition_size = size_override; in fb_perform_format() 1201 partition_size = android::base::Trim(partition_size); in fb_perform_format() 1204 if (!android::base::StartsWith(partition_size, "0x")) partition_size = "0x" + partition_size; in fb_perform_format() 1219 if (!android::base::ParseInt(partition_size.c_str(), &size)) { in fb_perform_format() 1220 fprintf(stderr, "Couldn't parse partition size '%s'.\n", partition_size.c_str()); in fb_perform_format()
|
/system/update_engine/payload_generator/ |
D | inplace_generator.cc | 742 uint64_t partition_size, in ResolveReadAfterWriteDependencies() argument 758 if (blocks.size() < (partition_size / block_size)) { in ResolveReadAfterWriteDependencies() 761 size_t scratch_blocks = (partition_size / block_size) - blocks.size(); in ResolveReadAfterWriteDependencies() 804 uint64_t partition_size = new_part.size; in GenerateOperations() local 806 partition_size = config.rootfs_partition_size; in GenerateOperations() 820 partition_size, in GenerateOperations()
|
D | inplace_generator.h | 216 uint64_t partition_size,
|