Home
last modified time | relevance | path

Searched refs:splitpath (Results 1 – 17 of 17) sorted by relevance

/external/python/pyfakefs/pyfakefs/tests/
Dfake_filesystem_test.py1244 self.assertEqual(('', ''), self.filesystem.splitpath(''))
1247 self.assertEqual(('', 'ab'), self.filesystem.splitpath('ab'))
1252 self.assertEqual(('', 'a/b'), self.filesystem.splitpath('a/b'))
1255 self.assertEqual(('a', 'b'), self.filesystem.splitpath('a|b'))
1256 self.assertEqual(('a', 'b'), self.filesystem.splitpath('a|||b'))
1257 self.assertEqual(('|a', 'b'), self.filesystem.splitpath('|a||b'))
1258 self.assertEqual(('a|b', 'c'), self.filesystem.splitpath('a|b|c'))
1259 self.assertEqual(('|a|b', 'c'), self.filesystem.splitpath('|a|b|c'))
1262 self.assertEqual(('|||', ''), self.filesystem.splitpath('|||'))
1263 self.assertEqual(('|', 'a'), self.filesystem.splitpath('|a'))
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/
Ddata.py35 def splitpath(path): function
99 _, elems = splitpath(filename)
110 _, prefix = splitpath(self._prefix)
117 (_, name), target = splitpath(fname), telems
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/
Ddata.py35 def splitpath(path): function
99 _, elems = splitpath(filename)
110 _, prefix = splitpath(self._prefix)
117 (_, name), target = splitpath(fname), telems
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py3/
Ddata.py35 def splitpath(path): function
99 _, elems = splitpath(filename)
110 _, prefix = splitpath(self._prefix)
117 (_, name), target = splitpath(fname), telems
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py3/
Ddata.py35 def splitpath(path): function
99 _, elems = splitpath(filename)
110 _, prefix = splitpath(self._prefix)
117 (_, name), target = splitpath(fname), telems
/external/bc/scripts/
Dlocale_install.sh84 splitpath() { function
129 _relpath_splitpath1=`splitpath "$_relpath_path1"`
130 _relpath_splitpath2=`splitpath "$_relpath_path2"`
/external/toybox/lib/
Dxwrap.c597 splitpath(path, splitpath(str, &todo)); in xabspath()
599 splitpath(path, splitpath(str = xgetcwd(), &todo)); in xabspath()
602 } else splitpath(path, &todo); in xabspath()
661 tail = splitpath(libbuf, &new); in xabspath()
Dlib.h204 struct string_list **splitpath(char *path, struct string_list **list);
Dlib.c224 struct string_list **splitpath(char *path, struct string_list **list) in splitpath() function
/external/python/cpython2/Lib/
DCGIHTTPServer.py339 splitpath = ('/' + '/'.join(head_parts), tail_part)
340 collapsed_path = "/".join(splitpath)
/external/ImageMagick/PerlMagick/
DMakefile.PL.in26 use File::Spec::Functions qw/catfile catdir devnull catpath splitpath/;
41 my ($vol,$dir,$file) = splitpath($1);
/external/ImageMagick/PerlMagick/default/
DMakefile.PL.in26 use File::Spec::Functions qw/catfile catdir devnull catpath splitpath/;
41 my ($vol,$dir,$file) = splitpath($1);
/external/ImageMagick/PerlMagick/quantum/
DMakefile.PL.in26 use File::Spec::Functions qw/catfile catdir devnull catpath splitpath/;
41 my ($vol,$dir,$file) = splitpath($1);
/external/python/pyfakefs/pyfakefs/
Dfake_filesystem.py1580 def splitpath(self, path: AnyStr) -> Tuple[AnyStr, AnyStr]: member in FakeFilesystem
2158 parent_directory, child_name = self.splitpath(path_str)
2247 old_dir, old_name = self.splitpath(old_path)
2248 new_dir, new_name = self.splitpath(new_path)
2375 parent, file_name = self.splitpath(new_file_path)
2403 dirname, basename = self.splitpath(file_path)
2726 parent_directory, new_file = self.splitpath(path)
2844 new_parent_directory, new_basename = self.splitpath(
2971 parent_dir, _ = self.splitpath(dir_name)
2991 head, tail = self.splitpath(dir_name)
[all …]
Dfake_pathlib.py327 path = self.filesystem.splitpath(path)[0]
/external/python/cpython3/Lib/http/
Dserver.py929 splitpath = ('/' + '/'.join(head_parts), tail_part)
930 collapsed_path = "/".join(splitpath)
/external/python/parse_type/tasks/_vendor/
Dpath.py383 def splitpath(self): member in Path
467 loc, child = prev.splitpath()