/external/tensorflow/tensorflow/contrib/session_bundle/ |
test_util.h | 32 string TestSrcDirPath(const string& relative_path);
|
test_util.cc | 26 string TestSrcDirPath(const string& relative_path) { 30 return tensorflow::io::JoinPath(contrib_path, relative_path);
|
/external/libmojo/mojo/public/cpp/test_support/ |
test_support.h | 24 inline FILE* OpenSourceRootRelativeFile(const std::string& relative_path) { 25 return MojoTestSupportOpenSourceRootRelativeFile(relative_path.c_str()); 30 const std::string& relative_path);
|
/external/libmojo/mojo/edk/test/ |
test_support_impl.h | 26 FILE* OpenSourceRootRelativeFile(const char* relative_path) override; 28 const char* relative_path) override;
|
test_support_impl.cc | 28 base::FilePath ResolveSourceRootRelativePath(const char* relative_path) { 34 relative_path, "/", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL)) { 63 FILE* TestSupportImpl::OpenSourceRootRelativeFile(const char* relative_path) { 64 return base::OpenFile(ResolveSourceRootRelativePath(relative_path), "rb"); 68 const char* relative_path) { 70 base::FileEnumerator e(ResolveSourceRootRelativePath(relative_path), false,
|
/external/libmojo/mojo/public/tests/ |
test_support_private.h | 29 virtual FILE* OpenSourceRootRelativeFile(const char* relative_path) = 0; 31 const char* relative_path) = 0;
|
test_support_private.cc | 31 FILE* MojoTestSupportOpenSourceRootRelativeFile(const char* relative_path) { 33 return g_test_support->OpenSourceRootRelativeFile(relative_path); 39 const char* relative_path) { 41 return g_test_support->EnumerateSourceRootRelativeDirectory(relative_path);
|
/system/tools/aidl/ |
import_resolver.cpp | 50 string relative_path = canonical_name; local 51 for (char& c : relative_path) { 56 relative_path += ".aidl"; 60 path = path + relative_path;
|
/external/libmojo/mojo/public/cpp/test_support/lib/ |
test_support.cc | 13 const std::string& relative_path) { 15 relative_path.c_str());
|
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/ |
resource.py | 21 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)
|
resource_unittest.py | 16 self.assertEquals(os.path.join('b', 'c.js'), r.relative_path)
|
style_sheet.py | 17 def relative_path(self): member in class:Image 18 return self.resource.relative_path
|
/test/vts/utils/python/reporting/ |
report_file_utils.py | 86 relative_path = os.path.basename(src_path) 88 relative_path = new_file_name 90 relative_path = file_name_prefix + relative_path 92 relative_path = os.path.join( 93 os.path.relpath(dir_path, root_dir), relative_path) 97 relative_path = os.path.join(date, relative_path) 99 dest_path = os.path.join(self._destination_dir, relative_path) 103 url = self._url_prefix + relative_path [all...] |
/external/syslinux/gpxe/src/core/ |
uri.c | 305 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/ |
fuse_gtest_files.py | 86 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/ |
fuse_gtest_files.py | 89 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/ |
fuse_gtest_files.py | 86 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/ |
fuse_gtest_files.py | 86 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/ |
fuse_gtest_files.py | 86 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))
|
/prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/gtest-1.7.0/scripts/ |
fuse_gtest_files.py | 86 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))
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/class.path/path.member/path.decompose/ |
path.decompose.pass.cpp | 21 // 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/v8/tools/clang/translation_unit/ |
TranslationUnitGenerator.cpp | 63 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;
|
/external/libcxx/test/std/experimental/filesystem/class.path/path.member/path.decompose/ |
path.decompose.pass.cpp | 21 // 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());
|
/frameworks/native/services/vr/performanced/ |
task.cpp | 66 const std::string relative_path = "./" + name; local 68 openat(task_fd_.get(), relative_path.c_str(), O_RDONLY)); 72 const std::string relative_path = "./" + name; local 73 base::unique_fd fd(openat(task_fd_.get(), relative_path.c_str(), O_RDONLY));
|
/external/tensorflow/tensorflow/python/platform/ |
test.py | 92 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)
|