Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/util/
Dtf_inspect_test.py512 inspect.getmodule(TestDecoratedClass),
513 tf_inspect.getmodule(TestDecoratedClass))
515 inspect.getmodule(test_decorated_function),
516 tf_inspect.getmodule(test_decorated_function))
518 inspect.getmodule(test_undecorated_function),
519 tf_inspect.getmodule(test_undecorated_function))
569 tf_inspect.ismodule(inspect.getmodule(inspect.currentframe())))
Dtf_inspect.py323 def getmodule(object): # pylint: disable=redefined-builtin function
325 return _inspect.getmodule(object)
/external/python/cpython3/Lib/test/
Dtest_pickle.py350 def getmodule(module): function
367 obj = getmodule(module)
386 getmodule(module)
394 getmodule(module3)
425 getmodule(module3)
Dtest_inspect.py444 self.assertEqual(inspect.getmodule(mod), mod)
446 self.assertEqual(inspect.getmodule(mod.StupidGit), mod)
448 self.assertEqual(inspect.getmodule(mod.StupidGit.abuse), mod)
450 self.assertEqual(inspect.getmodule(mod.StupidGit.abuse), mod)
452 self.assertEqual(inspect.getmodule(str), sys.modules["builtins"])
454 self.assertEqual(inspect.getmodule(None, modfile), mod)
508 inspect.getmodule(compile('a=10','','single'))
/external/python/cpython2/Lib/test/
Dtest_inspect.py278 self.assertEqual(inspect.getmodule(mod), mod)
280 self.assertEqual(inspect.getmodule(mod.StupidGit), mod)
282 self.assertEqual(inspect.getmodule(mod.StupidGit.abuse), mod)
284 self.assertEqual(inspect.getmodule(mod.StupidGit.abuse), mod)
286 self.assertEqual(inspect.getmodule(str), sys.modules["__builtin__"])
288 self.assertEqual(inspect.getmodule(None, modfile), mod)
315 inspect.getmodule(compile('a=10','','single'))
/external/tensorflow/tensorflow/python/autograph/impl/
Dapi.py453 autograph_module=tf_inspect.getmodule(to_graph))
543 autograph_module=tf_inspect.getmodule(to_graph))
Dconversion.py86 m = tf_inspect.getmodule(o)
/external/autotest/client/site_tests/kernel_CheckArmErrata/
Dkernel_CheckArmErrata.py439 inspect.getmodule(self), optionflags=doctest.ELLIPSIS)
/external/u-boot/test/py/
Du_boot_utils.py265 module = inspect.getmodule(frame[0])
/external/python/cpython2/Lib/
Dinspect.py453 if hasattr(getmodule(object, filename), '__loader__'):
471 def getmodule(object, _filename=None): function
531 module = getmodule(object, file)
Dpydoc.py671 (inspect.getmodule(value) or object) is object):
687 inspect.isbuiltin(value) or inspect.getmodule(value) is object):
1098 or (inspect.getmodule(value) or object) is object):
1105 inspect.isbuiltin(value) or inspect.getmodule(value) is object):
1555 module = inspect.getmodule(object)
Ddoctest.py890 module = inspect.getmodule(obj)
941 elif inspect.getmodule(object) is not None:
942 return module is inspect.getmodule(object)
/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils.py143 parent = tf_inspect.getmodule(object_)
/external/antlr/runtime/Python3/tests/
Dtestbase.py121 codeMod = inspect.getmodule(code)
/external/antlr/runtime/Python/tests/
Dtestbase.py134 codeMod = inspect.getmodule(code)
/external/python/cpython3/Lib/
Dpydoc.py696 (inspect.getmodule(value) or object) is object):
712 inspect.isbuiltin(value) or inspect.getmodule(value) is object):
1138 or (inspect.getmodule(value) or object) is object):
1145 inspect.isbuiltin(value) or inspect.getmodule(value) is object):
1649 module = inspect.getmodule(object)
Ddoctest.py887 module = inspect.getmodule(obj)
947 elif inspect.getmodule(object) is not None:
948 return module is inspect.getmodule(object)
Dinspect.py696 if getattr(getmodule(object, filename), '__loader__', None) is not None:
714 def getmodule(object, _filename=None): function
780 module = getmodule(object, file)
/external/ply/ply/ply/
Dlex.py735 module = inspect.getmodule(f)
804 module = inspect.getmodule(f)
Dyacc.py3051 module = inspect.getmodule(self.error_func)
3136 module = inspect.getmodule(item)
/external/selinux/python/sepolgen/src/sepolgen/
Dlex.py735 module = inspect.getmodule(f)
804 module = inspect.getmodule(f)
Dyacc.py3051 module = inspect.getmodule(self.error_func)
3136 module = inspect.getmodule(item)
/external/antlr/runtime/Python/antlr3/
Drecognizers.py860 codeMod = inspect.getmodule(code)
/external/antlr/runtime/Python3/antlr3/
Drecognizers.py837 codeMod = inspect.getmodule(code)
/external/python/cpython2/Doc/library/
Dinspect.rst416 .. function:: getmodule(object)

12