Home
last modified time | relevance | path

Searched refs:__path__ (Results 1 – 25 of 64) sorted by relevance

123

/third_party/python/Lib/test/test_importlib/
Dtest_namespace_pkgs.py219 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 …]
Dtest_abc.py477 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/
Dmodulefinder.py103 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/
Dext3_extents.h110 #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__.py4 __path__ = __import__('pkgutil').extend_path(__path__, __name__) variable
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/
D__init__.py4 __path__ = __import__('pkgutil').extend_path(__path__, __name__) variable
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/
D__init__.py4 __path__ = __import__('pkgutil').extend_path(__path__, __name__) variable
/third_party/protobuf/python/google/
D__init__.py4 __path__ = __import__('pkgutil').extend_path(__path__, __name__) variable
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/
D__init__.py4 __path__ = __import__('pkgutil').extend_path(__path__, __name__) variable
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
D__init__.py37 __path__ = __import__('pkgutil').extend_path(__path__, __name__) variable
/third_party/protobuf/python/google/protobuf/
D__init__.py39 __path__ = __import__('pkgutil').extend_path(__path__, __name__) variable
/third_party/python/Lib/test/test_importlib/import_/
Dtest_api.py67 mod.__path__ = ['XXX']
78 mod.__path__ = ['XXX']
90 mod.__path__ = []
Dtest_meta_path.py90 importer.modules[pkg_name].__path__ = path
/third_party/python/Lib/test/
Dtest_zipimport.py323 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 …]
Dtest_pkgutil.py357 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/
Dsetup.py63 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__.py27 __path__.append(
/third_party/boost/tools/build/src/kernel/
Dbootstrap.py20 m.__path__ = root_path
/third_party/python/Doc/reference/
Dimport.rst82 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/
Dlistcodecs.py36 names = listcodecs(encodings.__path__[0])
/third_party/python/Doc/library/
Dpkgutil.rst26 __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/
Dmakefreeze.py48 if m.__path__:
/third_party/grpc/src/python/grpcio_tests/tests/
D_loader.py57 package_paths = imported_module.__path__
/third_party/boost/libs/property_tree/doc/
Daccessing.qbk56 …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__.py162 pkgpath = parent.__path__

123