Searched refs:desSize (Results 1 – 1 of 1) sorted by relevance
49 size_t desSize = Size(inHeader->GetSectionNumber()); in BuildFromLegacy() local50 if (desSize > LastSize()) { in BuildFromLegacy()51 …RROR) << "header size error, expected size is less than " << LastSize() << ", but got " << desSize; in BuildFromLegacy()54 Build(header, desSize); in BuildFromLegacy()60 auto sectionSize = desSize - sizeof(FileHeaderElastic); in BuildFromLegacy()73 size_t desSize = inHeader->Size(); in BuildFromElastic() local74 if (desSize > LastSize()) { in BuildFromElastic()75 …RROR) << "header size error, expected size is less than " << LastSize() << ", but got " << desSize; in BuildFromElastic()78 Build(header, desSize); in BuildFromElastic()79 if (memcpy_s(*header, desSize, inHeader, desSize) != EOK) { in BuildFromElastic()