Searched refs:relative_path (Results 1 - 25 of 73) sorted by relevance

123

/external/libmojo/mojo/public/cpp/test_support/
H A Dtest_support.h24 inline FILE* OpenSourceRootRelativeFile(const std::string& relative_path) { argument
25 return MojoTestSupportOpenSourceRootRelativeFile(relative_path.c_str());
30 const std::string& relative_path);
/external/tensorflow/tensorflow/contrib/session_bundle/
H A Dtest_util.h32 string TestSrcDirPath(const string& relative_path);
H A Dtest_util.cc26 string TestSrcDirPath(const string& relative_path) { argument
30 return tensorflow::io::JoinPath(contrib_path, relative_path);
/external/libmojo/mojo/public/tests/
H A Dtest_support_private.h29 virtual FILE* OpenSourceRootRelativeFile(const char* relative_path) = 0;
31 const char* relative_path) = 0;
H A Dtest_support_private.cc31 FILE* MojoTestSupportOpenSourceRootRelativeFile(const char* relative_path) { argument
33 return g_test_support->OpenSourceRootRelativeFile(relative_path);
39 const char* relative_path) {
41 return g_test_support->EnumerateSourceRootRelativeDirectory(relative_path);
38 MojoTestSupportEnumerateSourceRootRelativeDirectory( const char* relative_path) argument
/external/libmojo/mojo/edk/test/
H A Dtest_support_impl.h26 FILE* OpenSourceRootRelativeFile(const char* relative_path) override;
28 const char* relative_path) override;
H A Dtest_support_impl.cc28 base::FilePath ResolveSourceRootRelativePath(const char* relative_path) { argument
34 relative_path, "/", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL)) {
63 FILE* TestSupportImpl::OpenSourceRootRelativeFile(const char* relative_path) { argument
64 return base::OpenFile(ResolveSourceRootRelativePath(relative_path), "rb");
68 const char* relative_path) {
70 base::FileEnumerator e(ResolveSourceRootRelativePath(relative_path), false,
67 EnumerateSourceRootRelativeDirectory( const char* relative_path) argument
/external/libmojo/mojo/public/cpp/test_support/lib/
H A Dtest_support.cc13 const std::string& relative_path) {
15 relative_path.c_str());
12 EnumerateSourceRootRelativeDirectory( const std::string& relative_path) argument
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
H A Dresource.py21 def relative_path(self): member in class: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):
36 dirname = os.path.dirname(relative_path)
37 basename = os.path.basename(relative_path)
H A Dresource_unittest.py16 self.assertEquals(os.path.join('b', 'c.js'), r.relative_path)
/external/syslinux/gpxe/src/core/
H A Duri.c305 const char *relative_path ) {
312 if ( relative_path[0] == '/' )
313 return strdup ( relative_path );
320 while ( *relative_path == '.' ) {
321 relative_path++;
322 if ( *relative_path == 0 ) {
324 } else if ( *relative_path == '/' ) {
325 relative_path++;
326 } else if ( *relative_path == '.' ) {
327 relative_path
[all...]
/external/google-breakpad/src/testing/gtest/scripts/
H A Dfuse_gtest_files.py86 def VerifyFileExists(directory, relative_path):
89 relative_path is the file path relative to the given directory.
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):
113 relative_path is relative to the output_dir directory.
117 output_file = os.path.join(output_dir, relative_path)
123 (relative_path, output_dir))
/external/googletest/googletest/scripts/
H A Dfuse_gtest_files.py89 def VerifyFileExists(directory, relative_path):
92 relative_path is the file path relative to the given directory.
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):
116 relative_path is relative to the output_dir directory.
120 output_file = os.path.join(output_dir, relative_path)
126 (relative_path, output_dir))
/external/protobuf/gtest/scripts/
H A Dfuse_gtest_files.py86 def VerifyFileExists(directory, relative_path):
89 relative_path is the file path relative to the given directory.
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):
113 relative_path is relative to the output_dir directory.
117 output_file = os.path.join(output_dir, relative_path)
123 (relative_path, output_dir))
/external/v8/testing/gtest/scripts/
H A Dfuse_gtest_files.py86 def VerifyFileExists(directory, relative_path):
89 relative_path is the file path relative to the given directory.
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):
113 relative_path is relative to the output_dir directory.
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/
H A Dfuse_gtest_files.py86 def VerifyFileExists(directory, relative_path):
89 relative_path is the file path relative to the given directory.
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):
113 relative_path is relative to the output_dir directory.
117 output_file = os.path.join(output_dir, relative_path)
123 (relative_path, output_dir))
/external/tensorflow/tensorflow/python/platform/
H A Dtest.py92 def test_src_dir_path(relative_path):
96 relative_path: a path relative to tensorflow root.
102 return _googletest.test_src_dir_path(relative_path)
/external/v8/tools/clang/translation_unit/
H A DTranslationUnitGenerator.cpp63 llvm::StringRef relative_path,
69 const string& relative_path) const;
146 llvm::StringRef relative_path,
177 DoubleSlashSystemHeaders(parent, relative_path.str());
180 DoubleSlashSystemHeaders(search_path.str(), relative_path.str());
189 const string& relative_path) const {
197 return search_path + (is_system_header ? "//" : "/") + relative_path;
138 InclusionDirective( clang::SourceLocation hash_loc, const clang::Token& include_tok, llvm::StringRef file_name, bool is_angled, clang::CharSourceRange range, const clang::FileEntry* file, llvm::StringRef search_path, llvm::StringRef relative_path, const clang::Module* imported) argument
/external/libcxx/test/std/experimental/filesystem/class.path/path.member/path.decompose/
H A Dpath.decompose.pass.cpp21 // path relative_path() const;
65 std::string relative_path; member in struct:PathDecomposeTestcase
129 assert(p.relative_path() == TC.relative_path);
130 assert(p.has_relative_path() != TC.relative_path.empty());
/external/autotest/client/site_tests/platform_CrosDisksArchive/
H A Dplatform_CrosDisksArchive.py42 relative_path = os.path.join(current_dir, path)
44 dirs_to_explore.append(relative_path)
46 yield relative_path
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
H A Dgtest-filepath.h96 // Given directory = "dir", relative_path = "test.xml",
100 const FilePath& relative_path);
/external/googletest/googletest/include/gtest/internal/
H A Dgtest-filepath.h92 // Given directory = "dir", relative_path = "test.xml",
96 const FilePath& relative_path);
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
H A Dgtest-filepath.h92 // Given directory = "dir", relative_path = "test.xml",
96 const FilePath& relative_path);
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-filepath.h96 // Given directory = "dir", relative_path = "test.xml",
100 const FilePath& relative_path);
/external/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-filepath.h92 // Given directory = "dir", relative_path = "test.xml",
96 const FilePath& relative_path);

Completed in 569 milliseconds

123