Home
last modified time | relevance | path

Searched refs:current_path (Results 1 – 25 of 52) sorted by relevance

123

/third_party/boost/tools/quickbook/test/unit/
Dpath_test.cpp98 using boost::filesystem::current_path; in path_difference_tests()
105 BOOST_TEST(path(".") == path_difference(current_path(), current_path())); in path_difference_tests()
108 path("..") == path_difference(current_path() / "a", current_path())); in path_difference_tests()
111 path("a") == path_difference(current_path(), current_path() / "a")); in path_difference_tests()
115 path_difference(current_path() / "a", current_path() / "a" / "b")); in path_difference_tests()
119 path_difference(current_path() / "c", current_path() / "a" / "b")); in path_difference_tests()
123 path_difference(current_path(), current_path().parent_path())); in path_difference_tests()
148 ".." / current_path().filename() == in path_difference_tests()
149 path_difference(current_path(), current_path(), true)); in path_difference_tests()
152 "../.." / current_path().filename() == in path_difference_tests()
[all …]
/third_party/node/test/testpy/
D__init__.py107 def ListTests(self, current_path, path, arch, mode): argument
108 all_tests = [current_path + [t] for t in self.Ls(os.path.join(self.root))]
126 def ListTests(self, current_path, path, arch, mode): argument
128 current_path, path, arch, mode)
149 def ListTests(self, current_path, path, arch, mode): argument
150 all_tests = [current_path + t for t in self.Ls(os.path.join(self.root))]
164 def ListTests(self, current_path, path, arch, mode): argument
166 current_path, path, arch, mode)
/third_party/gn/src/gn/
Dcommand_path.cc185 PathVector current_path = work_queue.front(); in BreadthFirstSearch() local
188 const Target* current_target = current_path.back().first; in BreadthFirstSearch()
193 PrintPath(current_path, DepType::NONE); in BreadthFirstSearch()
198 InsertTargetsIntoFoundPaths(current_path, DepType::NONE, stats); in BreadthFirstSearch()
210 PrintPath(current_path, found_current_target->second); in BreadthFirstSearch()
214 InsertTargetsIntoFoundPaths(current_path, found_current_target->second, in BreadthFirstSearch()
228 work_queue.push_back(current_path); in BreadthFirstSearch()
235 work_queue.push_back(current_path); in BreadthFirstSearch()
243 work_queue.push_back(current_path); in BreadthFirstSearch()
/third_party/boost/boost/wave/util/
Dfilesystem_compatibility.hpp31 inline boost::filesystem::path current_path() in current_path() function
33 return boost::filesystem::current_path(); in current_path()
118 inline boost::filesystem::path current_path()
122 return boost::filesystem::current_path();
124 return boost::filesystem3::current_path();
127 return boost::filesystem::current_path<boost::filesystem::path>();
/third_party/boost/tools/quickbook/src/
Dstate.cpp60 , current_path(filein_, 0, filein_.filename()) in state()
88 detail::path_to_generic(current_path.abstract_file_path)); in update_filename_macro()
155 , current_path(state.current_path) in state_save()
176 boost::swap(state.current_path, current_path); in ~state_save()
Dstate_save.hpp42 quickbook_path current_path; member
Dstate.hpp72 quickbook_path current_path; member
Dinclude_paths.cpp204 result, state.current_path.parent_path(), parameter.value, in include_search()
227 state.current_path.parent_path() / parameter.value; in include_search()
/third_party/boost/libs/filesystem/example/
Ddirectory_symlink_parent_resolution.cpp27 path test_dir(current_path() / "dspr_demo"); in cpp_main()
31 current_path(test_dir / "a"); in cpp_main()
35 current_path(test_dir); in cpp_main()
Dtchar.cpp27 fs::path cp = fs::current_path(); in main()
Dsimple_ls.cpp30 fs::path p(fs::current_path()); in main()
/third_party/boost/libs/filesystem/test/issues/
D99_canonical_with_junction_point.cpp41 const fs::path cwd = fs::current_path(); in main()
47 fs::current_path(tmp.path); in main()
61 fs::current_path(*it); in main()
71 fs::current_path(cwd); in main()
/third_party/boost/boost/filesystem/
Doperations.hpp130 path current_path(system::error_code* ec=0);
132 void current_path(const path& p, system::error_code* ec=0);
244 path current_path() {return detail::current_path();} in current_path() function
247 path current_path(system::error_code& ec) {return detail::current_path(&ec);} in current_path() function
250 void current_path(const path& p) {detail::current_path(p);} in current_path() function
253 void current_path(const path& p, system::error_code& ec) BOOST_NOEXCEPT {detail::current_path(p, &e… in current_path() function
256 path absolute(const path& p, const path& base=current_path()) {return detail::absolute(p, base);} in absolute()
260 path base = current_path(ec); in absolute()
269 path canonical(const path& p, const path& base=current_path()) in canonical()
274 path base = current_path(ec); in canonical()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/switchbin/
Dgstswitchbin.c275 switch_bin->current_path = NULL; in gst_switch_bin_init()
376 if (switch_bin->current_path) { in gst_switch_bin_get_property()
379 if (switch_bin->paths[i] == switch_bin->current_path) { in gst_switch_bin_get_property()
462 } else if ((switch_bin->current_path == NULL) in gst_switch_bin_handle_query()
463 || (switch_bin->current_path->element == NULL)) { in gst_switch_bin_handle_query()
474 gst_element_get_static_pad (switch_bin->current_path->element, in gst_switch_bin_handle_query()
593 if (path == switch_bin->current_path) { in gst_switch_bin_set_num_paths()
690 if ((switch_bin_path == NULL) && (switch_bin->current_path == NULL)) in gst_switch_bin_switch_to_path()
694 if (switch_bin->current_path == switch_bin_path) in gst_switch_bin_switch_to_path()
701 if (switch_bin->current_path != NULL) { in gst_switch_bin_switch_to_path()
[all …]
Dgstswitchbin.h52 GstSwitchBinPath *current_path; member
/third_party/boost/libs/filesystem/test/
Doperations_test.cpp224 fs::file_size(fs::current_path()); in bad_directory_size()
618 fs::path root_name_path(fs::current_path().root_name()); in directory_iterator_tests()
1149 fs::path original_dir = fs::current_path(); in current_directory_tests()
1151 fs::current_path(dir); in current_directory_tests()
1152 BOOST_TEST(fs::current_path() == dir); in current_directory_tests()
1153 BOOST_TEST(fs::current_path() != original_dir); in current_directory_tests()
1154 fs::current_path(original_dir); in current_directory_tests()
1155 BOOST_TEST(fs::current_path() == original_dir); in current_directory_tests()
1156 BOOST_TEST(fs::current_path() != dir); in current_directory_tests()
1159 fs::current_path(dir.c_str()); in current_directory_tests()
[all …]
Doperations_unit_test.cpp351 cout << "current_path() is " << current_path().string() << endl; in cpp_main()
358 current_path( argv[1], ec ); in cpp_main()
365 cout << "current_path() is " << current_path().string() << endl; in cpp_main()
368 const path temp_dir(current_path() / ".." / unique_path("op-unit_test-%%%%-%%%%-%%%%")); in cpp_main()
Dcopy_test.cpp242 fs::path prev_cur_dir = fs::current_path(); in test_copy_file_symlinks()
243 fs::current_path(target_dir); in test_copy_file_symlinks()
245 fs::current_path(prev_cur_dir); in test_copy_file_symlinks()
/third_party/jerryscript/jerry-core/api/
Dgenerate-bytecode.c387 EXECRES visit_directory(dir_node **end, char* current_path, EXECRES (*call_back)(char*, char*)) { in visit_directory() argument
393 if ((dir = (DIR*)opendir(current_path)) == NULL) { in visit_directory()
401 if ((input_file_path = splice_path(current_path, filename)) == NULL) { in visit_directory()
437 char* current_path = NULL; in visit_pending_directories() local
440 current_path = curr->dir_name; in visit_pending_directories()
441 EXECRES visit_res = visit_directory(end, current_path, call_back); in visit_pending_directories()
521 char* current_path = NULL; in walk_del_bytecode() local
557 current_path = curr->dir_name; in walk_del_bytecode()
558 if ((dir = (DIR*)opendir(current_path)) == NULL) { in walk_del_bytecode()
569 if ((input_file_path = splice_path(current_path, filename)) == NULL) { in walk_del_bytecode()
/third_party/gn/src/base/
Dvalues.cc684 std::string_view current_path(path); in Set() local
686 for (size_t delimiter_position = current_path.find('.'); in Set()
688 delimiter_position = current_path.find('.')) { in Set()
690 std::string_view key = current_path.substr(0, delimiter_position); in Set()
699 current_path = current_path.substr(delimiter_position + 1); in Set()
703 ->SetWithoutPathExpansion(current_path, std::move(in_value)); in Set()
751 std::string_view current_path(path); in Get() local
753 for (size_t delimiter_position = current_path.find('.'); in Get()
755 delimiter_position = current_path.find('.')) { in Get()
758 current_path.substr(0, delimiter_position), &child_dictionary)) { in Get()
[all …]
/third_party/gn/src/base/files/
Dfile_util_posix.cc625 FilePath current_path = base; in VerifyPathControlledByUser() local
626 if (!VerifySpecificPathControlledByUser(current_path, owner_uid, group_gids)) in VerifyPathControlledByUser()
630 current_path = current_path.Append(*ip); in VerifyPathControlledByUser()
631 if (!VerifySpecificPathControlledByUser(current_path, owner_uid, in VerifyPathControlledByUser()
/third_party/node/test/message/
Dtestcfg.py121 def ListTests(self, current_path, path, arch, mode): argument
122 all_tests = [current_path + [t] for t in self.Ls(self.root)]
/third_party/node/test/pseudo-tty/
Dtestcfg.py139 def ListTests(self, current_path, path, arch, mode): argument
140 all_tests = [current_path + [t] for t in self.Ls(self.root)]
/third_party/boost/libs/log/src/
Dtext_multifile_backend.cpp45 m_BasePath(filesystem::current_path()), in implementation()
/third_party/protobuf/src/google/protobuf/util/
Dfield_mask_util.cc319 std::string current_path = in MergeToFieldMask() local
321 MergeToFieldMask(current_path, it->second, out); in MergeToFieldMask()
444 std::string current_path = in MergeLeafNodesToTree() local
446 MergeLeafNodesToTree(current_path, it->second, out); in MergeLeafNodesToTree()

123