Searched refs:getsourcefile (Results 1 – 21 of 21) sorted by relevance
/external/tensorflow/tensorflow/python/util/ |
D | tf_inspect.py | 338 def getsourcefile(object): # pylint: disable=redefined-builtin function 340 return _inspect.getsourcefile(tf_decorator.unwrap(object)[1])
|
D | tf_inspect_test.py | 533 tf_inspect.getsourcefile(test_decorated_function_with_defaults))
|
/external/python/cpython2/Lib/test/ |
D | test_inspect.py | 207 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/ |
D | inspect.py | 439 def getsourcefile(object): function 465 _filename = getsourcefile(object) or getfile(object) 526 sourcefile = getsourcefile(object) 1018 filename = getsourcefile(frame) or getfile(frame)
|
D | doctest.py | 896 file = inspect.getsourcefile(obj) or inspect.getfile(obj)
|
/external/tensorflow/tensorflow/python/framework/ |
D | traceable_stack_test.py | 27 _THIS_FILENAME = inspect.getsourcefile(_LOCAL_OBJECT)
|
/external/tensorflow/tensorflow/python/autograph/core/ |
D | errors_test.py | 44 filename = tf_inspect.getsourcefile(function)
|
/external/antlr/runtime/Python/ |
D | ez_setup.py | 205 srcfile = inspect.getsourcefile(sys.modules[__name__])
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | origin_info.py | 178 function_filepath = tf_inspect.getsourcefile(function)
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7rc2.rst | 76 fix regression caused by fix for #4050 by making getsourcefile smart enough
|
/external/python/apitools/ |
D | ez_setup.py | 248 srcfile = inspect.getsourcefile(sys.modules[__name__])
|
/external/python/cpython3/Lib/ |
D | inspect.py | 680 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)))
|
D | doctest.py | 893 file = inspect.getsourcefile(obj)
|
/external/python/cpython3/Lib/test/ |
D | test_inspect.py | 342 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/ |
D | lex.py | 852 filename = inspect.getsourcefile(module)
|
D | yacc.py | 3019 filename = inspect.getsourcefile(module) 3159 file = inspect.getsourcefile(module)
|
/external/selinux/python/sepolgen/src/sepolgen/ |
D | lex.py | 852 filename = inspect.getsourcefile(module)
|
D | yacc.py | 3019 filename = inspect.getsourcefile(module) 3159 file = inspect.getsourcefile(module)
|
/external/python/cpython2/Doc/library/ |
D | inspect.rst | 421 .. function:: getsourcefile(object)
|
/external/python/cpython3/Doc/library/ |
D | inspect.rst | 482 .. function:: getsourcefile(object)
|
/external/python/cpython3/Misc/ |
D | HISTORY | 13306 - Issue #8720: Fix regression caused by fix for #4050 by making getsourcefile
|