Searched refs:magic (Results 1 – 15 of 15) sorted by relevance
27 bool IsZipMagic(uint32_t magic) in IsZipMagic() argument29 …return ((((magic >> 0U) & ZIP_MAGIC_MASK) == 'P') && (((magic >> ZIP_MAGIC_OFFSET) & ZIP_MAGIC_MAS… in IsZipMagic()
68 bool IsZipMagic(uint32_t magic);
44 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)
117 return <%= insn.format.size %>; // NOLINT(readability-magic-numbers)
195 uint32_t magic; in OpenPandaFile() local209 if (fread(&magic, sizeof(magic), 1, fp) != 1) { in OpenPandaFile()216 if (IsZipMagic(magic)) { in OpenPandaFile()551 if (header->magic != File::MAGIC) { in CheckHeader()
597 std::vector<uint8_t> magic; in WriteHeader() local598 magic.assign(File::MAGIC.cbegin(), File::MAGIC.cend()); in WriteHeader()599 if (!writer->WriteBytes(magic)) { in WriteHeader()
61 std::array<uint8_t, MAGIC_SIZE> magic; member
72 - key: readability-magic-numbers.IgnoredIntegerValues
236 const std::vector<uint8_t> magic = {'P', 'K'}; variable237 ASSERT_TRUE(writer.WriteBytes(magic));
108 header.magic = File::MAGIC;134 header.magic = File::MAGIC;178 header.magic = File::MAGIC;209 header.magic = File::MAGIC;
134 "-cppcoreguidelines-avoid-magic-numbers" # alias for readability-magic-numbers
130 # Call assembly functions to do OSR magic
17 | | magic |
208 | `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…
8252 language/expressions/division/no-magic-asi-from-block-eval.js