Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/util/
Dtf_inspect_test.py530 inspect.getmodule(TestDecoratedClass),
531 tf_inspect.getmodule(TestDecoratedClass))
533 inspect.getmodule(test_decorated_function),
534 tf_inspect.getmodule(test_decorated_function))
536 inspect.getmodule(test_undecorated_function),
537 tf_inspect.getmodule(test_undecorated_function))
587 tf_inspect.ismodule(inspect.getmodule(inspect.currentframe())))
Dtf_inspect.py349 def getmodule(object): # pylint: disable=redefined-builtin function
351 return _inspect.getmodule(object)
/external/python/cpython3/Lib/test/
Dtest_pickle.py364 def getmodule(module): function
381 obj = getmodule(module)
400 getmodule(module)
408 getmodule(module3)
439 getmodule(module3)
Dtest_inspect.py479 self.assertEqual(inspect.getmodule(mod), mod)
481 self.assertEqual(inspect.getmodule(mod.StupidGit), mod)
483 self.assertEqual(inspect.getmodule(mod.StupidGit.abuse), mod)
485 self.assertEqual(inspect.getmodule(mod.StupidGit.abuse), mod)
487 self.assertEqual(inspect.getmodule(str), sys.modules["builtins"])
489 self.assertEqual(inspect.getmodule(None, modfile), mod)
561 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/keras/utils/
Dtf_inspect.py335 def getmodule(object): # pylint: disable=redefined-builtin function
337 return _inspect.getmodule(object)
/external/tensorflow/tensorflow/python/autograph/impl/
Dconversion.py140 m = tf_inspect.getmodule(o)
Dapi.py223 ag_internal.__dict__.update(inspect.getmodule(PyToTF).__dict__)
/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/python/parse_type/bin/
Dtoxcmd.py174 for name, func in inspect.getmembers(inspect.getmodule(toxcmd_main)):
/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils.py216 parent = tf_inspect.getmodule(object_)
Dparser.py249 mod = inspect.getmodule(lam)
/external/pigweed/pw_cli/py/pw_cli/
Dplugins.py63 module = inspect.getmodule(member)
/external/antlr/runtime/Python/tests/
Dtestbase.py134 codeMod = inspect.getmodule(code)
/external/antlr/runtime/Python3/tests/
Dtestbase.py121 codeMod = inspect.getmodule(code)
/external/python/cpython3/Lib/
Ddoctest.py894 module = inspect.getmodule(obj)
954 elif inspect.getmodule(object) is not None:
955 return module is inspect.getmodule(object)
Dpydoc.py781 (inspect.getmodule(value) or object) is object):
797 inspect.isbuiltin(value) or inspect.getmodule(value) is object):
1223 or (inspect.getmodule(value) or object) is object):
1230 inspect.isbuiltin(value) or inspect.getmodule(value) is object):
1754 module = inspect.getmodule(object)
Dinspect.py709 if getattr(getmodule(object, filename), '__loader__', None) is not None:
727 def getmodule(object, _filename=None): function
829 module = getmodule(object, file)
/external/selinux/python/sepolgen/src/sepolgen/
Dlex.py735 module = inspect.getmodule(f)
804 module = inspect.getmodule(f)
/external/ply/ply/ply/
Dlex.py735 module = inspect.getmodule(f)
804 module = inspect.getmodule(f)
/external/python/pycparser/pycparser/ply/
Dlex.py736 module = inspect.getmodule(f)
805 module = inspect.getmodule(f)
/external/antlr/runtime/Python3/antlr3/
Drecognizers.py837 codeMod = inspect.getmodule(code)
/external/antlr/runtime/Python/antlr3/
Drecognizers.py860 codeMod = inspect.getmodule(code)

12