Home
last modified time | relevance | path

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

1234

/external/python/cpython3/Lib/test/test_importlib/
Dtest_namespace_pkgs.py215 self.assertEqual(len(parent.__path__), 2)
216 self.assertEqual(len(parent.child.__path__), 2)
218 self.assertEqual(len(parent.__path__), 2)
219 self.assertEqual(len(parent.child.__path__), 2)
227 self.assertEqual(len(parent.__path__), 2)
228 self.assertEqual(len(parent.child.__path__), 2)
232 self.assertEqual(len(parent.__path__), 2)
233 self.assertEqual(len(parent.child.__path__), 2)
235 self.assertEqual(len(parent.__path__), 2)
236 self.assertEqual(len(parent.child.__path__), 2)
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/
D__init__.py31 __path__ = [_os.path.join(__path__[0], 'py2')] variable
34 __path__ = [_os.path.join(__path__[0], 'py3')] variable
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/
D__init__.py31 __path__ = [_os.path.join(__path__[0], 'py2')] variable
34 __path__ = [_os.path.join(__path__[0], 'py3')] variable
/external/python/cpython2/Lib/
Dmodulefinder.py75 self.__path__ = path
89 if self.__path__ is not None:
90 s = s + ", %r" % (self.__path__,)
149 if m.__path__:
160 if caller.__path__:
173 if caller.__path__:
245 if not m.__path__:
254 for dir in m.__path__:
283 if parent and parent.__path__ is None:
288 parent and parent.__path__, parent)
[all …]
/external/python/cpython3/Lib/
Dmodulefinder.py52 self.__path__ = path
66 if self.__path__ is not None:
67 s = s + ", %r" % (self.__path__,)
126 if m.__path__:
137 if caller.__path__:
150 if caller.__path__:
222 if not m.__path__:
232 for dir in m.__path__:
261 if parent and parent.__path__ is None:
266 parent and parent.__path__, parent)
[all …]
/external/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))
/external/python/cpython3/Lib/test/
Dtest_zipimport.py280 self.assertEqual(2, len(mod.__path__))
281 p1, p2 = mod.__path__
288 self.assertEqual(1, len(mod.__path__))
289 mpath = list(mod.__path__)[0].split('path1.zip' + os.sep)[1]
304 self.assertEqual(2, len(mod.__path__))
305 p1, p2 = mod.__path__
356 self.assertEqual(2, len(mod.__path__))
357 p1, p2 = mod.__path__
364 self.assertEqual(1, len(mod.__path__))
365 mpath = list(mod.__path__)[0].split('path1.zip' + os.sep)[1]
[all …]
Dtest_pkgutil.py256 self.assertEqual(sorted(foo.__path__),
335 self.assertEqual(sorted(foo.__path__),
382 self.assertEqual(len(pkg.__path__), 2)
385 self.assertEqual(len(pkg.subpkg.__path__), 2)
/external/python/futures/concurrent/
D__init__.py3 __path__ = extend_path(__path__, __name__) variable
/external/protobuf/python/google/
D__init__.py4 __path__ = __import__('pkgutil').extend_path(__path__, __name__) variable
/external/protobuf/python/google/protobuf/pyext/
D__init__.py4 __path__ = __import__('pkgutil').extend_path(__path__, __name__) variable
/external/protobuf/python/google/protobuf/
D__init__.py39 __path__ = __import__('pkgutil').extend_path(__path__, __name__) variable
/external/python/cpython2/Lib/xml/
D__init__.py38 _xmlplus.__path__.extend(__path__)
/external/python/cpython2/Doc/library/
Dpkgutil.rst23 __path__ = extend_path(__path__, __name__)
25 This will add to the package's ``__path__`` all subdirectories of directories
72 ``__path__``. Returns ``None`` if the module cannot be found or imported.
101 to establish the package ``__path__``.
154 the given *path*, in order to access the ``__path__`` attribute to find
169 walk_packages(ctypes.__path__, ctypes.__name__ + '.')
Dimputil.rst124 if hasattr(m, "__path__"):
132 if globals.has_key("__path__"):
201 parent and parent.__path__)
/external/python/cpython2/Tools/compiler/
Dregrtest.py19 os.system("cp -r %s/* %s" % (test.__path__[0], dest))
25 libdir = os.path.split(test.__path__[0])[0]
/external/python/cpython3/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__ + '.')
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_api.py66 mod.__path__ = ['XXX']
77 mod.__path__ = ['XXX']
/external/python/cpython3/Lib/test/libregrtest/
Dsetup.py49 for index, path in enumerate(module.__path__):
50 module.__path__[index] = os.path.abspath(path)
/external/python/cpython3/Doc/reference/
Dimport.rst83 module. Specifically, any module that contains a ``__path__`` attribute is
142 Namespace packages do not use an ordinary list for their ``__path__``
267 ``package.__path__``) processing, at the point where their associated path
300 ``__path__`` attribute. If the appropriate ``__path__`` attribute cannot
311 ``mpf.find_spec("foo.bar", foo.__path__, None)``. Once ``foo.bar`` has been
313 ``mpf.find_spec("foo.bar.baz", foo.bar.__path__, None)``.
584 .. attribute:: __path__
587 object's ``__path__`` attribute must be set. The value must be
588 iterable, but may be empty if ``__path__`` has no further significance.
589 If ``__path__`` is not empty, it must produce strings when iterated
[all …]
/external/tensorflow/tensorflow/contrib/lite/toco/python/
Dtoco_wrapper.py34 binary = os.path.join(tf.__path__[0], 'aux-bin/toco')
/external/python/cpython2/Tools/unicode/
Dlistcodecs.py36 names = listcodecs(encodings.__path__[0])
/external/python/cpython3/Tools/unicode/
Dlistcodecs.py36 names = listcodecs(encodings.__path__[0])
/external/python/cpython3/Tools/freeze/
Dmakefreeze.py48 if m.__path__:
/external/python/cpython2/Tools/freeze/
Dmakefreeze.py49 if m.__path__:

1234