Home
last modified time | relevance | path

Searched refs:None (Results 1 – 25 of 210) sorted by relevance

123456789

/linux/rust/kernel/drm/
H A Ddevice.rs50 firstopen: None,
51 preclose: None,
52 dma_ioctl: None,
53 dma_quiescent: None,
54 context_dtor: None,
55 irq_handler: None,
56 irq_preinstall: None,
57 irq_postinstall: None,
58 irq_uninstall: None,
59 get_vblank_counter: None,
[all...]
/linux/rust/kernel/drm/gem/
H A Dmod.rs366 gem_create_object: None, in create_fops()
367 prime_handle_to_fd: None, in create_fops()
368 prime_fd_to_handle: None, in create_fops()
369 gem_prime_import: None, in create_fops()
370 gem_prime_import_sg_table: None, in create_fops()
371 dumb_create: None, in create_fops()
372 dumb_map_offset: None, in create_fops()
H A Dshmem.rs89 parent_resv_obj: None,
389 gem_create_object: None,
390 prime_handle_to_fd: None,
391 prime_fd_to_handle: None,
392 gem_prime_import: None,
395 dumb_map_offset: None,
640 let reg = faux::Registration::new(c"Kunit", None)?;
704 let reg = faux::Registration::new(c"EvilKunit", None)?;
/linux/rust/zerocopy-derive/
H A Drepr.rs134 None in get_packed()
144 None in get_align()
182 None in get_primitive()
298 None,
341 Transparent | Align(_) | PackedN(_) | Packed => Err(FromRawReprError::None), in try_from()
364 | Transparent | C | Rust => Err(FromRawReprError::None), in try_from()
390 r.into_iter().try_fold(None, |found: Option<Spanned<R>>, raw| { in try_from_raw_reprs()
395 Err(FromRawReprError::None) => return Ok(found), in try_from_raw_reprs()
407 // `Span::join` returns `None` if the two spans are from different in try_from_raw_reprs()
468 _ => None, in from_attrs_inner()
296 None, global() enumerator
[all...]
H A Dutil.rs94 let mut on_error_span = None; in with_input()
308 vec![(None, self.fields())]
312 None
336 vec![(None, self.fields())] in to_tokens()
340 None in to_tokens()
380 None => false,
421 PaddingCheck::Struct | PaddingCheck::ReprCStruct | PaddingCheck::Union => None, in normalize_bounds()
528 | Trait::SplitAt => None, in build()
573 None, in build()
585 None, in build()
397 None, global() enumerator
409 None, global() enumerator
[all...]
/linux/rust/syn/
H A Dparse.rs402 None, enumerator
409 Unexpected::None in default()
416 Unexpected::None => Unexpected::None, in clone()
436 Unexpected::None => return (unexpected, None), in inner_unexpected()
449 return None; in span_of_unexpected_ignoring_nones()
451 while let Some((inner, _span, rest)) = cursor.group(Delimiter::None) { in span_of_unexpected_ignoring_nones()
458 None in span_of_unexpected_ignoring_nones()
975 unexpected: Cell::new(Some(Rc::new(Cell::new(Unexpected::None)))), in fork()
1162 None => Ok(()), in check_unexpected()
1180 Ok(None) in parse()
[all …]
H A Dbuffer.rs174 if group.delimiter() == Delimiter::None { in ignore_none()
195 _ => None, in ident()
207 _ => None, in punct()
217 _ => None, in literal()
235 _ => None, in lifetime()
245 if delim != Delimiter::None { in group()
259 None in group()
274 None in any_group()
284 None in any_group_token()
312 Entry::End(..) => return None, in token_tree()
[all …]
H A Dpath.rs28 leading_colon: None, in from()
72 None => false, in is_ident()
91 None in get_ident()
125 arguments: PathArguments::None, in from()
142 None,
152 PathArguments::None in default()
159 PathArguments::None => true, in is_empty()
167 PathArguments::None => true, in is_none()
336 PathArguments::None | PathArguments::AngleBracketed(_) => true, in parse()
344 PathArguments::None => None, in parse()
[all …]
H A Dclassify.rs109 PathArguments::None => ControlFlow::Break(true), in trailing_unparameterized_path()
150 None => return false, in expr_leading_label()
205 None => return false, in expr_trailing_brace()
213 None => return false, in expr_trailing_brace()
219 None => return false, in expr_trailing_brace()
225 None => return false, in expr_trailing_brace()
260 None => return false, in expr_trailing_brace()
283 PathArguments::None | PathArguments::AngleBracketed(_) => None, in expr_trailing_brace()
285 ReturnType::Default => None, in expr_trailing_brace()
297 None => ControlFlow::Break(false), in expr_trailing_brace()
H A Ddiscouraged.rs180 (Some((span, delimiter)), None) => { in advance_to()
184 (None, None) => { in advance_to()
192 .set(Some(Rc::new(Cell::new(Unexpected::None)))); in advance_to()
H A Dty.rs338 as_token: None, in ambig_ty()
362 let mut lifetimes = None::<BoundLifetimes>; in ambig_ty()
398 dyn_token: None, in ambig_ty()
443 Type::Path(TypePath { qself: None, path }) => { in ambig_ty()
446 modifier: TraitBoundModifier::None, in ambig_ty()
447 lifetimes: None, in ambig_ty()
452 dyn_token: None, in ambig_ty()
457 dyn_token: None, in ambig_ty()
477 dyn_token: None, in ambig_ty()
538 paren_token: None, in ambig_ty()
[all …]
H A Dgenerics.rs99 lt_token: None, in default()
101 gt_token: None, in default()
102 where_clause: None, in default()
381 colon_token: None, in new()
392 colon_token: None, in from()
394 eq_token: None, in from()
395 default: None, in from()
430 None,
575 colon_token: None, in parse()
577 eq_token: None, in parse()
[all …]
/linux/rust/zerocopy-derive/derive/
H A Dfrom_bytes.rs40 None => { in find_zero_variant()
45 None => (), in find_zero_variant()
52 Some(_) => next_negative_discriminant = None, in find_zero_variant()
53 None => { in find_zero_variant()
56 next_negative_discriminant = None; in find_zero_variant()
67 None => { in find_zero_variant()
71 next_negative_discriminant = None; in find_zero_variant()
78 next_negative_discriminant = None; in find_zero_variant()
84 next_negative_discriminant = None; in find_zero_variant()
H A Dknown_layout.rs29 .unwrap_or_else(|| quote!(#core::option::Option::None)); in derive_known_layout_for_repr_c_struct()
36 .unwrap_or_else(|| quote!(#core::option::Option::None)); in derive_known_layout_for_repr_c_struct()
249 Some((SelfBounds::None, inner_extras, Some(outer_extras)))
261 None in derive()
264 Data::Enum(..) | Data::Union(..) => None, in derive()
305 None, in derive()
312 FieldBounds::None in derive()
335 ImplBlockBuilder::new(ctx, enm, Trait::KnownLayout, FieldBounds::None) in derive()
344 ImplBlockBuilder::new(ctx, unn, Trait::KnownLayout, FieldBounds::None) in derive()
/linux/drivers/android/binder/
H A Derror.rs19 // option layout optimization guarantee, so all zeroes is a valid representation for `None`.
33 None => self.0.file(),
52 source: None, in from()
61 source: None,
70 source: None,
112 None => f.pad("BR_FAILED_REPLY"),
119 None => self.reply.fmt(f),
/linux/rust/kernel/
H A Dbitmap.rs436 /// assert_eq!(None, long_bitmap.last_bit());
475 /// None => { in next_bit()
486 None in next_zero_bit()
494 /// Returns `None` if no bits are set on or after the given index. The in next_zero_bit()
513 None in bitmap_borrow()
521 /// Returns `None` if no bits are zero on or after the given index. The in bitmap_copy()
540 None in bitmap_vec_new()
549 /// Returns the bit index of the start of the area, or [`None`] if no such area fitting in in bitmap_set_clear_find()
600 /// Returns the bit index of the start of the area, or [`None`] if no such area fitting in
625 /// assert_eq!(None,
[all...]
H A Dcpufreq.rs651 None in set_data()
676 None
915 /// const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = None;
952 None
957 None
962 None
967 None
972 None
977 None
982 None
[all...]
H A Dkunit.rs213 generate_params: None, in kunit_case()
217 param_init: None, in kunit_case()
218 param_exit: None, in kunit_case()
281 suite_init: None,
282 suite_exit: None,
283 init: None,
284 exit: None,
H A Ddriver.rs24 //! const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = None;
27 //! const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = None;
312 /// If this returns `None`, it means that there is no match in any of the ID tables directly in acpi_id_info()
/linux/rust/macros/
H A Dhelpers.rs
H A Dpaste.rs8 let mut span = None; in concat_helper()
11 None => break, in concat_helper()
49 Some(TokenTree::Group(group)) if group.delimiter() == Delimiter::None => { in concat_helper()
99 TokenTree::Group(group) if group.delimiter() == Delimiter::None => { in expand()
106 TokenTree::Group(group) if group.delimiter() == Delimiter::None => { in expand()
/linux/rust/zerocopy/src/
H A Dlayout.rs94 None => const_unreachable!(),
124 None => const_unreachable!(),
237 /// object fits in `available_bytes`, or `None` if the object does not fit
291 None => return None, in for_repr_c_struct()
300 None => return None, in for_repr_c_struct()
420 /// Returns `None` if the element-byte count or complete rounded size in extend()
452 // If the helper returns `None`, even `object_size(0)` exceeds the in extend()
456 None in extend()
[all...]
/linux/rust/kernel/debugfs/
H A Dentry.rs40 None => core::ptr::null_mut(), in dynamic_dir()
44 // * `parent_ptr` is either `NULL` (if `parent` is `None`), or a pointer to a valid in dynamic_dir()
93 None => core::ptr::null_mut(), in dir()
97 // * `parent_ptr` is either `NULL` (if `parent` is `None`), or a pointer to a valid in dir()
104 _parent: None, in file()
136 _parent: None,
147 _parent: None,
/linux/rust/kernel/net/
H A Dphy.rs502 None in create_phy_driver()
507 None in create_phy_driver()
512 None in create_phy_driver()
517 None in create_phy_driver()
522 None in create_phy_driver()
527 None in create_phy_driver()
532 None in create_phy_driver()
537 None in create_phy_driver()
542 None in create_phy_driver()
547 None in create_phy_driver()
[all …]
/linux/Documentation/firmware-guide/acpi/
H A Dchromeos-acpi-device.rst54 None
85 None
101 None
115 None
128 None
190 None
263 None
299 None
313 None
328 None
[all …]

123456789