/dports/www/py-weboob/weboob-2.0/weboob/capabilities/ |
H A D | collection.py | 29 def __init__(self, split_path=None): argument 30 if split_path is not None: 45 self.split_path = split_path 57 return len(self.split_path) 84 split_path = Field('Full collection path', list) variable in Collection 114 def iter_resources(self, objs, split_path): argument 121 def get_collection(self, objs, split_path): argument 127 collection = Collection(split_path, None) 147 def _restrict_level(self, split_path, lmax=0): argument 148 if len(split_path) > lmax: [all …]
|
H A D | calendar.py | 181 def iter_resources(self, objs, split_path): argument 185 if len(split_path) == 0 and self.ASSOCIATED_CATEGORIES != 'ALL': 190 elif len(split_path) == 1 and split_path[0] in self.ASSOCIATED_CATEGORIES: 192 query.categories = split_path 205 if collection.path_level == 1 and collection.split_path[0] in CATEGORIES.values: 207 raise CollectionNotFound(collection.split_path)
|
/dports/www/py-weboob/weboob-2.0/weboob/tools/ |
H A D | path.py | 27 self.split_path = [] 28 self.previous = copy(self.split_path) 35 split_path = self.get() 36 split_path.append(user_input) 37 self.location(split_path) 39 def location(self, split_path): argument 44 self.split_path = split_path 50 self.split_path, self.previous = self.previous, self.split_path 62 self.location(self.split_path[:-1]) 68 return copy(self.split_path) [all …]
|
/dports/devel/R-cran-testthat/testthat/tests/testthat/ |
H A D | test-snapshot-file.R | 115 expect_equal(split_path(""), list(dir = "", name = "", ext = "")) 117 expect_equal(split_path("a"), list(dir = "", name = "a", ext = "")) 118 expect_equal(split_path("a"), list(dir = "", name = "a", ext = "")) 119 expect_equal(split_path(".b"), list(dir = "", name = "", ext = "b")) 120 expect_equal(split_path(".b.c"), list(dir = "", name = "", ext = "b.c")) 122 expect_equal(split_path("x/a"), list(dir = "x", name = "a", ext = "")) 123 expect_equal(split_path("x/a"), list(dir = "x", name = "a", ext = "")) 124 expect_equal(split_path("x/.b"), list(dir = "x", name = "", ext = "b")) 125 expect_equal(split_path("x/.b.c"), list(dir = "x", name = "", ext = "b.c"))
|
/dports/databases/xtrabackup/boost_1_59_0/tools/bcp/ |
H A D | output_licence_info.cpp | 25 struct split_path struct 29 split_path(const fs::path& r, const fs::path& f) in split_path() function 32 split_path& operator=(const split_path&); 214 os << split_path(m_boost_path, *m) << "<br>\n"; in output_license_info() 237 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 250 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 289 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 302 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 329 os << split_path(m_boost_path, *fi) << " "; in output_license_info() 369 os << split_path(m_boost_path, *fi); in output_license_info() [all …]
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/tools/bcp/ |
H A D | output_licence_info.cpp | 25 struct split_path struct 29 split_path(const fs::path& r, const fs::path& f) in split_path() argument 32 split_path& operator=(const split_path&); 214 os << split_path(m_boost_path, *m) << "<br>\n"; in output_license_info() 237 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 250 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 289 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 302 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 329 os << split_path(m_boost_path, *fi) << " "; in output_license_info() 369 os << split_path(m_boost_path, *fi); in output_license_info() [all …]
|
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/tools/bcp/ |
H A D | output_licence_info.cpp | 25 struct split_path struct 29 split_path(const fs::path& r, const fs::path& f) in split_path() argument 32 split_path& operator=(const split_path&); 214 os << split_path(m_boost_path, *m) << "<br>\n"; in output_license_info() 237 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 250 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 289 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 302 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 329 os << split_path(m_boost_path, *fi) << " "; in output_license_info() 369 os << split_path(m_boost_path, *fi); in output_license_info() [all …]
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/tools/bcp/ |
H A D | output_licence_info.cpp | 25 struct split_path struct 29 split_path(const fs::path& r, const fs::path& f) in split_path() argument 32 split_path& operator=(const split_path&); 214 os << split_path(m_boost_path, *m) << "<br>\n"; in output_license_info() 237 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 250 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 289 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 302 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 329 os << split_path(m_boost_path, *fi) << " "; in output_license_info() 369 os << split_path(m_boost_path, *fi); in output_license_info() [all …]
|
/dports/databases/percona57-server/boost_1_59_0/tools/bcp/ |
H A D | output_licence_info.cpp | 25 struct split_path struct 29 split_path(const fs::path& r, const fs::path& f) in split_path() argument 32 split_path& operator=(const split_path&); 214 os << split_path(m_boost_path, *m) << "<br>\n"; in output_license_info() 237 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 250 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 289 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 302 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 329 os << split_path(m_boost_path, *fi) << " "; in output_license_info() 369 os << split_path(m_boost_path, *fi); in output_license_info() [all …]
|
/dports/databases/percona57-client/boost_1_59_0/tools/bcp/ |
H A D | output_licence_info.cpp | 25 struct split_path struct 29 split_path(const fs::path& r, const fs::path& f) in split_path() argument 32 split_path& operator=(const split_path&); 214 os << split_path(m_boost_path, *m) << "<br>\n"; in output_license_info() 237 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 250 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 289 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 302 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 329 os << split_path(m_boost_path, *fi) << " "; in output_license_info() 369 os << split_path(m_boost_path, *fi); in output_license_info() [all …]
|
/dports/devel/boost-docs/boost_1_72_0/tools/bcp/ |
H A D | output_licence_info.cpp | 25 struct split_path struct 29 split_path(const fs::path& r, const fs::path& f) in split_path() argument 32 split_path& operator=(const split_path&); 214 os << split_path(m_boost_path, *m) << "<br>\n"; in output_license_info() 237 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 250 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 289 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 302 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 329 os << split_path(m_boost_path, *fi) << " "; in output_license_info() 369 os << split_path(m_boost_path, *fi); in output_license_info() [all …]
|
/dports/devel/boost-libs/boost_1_72_0/tools/bcp/ |
H A D | output_licence_info.cpp | 25 struct split_path struct 29 split_path(const fs::path& r, const fs::path& f) in split_path() function 32 split_path& operator=(const split_path&); 214 os << split_path(m_boost_path, *m) << "<br>\n"; in output_license_info() 237 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 250 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 289 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 302 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 329 os << split_path(m_boost_path, *fi) << " "; in output_license_info() 369 os << split_path(m_boost_path, *fi); in output_license_info() [all …]
|
/dports/devel/boost-python-libs/boost_1_72_0/tools/bcp/ |
H A D | output_licence_info.cpp | 25 struct split_path struct 29 split_path(const fs::path& r, const fs::path& f) in split_path() argument 32 split_path& operator=(const split_path&); 214 os << split_path(m_boost_path, *m) << "<br>\n"; in output_license_info() 237 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 250 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 289 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 302 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 329 os << split_path(m_boost_path, *fi) << " "; in output_license_info() 369 os << split_path(m_boost_path, *fi); in output_license_info() [all …]
|
/dports/devel/hyperscan/boost_1_75_0/tools/bcp/ |
H A D | output_licence_info.cpp | 25 struct split_path struct 29 split_path(const fs::path& r, const fs::path& f) in split_path() argument 32 split_path& operator=(const split_path&); 214 os << split_path(m_boost_path, *m) << "<br>\n"; in output_license_info() 237 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 250 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 289 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 302 os << split_path(m_boost_path, *i2) << "<br>\n"; in output_license_info() 329 os << split_path(m_boost_path, *fi) << " "; in output_license_info() 369 os << split_path(m_boost_path, *fi); in output_license_info() [all …]
|
/dports/devel/grcov/grcov-0.8.2/cargo-crates/symbolic-common-8.3.0/src/ |
H A D | path.rs | 300 pub fn split_path(path: &str) -> (Option<&str>, &str) { in split_path() function 624 assert_eq!(split_path("C:\\a\\b"), (Some("C:\\a"), "b")); 625 assert_eq!(split_path("C:/a\\b"), (Some("C:/a"), "b")); 630 assert_eq!(split_path("/a/b/c"), (Some("/a/b"), "c")); 631 assert_eq!(split_path("/a/b/c/d"), (Some("/a/b/c"), "d")); 632 assert_eq!(split_path("a/b/c"), (Some("a/b"), "c")); 634 assert_eq!(split_path("a"), (None, "a")); 635 assert_eq!(split_path("a/"), (None, "a")); 636 assert_eq!(split_path("/a"), (Some("/"), "a")); 637 assert_eq!(split_path(""), (None, "")); [all …]
|
/dports/devel/gitui/gitui-0.10.1/cargo-crates/symbolic-common-7.4.0/src/ |
H A D | path.rs | 301 pub fn split_path(path: &str) -> (Option<&str>, &str) { in split_path() function 624 assert_eq!(split_path("C:\\a\\b"), (Some("C:\\a"), "b")); 625 assert_eq!(split_path("C:/a\\b"), (Some("C:/a"), "b")); 630 assert_eq!(split_path("/a/b/c"), (Some("/a/b"), "c")); 631 assert_eq!(split_path("/a/b/c/d"), (Some("/a/b/c"), "d")); 632 assert_eq!(split_path("a/b/c"), (Some("a/b"), "c")); 634 assert_eq!(split_path("a"), (None, "a")); 635 assert_eq!(split_path("a/"), (None, "a")); 636 assert_eq!(split_path("/a"), (Some("/"), "a")); 637 assert_eq!(split_path(""), (None, "")); [all …]
|
/dports/textproc/xlnt/xlnt-1.5.0-92-g20f3dac2/source/utils/ |
H A D | path.cpp | 92 std::vector<std::string> split_path(const std::string &path, char delim) in split_path() function 183 auto split_path = split(); in parent() local 185 split_path.pop_back(); in parent() 187 if (split_path.empty()) in parent() 194 for (const auto &component : split_path) in parent() 204 auto split_path = split(); in filename() local 205 return split_path.empty() ? "" : split_path.back(); in filename() 241 return split_path(internal_, guess_separator()); in split()
|
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/symbolic-common-8.3.1/src/ |
H A D | path.rs | 301 pub fn split_path(path: &str) -> (Option<&str>, &str) { in split_path() function 639 assert_eq!(split_path("C:\\a\\b"), (Some("C:\\a"), "b")); 640 assert_eq!(split_path("C:/a\\b"), (Some("C:/a"), "b")); 645 assert_eq!(split_path("/a/b/c"), (Some("/a/b"), "c")); 646 assert_eq!(split_path("/a/b/c/d"), (Some("/a/b/c"), "d")); 647 assert_eq!(split_path("a/b/c"), (Some("a/b"), "c")); 649 assert_eq!(split_path("a"), (None, "a")); 650 assert_eq!(split_path("a/"), (None, "a")); 651 assert_eq!(split_path("/a"), (Some("/"), "a")); 652 assert_eq!(split_path(""), (None, "")); [all …]
|
/dports/devel/py-PyUtilib/PyUtilib-6.0.0/pyutilib/misc/ |
H A D | import_file.py | 192 split_path = [] 195 split_path.append(tail) 198 split_path.append(norm_file) 200 split_path.reverse() 201 if len(split_path) > 1: 202 currdir_ = os.path.join(*tuple(split_path[:-1])) 205 tmp_import = split_path[-1]
|
/dports/devel/R-cran-gtools/gtools/man/ |
H A D | split_path.Rd | 2 % Please edit documentation in R/split_path.R 3 \name{split_path} 4 \alias{split_path} 7 split_path(x, depth_first = TRUE)
|
/dports/x11/mlterm/mlterm-3.9.1/common/ |
H A D | c_animgif.c | 110 char *split_path; in split_animation_gif() local 160 split_path = (char*)alloca(strlen(dir) + 10 + 5 + DIGIT_STR_LEN(int)+1); in split_animation_gif() 167 sprintf(split_path, format, dir, hash, num); in split_animation_gif() 168 save_gif(split_path, header, header_size, body, p - 3 - body in split_animation_gif() 217 sprintf(split_path, format, dir, hash, num); in split_animation_gif() 218 save_gif(split_path, header, header_size, body, header + st.st_size - body - 1 in split_animation_gif()
|
/dports/devel/py-oslo.utils/oslo.utils-4.12.0/oslo_utils/tests/ |
H A D | test_strutils.py | 853 self.assertRaises(ValueError, strutils.split_path, '') 854 self.assertRaises(ValueError, strutils.split_path, '/') 855 self.assertRaises(ValueError, strutils.split_path, '//') 856 self.assertRaises(ValueError, strutils.split_path, '//a') 857 self.assertRaises(ValueError, strutils.split_path, '/a/c') 858 self.assertRaises(ValueError, strutils.split_path, '//c') 868 self.assertEqual(strutils.split_path('/a'), ['a']) 869 self.assertEqual(strutils.split_path('/a/'), ['a']) 874 self.assertEqual(strutils.split_path('/a/c', 2, 3, True), 881 strutils.split_path('o\nn e', 2) [all …]
|
/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/tools/ |
H A D | cut_tool.cpp | 406 void CutTool::finishCuttingArea(PathObject* split_path) in finishCuttingArea() argument 438 Q_ASSERT(split_path->parts().size() == 1); in finishCuttingArea() 439 split_path->parts().front().setClosed(false); in finishCuttingArea() 440 split_path->setCoordinate(split_path->getCoordinateCount() - 1, MapCoord(end_path_coord.pos)); in finishCuttingArea() 460 ok &= out_paths[0]->connectIfClose(split_path, split_threshold); in finishCuttingArea() 464 ok &= out_paths[1]->connectIfClose(split_path, split_threshold); in finishCuttingArea() 474 ok &= out_paths[0]->connectIfClose(split_path, split_threshold); in finishCuttingArea() 477 out_paths[1] = split_path->duplicate(); in finishCuttingArea() 486 ok &= out_paths[0]->connectIfClose(split_path, split_threshold); in finishCuttingArea() 490 ok &= out_paths[1]->connectIfClose(split_path, split_threshold); in finishCuttingArea() [all …]
|
/dports/sysutils/czkawka/czkawka-3.3.1/czkawka_gui/src/ |
H A D | connect_compute_results.rs | 123 let t = split_path(e.path.as_path()); in connect_compute_results() 306 let t = split_path(e.as_path()); in connect_compute_results() 311 let (directory, file) = split_path(&path); in connect_compute_results() 357 let t = split_path(e.path.as_path()); in connect_compute_results() 408 let t = split_path(e.path.as_path()); in connect_compute_results() 465 let t = split_path(e.path.as_path()); in connect_compute_results() 518 let t = split_path(e.path.as_path()); in connect_compute_results() 610 let t = split_path(e.path.as_path()); in connect_compute_results() 680 let t = split_path(e.path.as_path()); in connect_compute_results() 805 let t = split_path(e.symlink_path.as_path()); in connect_compute_results() [all …]
|
/dports/security/vaultwarden/Rocket-263e39b5b429de1913ce7e3036575a7b4d88b6d7/contrib/lib/src/templates/ |
H A D | context.rs | 29 let (name, data_type_str) = split_path(&root, &path); in initialize() 71 fn split_path(root: &Path, path: &Path) -> (String, Option<String>) { in split_path() function 94 let (name, data_type) = split_path(Path::new(root), &path); 108 let (name, data_type) = split_path(Path::new(root), &path); 121 split_path(Path::new("templates/"), &Path::new("templates/").join(path)).0
|