Home
last modified time | relevance | path

Searched refs:getsourcefile (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/python/util/
Dtf_inspect.py338 def getsourcefile(object): # pylint: disable=redefined-builtin function
340 return _inspect.getsourcefile(tf_decorator.unwrap(object)[1])
Dtf_inspect_test.py533 tf_inspect.getsourcefile(test_decorated_function_with_defaults))
/external/python/cpython2/Lib/test/
Dtest_inspect.py207 with open(inspect.getsourcefile(self.fodderFile)) as fp:
295 self.assertEqual(inspect.getsourcefile(mod.spam), modfile)
296 self.assertEqual(inspect.getsourcefile(git.abuse), modfile)
299 self.assertEqual(inspect.getsourcefile(co), None)
301 self.assertEqual(inspect.getsourcefile(co), fn)
313 self.assertEqual(inspect.getsourcefile(m.x.func_code), '<string>')
/external/python/cpython2/Lib/
Dinspect.py439 def getsourcefile(object): function
465 _filename = getsourcefile(object) or getfile(object)
526 sourcefile = getsourcefile(object)
1018 filename = getsourcefile(frame) or getfile(frame)
Ddoctest.py896 file = inspect.getsourcefile(obj) or inspect.getfile(obj)
/external/tensorflow/tensorflow/python/framework/
Dtraceable_stack_test.py27 _THIS_FILENAME = inspect.getsourcefile(_LOCAL_OBJECT)
/external/tensorflow/tensorflow/python/autograph/core/
Derrors_test.py44 filename = tf_inspect.getsourcefile(function)
/external/antlr/runtime/Python/
Dez_setup.py205 srcfile = inspect.getsourcefile(sys.modules[__name__])
/external/tensorflow/tensorflow/python/autograph/pyct/
Dorigin_info.py178 function_filepath = tf_inspect.getsourcefile(function)
/external/python/cpython2/Misc/NEWS.d/
D2.7rc2.rst76 fix regression caused by fix for #4050 by making getsourcefile smart enough
/external/python/apitools/
Dez_setup.py248 srcfile = inspect.getsourcefile(sys.modules[__name__])
/external/python/cpython3/Lib/
Dinspect.py680 def getsourcefile(object): function
708 _filename = getsourcefile(object) or getfile(object)
768 file = getsourcefile(object)
1460 filename = getsourcefile(frame) or getfile(frame)
3125 print('Origin: {}'.format(getsourcefile(module)))
Ddoctest.py893 file = inspect.getsourcefile(obj)
/external/python/cpython3/Lib/test/
Dtest_inspect.py342 with open(inspect.getsourcefile(self.fodderModule)) as fp:
467 self.assertEqual(normcase(inspect.getsourcefile(mod.spam)), modfile)
468 self.assertEqual(normcase(inspect.getsourcefile(git.abuse)), modfile)
471 self.assertEqual(inspect.getsourcefile(co), None)
474 self.assertEqual(normcase(inspect.getsourcefile(co)), fn)
506 self.assertEqual(inspect.getsourcefile(m.x.__code__), '<string>')
/external/ply/ply/ply/
Dlex.py852 filename = inspect.getsourcefile(module)
Dyacc.py3019 filename = inspect.getsourcefile(module)
3159 file = inspect.getsourcefile(module)
/external/selinux/python/sepolgen/src/sepolgen/
Dlex.py852 filename = inspect.getsourcefile(module)
Dyacc.py3019 filename = inspect.getsourcefile(module)
3159 file = inspect.getsourcefile(module)
/external/python/cpython2/Doc/library/
Dinspect.rst421 .. function:: getsourcefile(object)
/external/python/cpython3/Doc/library/
Dinspect.rst482 .. function:: getsourcefile(object)
/external/python/cpython3/Misc/
DHISTORY13306 - Issue #8720: Fix regression caused by fix for #4050 by making getsourcefile