Searched defs:relpath (Results 1 - 7 of 7) sorted by relevance

/external/webkit/Tools/Scripts/webkitpy/common/system/
H A Dospath.py23 """Contains a substitute for Python 2.6's os.path.relpath()."""
28 # This function is a replacement for os.path.relpath(), which is only
31 # http://docs.python.org/library/os.path.html#os.path.relpath
33 # It should behave essentially the same as os.path.relpath(), except for
35 def relpath(path, start_path, os_path_abspath=None, sep=None): function
H A Dospath_unittest.py28 from webkitpy.common.system.ospath import relpath namespace
34 """Tests relpath()."""
39 return relpath(path, abs_start_path, self.os_path_abspath)
H A Dfilesystem.py221 def relpath(self, path, start='.'): member in class:FileSystem
222 return ospath.relpath(path, start)
H A Dfilesystem_mock.py260 def relpath(self, path, start='.'): member in class:MockFileSystem
261 return ospath.relpath(path, start, self.abspath, self.sep)
/external/webkit/Tools/Scripts/webkitpy/common/config/
H A Dcommittervalidator.py33 from webkitpy.common.system.ospath import relpath namespace
53 # os.path.relpath
54 path = relpath(path, self._checkout_root())
/external/chromium/net/proxy/
H A Dproxy_script_fetcher_impl_unittest.cc72 GURL GetTestFileUrl(const std::string& relpath) { argument
79 return GURL(base_url.spec() + "/" + relpath);
/external/icu4c/tools/tzcode/
H A Dzdump.c986 static void getzones(char * basedir, char * relpath, struct listentry ** last, int * count) { argument
992 if (relpath != NULL) {
994 strcat(path, relpath);
999 if (strstr(relpath, ".tab") == NULL && strcmp(relpath, "Etc/Unknown") != 0) {
1003 if ((pzonename = malloc(strlen(relpath) + 1)) == NULL) {
1006 strcpy(pzonename, relpath);
1027 if (relpath != NULL) {
1028 strcpy(subpath, relpath);

Completed in 190 milliseconds