Lines Matching defs:size
45 return partitionInfo_.size();
224 bool Ptable::VerifyMbrMagicNum(const uint8_t *buffer, const uint32_t size)
227 if (size < (MBR_MAGIC_NUM_POS + 1)) {
228 LOG(ERROR) << "size < (TABLE_SIGNATURE + 1)";
360 LOG(ERROR) << "GPT Header size is invaild";
384 // check for partition entry size
387 LOG(ERROR) << "invalid parition entry size or max count";
448 LOG(INFO) << "partition count = " << std::dec << partitionInfo_.size();
449 for (size_t i = 0; i < partitionInfo_.size(); i++) {
451 ", startAddr=0x" << std::hex << partitionInfo_[i].startAddr << ", size=0x" <<
465 LOG(INFO) << "partition count = " << std::dec << ptnInfo.size();
466 for (size_t i = 0; i < ptnInfo.size(); i++) {
468 std::hex << ptnInfo[i].startAddr << ", size=0x" << ptnInfo[i].partitionSize << ", lun=" <<
492 for (uint32_t i = 0; i < outName.size(); i++) {
500 const uint8_t *buffer, const uint32_t size)
507 bool ret = writer->Write(buffer, size, nullptr);
523 for (int32_t i = 0; i < static_cast<int32_t>(partitionInfo_.size()); i++) {
524 if (partitionInfo_[i].dispName.size() == partitionName.size() &&