Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/base/
Dfile_header.h29 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/
Dpgo_profiler_encoder.cpp177 fileStream.seekg(PGOProfilerHeader::MAGIC_SIZE, std::fstream::beg) in AddChecksum()
190 …fileStream.seekp(PGOProfilerHeader::MAGIC_SIZE + PGOProfilerHeader::VERSION_SIZE, std::fstream::be… in AddChecksum()
Dpgo_profiler_info.cpp115 …uint32_t checksum = adler32(0, reinterpret_cast<const Bytef *>(buffer) + MAGIC_SIZE, VERSION_SIZE); in VerifyConsistency()
/arkcompiler/runtime_core/libpandafile/
Dfile.h56 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;
Dfile.cpp47 const std::array<uint8_t, File::MAGIC_SIZE> File::MAGIC {'P', 'A', 'N', 'D', 'A', '\0', '\0', '\0'};
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.cpp1456 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()