/external/tensorflow/tensorflow/contrib/py2tf/pyct/ |
parser.py | 33 source = tf_inspect.getsource(entity)
|
/external/tensorflow/tensorflow/contrib/py2tf/converters/ |
decorators_test.py | 61 source_prefix=textwrap.dedent(tf_inspect.getsource(function_decorator))) 93 source_prefix=textwrap.dedent(tf_inspect.getsource(simple_decorator)))
|
/external/tensorflow/tensorflow/python/util/ |
tf_inspect.py | 147 def getsource(object): # pylint: disable=redefined-builtin function 148 """TFDecorator-aware replacement for inspect.getsource.""" 149 return _inspect.getsource(tf_decorator.unwrap(object)[1])
|
tf_inspect_test.py | 145 expected, tf_inspect.getsource(test_decorated_function_with_defaults))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_zipimport_support.py | 86 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src)
94 test_src = inspect.getsource(test_doctest)
102 sample_src = inspect.getsource(sample_doctest)
|
test_inspect.py | 25 # getdoc, getfile, getmodule, getsourcefile, getcomments, getsource,
211 self.assertEqual(inspect.getsource(obj),
310 # Test inspect.getsource with a one-line lambda function.
314 # Test inspect.getsource with a three-line lambda function,
319 # Test inspect.getsource with a two-line lambda function,
324 # Test inspect.getsource with a regular one-line function.
328 # Test inspect.getsource with a regular function where
334 # Test inspect.getsource with a regular function where
340 # Test inspect.getsource with a one-line lambda function
345 # Test inspect.getsource with a lambda function defined [all...] |
test_zipimport.py | 319 self.assertEqual(inspect.getsource(module), test_src)
|
/external/python/cpython2/Lib/test/ |
test_zipimport_support.py | 87 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src) 95 test_src = inspect.getsource(test_doctest) 107 src = inspect.getsource(mod)
|
test_inspect.py | 28 # getdoc, getfile, getmodule, getsourcefile, getcomments, getsource, 214 self.assertEqual(inspect.getsource(obj), 329 inspect.getsource(ns["x"]) 345 # Test inspect.getsource with a one-line lambda function. 349 # Test inspect.getsource with a three-line lambda function, 354 # Test inspect.getsource with a two-line lambda function, 359 # Test inspect.getsource with a regular one-line function. 363 # Test inspect.getsource with a regular function where 369 # Test inspect.getsource with a regular function where 375 # Test inspect.getsource with a one-line lambda functio [all...] |
test_zipimport.py | 319 self.assertEqual(inspect.getsource(module), test_src)
|
/external/python/cpython3/Lib/test/ |
test_zipimport_support.py | 90 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src) 100 test_src = inspect.getsource(test_doctest) 112 src = inspect.getsource(mod)
|
test_inspect.py | 41 # getdoc, getfile, getmodule, getsourcefile, getcomments, getsource, 304 self.assertEqual(inspect.getsource(obj), 464 inspect.getsource(ns["x"]) 489 # Test inspect.getsource with a one-line lambda function. 493 # Test inspect.getsource with a three-line lambda function, 498 # Test inspect.getsource with a two-line lambda function, 503 # Test inspect.getsource with a regular one-line function. 507 # Test inspect.getsource with a regular function where 513 # Test inspect.getsource with a regular function where 519 # Test inspect.getsource with a one-line lambda functio [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_zipimport_support.py | 87 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src) 95 test_src = inspect.getsource(test_doctest) 107 src = inspect.getsource(mod)
|
test_inspect.py | 25 # getdoc, getfile, getmodule, getsourcefile, getcomments, getsource, 211 self.assertEqual(inspect.getsource(obj), 311 inspect.getsource(ns["x"]) 327 # Test inspect.getsource with a one-line lambda function. 331 # Test inspect.getsource with a three-line lambda function, 336 # Test inspect.getsource with a two-line lambda function, 341 # Test inspect.getsource with a regular one-line function. 345 # Test inspect.getsource with a regular function where 351 # Test inspect.getsource with a regular function where 357 # Test inspect.getsource with a one-line lambda functio [all...] |
test_zipimport.py | 319 self.assertEqual(inspect.getsource(module), test_src)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_zipimport_support.py | 87 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src) 95 test_src = inspect.getsource(test_doctest) 107 src = inspect.getsource(mod)
|
test_inspect.py | 25 # getdoc, getfile, getmodule, getsourcefile, getcomments, getsource, 211 self.assertEqual(inspect.getsource(obj), 311 inspect.getsource(ns["x"]) 327 # Test inspect.getsource with a one-line lambda function. 331 # Test inspect.getsource with a three-line lambda function, 336 # Test inspect.getsource with a two-line lambda function, 341 # Test inspect.getsource with a regular one-line function. 345 # Test inspect.getsource with a regular function where 351 # Test inspect.getsource with a regular function where 357 # Test inspect.getsource with a one-line lambda functio [all...] |
test_zipimport.py | 319 self.assertEqual(inspect.getsource(module), test_src)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_zipimport_support.py | 87 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src) 95 test_src = inspect.getsource(test_doctest) 107 src = inspect.getsource(mod)
|
test_inspect.py | 25 # getdoc, getfile, getmodule, getsourcefile, getcomments, getsource, 211 self.assertEqual(inspect.getsource(obj), 311 inspect.getsource(ns["x"]) 327 # Test inspect.getsource with a one-line lambda function. 331 # Test inspect.getsource with a three-line lambda function, 336 # Test inspect.getsource with a two-line lambda function, 341 # Test inspect.getsource with a regular one-line function. 345 # Test inspect.getsource with a regular function where 351 # Test inspect.getsource with a regular function where 357 # Test inspect.getsource with a one-line lambda functio [all...] |
test_zipimport.py | 319 self.assertEqual(inspect.getsource(module), test_src)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_zipimport_support.py | 87 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src) 95 test_src = inspect.getsource(test_doctest) 107 src = inspect.getsource(mod)
|
test_inspect.py | 25 # getdoc, getfile, getmodule, getsourcefile, getcomments, getsource, 211 self.assertEqual(inspect.getsource(obj), 311 inspect.getsource(ns["x"]) 327 # Test inspect.getsource with a one-line lambda function. 331 # Test inspect.getsource with a three-line lambda function, 336 # Test inspect.getsource with a two-line lambda function, 341 # Test inspect.getsource with a regular one-line function. 345 # Test inspect.getsource with a regular function where 351 # Test inspect.getsource with a regular function where 357 # Test inspect.getsource with a one-line lambda functio [all...] |
test_zipimport.py | 319 self.assertEqual(inspect.getsource(module), test_src)
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
__init__.py | 123 return inspect.getsource(condition).strip()
|