/external/rust/cxx/syntax/ |
D | attrs.rs | 46 if attr.path.is_ident("doc") { in parse() 59 } else if attr.path.is_ident("derive") { in parse() 72 } else if attr.path.is_ident("repr") { in parse() 85 } else if attr.path.is_ident("namespace") { in parse() 98 } else if attr.path.is_ident("cxx_name") { in parse() 111 } else if attr.path.is_ident("rust_name") { in parse() 124 } else if attr.path.is_ident("allow") in parse() 125 || attr.path.is_ident("warn") in parse() 126 || attr.path.is_ident("deny") in parse() 127 || attr.path.is_ident("forbid") in parse() [all …]
|
D | parse.rs | 360 ForeignItem::Macro(foreign) if foreign.mac.path.is_ident("include") => { in parse_foreign_mod()
|
/external/rust/crates/thiserror-impl/src/ |
D | attr.rs | 42 if attr.path.is_ident("error") { in get() 44 } else if attr.path.is_ident("source") { in get() 50 } else if attr.path.is_ident("backtrace") { in get() 56 } else if attr.path.is_ident("from") { in get()
|
/external/adhd/cros_alsa/cros_alsa_derive/src/ |
D | common.rs | 40 NestedMeta::Meta(Meta::NameValue(m)) if m.path.is_ident(PATH) => { in try_from() 70 if !attr.path.is_ident(CROS_ALSA) { in get_cros_alsa_meta_items()
|
/external/rust/crates/serde_derive/src/internals/ |
D | symbol.rs | 54 self.is_ident(word.0) in eq() 60 self.is_ident(word.0) in eq()
|
D | receiver.rs | 77 if node.qself.is_none() && node.path.is_ident("Self") { in visit_type_mut()
|
D | attr.rs | 590 if attr.path.is_ident("repr") { in from_ast()
|
/external/rust/crates/pin-project-internal/src/ |
D | utils.rs | 139 if attr.path.is_ident(ident) { in position_exact() 151 self.iter().position(|attr| attr.path.is_ident(ident)).map(|i| &self[i]) in find() 295 if node.qself.is_none() && node.path.is_ident("Self") { in visit_type_mut() 347 Item::Macro(item) if item.mac.path.is_ident("macro_rules") => { in visit_item_mut()
|
D | pinned_drop.rs | 60 if !path.is_ident("PinnedDrop") { in validate_impl() 148 && get_ty_path(elem).map_or(false, |path| path.is_ident("Self")) in validate_sig()
|
/external/rust/crates/no-panic/src/ |
D | lib.rs | 164 .any(|meta| meta.path().is_ident("inline")); in no_panic()
|
/external/crosvm/enumn/src/ |
D | lib.rs | 135 if list.path.is_ident("repr") { in testable_derive()
|
/external/libxkbcommon/src/xkbcomp/ |
D | rules.c | 79 is_ident(char ch) in is_ident() function 130 while (is_ident(peek(s))) { in lex() 146 if (is_ident(peek(s))) { in lex() 149 while (is_ident(peek(s))) { in lex()
|
/external/rust/crates/async-trait/src/ |
D | receiver.rs | 161 if i.mac.path.is_ident("macro_rules") in visit_item_mut()
|
D | expand.rs | 399 if bound.path.is_ident(marker) { in has_bound()
|
/external/rust/crates/async-stream-impl/src/ |
D | lib.rs | 73 if expr.attrs.len() != 1 || !expr.attrs[0].path.is_ident("await") { in visit_expr_mut()
|
/external/rust/crates/pin-project-internal/src/pin_project/ |
D | args.rs | 34 let mut attrs = attrs.iter().filter(|attr| attr.path.is_ident(PIN)); in parse_args()
|
D | derive.rs | 1003 if list.path.is_ident("repr") { in ensure_not_packed() 1008 if path.is_ident("packed") => in ensure_not_packed()
|
/external/rust/crates/structopt-derive/src/ |
D | parse.rs | 266 .filter(|attr| attr.path.is_ident("structopt")) in parse_structopt_attributes()
|
D | attrs.rs | 381 .filter(|attr| attr.path.is_ident("doc")) in push_doc_comment()
|
/external/crosvm/bit_field/bit_field_derive/ |
D | bit_field_derive.rs | 379 if attr.path.is_ident("doc") { in parse_bits_attr() 395 if attr.path.is_ident("bits") { in try_parse_bits_attr()
|
/external/rust/crates/tokio-macros/src/ |
D | entry.rs | 329 if attr.path.is_ident("test") { in test()
|
/external/rust/crates/syn/src/ |
D | path.rs | 528 pub fn is_ident<I: ?Sized>(&self, ident: &I) -> bool in is_ident() method
|
/external/rust/crates/num-derive/src/ |
D | lib.rs | 174 if mnv.path.is_ident("num_traits") { in new()
|