Home
last modified time | relevance | path

Searched refs:desSize (Results 1 – 1 of 1) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_info.cpp49 size_t desSize = Size(inHeader->GetSectionNumber()); in BuildFromLegacy() local
50 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() local
74 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()