Home
last modified time | relevance | path

Searched refs:path_separator (Results 1 – 10 of 10) sorted by relevance

/external/v8/src/
Dstartup-data-util.cc83 int path_separator = static_cast<int>(strlen(exec_path)) - 1; in RelativePath() local
84 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()
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dfake_filesystem.py342 def __init__(self, path_separator=os.path.sep): argument
348 self.path_separator = path_separator
349 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_path
471 path = self.path_separator
472 elif not path.startswith(self.path_separator):
474 path = self.path_separator.join(
[all …]
Dfake_filesystem_glob_test.py33 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')
Dfake_filesystem_test.py113 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 …]
Dfake_filesystem_shutil_test.py34 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')
199 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')
Dfake_tempfile_test.py66 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')
/external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/
Dfake_filesystem.py360 def __init__(self, path_separator=os.path.sep): argument
366 self.path_separator = path_separator
367 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_path
489 path = self.path_separator
490 elif not path.startswith(self.path_separator):
492 path = self.path_separator.join(
[all …]
/external/protobuf/gtest/test/
Drun_tests_util_test.py63 self.path_separator = os.sep
74 path += self.path_separator
75 name_list = path.split(self.path_separator)
100 name_list = self.abspath(path).split(self.path_separator)
/external/opencv3/modules/ts/src/
Dts_perf.cpp189 const char *path_separator = "/"; in init() local
196 + (data_path_dir[len] == '/' || data_path_dir[len] == '\\' ? "" : path_separator) in init()
198 + path_separator; in init()
1639 const char *path_separator = "/"; in getDataPath() local
1647 + (data_path_dir[len] == '/' || data_path_dir[len] == '\\' ? "" : path_separator); in getDataPath()
1652 path += path_separator; in getDataPath()
/external/eigen/
DCMakeLists.txt327 SET(path_separator ":") variable
328 STRING(REPLACE ${path_separator} ";" pkg_config_libdir_search "$ENV{PKG_CONFIG_LIBDIR}")