Home
last modified time | relevance | path

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

123

/third_party/cef/libcef/browser/extensions/
Dcomponent_extension_resource_manager.cc44 base::FilePath relative_path; in IsComponentExtensionResource() local
46 !resources_dir.AppendRelativePath(directory_path, &relative_path)) { in IsComponentExtensionResource()
49 relative_path = relative_path.Append(resource_path); in IsComponentExtensionResource()
50 relative_path = relative_path.NormalizePathSeparators(); in IsComponentExtensionResource()
52 auto entry = path_to_resource_info_.find(relative_path); in IsComponentExtensionResource()
/third_party/skia/build/fuchsia/skqp/
Dappend_assets_to_manifest40 relative_path = os.path.relpath(args.manifest, root_build_dir) variable
41 deps_file.write('%s: ' % relative_path)
54 relative_path = os.path.relpath(base_line_rhs, root_build_dir) variable
55 deps_file.write(relative_path + " ")
69 relative_path = os.path.relpath(source, root_build_dir) variable
70 deps_file.write(relative_path + " ")
/third_party/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))
/third_party/cef/tests/shared/browser/
Dresource_util_win.cc57 std::string relative_path = url.substr(url_path_.length()); in OnRequest() local
58 if (!relative_path.empty()) { in OnRequest()
60 relative_path = resource_path_prefix_ + relative_path; in OnRequest()
63 GetBinaryResourceReader(relative_path.data()); in OnRequest()
/third_party/flutter/skia/third_party/externals/zlib/google/
Dzip_writer.cc172 const base::FilePath& relative_path = relative_paths[i]; in FlushEntriesIfNeeded() local
176 if (!AddFileEntryToZip(zip_file_, relative_path, std::move(file))) { in FlushEntriesIfNeeded()
177 LOG(ERROR) << "Failed to write file " << relative_path.value() in FlushEntriesIfNeeded()
186 LOG(ERROR) << "Failed to write entry " << relative_path.value() in FlushEntriesIfNeeded()
191 if (!AddDirectoryEntryToZip(zip_file_, relative_path, last_modified)) { in FlushEntriesIfNeeded()
192 LOG(ERROR) << "Failed to write directory " << relative_path.value() in FlushEntriesIfNeeded()
Dzip.cc141 base::FilePath relative_path; in Zip() local
143 params.src_dir().AppendRelativePath(entry_path, &relative_path); in Zip()
145 all_files.push_back(relative_path); in Zip()
/third_party/node/deps/zlib/google/
Dzip_writer.cc172 const base::FilePath& relative_path = relative_paths[i]; in FlushEntriesIfNeeded() local
176 if (!AddFileEntryToZip(zip_file_, relative_path, std::move(file))) { in FlushEntriesIfNeeded()
177 LOG(ERROR) << "Failed to write file " << relative_path.value() in FlushEntriesIfNeeded()
186 LOG(ERROR) << "Failed to write entry " << relative_path.value() in FlushEntriesIfNeeded()
191 if (!AddDirectoryEntryToZip(zip_file_, relative_path, last_modified)) { in FlushEntriesIfNeeded()
192 LOG(ERROR) << "Failed to write directory " << relative_path.value() in FlushEntriesIfNeeded()
Dzip.cc141 base::FilePath relative_path; in Zip() local
143 params.src_dir().AppendRelativePath(entry_path, &relative_path); in Zip()
145 all_files.push_back(relative_path); in Zip()
/third_party/skia/third_party/externals/zlib/google/
Dzip_writer.cc173 const base::FilePath& relative_path = relative_paths[i]; in FlushEntriesIfNeeded() local
177 if (!AddFileEntryToZip(zip_file_, relative_path, std::move(file))) { in FlushEntriesIfNeeded()
178 LOG(ERROR) << "Failed to write file " << relative_path.value() in FlushEntriesIfNeeded()
187 LOG(ERROR) << "Failed to write entry " << relative_path.value() in FlushEntriesIfNeeded()
192 if (!AddDirectoryEntryToZip(zip_file_, relative_path, last_modified)) { in FlushEntriesIfNeeded()
193 LOG(ERROR) << "Failed to write directory " << relative_path.value() in FlushEntriesIfNeeded()
Dzip.cc141 base::FilePath relative_path; in Zip() local
143 params.src_dir().AppendRelativePath(entry_path, &relative_path); in Zip()
145 all_files.push_back(relative_path); in Zip()
/third_party/musl/scripts/
Dsearch_source_files.py96 def get_libc_srcs(target_srcs, relative_path): argument
99 clean_path_src = src.replace(relative_path, "")
104 def get_ldso_srcs(target_srcs, relative_path): argument
107 clean_path_src = src.replace(relative_path, "")
112 def get_crt_srcs(target_srcs, relative_path): argument
115 clean_path_src = src.replace(relative_path, "")
/third_party/node/benchmark/fs/
Dbench-realpathSync.js9 const relative_path = path.relative(__dirname, '../../lib/'); constant
18 const path = pathType === 'relative' ? relative_path : resolved_path;
Dbench-realpath.js7 const relative_path = path.relative(__dirname, '../../lib/'); constant
27 fs.realpath(relative_path, () => {
/third_party/boost/tools/inspect/
Dpath_name_check.cpp85 path const relative_path( relative_to( full_path, search_root_path() ) ); in inspect() local
88 if ( relative_path.string().size() > in inspect()
/third_party/boost/libs/filesystem/test/
Dpath_test.cpp803 BOOST_TEST(p.relative_path().string() == ""); in query_and_decomposition_tests()
823 BOOST_TEST(p.relative_path().string() == ""); in query_and_decomposition_tests()
846 PATH_TEST_EQ(p.relative_path().string(), ""); in query_and_decomposition_tests()
866 PATH_TEST_EQ(p.relative_path().string(), ""); in query_and_decomposition_tests()
889 BOOST_TEST(p.relative_path().string() == "."); in query_and_decomposition_tests()
909 BOOST_TEST(p.relative_path().string() == ".."); in query_and_decomposition_tests()
929 BOOST_TEST(p.relative_path().string() == "foo"); in query_and_decomposition_tests()
949 PATH_TEST_EQ(p.relative_path().string(), "foo"); in query_and_decomposition_tests()
972 PATH_TEST_EQ(p.relative_path().string(), "foo/"); in query_and_decomposition_tests()
995 PATH_TEST_EQ(p.relative_path().string(), "foo"); in query_and_decomposition_tests()
[all …]
/third_party/glib/gio/tests/
Dg-file.c357 char *relative_path = NULL; in get_relative_path() local
377 relative_path = g_file_get_relative_path (file1, file2); in get_relative_path()
380 g_assert (relative_path != NULL); in get_relative_path()
382 file3 = g_file_resolve_relative_path (file1, relative_path); in get_relative_path()
393 return relative_path; in get_relative_path()
Dlive-g-file.c597 char *relative_path; in traverse_recurse_dirs() local
619 relative_path = g_file_get_relative_path (root, descend); in traverse_recurse_dirs()
620 g_assert_nonnull (relative_path); in traverse_recurse_dirs()
625 if (strcmp (sample_struct[i].filename, relative_path) == 0) in traverse_recurse_dirs()
637 g_file_info_get_display_name (info), relative_path); in traverse_recurse_dirs()
645 g_free (relative_path); in traverse_recurse_dirs()
1293 char *relative_path; in cleanup_dir_recurse() local
1310 relative_path = g_file_get_relative_path (root, descend); in cleanup_dir_recurse()
1311 g_assert_nonnull (relative_path); in cleanup_dir_recurse()
1312 g_free (relative_path); in cleanup_dir_recurse()
/third_party/grpc/src/python/grpcio_tests/tests/protoc_plugin/
D_split_definitions_test.py56 relative_path = path.join(thus_far, path_component)
57 if relative_path not in created:
58 os.makedirs(path.join(root, relative_path))
59 created.add(relative_path)
/third_party/mesa3d/src/gtest/src/
Dgtest-filepath.cc196 const FilePath& relative_path) { in ConcatPaths() argument
198 return relative_path; in ConcatPaths()
200 return FilePath(dir.string() + kPathSeparator + relative_path.string()); in ConcatPaths()
/third_party/googletest/googletest/src/
Dgtest-filepath.cc197 const FilePath& relative_path) { in ConcatPaths() argument
199 return relative_path; in ConcatPaths()
201 return FilePath(dir.string() + kPathSeparator + relative_path.string()); in ConcatPaths()
/third_party/glib/gio/
Dgdummyfile.c332 const char *relative_path) in g_dummy_file_resolve_relative_path() argument
344 g_string_append_encoded (str, relative_path, SUB_DELIM_CHARS ":@/"); in g_dummy_file_resolve_relative_path()
352 if (g_path_is_absolute (relative_path)) in g_dummy_file_resolve_relative_path()
353 new_decoded_uri.path = g_strdup (relative_path); in g_dummy_file_resolve_relative_path()
355 new_decoded_uri.path = g_build_filename (new_decoded_uri.path, relative_path, NULL); in g_dummy_file_resolve_relative_path()
/third_party/mindspore/mindspore/lite/tools/converter/
Dconverter_flags.cc230 auto relative_path = lite::SplitStringToVector(extended_info.plugin_path, *delimiter); in InitExtendedIntegrationInfo() local
231 if (relative_path.size() > kPluginPathMaxNum) { in InitExtendedIntegrationInfo()
235 for (size_t i = 0; i < relative_path.size(); i++) { in InitExtendedIntegrationInfo()
236 this->pluginsPath.push_back(lite::RealPath(relative_path[i].c_str())); in InitExtendedIntegrationInfo()
/third_party/googletest/googletest/test/
Dgoogletest-options-test.cc57 FilePath GetAbsolutePathOf(const FilePath& relative_path) { in GetAbsolutePathOf() argument
58 return FilePath::ConcatPaths(FilePath::GetCurrentDir(), relative_path); in GetAbsolutePathOf()
/third_party/jerryscript/targets/curie_bsp/
Dsetup.py64 relative_path = os.path.relpath(file_path, root_dir)
65 matches.append(relative_path)
/third_party/flutter/skia/third_party/externals/angle2/scripts/
Drun_code_generation.py37 def rebase_script_path(script_path, relative_path): argument
38 return os.path.relpath(os.path.join(os.path.dirname(script_path), relative_path), root_dir)

123