Home
last modified time | relevance | path

Searched refs:MAGIC_NUMBER (Results 1 – 25 of 25) sorted by relevance

/external/jacoco/org.jacoco.core/src/org/jacoco/core/data/
DExecutionDataWriter.java35 public static final char MAGIC_NUMBER = 0xC0C0; field in ExecutionDataWriter
72 out.writeChar(MAGIC_NUMBER); in writeHeader()
DExecutionDataReader.java124 if (in.readChar() != ExecutionDataWriter.MAGIC_NUMBER) { in readHeader()
/external/pcre/dist2/src/
Dpcre2_serialize.c100 if (re->magic_number != MAGIC_NUMBER) return PCRE2_ERROR_BADMAGIC; in pcre2_serialize_encode()
232 if (dst_re->magic_number != MAGIC_NUMBER || in pcre2_serialize_decode()
Dpcre2_pattern_info.c115 if (re->magic_number != MAGIC_NUMBER) return PCRE2_ERROR_BADMAGIC; in pcre2_pattern_info()
287 if (re->magic_number != MAGIC_NUMBER) return PCRE2_ERROR_BADMAGIC; in pcre2_callout_enumerate()
Dpcre2_internal.h540 #define MAGIC_NUMBER 0x50435245UL /* 'PCRE' */ macro
Dpcre2_dfa_match.c3288 if (re->magic_number != MAGIC_NUMBER) return PCRE2_ERROR_BADMAGIC; in pcre2_dfa_match()
Dpcre2_match.c6058 if (re->magic_number != MAGIC_NUMBER) return PCRE2_ERROR_BADMAGIC; in pcre2_match()
Dpcre2_compile.c9615 re->magic_number = MAGIC_NUMBER; in pcre2_compile()
Dpcre2test.c5378 ((pcre2_real_code_8 *)preg.re_pcre2_code)->magic_number != MAGIC_NUMBER || in process_pattern()
/external/python/cpython3/Tools/scripts/
Dcheckpyc.py21 MAGIC = importlib.util.MAGIC_NUMBER
/external/python/cpython3/Lib/importlib/
D_bootstrap_external.py259 MAGIC_NUMBER = (3394).to_bytes(2, 'little') + b'\r\n' variable
260 _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
455 if magic != MAGIC_NUMBER:
538 data = bytearray(MAGIC_NUMBER)
548 data = bytearray(MAGIC_NUMBER)
Dutil.py7 from ._bootstrap_external import MAGIC_NUMBER
/external/python/cpython3/Lib/test/test_importlib/
Dtest_util.py542 self.assertEqual(len(self.util.MAGIC_NUMBER), 4)
546 self.assertTrue(self.util.MAGIC_NUMBER.endswith(b'\r\n'))
793 actual = int.from_bytes(importlib.util.MAGIC_NUMBER[:2], 'little')
Dtest_abc.py713 magic = self.util.MAGIC_NUMBER
878 data = bytearray(self.util.MAGIC_NUMBER)
/external/python/cpython3/Lib/
Dimp.py64 return util.MAGIC_NUMBER
Dcompileall.py146 expect = struct.pack('<4sll', importlib.util.MAGIC_NUMBER,
Dpkgutil.py46 if magic != importlib.util.MAGIC_NUMBER:
Dpydoc.py305 magic = importlib.util.MAGIC_NUMBER
/external/python/cpython3/Lib/test/
Dtest_compileall.py57 compare = struct.pack('<4sll', importlib.util.MAGIC_NUMBER, 0, mtime)
79 self.recreation_check(struct.pack('<4sll', importlib.util.MAGIC_NUMBER,
Dtest_zipimport.py42 pyc = (importlib.util.MAGIC_NUMBER +
/external/python/cpython3/Lib/test/test_importlib/source/
Dtest_file_loader.py570 self.util.MAGIC_NUMBER)
/external/python/cpython3/Doc/library/
Dimp.rst29 Use :attr:`importlib.util.MAGIC_NUMBER` instead.
Dimportlib.rst1362 .. attribute:: MAGIC_NUMBER
/external/python/cpython3/Doc/whatsnew/
D3.4.rst998 :mod:`importlib.util` now has a :data:`~importlib.util.MAGIC_NUMBER` attribute
/external/python/cpython3/Misc/
DHISTORY4887 - Issue #18192: Introduce importlib.util.MAGIC_NUMBER and document as deprecated