Home
last modified time | relevance | path

Searched refs:getmembers (Results 1 – 25 of 43) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_inspect.py125 members = dict(inspect.getmembers(x))
222 classes = inspect.getmembers(mod, inspect.isclass)
255 functions = inspect.getmembers(mod, inspect.isfunction)
664 self.assertIn(('f', B.f), inspect.getmembers(B))
667 self.assertIn(('f', B.f), inspect.getmembers(B, inspect.ismethod))
669 self.assertIn(('f', b.f), inspect.getmembers(b))
670 self.assertIn(('f', b.f), inspect.getmembers(b, inspect.ismethod))
677 self.assertIn(('f', B.f), inspect.getmembers(B))
678 self.assertIn(('f', B.f), inspect.getmembers(B, inspect.ismethod))
680 self.assertIn(('f', b.f), inspect.getmembers(b))
[all …]
Dtest_tarfile.py251 self.assertListEqual(tar.getmembers(), [])
390 tar.getmembers()
433 self.assertTrue(self.tar.getmembers()[-1].name == "misc/eof",
510 tarinfos = self.tar.getmembers()
939 self.assertEqual(len(tar.getmembers()), 1)
972 self.assertEqual(len(tar.getmembers()), 3)
1347 l = tar.getmembers()[0].linkname
1350 n = tar.getmembers()[0].name
1374 self.assertEqual(tar.getmembers()[0].pax_headers, pax_headers)
1405 t = tar.getmembers()[0]
[all …]
/external/python/dateutil/dateutil/zoneinfo/
D__init__.py35 for zf in tf.getmembers()
40 for zl in tf.getmembers() if
/external/tensorflow/tensorflow/python/debug/wrappers/
Dframework_test.py421 tf_inspect.getmembers(session.Session, predicate=tf_inspect.ismethod)
425 tf_inspect.getmembers(
436 tf_inspect.getmembers(monitored_session.MonitoredSession,
441 tf_inspect.getmembers(
/external/tensorflow/tensorflow/python/util/
Dtf_inspect.py318 def getmembers(object, predicate=None): # pylint: disable=redefined-builtin function
320 return _inspect.getmembers(object, predicate)
Dall_util.py50 in _tf_inspect.getmembers(_sys.modules[module_name])])
Dtf_inspect_test.py507 inspect.getmembers(TestDecoratedClass),
508 tf_inspect.getmembers(TestDecoratedClass))
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Destimator_test_utils.py39 attributes = tf_inspect.getmembers(estimator_class)
/external/python/cpython3/Lib/test/
Dtest_tarfile.py296 for tarinfo in tar.getmembers():
333 self.assertListEqual(tar.getmembers(), [])
494 tar.getmembers()
533 self.assertEqual(self.tar.getmembers()[-1].name, "misc/eof",
694 tarinfos = self.tar.getmembers()
1151 for m in tar.getmembers():
1258 self.assertEqual(len(tar.getmembers()), 3)
1694 l = tar.getmembers()[0].linkname
1697 n = tar.getmembers()[0].name
1721 self.assertEqual(tar.getmembers()[0].pax_headers, pax_headers)
[all …]
Dtest_inspect.py231 members = dict(inspect.getmembers(x))
357 classes = inspect.getmembers(mod, inspect.isclass)
394 functions = inspect.getmembers(mod, inspect.isfunction)
1103 self.assertEqual(inspect.getmembers(A, ismethoddescriptor),
1105 self.assertEqual(inspect.getmembers(A, isdatadescriptor),
1111 self.assertEqual(inspect.getmembers(B, ismethoddescriptor),
1113 self.assertEqual(inspect.getmembers(B, isdatadescriptor),
1121 self.assertIn(('f', B.f), inspect.getmembers(B))
1122 self.assertNotIn(('f', B.f), inspect.getmembers(B, inspect.ismethod))
1124 self.assertIn(('f', b.f), inspect.getmembers(b))
[all …]
/external/libcxx/utils/libcxx/test/
Dtracing.py37 for name, member in inspect.getmembers(obj):
/external/tensorflow/tensorflow/tools/common/
Dtraverse.py37 children = tf_inspect.getmembers(root)
/external/autotest/client/site_tests/platform_DebugDaemonDumpDebugLogs/
Dplatform_DebugDaemonDumpDebugLogs.py30 if len(tar_file.getmembers()) == 0:
/external/tensorflow/tensorflow/tools/docs/
Dgenerate2.py52 tf.__all__ = [item_name for item_name, value in tf_inspect.getmembers(tf)]
/external/chromium-trace/catapult/common/py_utils/py_utils/
Ddiscover.py136 for _, obj in inspect.getmembers(module):
/external/python/cpython2/Lib/
Dpydoc.py136 for key, value in inspect.getmembers(cl, _is_some_method):
665 modules = inspect.getmembers(object, inspect.ismodule)
668 for key, value in inspect.getmembers(object, inspect.isclass):
684 for key, value in inspect.getmembers(object, inspect.isroutine):
693 for key, value in inspect.getmembers(object, isdata):
1095 for key, value in inspect.getmembers(object, inspect.isclass):
1102 for key, value in inspect.getmembers(object, inspect.isroutine):
1109 for key, value in inspect.getmembers(object, isdata):
1129 for key, value in inspect.getmembers(object, inspect.ismodule):
Dtarfile.py1832 def getmembers(self): member in TarFile
1846 return [tarinfo.name for tarinfo in self.getmembers()]
2396 members = self.getmembers()
2582 members = self.tarfile.getmembers()
2591 self.tarfile.getmembers())
/external/python/cpython3/Lib/
Dpydoc.py161 for key, value in inspect.getmembers(cl, _is_some_method):
690 modules = inspect.getmembers(object, inspect.ismodule)
693 for key, value in inspect.getmembers(object, inspect.isclass):
709 for key, value in inspect.getmembers(object, inspect.isroutine):
718 for key, value in inspect.getmembers(object, isdata):
1135 for key, value in inspect.getmembers(object, inspect.isclass):
1142 for key, value in inspect.getmembers(object, inspect.isroutine):
1149 for key, value in inspect.getmembers(object, isdata):
1169 for key, value in inspect.getmembers(object, inspect.ismodule):
Dtarfile.py1757 def getmembers(self): member in TarFile
1771 return [tarinfo.name for tarinfo in self.getmembers()]
2327 members = self.getmembers()
2475 tar.getmembers()
2476 print(tar.getmembers(), file=sys.stderr)
/external/python/cpython3/Lib/distutils/tests/
Dtest_sdist.py461 for member in archive.getmembers():
483 for member in archive.getmembers():
/external/python/cpython2/Lib/distutils/tests/
Dtest_sdist.py341 for member in archive.getmembers():
363 for member in archive.getmembers():
/external/python/cpython2/Doc/library/
Dinspect.rst33 The :func:`getmembers` function retrieves the members of an object such as a
35 provided as convenient choices for the second argument to :func:`getmembers`.
225 .. function:: getmembers(object[, predicate])
233 :func:`getmembers` does not return metaclass attributes when the argument
/external/deqp-deps/SPIRV-Tools/test/tools/
Dspirv_test_framework.py366 for _, obj, in inspect.getmembers(mod):
/external/swiftshader/third_party/SPIRV-Tools/test/tools/
Dspirv_test_framework.py366 for _, obj, in inspect.getmembers(mod):
/external/python/cpython3/Doc/library/
Dtarfile.rst348 .. method:: TarFile.getmembers()
357 returned by :meth:`getmembers`.
365 given, it must be a subset of the list returned by :meth:`getmembers`.
382 list returned by :meth:`getmembers`. Directory information like owner,
522 :meth:`getmember`, :meth:`getmembers` and :meth:`gettarinfo`.

12