Searched refs:MAGIC_SIZE (Results 1 – 6 of 6) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/base/ |
D | file_header.h | 29 static constexpr size_t MAGIC_SIZE = 8; 31 static constexpr uint32_t CHECKSUM_END_OFFSET = MAGIC_SIZE + VERSION_SIZE + sizeof(uint32_t); 32 …static constexpr std::array<uint8_t, MAGIC_SIZE> MAGIC = {'P', 'A', 'N', 'D', 'A', '\0', '\0', '\0… 129 std::array<uint8_t, MAGIC_SIZE> magic_;
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
D | pgo_profiler_encoder.cpp | 177 fileStream.seekg(PGOProfilerHeader::MAGIC_SIZE, std::fstream::beg) in AddChecksum() 190 …fileStream.seekp(PGOProfilerHeader::MAGIC_SIZE + PGOProfilerHeader::VERSION_SIZE, std::fstream::be… in AddChecksum()
|
D | pgo_profiler_info.cpp | 115 …uint32_t checksum = adler32(0, reinterpret_cast<const Bytef *>(buffer) + MAGIC_SIZE, VERSION_SIZE); in VerifyConsistency()
|
/arkcompiler/runtime_core/libpandafile/ |
D | file.h | 56 static constexpr size_t MAGIC_SIZE = 8; variable 58 static const std::array<uint8_t, MAGIC_SIZE> MAGIC; 61 std::array<uint8_t, MAGIC_SIZE> magic;
|
D | file.cpp | 47 const std::array<uint8_t, File::MAGIC_SIZE> File::MAGIC {'P', 'A', 'N', 'D', 'A', '\0', '\0', '\0'};
|
/arkcompiler/toolchain/tooling/agent/ |
D | debugger_impl.cpp | 1456 if ((done && numOctets > panda_file::File::MAGIC_SIZE) && in DecodeAndCheckBase64() 1457 memcmp(dest.data(), panda_file::File::MAGIC.data(), panda_file::File::MAGIC_SIZE) == 0) { in DecodeAndCheckBase64()
|