Lines Matching refs:ERROR

51         LOG(ERROR) << "ptnInfo is empty";  in LoadPtnInfo()
74 LOG(ERROR) << "parse PtableData from json file error"; in InitPtable()
96 LOG(ERROR) << "parse json failed! " << dataVar.first << " is nullptr!"; in ParsePtableDataNode()
110 LOG(ERROR) << PTABLE_CONFIG_PATH << " not exist"; in ParsePtableData()
118 LOG(ERROR) << PTABLE_CONFIG_PATH << " contained json invalid"; in ParsePtableData()
152 LOG(ERROR) << "invaild input"; in MemReadWithOffset()
158 LOG(ERROR) << "open " << filePath << " fail"; in MemReadWithOffset()
164 LOG(ERROR) << "seekp 0x" << std::hex << offset << " bytes in " << filePath << in MemReadWithOffset()
171 LOG(ERROR) << "read 0x" << std::hex << dataSize << " bytes in " << filePath << in MemReadWithOffset()
228 LOG(ERROR) << "size < (TABLE_SIGNATURE + 1)"; in VerifyMbrMagicNum()
234 …LOG(ERROR) << "MBR magic number does not match, magic buffer is " << unsigned(*(buffer + MBR_MAGIC… in VerifyMbrMagicNum()
243 LOG(ERROR) << "MBR magic number verify failed!"; in CheckProtectiveMbr()
270 LOG(ERROR) << "gptImageLen is less than 8."; in CheckIfValidGpt()
276 LOG(ERROR) << "invaild partiton with gptMagic:0x" << std::hex << gptMagic << std::dec; in CheckIfValidGpt()
285 LOG(ERROR) << "filePath is empty or lunCapacity is nullptr"; in GetCapacity()
290 LOG(ERROR) << "open " << filePath << " fail"; in GetCapacity()
297 LOG(ERROR) << "read data from " << filePath << " fail"; in GetCapacity()
312 LOG(ERROR) << "input invalid"; in GetPartitionGptHeaderInfo()
318 LOG(ERROR) << "invaild partiton with gptMagic"; in GetPartitionGptHeaderInfo()
326 LOG(ERROR) << "invalid gpt header info"; in GetPartitionGptHeaderInfo()
336 LOG(ERROR) << "input param invalid"; in PatchBackUpGptHeader()
355 LOG(ERROR) << "bufferLen < LBA_LENGTH || lbaNum == 0"; in CheckGptHeader()
360 LOG(ERROR) << "GPT Header size is invaild"; in CheckGptHeader()
368 … LOG(ERROR) << "Header crc mismatch crcVal = " << std::hex << crcVal << " with orgCrcVal = " << in CheckGptHeader()
380 …LOG(ERROR) << "invalid usable lba " << gptHeaderInfo.firstUsableLba << ", last is " << lastUsableL… in CheckGptHeader()
387 LOG(ERROR) << "invalid parition entry size or max count"; in CheckGptHeader()
392 LOG(ERROR) << "starting LBA mismatch"; in CheckGptHeader()
403 … LOG(ERROR) << "len" << len << "ptableData_.writeDeviceLunSize" << ptableData_.writeDeviceLunSize in PartitionCheckGptHeader()
410 LOG(ERROR) << "new buffer failed!"; in PartitionCheckGptHeader()
414 LOG(ERROR) << "copy gpt header fail"; in PartitionCheckGptHeader()
420 LOG(ERROR) << "CheckGptHeader fail"; in PartitionCheckGptHeader()
432 …LOG(ERROR) << "partition entires crc mismatch crcVal =" << std::hex << crcVal << " with orgCrcVal … in PartitionCheckGptHeader()
443 LOG(ERROR) << "ptable vector is empty!"; in PrintPtableInfo()
460 LOG(ERROR) << "ptable vector is empty!"; in PrintPtableInfo()
478 LOG(ERROR) << "dataLen == 0 || nameLen == 0"; in ParsePartitionName()
483 LOG(ERROR) << "memcpy name fail"; in ParsePartitionName()
504 LOG(ERROR) << "create writer class failed!"; in WriteBufferToPath()
509 LOG(ERROR) << "writer to " << path << " with offset " << offset << " failed "; in WriteBufferToPath()
520 LOG(ERROR) << "get partition failed! partitionInfo_ is empty"; in GetPartionInfoByName()
531 LOG(ERROR) << "get partition info failed! Not found partition:" << partitionName; in GetPartionInfoByName()
539 LOG(ERROR) << "invalid input"; in AdjustGpt()
552 LOG(ERROR) << "patch last partition fail"; in AdjustGpt()
565 LOG(ERROR) << "input param invalid"; in ChangeGpt()