Home
last modified time | relevance | path

Searched refs:is_rust_keyword (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/protobuf-codegen/src/
Drust.rs60 pub fn is_rust_keyword(ident: &str) -> bool { in is_rust_keyword() function
Dfile.rs36 let name = if rust::is_rust_keyword(&name) { in proto_path_to_rust_mod()
Dscope.rs291 if r.is_empty() && rust::is_rust_keyword(self.get_name().get()) { in rust_name()
422 if rust::is_rust_keyword(self.proto.get_name()) { in rust_name()
/external/rust/crates/protobuf/src/
Ddescriptorx.rs46 let name = if rust::is_rust_keyword(&name) { in proto_path_to_rust_mod()
329 if r.is_empty() && rust::is_rust_keyword(self.get_name()) { in rust_name()
453 if rust::is_rust_keyword(self.get_name()) { in rust_name()
509 if rust::is_rust_keyword(self.get_name()) { in rust_name()
Drust.rs60 pub fn is_rust_keyword(ident: &str) -> bool { in is_rust_keyword() function
/external/rust/crates/protobuf-codegen/src/field/
Dmod.rs2027 if rust::is_rust_keyword(name) { in rust_field_name_for_protobuf_field_name()