Searched refs:path_separator (Results 1 – 10 of 10) sorted by relevance
83 int path_separator = static_cast<int>(strlen(exec_path)) - 1; in RelativePath() local84 while (path_separator >= 0 && in RelativePath()85 !base::OS::isDirectorySeparator(exec_path[path_separator])) { in RelativePath()86 path_separator--; in RelativePath()88 if (path_separator >= 0) { in RelativePath()91 reinterpret_cast<char*>(calloc(path_separator + name_length + 2, 1)); in RelativePath()93 strncat(*buffer, exec_path, path_separator + 1); in RelativePath()
342 def __init__(self, path_separator=os.path.sep): argument348 self.path_separator = path_separator349 self.root = FakeDirectory(self.path_separator)436 is_absolute_path = path.startswith(self.path_separator)437 path_components = path.split(self.path_separator)452 collapsed_path = self.path_separator.join(collapsed_path_components)454 collapsed_path = self.path_separator + collapsed_path471 path = self.path_separator472 elif not path.startswith(self.path_separator):474 path = self.path_separator.join([all …]
33 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')
113 filesystem = fake_filesystem.FakeFilesystem(path_separator='/')124 filesystem = fake_filesystem.FakeFilesystem(path_separator='/')151 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')183 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')209 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')216 self.assertEqual('/', self.filesystem.path_separator)492 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')1655 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')1765 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')1800 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')[all …]
34 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')199 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')
66 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')
360 def __init__(self, path_separator=os.path.sep): argument366 self.path_separator = path_separator367 self.root = FakeDirectory(self.path_separator)454 is_absolute_path = path.startswith(self.path_separator)455 path_components = path.split(self.path_separator)470 collapsed_path = self.path_separator.join(collapsed_path_components)472 collapsed_path = self.path_separator + collapsed_path489 path = self.path_separator490 elif not path.startswith(self.path_separator):492 path = self.path_separator.join([all …]
63 self.path_separator = os.sep74 path += self.path_separator75 name_list = path.split(self.path_separator)100 name_list = self.abspath(path).split(self.path_separator)
189 const char *path_separator = "/"; in init() local196 + (data_path_dir[len] == '/' || data_path_dir[len] == '\\' ? "" : path_separator) in init()198 + path_separator; in init()1639 const char *path_separator = "/"; in getDataPath() local1647 + (data_path_dir[len] == '/' || data_path_dir[len] == '\\' ? "" : path_separator); in getDataPath()1652 path += path_separator; in getDataPath()
327 SET(path_separator ":") variable328 STRING(REPLACE ${path_separator} ";" pkg_config_libdir_search "$ENV{PKG_CONFIG_LIBDIR}")