Searched refs:is_none (Results 1 – 20 of 20) sorted by relevance
| /linux/rust/syn/ |
| H A D | fixup.rs | 400 … && matches!(expr, Expr::Block(expr) if expr.attrs.is_empty() && expr.label.is_none())) in parenthesize() 431 Expr::Range(e) if e.start.is_none() => return Precedence::Prefix, in precedence() 489 Expr::Range(e) => e.start.is_none() || fixup.previous_operator < Precedence::Assign, in scan_left() 657 if bailout_offset >= 1 || e.label.is_none() && classify::expr_leading_label(value) { in scan_right() 690 … || matches!(&*e.body, Expr::Block(body) if body.attrs.is_empty() && body.label.is_none()) in scan_right()
|
| H A D | path.rs | 85 if self.leading_colon.is_none() in get_ident() 87 && self.segments[0].arguments.is_none() in get_ident() 165 pub fn is_none(&self) -> bool { in is_none() method 332 if ty.qself.is_none() in parse() 333 && ty.path.leading_colon.is_none() in parse() 644 .all(|segment| segment.arguments.is_none()) in is_mod_style()
|
| H A D | pat.rs | 425 if qself.is_none() in pat_path_or_macro_or_struct_or_range() 570 if boxed.is_none() && by_ref.is_none() && mutability.is_none() && input.peek(Token![:]) in field_pat() 769 Pat::Range(pat) if pat.start.is_none() || pat.end.is_none() => { in pat_slice()
|
| H A D | item.rs | 1044 if generics.lt_token.is_none() && generics.where_clause.is_none() => in parse_rest_of_item() 1178 if generics.where_clause.is_none() => in parse() 1340 let tree = parse_use_tree(input, allow_crate_root_in_path && leading_colon.is_none())?; in parse_item_use() 1520 && unsafety.is_none() in parse_signature() 1853 let has_safe = sig.is_none(); in parse() 1882 unsafety.is_none() && token::parsing::peek_keyword(input.cursor(), "safe"); in parse() 2076 Some(ty) if colon_token.is_none() => ty, in parse_item_type() 2360 if generics.lt_token.is_none() && generics.where_clause.is_none() { in parse() 2386 && defaultness.is_none() in parse() 2644 if has_visibility || is_const_impl || is_impl_for && trait_.is_none() { in parse_impl() [all …]
|
| H A D | tt.rs | 34 s2.next().is_none() in eq()
|
| H A D | punctuated.rs | 66 self.inner.len() == 0 && self.last.is_none() in is_empty() 231 self.last.is_none() && !self.is_empty() in trailing_punct() 239 self.last.is_none() in empty_or_trailing()
|
| H A D | derive.rs | 160 if where_clause.is_none() && lookahead.peek(token::Paren) {
|
| H A D | stmt.rs | 166 stmt.semi_token.is_none() && !stmt.mac.delimiter.is_brace() in parse_within()
|
| H A D | parse.rs | 271 if old_span.is_none() { in drop()
|
| H A D | ty.rs | 350 if arguments.is_none() { in ambig_ty() 1018 } else if has_mut_self && name.is_none() { in parse_bare_fn_arg()
|
| H A D | generics.rs | 856 if lifetimes.is_none() && matches!(modifier, TraitBoundModifier::Maybe(_)) { in do_parse() 1456 && expr.qself.is_none() in print_const_argument()
|
| H A D | expr.rs | 1534 let const_token: Option<Token![const]> = if raw.is_some() && mutability.is_none() { in unary_expr() 1964 if qself.is_none() in rest_of_path_or_macro_or_struct() 3464 e.label.is_none() && classify::expr_leading_label(value), in print_expr_break() 3558 … || matches!(&*e.body, Expr::Block(body) if body.attrs.is_empty() && body.label.is_none()) in print_expr_closure() 3782 && arm.comma.is_none() in to_tokens()
|
| /linux/drivers/android/binder/range_alloc/ |
| H A D | mod.rs | 318 if self.need_empty_array_alloc && self.args.empty_array_alloc.is_none() { in make_alloc() 321 if self.need_new_tree_alloc && self.args.new_tree_alloc.is_none() { in make_alloc() 324 if self.need_tree_alloc && self.args.tree_alloc.is_none() { in make_alloc()
|
| H A D | tree.rs | 96 first_value.state.is_none() in is_empty() 270 Some((_, next)) if next.state.is_none() => { in reservation_abort() 289 Some((_, prev)) if prev.state.is_none() => { in reservation_abort()
|
| /linux/rust/macros/ |
| H A D | concat_idents.rs | |
| H A D | paste.rs | 38 span.is_none(), in concat_helper()
|
| /linux/scripts/gdb/linux/ |
| H A D | mapletree.py | 57 def is_none(self): member in Mas 235 if mas.is_none():
|
| /linux/rust/pin-init/internal/src/ |
| H A D | init.rs | 202 && segments[0].arguments.is_none() 204 && segments[1].arguments.is_none() =>
|
| /linux/drivers/android/binder/ |
| H A D | page_range.rs | 529 if page.is_none() { in iterate()
|
| H A D | thread.rs | 403 self.current_transaction.is_none() && !self.process_work_list && self.is_looper() in should_use_process_work_queue()
|