/dports/net/p5-URI/URI-5.10/t/ |
H A D | path-segments.t | 11 is_deeply [$u->path_segments], ['', qw(a b c)], 'path_segments in list context'; 12 is $u->path_segments, '/a/b/c', 'path_segments in scalar context'; 14 …is_deeply [$u->path_segments('', qw(z y x))], ['', qw(a b c)], 'set path_segments in list context'; 15 is $u->path_segments('/i/j/k'), '/z/y/x', 'set path_segments in scalar context'; 17 $u->path_segments('', qw(q r s)); 18 is $u->path_segments, '/q/r/s', 'set path_segments in void context'; 23 $u->path_segments('', '%', ';', '/'); 24 is $u->path_segments, '/%25/%3B/%2F', 'escaping special characters'; 29 my @ps = $u->path_segments; 31 $u->path_segments(@ps); [all …]
|
/dports/security/py-dfwinreg/dfwinreg-20201006/dfwinreg/ |
H A D | key_paths.py | 9 def JoinKeyPath(path_segments): argument 22 path_segments = [ 24 for segment in path_segments] 27 path_segments = [ 28 element for sublist in path_segments for element in sublist] 31 path_segments = filter(None, path_segments) 33 key_path = definitions.KEY_PATH_SEPARATOR.join(path_segments)
|
H A D | virtual.py | 111 def _JoinKeyPath(self, path_segments): argument 124 path_segments = [ 126 for segment in path_segments] 129 path_segments = [ 130 element for sublist in path_segments for element in sublist] 133 path_segments = filter(None, path_segments) 135 return definitions.KEY_PATH_SEPARATOR.join(path_segments)
|
/dports/security/py-artifacts/artifacts-20210620/tools/ |
H A D | validator.py | 112 if not path_segments: 118 elif len(path_segments) == 1: 124 elif path_segments[1] == 'private' and len(path_segments) >= 2: 136 for path_segment in path_segments: 192 path_segments = path.split(source.separator) 195 for path_segment in path_segments: 248 path_segments = path_lower.split(source.separator) 249 if not path_segments: 255 elif path_segments[0].startswith('%%users.') and path_segments[0] not in ( 264 elif path_segments[0] == '%%users.homedir%%': [all …]
|
/dports/devel/py-oslo.policy/oslo.policy-3.10.0/oslo_policy/ |
H A D | _checks.py | 297 def _find_in_dict(self, test_value, path_segments, match): argument 313 if len(path_segments) == 0: 315 key, path_segments = path_segments[0], path_segments[1:] 322 if self._find_in_dict(val, path_segments, match): 326 return self._find_in_dict(test_value, path_segments, match) 344 path_segments = self.kind.split('.') 345 return self._find_in_dict(creds, path_segments, match)
|
/dports/audio/ncspot/ncspot-0.9.3/src/ |
H A D | spotify_url.rs | 31 let mut path_segments = url.path_segments()?; 33 let entity = path_segments.next()?; 43 let _user_id = path_segments.next()?; 44 let entity = path_segments.next()?; 55 let id = path_segments.next()?;
|
/dports/net/py-matrix-synapse-ldap3/matrix-synapse-ldap3-0.1.5/ |
H A D | setup.py | 24 def read_file(path_segments): argument 27 file_path = os.path.join(here, *path_segments) 32 def exec_file(path_segments, name): argument 36 code = read_file(path_segments)
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel.Web/System/ |
H A D | UriTemplateMatch.cs | 44 Collection<string> path_segments, wildcard; field in System.UriTemplateMatch 74 if (path_segments == null) 75 path_segments = new Collection<string> (); 76 return path_segments;
|
/dports/devel/py-canonicaljson/canonicaljson-1.5.0/ |
H A D | setup.py | 25 def read_file(path_segments): argument 28 file_path = os.path.join(here, *path_segments) 33 def exec_file(path_segments, name): argument 37 code = read_file(path_segments)
|
/dports/chinese/wordpress-zh_CN/wordpress/wp-includes/ |
H A D | class-wp-network.php | 371 $path_segments = array_filter( explode( '/', trim( $path, '/' ) ) ); 386 if ( ( null !== $segments ) && count( $path_segments ) > $segments ) { 387 $path_segments = array_slice( $path_segments, 0, $segments ); 390 while ( count( $path_segments ) ) { 391 $paths[] = '/' . implode( '/', $path_segments ) . '/'; 392 array_pop( $path_segments );
|
H A D | ms-load.php | 164 $path_segments = array_filter( explode( '/', trim( $path, '/' ) ) ); 179 if ( null !== $segments && count( $path_segments ) > $segments ) { 180 $path_segments = array_slice( $path_segments, 0, $segments ); 185 while ( count( $path_segments ) ) { 186 $paths[] = '/' . implode( '/', $path_segments ) . '/'; 187 array_pop( $path_segments );
|
/dports/chinese/wordpress-zh_TW/wordpress/wp-includes/ |
H A D | class-wp-network.php | 371 $path_segments = array_filter( explode( '/', trim( $path, '/' ) ) ); 386 if ( ( null !== $segments ) && count( $path_segments ) > $segments ) { 387 $path_segments = array_slice( $path_segments, 0, $segments ); 390 while ( count( $path_segments ) ) { 391 $paths[] = '/' . implode( '/', $path_segments ) . '/'; 392 array_pop( $path_segments );
|
H A D | ms-load.php | 164 $path_segments = array_filter( explode( '/', trim( $path, '/' ) ) ); 179 if ( null !== $segments && count( $path_segments ) > $segments ) { 180 $path_segments = array_slice( $path_segments, 0, $segments ); 185 while ( count( $path_segments ) ) { 186 $paths[] = '/' . implode( '/', $path_segments ) . '/'; 187 array_pop( $path_segments );
|
/dports/devel/py-dtfabric/dtfabric-20200621/tests/ |
H A D | test_lib.py | 14 def skipUnlessHasTestFile(path_segments): # pylint: disable=invalid-name argument 26 path = os.path.join('test_data', *path_segments) 77 def _GetTestFilePath(self, path_segments): argument 88 return os.path.join(self._TEST_DATA_PATH, *path_segments)
|
/dports/net-im/py-matrix-synapse/synapse-1.50.2/ |
H A D | setup.py | 67 def read_file(path_segments): argument 70 file_path = os.path.join(here, *path_segments) 75 def exec_file(path_segments): argument 78 code = read_file(path_segments)
|
/dports/lang/spidermonkey60/firefox-60.9.0/servo/components/config/tests/ |
H A D | opts.rs | 27 assert_eq!(url.path_segments().unwrap().collect::<Vec<_>>(), ["foo", "bar.html"]); in test_argument_parsing() 37 assert_eq!(url.path_segments().unwrap().collect::<Vec<_>>(), ["fake", "cwd", "bar.html"]); in test_file_path_parsing() 47 assert_eq!(url.path_segments().unwrap().collect::<Vec<_>>(), ["C:", "fake", "cwd", "bar.html"]); in test_file_path_parsing() 60 assert_eq!(url.path_segments().unwrap().collect::<Vec<_>>(), ["foo", "bar"]); in test_argument_parsing_special() 68 assert_eq!(url.path_segments().unwrap().collect::<Vec<_>>(), in test_argument_parsing_special()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/telemetry/bin/ |
H A D | update_wpr_go_cipd | 75 path_segments = path.split(os.sep) 77 assert(self._common_path == os.sep.join(path_segments[:-4])) 79 self._common_path = os.sep.join(path_segments[:-4]) 80 related_path = os.sep.join(path_segments[-4:]) 81 platform = '_'.join(path_segments[-3:-1])
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/gitlab/middleware/ |
H A D | go.rb | 101 path_segments = path.split('/') 102 simple_project_path = path_segments.first(2).join('/') 106 project_paths << path_segments.join('/') 107 path_segments.pop 108 end while path_segments.length >= 2
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/gitlab/ |
H A D | repo_path.rb | 99 path_segments = snippet_path.split('/') 100 snippet_id = path_segments.pop 101 path_segments.pop # Remove 'snippets' from path 102 project_path = File.join(path_segments).presence
|
/dports/www/rss-bridge/rss-bridge-2021-04-25/bridges/ |
H A D | GithubIssueBridge.php | 260 $path_segments = array_values(array_filter(explode('/', $url_components['path']))); 262 switch(count($path_segments)) { 264 list($user, $project) = $path_segments; 268 if($path_segments[2] !== static::URL_PATH) { 271 list($user, $project) = $path_segments; 275 list($user, $project, /* issues */, $issue) = $path_segments;
|
/dports/devel/p5-Module-Release/Module-Release-2.128/lib/Module/Release/ |
H A D | SVN.pm | 158 my @tag_url = $trunk_url->path_segments; 177 $tag_url->path_segments( @tag_url ); 198 $tag_url->path_segments(@tag_url);
|
/dports/devel/p5-OrePAN2/OrePAN2-0.40/lib/OrePAN2/ |
H A D | Auditor.pm | 226 my @path_segments = $url->path_segments; 231 croak $err if !@path_segments; 234 my $child = $tempdir->child( pop @path_segments );
|
/dports/security/py-dfwinreg/dfwinreg-20201006/tests/ |
H A D | key_paths.py | 22 path_segments = key_paths.SplitKeyPath( 24 self.assertEqual(path_segments, expected_path_segments)
|
/dports/textproc/p5-Regexp-Common/Regexp-Common-2017060201/lib/Regexp/Common/URI/ |
H A D | RFC2396.pm | 23 $vars {parts} = [qw /$query $fragment $param $segment $path_segments 64 $path_segments = "(?:$segment(?:/$segment)*)"; 67 $abs_path = "(?:/$path_segments)";
|
/dports/mail/davmail/davmail-src-6.0.1-3390/src/java/davmail/http/ |
H A D | URIUtil.java | 254 protected static final BitSet path_segments = new BitSet(256); field in URIUtil 257 path_segments.set('/'); 258 path_segments.or(segment); 271 abs_path.or(path_segments);
|