Home
last modified time | relevance | path

Searched refs:_path_components (Results 1 – 3 of 3) sorted by relevance

/external/pigweed/pw_protobuf_compiler/
Dproto.gni490 _path_components = []
491 _path_components = string_split(source, "/")
494 _root_dir_name = _path_components[0]
496 assert(_prefix != "" || _path_components[0] == _root_dir_name,
/external/python/pyfakefs/pyfakefs/tests/
Dfake_filesystem_test.py230 self.assertEqual([], self.filesystem._path_components(self.root_name))
233 self.assertEqual([], self.filesystem._path_components(''))
236 self.assertEqual(['foo'], self.filesystem._path_components('foo'))
239 self.assertEqual(['foo'], self.filesystem._path_components('/foo'))
243 self.filesystem._path_components('foo/bar'))
247 self.filesystem._path_components('/foo/bar'))
1478 self.filesystem._path_components('c:!foo!bar'))
1479 self.assertEqual(['c:'], self.filesystem._path_components('c:'))
/external/python/pyfakefs/pyfakefs/
Dfake_filesystem.py1534 path_components = self._path_components(path)
1710 def _path_components(self, path: str) -> List[str]: ... member in FakeFilesystem
1713 def _path_components(self, path: bytes) -> List[bytes]: ... member in FakeFilesystem
1715 def _path_components(self, path: AnyStr) -> List[AnyStr]: member in FakeFilesystem
1860 path_components: List[str] = self._path_components(path)
1924 path_components = self._path_components(path)
1967 target_components = self._path_components(link_path)
2059 path_components = self._path_components(path)
2439 path_components = self._path_components(dir_path)
3031 path_components = self._path_components(dir_name_str)
[all …]