Searched refs:VERSION_SIZE (Results 1 – 10 of 10) sorted by relevance
/arkcompiler/runtime_core/libpandafile/tests/ |
D | file_format_version_test.cpp | 24 for (size_t i = 0; i < File::VERSION_SIZE; i++) { 26 if (i == (File::VERSION_SIZE - 1)) { 37 for (size_t i = 0; i < File::VERSION_SIZE; i++) { 39 if (i == (File::VERSION_SIZE - 1)) {
|
D | file_item_container_test.cpp | 110 auto old = std::array<uint8_t, File::VERSION_SIZE>(minVersion); 135 header.version = std::array<uint8_t, File::VERSION_SIZE>(minVersion);
|
/arkcompiler/runtime_core/libpandafile/ |
D | file_format_version.cpp | 23 std::string GetVersion(const std::array<uint8_t, File::VERSION_SIZE> &v) in GetVersion() 26 for (size_t i = 0; i < File::VERSION_SIZE; i++) { in GetVersion() 28 if (i == (File::VERSION_SIZE - 1)) { in GetVersion()
|
D | file.cpp | 428 inline std::string VersionToString(const std::array<uint8_t, File::VERSION_SIZE> &array) in VersionToString() 432 for (size_t i = 0; i < File::VERSION_SIZE - 1; ++i) { in VersionToString() 436 ss << static_cast<int>(array[File::VERSION_SIZE - 1]); in VersionToString() 443 inline int CompareVersions(const std::array<uint8_t, File::VERSION_SIZE> &lhs, in CompareVersions() 444 const std::array<uint8_t, File::VERSION_SIZE> &rhs) in CompareVersions() 446 for (size_t i = 0; i < File::VERSION_SIZE; i++) { in CompareVersions() 455 inline bool operator<(const std::array<uint8_t, File::VERSION_SIZE> &lhs, in operator <() 456 const std::array<uint8_t, File::VERSION_SIZE> &rhs) in operator <() 461 inline bool operator>(const std::array<uint8_t, File::VERSION_SIZE> &lhs, in operator >() 462 const std::array<uint8_t, File::VERSION_SIZE> &rhs) in operator >() [all …]
|
D | file.h | 57 static constexpr size_t VERSION_SIZE = 4; variable 63 std::array<uint8_t, VERSION_SIZE> version;
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | file_header.h | 30 static constexpr size_t VERSION_SIZE = 4; variable 31 static constexpr uint32_t CHECKSUM_END_OFFSET = MAGIC_SIZE + VERSION_SIZE + sizeof(uint32_t); 33 using VersionType = std::array<uint8_t, VERSION_SIZE>; 113 if (versionNumber.size() != VERSION_SIZE) { in InternalSetVersion() 117 for (uint32_t i = 0; i < VERSION_SIZE; i++) { in InternalSetVersion()
|
/arkcompiler/runtime_core/libpandafile/templates/ |
D | file_format_version.h.erb | 26 constexpr std::array<uint8_t, File::VERSION_SIZE> version {<%= Panda::version.split('.').join(', ')… 27 constexpr std::array<uint8_t, File::VERSION_SIZE> minVersion {<%= Panda::min_version.split('.').joi… 29 std::string GetVersion(const std::array<uint8_t, File::VERSION_SIZE> &version);
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
D | pgo_profiler_encoder.cpp | 178 .read(reinterpret_cast<char *>(buffer->data()), PGOProfilerHeader::VERSION_SIZE); in AddChecksum() 179 …sum = adler32(0, reinterpret_cast<const Bytef *>(buffer->data()), PGOProfilerHeader::VERSION_SIZE); 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/ets_runtime/ecmascript/jspandafile/ |
D | js_pandafile.h | 386 static constexpr size_t VERSION_SIZE = 4; variable 387 static constexpr std::array<uint8_t, VERSION_SIZE> OLD_VERSION {0, 0, 0, 2};
|