Searched refs:ProtobufRelPathRef (Results 1 – 6 of 6) sorted by relevance
/external/rust/crates/protobuf-parse/src/ |
D | protobuf_rel_path.rs | 24 impl ProtobufRelPathRef { implementation 29 pub fn empty() -> &'static ProtobufRelPathRef { in empty() 33 pub fn new(path: &str) -> &ProtobufRelPathRef { in new() argument 43 pub fn split_first_rem(&self) -> Option<(&ProtobufIdentRef, &ProtobufRelPathRef)> { in split_first_rem() argument 50 ProtobufRelPathRef::new(&self.0[i + 1..]), in split_first_rem() 52 None => Some((ProtobufIdentRef::new(&self.0), ProtobufRelPathRef::empty())), in split_first_rem() 63 fn parent(&self) -> Option<&ProtobufRelPathRef> { in parent() argument 68 Some(i) => Some(ProtobufRelPathRef::new(&self.0[..i])), in parent() 69 None => Some(ProtobufRelPathRef::empty()), in parent() 74 pub fn self_and_parents(&self) -> Vec<&ProtobufRelPathRef> { in self_and_parents() argument [all …]
|
D | protobuf_abs_path.rs | 14 use crate::ProtobufRelPathRef; 65 pub fn remove_prefix(&self, prefix: &ProtobufAbsPathRef) -> Option<&ProtobufRelPathRef> { in remove_prefix() argument 69 return Some(ProtobufRelPathRef::empty()); in remove_prefix() 72 return Some(ProtobufRelPathRef::new(&rem[1..])); in remove_prefix() 181 pub fn concat(a: &ProtobufAbsPathRef, b: &ProtobufRelPathRef) -> ProtobufAbsPath { in concat() 207 pub fn push_relative(&mut self, relative: &ProtobufRelPathRef) { in push_relative() argument 213 pub fn remove_suffix(&self, suffix: &ProtobufRelPathRef) -> Option<&ProtobufAbsPathRef> { in remove_suffix() 297 Some(ProtobufRelPathRef::empty()), in absolute_path_remove_prefix() 302 Some(ProtobufRelPathRef::new("bar")), in absolute_path_remove_prefix() 307 Some(ProtobufRelPathRef::new("baz.qux")), in absolute_path_remove_prefix()
|
/external/rust/crates/protobuf-codegen/src/gen/ |
D | well_known_types.rs | 3 use protobuf_parse::ProtobufRelPathRef; 68 fn is_well_known_type(name: &ProtobufRelPathRef) -> bool { in is_well_known_type()
|
D | scope.rs | 13 use protobuf_parse::ProtobufRelPathRef; 94 name: &ProtobufRelPathRef, in find_message_or_enum() argument
|
/external/rust/crates/protobuf-parse/src/pure/convert/ |
D | type_resolver.rs | 13 use crate::ProtobufRelPathRef; 107 path: &ProtobufRelPathRef, in find_message_or_enum() argument
|
D | option_resolver.rs | 34 use crate::ProtobufRelPathRef; 250 rel: &ProtobufRelPathRef, in scope_resolved_candidates_rel() argument
|