Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/libziparchive/
Dzip_archive.cpp27 bool IsZipMagic(uint32_t magic) in IsZipMagic() argument
29 …return ((((magic >> 0U) & ZIP_MAGIC_MASK) == 'P') && (((magic >> ZIP_MAGIC_OFFSET) & ZIP_MAGIC_MAS… in IsZipMagic()
Dzip_archive.h68 bool IsZipMagic(uint32_t magic);
/arkcompiler/runtime_core/libpandafile/templates/
Dbytecode_instruction-inl_gen.h.erb44 return idx < <%= n %>; // NOLINT(readability-magic-numbers)
308 …if (primary >= <%= Panda::prefixes.map(&:opcode_idx).min %>) { // NOLINT(readability-magic-number…
317 …aryOpcode() >= <%= Panda::prefixes.map(&:opcode_idx).min %>); // NOLINT(readability-magic-numbers)
324 return <%= Panda::prefixes.map(&:opcode_idx).min %>; // NOLINT(readability-magic-numbers)
329 …maryOpcode() >= <%= Panda::prefixes.map(&:opcode_idx).min %>; // NOLINT(readability-magic-numbers)
468 // NOLINTNEXTLINE(readability-magic-numbers)
470 // NOLINTNEXTLINE(readability-magic-numbers)
472 // NOLINTNEXTLINE(readability-magic-numbers)
474 // NOLINTNEXTLINE(readability-magic-numbers)
Dbytecode_emitter_gen.h.erb117 return <%= insn.format.size %>; // NOLINT(readability-magic-numbers)
/arkcompiler/runtime_core/libpandafile/
Dfile.cpp195 uint32_t magic; in OpenPandaFile() local
209 if (fread(&magic, sizeof(magic), 1, fp) != 1) { in OpenPandaFile()
216 if (IsZipMagic(magic)) { in OpenPandaFile()
551 if (header->magic != File::MAGIC) { in CheckHeader()
Dfile_item_container.cpp597 std::vector<uint8_t> magic; in WriteHeader() local
598 magic.assign(File::MAGIC.cbegin(), File::MAGIC.cend()); in WriteHeader()
599 if (!writer->WriteBytes(magic)) { in WriteHeader()
Dfile.h61 std::array<uint8_t, MAGIC_SIZE> magic; member
/arkcompiler/runtime_core/
D.clang-tidy72 - key: readability-magic-numbers.IgnoredIntegerValues
/arkcompiler/runtime_core/libpandafile/tests/
Dfile_test.cpp236 const std::vector<uint8_t> magic = {'P', 'K'}; variable
237 ASSERT_TRUE(writer.WriteBytes(magic));
Dfile_item_container_test.cpp108 header.magic = File::MAGIC;
134 header.magic = File::MAGIC;
178 header.magic = File::MAGIC;
209 header.magic = File::MAGIC;
/arkcompiler/runtime_core/cmake/
DClangTidy.cmake134 "-cppcoreguidelines-avoid-magic-numbers" # alias for readability-magic-numbers
/arkcompiler/runtime_core/docs/
Don-stack-replacement.md130 # Call assembly functions to do OSR magic
Dcode_metainfo.md17 | | magic |
Dfile_format.md208 | `magic` | `uint8_t[8]` | Magic string. Must be 'P' 'A' 'N' 'D' 'A' '\\0' '\\0' …
209 | `checksum` | `uint8_t[4]` | adler32 checksum of the file except magic and checksum…
/arkcompiler/ets_frontend/es2panda/test/
Dtest262skiplist.txt8252 language/expressions/division/no-magic-asi-from-block-eval.js