Searched refs:scheme_end (Results 1 – 8 of 8) sorted by relevance
/external/rust/crates/url/src/ |
D | parser.rs | 427 let scheme_end = to_u32(self.serialization.len())?; in parse_with_scheme() localVariable 448 && base_url.scheme() == &self.serialization[..scheme_end as usize] in parse_with_scheme() 464 self.after_double_slash(remaining, scheme_type, scheme_end) in parse_with_scheme() 466 SchemeType::NotSpecial => self.parse_non_special(input, scheme_type, scheme_end), in parse_with_scheme() 475 scheme_end: u32, in parse_non_special() 479 return self.after_double_slash(input, scheme_type, scheme_end); in parse_non_special() 497 scheme_end, in parse_non_special() 526 let scheme_end = "file".len() as u32; in parse_file() localVariable 549 self.parse_query_and_fragment(scheme_type, scheme_end, remaining)?; in parse_file() 552 scheme_end, in parse_file() [all …]
|
D | lib.rs | 179 scheme_end: u32, // Before ':' field 599 assert!(self.scheme_end >= 1); in check_invariants() 602 .slice(1..self.scheme_end) in check_invariants() 605 assert_eq!(self.byte_at(self.scheme_end), b':'); in check_invariants() 607 if self.slice(self.scheme_end + 1..).starts_with("//") { in check_invariants() 616 _ => assert_eq!(self.username_end, self.scheme_end + 3), in check_invariants() 651 assert_eq!(self.username_end, self.scheme_end + 1); in check_invariants() 652 assert_eq!(self.host_start, self.scheme_end + 1); in check_invariants() 653 assert_eq!(self.host_end, self.scheme_end + 1); in check_invariants() 656 assert_eq!(self.path_start, self.scheme_end + 1); in check_invariants() [all …]
|
D | slicing.rs | 106 Position::AfterScheme => self.scheme_end as usize, in index() 110 self.scheme_end as usize + "://".len() in index() 112 debug_assert!(self.byte_at(self.scheme_end) == b':'); in index() 113 debug_assert!(self.scheme_end + ":".len() as u32 == self.username_end); in index() 114 self.scheme_end as usize + ":".len() in index()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/ |
D | uri_parser.cc | 191 size_t scheme_end = NOT_SET; in grpc_uri_parse() local 204 scheme_end = i; in grpc_uri_parse() 217 if (scheme_end == NOT_SET) { in grpc_uri_parse() 221 if (uri_text[scheme_end + 1] == '/' && uri_text[scheme_end + 2] == '/') { in grpc_uri_parse() 222 authority_begin = scheme_end + 3; in grpc_uri_parse() 238 path_begin = scheme_end + 1; in grpc_uri_parse() 276 uri->scheme = decode_and_copy_component(uri_text, scheme_begin, scheme_end); in grpc_uri_parse()
|
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/hadoop/ |
D | hadoop_filesystem.cc | 38 size_t scheme_end = fname.find("://") + 2; in ParseHadoopPath() local 40 *scheme = fname.substr(0, scheme_end - 2); in ParseHadoopPath() 41 size_t nn_end = fname.find('/', scheme_end + 1); in ParseHadoopPath() 43 *namenode = fname.substr(scheme_end + 1); in ParseHadoopPath() 47 *namenode = fname.substr(scheme_end + 1, nn_end - scheme_end - 1); in ParseHadoopPath()
|
/external/libcups/scheduler/ |
D | cups-driverd.cxx | 1717 *scheme_end; /* Pointer to end of scheme */ in load_drivers() local 1787 scheme_end = scheme + strlen(scheme) - 1; in load_drivers() 1789 if ((scheme_end > scheme && *scheme_end == '*' && in load_drivers() 1790 !strncmp(scheme, dent->filename, (size_t)(scheme_end - scheme))) || in load_drivers() 1814 scheme_end = scheme + strlen(scheme) - 1; in load_drivers() 1816 if ((scheme_end > scheme && *scheme_end == '*' && in load_drivers() 1817 !strncmp(scheme, dent->filename, (size_t)(scheme_end - scheme))) || in load_drivers()
|
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/ |
D | gcs_filesystem.cc | 77 size_t scheme_end = fname.find("://") + 2; in ParseGCSPath() local 78 if (fname.substr(0, scheme_end + 1) != "gs://") { in ParseGCSPath() 84 size_t bucket_end = fname.find('/', scheme_end + 1); in ParseGCSPath() 91 *bucket = fname.substr(scheme_end + 1, bucket_end - scheme_end - 1); in ParseGCSPath()
|
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/s3/ |
D | s3_filesystem.cc | 89 size_t scheme_end = fname.find("://") + 2; in ParseS3Path() local 90 if (fname.substr(0, scheme_end + 1) != "s3://") { in ParseS3Path() 96 size_t bucket_end = fname.find("/", scheme_end + 1); in ParseS3Path() 103 *bucket = fname.substr(scheme_end + 1, bucket_end - scheme_end - 1); in ParseS3Path()
|