Home
last modified time | relevance | path

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

12

/external/python/cpython2/Lib/test/
Dtest_compileall.py31 compare = struct.pack('<4sl', imp.get_magic(), mtime)
51 self.recreation_check(struct.pack('<4sl', imp.get_magic(), 1))
Dtest_import_magic.py35 raw_magic = imp.get_magic()
Dtest_zipimport.py36 pyc = imp.get_magic() + struct.pack("<i", int(mtime)) + data
/external/python/cpython2/Tools/scripts/
Dcheckpyc.py18 MAGIC = imp.get_magic()
/external/python/cpython2/Lib/
Dpy_compile.py13 MAGIC = imp.get_magic()
Dimputil.py441 f.write(imp.get_magic())
590 if f.read(4) == imp.get_magic():
Dcompileall.py88 expect = struct.pack('<4sl', imp.get_magic(), mtime)
Dpkgutil.py21 if magic != imp.get_magic():
Dmodulefinder.py311 if fp.read(4) != imp.get_magic():
Dpydoc.py283 magic = imp.get_magic()
/external/swiftshader/third_party/LLVM/lib/Archive/
DArchive.cpp121 sys::fs::get_magic(path.str(), magic.capacity(), magic); in replaceWith()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DFileSystem.h397 error_code get_magic(const Twine &path, uint32_t len,
/external/python/cpython3/Lib/
Dimp.py59 def get_magic(): function
/external/swiftshader/third_party/LLVM/lib/Support/
DPathV2.cpp728 if (error_code ec = get_magic(path, Magic.size(), Buffer)) { in has_magic()
743 error_code ec = get_magic(path, Magic.capacity(), Magic); in identify_magic()
/external/python/cpython2/Lib/plat-mac/
Dbuildtools.py28 MAGIC = imp.get_magic()
Dbundlebuilder.py237 MAGIC = imp.get_magic()
/external/python/cpython3/Doc/library/
Dimp.rst21 .. function:: get_magic()
247 magic number, as returned by :func:`get_magic`.
/external/blktrace/
Dblkparse.c2210 static inline __u32 get_magic(struct blk_io_trace *bit) in get_magic() function
2248 magic = get_magic(bit); in read_events()
2394 magic = get_magic(bit); in ms_prime()
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DPathV2.inc480 error_code get_magic(const Twine &path, uint32_t len,
/external/libchrome/third_party/jinja2/
Denvironment.py676 py_header = imp.get_magic() + \
/external/python/cpython2/Doc/library/
Dimp.rst15 .. function:: get_magic()
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DPathV2.inc652 error_code get_magic(const Twine &path, uint32_t len,
/external/python/cpython2/Lib/compiler/
Dpycodegen.py123 MAGIC = imp.get_magic()
/external/python/cpython3/Doc/whatsnew/
D3.4.rst1000 :func:`~imp.get_magic` function in the deprecated :mod:`imp` module.
/external/python/cpython3/Misc/
DHISTORY4888 imp.get_magic().
25537 magic = string.join(["\\x%.2x" % ord(c) for c in imp.get_magic()],"")

12