HomeSort by relevance Sort by last modified time
    Searched refs:__code__ (Results 1 - 25 of 102) sorted by null

1 2 3 4 5

  /external/python/cpython2/Lib/plat-mac/
appletrawmain.py 58 __code__ = marshal.load(_fp) variable
60 # Again, we create an almost-normal environment (only __code__ is
64 exec __code__
bundlebuilder.py 639 site.__code__ = self._getSiteCode()
640 mf.scan_code(site.__code__, site)
663 if path and mod.__code__ is None:
678 mod.__code__ = code
680 if mod.__code__ is not None:
685 self.pymodules.append((name, mod.__code__, ispkg))
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/
appletrawmain.py 58 __code__ = marshal.load(_fp) variable
60 # Again, we create an almost-normal environment (only __code__ is
64 exec __code__
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
appletrawmain.py 58 __code__ = marshal.load(_fp) variable
60 # Again, we create an almost-normal environment (only __code__ is
64 exec __code__
  /external/python/cpython3/Lib/test/
test_funcattrs.py 68 test.__code__ = self.b.__code__
140 self.assertEqual(type(func.__code__), types.CodeType)
143 d.__code__ = c.__code__
144 self.assertEqual(c.__code__, d.__code__)
148 b.__code__ = c.__code__
152 self.fail("__code__ with different numbers of free vars should
    [all...]
test_compile.py 220 for variable in self.test_32_63_bit_values.__code__.co_consts:
304 self.assertNotEqual(id(f1.__code__), id(f2.__code__))
424 self.assertIn("_A__mangled", A.f.__code__.co_varnames)
425 self.assertIn("__not_mangled__", A.f.__code__.co_varnames)
426 self.assertIn("_A__mangled_mod", A.f.__code__.co_varnames)
427 self.assertIn("__package__", A.f.__code__.co_varnames)
586 for const in func.__code__.co_consts:
591 % (expected, func.__code__.co_consts))
606 self.assertIs(f1.__code__, f2.__code__
    [all...]
test_dis.py 49 """ % (_C.__init__.__code__.co_firstlineno + 1,)
69 """ % (_C.cm.__code__.co_firstlineno + 2,)
78 """ % (_C.sm.__code__.co_firstlineno + 2,)
104 """ % (_f.__code__.co_firstlineno + 1,
105 _f.__code__.co_firstlineno + 2)
138 """ % (bug708901.__code__.co_firstlineno + 1,
139 bug708901.__code__.co_firstlineno + 2,
140 bug708901.__code__.co_firstlineno + 3)
166 """ % (bug1333982.__code__.co_firstlineno + 1,
168 bug1333982.__code__.co_firstlineno + 1
    [all...]
test_code.py 9 >>> dump(f.__code__)
21 >>> dump(f(4).__code__)
40 >>> dump(h.__code__)
57 >>> dump(attrs.__code__)
75 >>> dump(optimize_away.__code__)
91 >>> dump(keywordonly_args.__code__)
208 coderef = weakref.ref(f.__code__, callback)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/
makefreeze.py 41 if m.__code__:
47 str = marshal.dumps(m.__code__)
  /external/python/cpython2/Tools/freeze/
makefreeze.py 41 if m.__code__:
47 str = marshal.dumps(m.__code__)
  /external/python/cpython3/Tools/freeze/
makefreeze.py 40 if m.__code__:
46 str = marshal.dumps(m.__code__)
  /external/python/cpython2/Lib/test/
test_traceback.py 215 lineno = prn.__code__.co_firstlineno
216 file = prn.__code__.co_filename
228 lineno = fmt.__code__.co_firstlineno
229 file = fmt.__code__.co_filename
247 lineno = extract.__code__.co_firstlineno
248 file = extract.__code__.co_filename
test_compile.py 627 for const in func.__code__.co_consts:
632 % (expected, func.__code__.co_consts))
647 self.assertIs(f1.__code__, f2.__code__)
666 self.assertIsNot(f1.__code__, f2.__code__)
679 self.assertIsNot(f1.__code__, f2.__code__)
test_code.py 179 coderef = weakref.ref(f.__code__, callback)
  /external/tensorflow/tensorflow/contrib/framework/python/ops/
arg_scope.py 102 return func.__code__.co_varnames[-kwargs_length:func.__code__.co_argcount]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_code.py 132 coderef = weakref.ref(f.__code__, callback)
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_code.py 132 coderef = weakref.ref(f.__code__, callback)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_code.py 132 coderef = weakref.ref(f.__code__, callback)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_code.py 132 coderef = weakref.ref(f.__code__, callback)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_code.py 132 coderef = weakref.ref(f.__code__, callback)
  /external/python/cpython3/Lib/
types.py 14 CodeType = type(_f.__code__)
50 GetSetDescriptorType = type(FunctionType.__code__)
218 getattr(func, '__code__', None).__class__ is CodeType):
220 co_flags = func.__code__.co_flags
231 co = func.__code__
232 func.__code__ = CodeType(
  /external/ply/ply/ply/
lex.py 362 func.__code__.co_filename, func.__code__.co_firstlineno,
696 line = t.__code__.co_firstlineno
697 file = t.__code__.co_filename
722 f.sort(key=lambda x: x[1].__code__.co_firstlineno)
734 line = f.__code__.co_firstlineno
735 file = f.__code__.co_filename
744 nargs = f.__code__.co_argcount
803 line = f.__code__.co_firstlineno
804 file = f.__code__.co_filenam
    [all...]
  /external/selinux/python/sepolgen/src/sepolgen/
yacc.py 466 if 1 and isinstance(v,types.FunctionType) and v.__code__.co_argcount == 1:
470 sys.stderr.write("%s:%d: Warning. Possible grammar rule '%s' defined without p_ prefix.\n" % (v.__code__.co_filename, v.__code__.co_firstlineno,n))
731 line = f.__code__.co_firstlineno
732 file = f.__code__.co_filename
740 if f.__code__.co_argcount > reqdargs:
744 if f.__code__.co_argcount < reqdargs:
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/
yacc.py 466 if 1 and isinstance(v,types.FunctionType) and v.__code__.co_argcount == 1:
470 sys.stderr.write("%s:%d: Warning. Possible grammar rule '%s' defined without p_ prefix.\n" % (v.__code__.co_filename, v.__code__.co_firstlineno,n))
731 line = f.__code__.co_firstlineno
732 file = f.__code__.co_filename
740 if f.__code__.co_argcount > reqdargs:
744 if f.__code__.co_argcount < reqdargs:
    [all...]
  /external/libmojo/third_party/jinja2/
_compat.py 129 code_type = type(_C.method.__code__)

Completed in 1726 milliseconds

1 2 3 4 5