Home
last modified time | relevance | path

Searched refs:relative_path (Results 1 – 25 of 75) sorted by relevance

123

/external/syslinux/gpxe/src/core/
Duri.c305 const char *relative_path ) { in resolve_path() argument
312 if ( relative_path[0] == '/' ) in resolve_path()
313 return strdup ( relative_path ); in resolve_path()
320 while ( *relative_path == '.' ) { in resolve_path()
321 relative_path++; in resolve_path()
322 if ( *relative_path == 0 ) { in resolve_path()
324 } else if ( *relative_path == '/' ) { in resolve_path()
325 relative_path++; in resolve_path()
326 } else if ( *relative_path == '.' ) { in resolve_path()
327 relative_path++; in resolve_path()
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
Dresource.py21 def relative_path(self): member in Resource
27 return self.relative_path.replace(os.sep, '/')
32 return self.name_from_relative_path(self.relative_path)
35 def name_from_relative_path(relative_path): argument
36 dirname = os.path.dirname(relative_path)
37 basename = os.path.basename(relative_path)
/external/libmojo/mojo/edk/test/
Dtest_support_impl.cc28 base::FilePath ResolveSourceRootRelativePath(const char* relative_path) { in ResolveSourceRootRelativePath() argument
34 relative_path, "/", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL)) { in ResolveSourceRootRelativePath()
63 FILE* TestSupportImpl::OpenSourceRootRelativeFile(const char* relative_path) { in OpenSourceRootRelativeFile() argument
64 return base::OpenFile(ResolveSourceRootRelativePath(relative_path), "rb"); in OpenSourceRootRelativeFile()
68 const char* relative_path) { in EnumerateSourceRootRelativeDirectory() argument
70 base::FileEnumerator e(ResolveSourceRootRelativePath(relative_path), false, in EnumerateSourceRootRelativeDirectory()
Dtest_support_impl.h26 FILE* OpenSourceRootRelativeFile(const char* relative_path) override;
28 const char* relative_path) override;
/external/protobuf/gtest/scripts/
Dfuse_gtest_files.py86 def VerifyFileExists(directory, relative_path): argument
92 if not os.path.isfile(os.path.join(directory, relative_path)):
93 print 'ERROR: Cannot find %s in directory %s.' % (relative_path,
110 def VerifyOutputFile(output_dir, relative_path): argument
117 output_file = os.path.join(output_dir, relative_path)
123 (relative_path, output_dir))
/external/googletest/googletest/scripts/
Dfuse_gtest_files.py89 def VerifyFileExists(directory, relative_path): argument
95 if not os.path.isfile(os.path.join(directory, relative_path)):
96 print('ERROR: Cannot find %s in directory %s.' % (relative_path,
113 def VerifyOutputFile(output_dir, relative_path): argument
120 output_file = os.path.join(output_dir, relative_path)
126 (relative_path, output_dir))
/external/google-breakpad/src/testing/gtest/scripts/
Dfuse_gtest_files.py86 def VerifyFileExists(directory, relative_path): argument
92 if not os.path.isfile(os.path.join(directory, relative_path)):
93 print 'ERROR: Cannot find %s in directory %s.' % (relative_path,
110 def VerifyOutputFile(output_dir, relative_path): argument
117 output_file = os.path.join(output_dir, relative_path)
123 (relative_path, output_dir))
/external/v8/testing/gtest/scripts/
Dfuse_gtest_files.py86 def VerifyFileExists(directory, relative_path): argument
92 if not os.path.isfile(os.path.join(directory, relative_path)):
93 print 'ERROR: Cannot find %s in directory %s.' % (relative_path,
110 def VerifyOutputFile(output_dir, relative_path): argument
117 output_file = os.path.join(output_dir, relative_path)
123 (relative_path, output_dir))
/external/vulkan-validation-layers/tests/gtest-1.7.0/scripts/
Dfuse_gtest_files.py86 def VerifyFileExists(directory, relative_path): argument
92 if not os.path.isfile(os.path.join(directory, relative_path)):
93 print 'ERROR: Cannot find %s in directory %s.' % (relative_path,
110 def VerifyOutputFile(output_dir, relative_path): argument
117 output_file = os.path.join(output_dir, relative_path)
123 (relative_path, output_dir))
/external/libmojo/mojo/public/tests/
Dtest_support_private.cc31 FILE* MojoTestSupportOpenSourceRootRelativeFile(const char* relative_path) { in MojoTestSupportOpenSourceRootRelativeFile() argument
33 return g_test_support->OpenSourceRootRelativeFile(relative_path); in MojoTestSupportOpenSourceRootRelativeFile()
39 const char* relative_path) { in MojoTestSupportEnumerateSourceRootRelativeDirectory() argument
41 return g_test_support->EnumerateSourceRootRelativeDirectory(relative_path); in MojoTestSupportEnumerateSourceRootRelativeDirectory()
Dtest_support_private.h29 virtual FILE* OpenSourceRootRelativeFile(const char* relative_path) = 0;
31 const char* relative_path) = 0;
/external/v8/tools/clang/translation_unit/
DTranslationUnitGenerator.cpp63 llvm::StringRef relative_path,
69 const string& relative_path) const;
146 llvm::StringRef relative_path, in InclusionDirective() argument
177 DoubleSlashSystemHeaders(parent, relative_path.str()); in InclusionDirective()
180 DoubleSlashSystemHeaders(search_path.str(), relative_path.str()); in InclusionDirective()
189 const string& relative_path) const { in DoubleSlashSystemHeaders()
197 return search_path + (is_system_header ? "//" : "/") + relative_path; in DoubleSlashSystemHeaders()
/external/libmojo/mojo/public/cpp/test_support/
Dtest_support.h24 inline FILE* OpenSourceRootRelativeFile(const std::string& relative_path) { in OpenSourceRootRelativeFile() argument
25 return MojoTestSupportOpenSourceRootRelativeFile(relative_path.c_str()); in OpenSourceRootRelativeFile()
30 const std::string& relative_path);
/external/libcxx/test/std/experimental/filesystem/class.path/path.member/path.decompose/
Dpath.decompose.pass.cpp65 std::string relative_path; member
129 assert(p.relative_path() == TC.relative_path); in decompPathTest()
130 assert(p.has_relative_path() != TC.relative_path.empty()); in decompPathTest()
/external/tensorflow/tensorflow/tools/docs/
Dparser.py747 def _get_guides_markdown(duplicate_names, guide_index, relative_path): argument
752 prefix = '../' * (relative_path.count('/') + 3)
997 def _set_bases(self, relative_path, parser_config): argument
1014 base_doc = _parse_md_docstring(base, relative_path,
1017 base_full_name, relative_path)
1112 relative_path = os.path.relpath(
1115 self._set_bases(relative_path, parser_config)
1138 child_doc = _parse_md_docstring(child, relative_path,
1148 child_name, relative_path)
1307 relative_path = os.path.relpath(
[all …]
/external/tensorflow/tensorflow/contrib/session_bundle/
Dtest_util.cc26 string TestSrcDirPath(const string& relative_path) { in TestSrcDirPath() argument
30 return tensorflow::io::JoinPath(contrib_path, relative_path); in TestSrcDirPath()
/external/libmojo/mojo/public/cpp/test_support/lib/
Dtest_support.cc13 const std::string& relative_path) { in EnumerateSourceRootRelativeDirectory() argument
15 relative_path.c_str()); in EnumerateSourceRootRelativeDirectory()
/external/autotest/client/site_tests/platform_CrosDisksArchive/
Dplatform_CrosDisksArchive.py42 relative_path = os.path.join(current_dir, path)
44 dirs_to_explore.append(relative_path)
46 yield relative_path
/external/tensorflow/tensorflow/python/platform/
Dtest.py92 def test_src_dir_path(relative_path): argument
102 return _googletest.test_src_dir_path(relative_path)
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/
Dgtest-filepath.cc195 const FilePath& relative_path) { in ConcatPaths() argument
197 return relative_path; in ConcatPaths()
199 return FilePath(dir.string() + kPathSeparator + relative_path.string()); in ConcatPaths()
/external/v8/testing/gtest/src/
Dgtest-filepath.cc200 const FilePath& relative_path) { in ConcatPaths() argument
202 return relative_path; in ConcatPaths()
204 return FilePath(dir.string() + kPathSeparator + relative_path.string()); in ConcatPaths()
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest-filepath.cc192 const FilePath& relative_path) { in ConcatPaths() argument
194 return relative_path; in ConcatPaths()
197 relative_path.c_str())); in ConcatPaths()
/external/mesa3d/src/gtest/src/
Dgtest-filepath.cc195 const FilePath& relative_path) { in ConcatPaths() argument
197 return relative_path; in ConcatPaths()
199 return FilePath(dir.string() + kPathSeparator + relative_path.string()); in ConcatPaths()
/external/googletest/googletest/src/
Dgtest-filepath.cc200 const FilePath& relative_path) { in ConcatPaths() argument
202 return relative_path; in ConcatPaths()
204 return FilePath(dir.string() + kPathSeparator + relative_path.string()); in ConcatPaths()
/external/llvm/utils/unittest/googletest/src/
Dgtest-filepath.cc190 const FilePath& relative_path) { in ConcatPaths() argument
192 return relative_path; in ConcatPaths()
195 relative_path.c_str())); in ConcatPaths()

123