Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/autograph/g3doc/reference/
Dgenerated_code.md40 the `inspect.getsourcefile` and `inspect.getsource`:
47 print(inspect.getsourcefile(converted_f))
62 print(inspect.getsourcefile(converted_f))
/external/tensorflow/tensorflow/python/keras/utils/
Dtf_inspect.py350 def getsourcefile(object): # pylint: disable=redefined-builtin function
352 return _inspect.getsourcefile(tf_decorator.unwrap(object)[1])
/external/tensorflow/tensorflow/python/util/
Dtf_inspect.py364 def getsourcefile(object): # pylint: disable=redefined-builtin function
366 return _inspect.getsourcefile(tf_decorator.unwrap(object)[1])
Dtf_stack.py138 filter_filename = inspect.getsourcefile(outer_f)
Dtf_inspect_test.py551 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)
/external/tensorflow/tensorflow/python/framework/
Dtraceable_stack_test.py27 _THIS_FILENAME = inspect.getsourcefile(_LOCAL_OBJECT)
/external/tensorflow/tensorflow/python/autograph/pyct/
Dorigin_info_test.py68 module_path = tf_inspect.getsourcefile(test_fn)
83 module_path = tf_inspect.getsourcefile(test_fn)
Dorigin_info.py274 filepath = tf_inspect.getsourcefile(entity)
Dparser.py250 f = inspect.getsourcefile(lam)
/external/python/apitools/
Dez_setup.py248 srcfile = inspect.getsourcefile(sys.modules[__name__])
/external/python/cpython2/Misc/NEWS.d/
D2.7rc2.rst76 fix regression caused by fix for #4050 by making getsourcefile smart enough
/external/antlr/runtime/Python/
Dez_setup.py205 srcfile = inspect.getsourcefile(sys.modules[__name__])
/external/llvm-project/llvm/utils/lit/lit/
DLitConfig.py168 file = os.path.abspath(inspect.getsourcefile(f))
/external/llvm-project/lldb/packages/Python/lldbsuite/test/
Dtest_result.py110 return inspect.getsourcefile(test.__class__)
/external/python/cpython3/Lib/
Dinspect.py693 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/
Dtest_inspect.py364 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/
Dlex.py852 filename = inspect.getsourcefile(module)
Dyacc.py3019 filename = inspect.getsourcefile(module)
3159 file = inspect.getsourcefile(module)
/external/python/pycparser/pycparser/ply/
Dlex.py853 filename = inspect.getsourcefile(module)
Dyacc.py3017 filename = inspect.getsourcefile(module)
3157 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)

12