Searched refs:path_segments (Results 1 – 7 of 7) sorted by relevance
/external/bazelbuild-rules_android/rules/ |
D | java.bzl | 24 def _segment_idx(path_segments): 28 path_segments: A list of strings, where each string is the segment of a 35 if _path.is_absolute(path_segments[0]): 36 log.error("path must not be absolute: %s" % _path.join(path_segments)) 39 for idx, segment in enumerate(path_segments): 46 is_src = path_segments[root_idx] == "src" 50 for idx in range(root_idx + 1, len(path_segments) - 2): 51 segment = path_segments[idx] 53 next_segment = path_segments[idx + 1] 60 if check_maven_idx >= 0 and check_maven_idx + 2 < len(path_segments): [all …]
|
D | path.bzl | 29 def _join(path_segments): 30 return _PATH_SEP.join(path_segments)
|
D | resources.bzl | 931 path_segments = resource_file.path.split("/") 932 if len(path_segments) < 3: 939 res_type = path_segments[-2].partition(_RESOURCE_QUALIFIER_SEP)[0]
|
/external/autotest/client/common_lib/ |
D | utils_unittest.py | 477 def src(self, *path_segments): argument 478 return os.path.join(self.src_tree.name, *path_segments) 481 def dest(self, *path_segments): argument 482 return os.path.join(self.dest_tree.name, *path_segments) 485 def paths(self, *path_segments): argument 486 return self.src(*path_segments), self.dest(*path_segments) 489 def assertFileEqual(self, *path_segments): argument 490 src, dest = self.paths(*path_segments) 497 def assertFileContents(self, contents, *path_segments): argument 498 dest = self.dest(*path_segments)
|
/external/rust/crates/url/src/ |
D | lib.rs | 151 pub use crate::path_segments::PathSegmentsMut; 158 mod path_segments; module 1238 pub fn path_segments(&self) -> Option<str::Split<'_, char>> { in path_segments() method 1577 Ok(path_segments::new(self)) in path_segments_mut() 2458 if let Some(segments) = self.path_segments() { in to_file_path()
|
D | parser.rs | 570 let first_segment = base_url.path_segments().unwrap().next().unwrap(); in parse_file()
|
/external/rust/crates/url/tests/ |
D | unit.rs | 609 assert!(no_base_url.path_segments().is_none()); in test_no_base_url()
|