Searched refs:getsourcefile (Results 1 – 25 of 29) sorted by relevance
12
/external/tensorflow/tensorflow/python/autograph/g3doc/reference/ |
D | generated_code.md | 40 the `inspect.getsourcefile` and `inspect.getsource`: 47 print(inspect.getsourcefile(converted_f)) 62 print(inspect.getsourcefile(converted_f))
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | tf_inspect.py | 350 def getsourcefile(object): # pylint: disable=redefined-builtin function 352 return _inspect.getsourcefile(tf_decorator.unwrap(object)[1])
|
/external/tensorflow/tensorflow/python/util/ |
D | tf_inspect.py | 364 def getsourcefile(object): # pylint: disable=redefined-builtin function 366 return _inspect.getsourcefile(tf_decorator.unwrap(object)[1])
|
D | tf_stack.py | 138 filter_filename = inspect.getsourcefile(outer_f)
|
D | tf_inspect_test.py | 551 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)
|
/external/tensorflow/tensorflow/python/framework/ |
D | traceable_stack_test.py | 27 _THIS_FILENAME = inspect.getsourcefile(_LOCAL_OBJECT)
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | origin_info_test.py | 68 module_path = tf_inspect.getsourcefile(test_fn) 83 module_path = tf_inspect.getsourcefile(test_fn)
|
D | origin_info.py | 274 filepath = tf_inspect.getsourcefile(entity)
|
D | parser.py | 250 f = inspect.getsourcefile(lam)
|
/external/python/apitools/ |
D | ez_setup.py | 248 srcfile = inspect.getsourcefile(sys.modules[__name__])
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7rc2.rst | 76 fix regression caused by fix for #4050 by making getsourcefile smart enough
|
/external/antlr/runtime/Python/ |
D | ez_setup.py | 205 srcfile = inspect.getsourcefile(sys.modules[__name__])
|
/external/llvm-project/llvm/utils/lit/lit/ |
D | LitConfig.py | 168 file = os.path.abspath(inspect.getsourcefile(f))
|
/external/llvm-project/lldb/packages/Python/lldbsuite/test/ |
D | test_result.py | 110 return inspect.getsourcefile(test.__class__)
|
/external/python/cpython3/Lib/ |
D | inspect.py | 693 def getsourcefile(object): function 721 _filename = getsourcefile(object) or getfile(object) 817 file = getsourcefile(object) 1499 filename = getsourcefile(frame) or getfile(frame) 3172 print('Origin: {}'.format(getsourcefile(module)))
|
/external/python/cpython3/Lib/test/ |
D | test_inspect.py | 364 with open(inspect.getsourcefile(self.fodderModule)) as fp: 502 self.assertEqual(normcase(inspect.getsourcefile(mod.spam)), modfile) 503 self.assertEqual(normcase(inspect.getsourcefile(git.abuse)), modfile) 506 self.assertEqual(inspect.getsourcefile(co), None) 509 self.assertEqual(normcase(inspect.getsourcefile(co)), fn) 559 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/python/pycparser/pycparser/ply/ |
D | lex.py | 853 filename = inspect.getsourcefile(module)
|
D | yacc.py | 3017 filename = inspect.getsourcefile(module) 3157 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)
|
12