/third_party/python/Lib/test/test_importlib/ |
D | test_namespace_pkgs.py | 219 self.assertEqual(len(parent.__path__), 2) 220 self.assertEqual(len(parent.child.__path__), 2) 222 self.assertEqual(len(parent.__path__), 2) 223 self.assertEqual(len(parent.child.__path__), 2) 231 self.assertEqual(len(parent.__path__), 2) 232 self.assertEqual(len(parent.child.__path__), 2) 236 self.assertEqual(len(parent.__path__), 2) 237 self.assertEqual(len(parent.child.__path__), 2) 239 self.assertEqual(len(parent.__path__), 2) 240 self.assertEqual(len(parent.child.__path__), 2) [all …]
|
D | test_abc.py | 477 self.assertIsNotNone(module.__path__) 478 self.assertIsNotNone(module.__path__, 800 module.__path__ = [] 855 self.assertEqual(module.__path__, [os.path.dirname(self.path)])
|
/third_party/python/Lib/ |
D | modulefinder.py | 103 self.__path__ = path 117 if self.__path__ is not None: 118 s = s + ", %r" % (self.__path__,) 177 if m.__path__: 188 if caller.__path__: 201 if caller.__path__: 273 if not m.__path__: 283 for dir in m.__path__: 312 if parent and parent.__path__ is None: 317 parent and parent.__path__, parent) [all …]
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | ext3_extents.h | 110 #define EXT_HAS_FREE_INDEX(__path__) \ argument 111 (ext2fs_le16_to_cpu((__path__)->p_hdr->eh_entries) < \ 112 ext2fs_le16_to_cpu((__path__)->p_hdr->eh_max))
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | __init__.py | 4 __path__ = __import__('pkgutil').extend_path(__path__, __name__) variable
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/ |
D | __init__.py | 4 __path__ = __import__('pkgutil').extend_path(__path__, __name__) variable
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/ |
D | __init__.py | 4 __path__ = __import__('pkgutil').extend_path(__path__, __name__) variable
|
/third_party/protobuf/python/google/ |
D | __init__.py | 4 __path__ = __import__('pkgutil').extend_path(__path__, __name__) variable
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/ |
D | __init__.py | 4 __path__ = __import__('pkgutil').extend_path(__path__, __name__) variable
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
D | __init__.py | 37 __path__ = __import__('pkgutil').extend_path(__path__, __name__) variable
|
/third_party/protobuf/python/google/protobuf/ |
D | __init__.py | 39 __path__ = __import__('pkgutil').extend_path(__path__, __name__) variable
|
/third_party/python/Lib/test/test_importlib/import_/ |
D | test_api.py | 67 mod.__path__ = ['XXX'] 78 mod.__path__ = ['XXX'] 90 mod.__path__ = []
|
D | test_meta_path.py | 90 importer.modules[pkg_name].__path__ = path
|
/third_party/python/Lib/test/ |
D | test_zipimport.py | 323 self.assertEqual(2, len(mod.__path__)) 324 p1, p2 = mod.__path__ 331 self.assertEqual(1, len(mod.__path__)) 332 mpath = list(mod.__path__)[0].split('path1.zip' + os.sep)[1] 347 self.assertEqual(2, len(mod.__path__)) 348 p1, p2 = mod.__path__ 399 self.assertEqual(2, len(mod.__path__)) 400 p1, p2 = mod.__path__ 407 self.assertEqual(1, len(mod.__path__)) 408 mpath = list(mod.__path__)[0].split('path1.zip' + os.sep)[1] [all …]
|
D | test_pkgutil.py | 357 self.assertEqual(sorted(foo.__path__), 436 self.assertEqual(sorted(foo.__path__), 483 self.assertEqual(len(pkg.__path__), 2) 486 self.assertEqual(len(pkg.subpkg.__path__), 2)
|
/third_party/python/Lib/test/libregrtest/ |
D | setup.py | 63 for index, path in enumerate(module.__path__): 64 module.__path__[index] = os.path.abspath(path)
|
/third_party/glib/gio/gdbus-2.0/codegen/ |
D | __init__.py | 27 __path__.append(
|
/third_party/boost/tools/build/src/kernel/ |
D | bootstrap.py | 20 m.__path__ = root_path
|
/third_party/python/Doc/reference/ |
D | import.rst | 82 module. Specifically, any module that contains a ``__path__`` attribute is 141 Namespace packages do not use an ordinary list for their ``__path__`` 268 ``package.__path__``) processing, at the point where their associated path 301 ``__path__`` attribute. If the appropriate ``__path__`` attribute cannot 312 ``mpf.find_spec("foo.bar", foo.__path__, None)``. Once ``foo.bar`` has been 314 ``mpf.find_spec("foo.bar.baz", foo.bar.__path__, None)``. 592 .. attribute:: __path__ 595 object's ``__path__`` attribute must be set. The value must be 596 iterable, but may be empty if ``__path__`` has no further significance. 597 If ``__path__`` is not empty, it must produce strings when iterated [all …]
|
/third_party/python/Tools/unicode/ |
D | listcodecs.py | 36 names = listcodecs(encodings.__path__[0])
|
/third_party/python/Doc/library/ |
D | pkgutil.rst | 26 __path__ = extend_path(__path__, __name__) 28 This will add to the package's ``__path__`` all subdirectories of directories 117 to establish the package ``__path__``. 176 the given *path*, in order to access the ``__path__`` attribute to find 191 walk_packages(ctypes.__path__, ctypes.__name__ + '.')
|
/third_party/python/Tools/freeze/ |
D | makefreeze.py | 48 if m.__path__:
|
/third_party/grpc/src/python/grpcio_tests/tests/ |
D | _loader.py | 57 package_paths = imported_module.__path__
|
/third_party/boost/libs/property_tree/doc/ |
D | accessing.qbk | 56 …t__ functions, except they don't take the __path__ parameter. Don't call __ptree_get__ with and em… 87 … this property tree what __ptree_put__ does for its children. Thus, it does not receive a __path__:
|
/third_party/python/Lib/importlib/ |
D | __init__.py | 162 pkgpath = parent.__path__
|