| /linux/rust/syn/gen/ |
| H A D | debug.rs | 11 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() argument 21 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() argument 27 fn debug(&self, formatter: &mut fmt::Formatter, name: &str) -> fmt::Result { in debug() argument 39 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() argument 53 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() argument 65 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() argument 77 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() argument 92 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() argument 104 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() argument 115 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() argument [all …]
|
| /linux/rust/kernel/debugfs/ |
| H A D | traits.rs | 48 fn write(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result; 52 fn write(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in write_to_slice() 58 fn write(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 74 ) -> Result<usize>; in write_to_slice() 83 ) -> Result<usize> { 94 ) -> Result<usize> { in write_to_slice() 111 ) -> Result<usize> { 126 ) -> Result<usize> { 140 ) -> Result<usize> { in write_to_slice() 155 ) -> Result<usiz 29 write(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result write() argument 33 write(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result write() argument 39 write(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result write() argument 156 read_from_slice(&self, reader: &mut UserSliceReader) -> Result read_from_slice() argument 160 read_from_slice(&self, reader: &mut UserSliceReader) -> Result read_from_slice() argument 179 read_from_slice(&self, reader: &mut UserSliceReader) -> Result read_from_slice() argument [all...] |
| /linux/rust/kernel/ |
| H A D | opp.rs | 15 error::{code::*, from_err_ptr, from_result, to_result, Result, VTABLE_DEFAULT_ERROR}, 40 pub(crate) fn new(table: &Table) -> Result<Self> { in new() 91 fn to_c_str_array(names: &[CString]) -> Result<KVec<*const c_char>> { in to_c_str_array() 164 /// use kernel::error::Result; 168 /// fn create_opp(dev: &ARef<Device>, freq: Hertz, volt: MicroVolt, level: u32) -> Result<Token> { 182 fn new(dev: &ARef<Device>, mut data: Data) -> Result<Self> { in new() 213 /// use kernel::error::Result; 217 /// fn create_opp(dev: &ARef<Device>, freq: Hertz, volt: MicroVolt, level: u32) -> Result<Token> { 245 pub fn add_opp(self, dev: &ARef<Device>) -> Result<Token> { in add_opp() 264 /// use kernel::error::Result; 296 config_clks(_dev: &Device, _table: &Table, _opp: &OPP, _scaling_down: bool) -> Result config_clks() argument 308 config_regulators( _dev: &Device, _opp_old: &OPP, _opp_new: &OPP, _data: *mut *mut bindings::regulator, _count: u32, ) -> Result config_regulators() argument 756 sync_regulators(&self) -> Result sync_regulators() argument 764 sharing_cpus(dev: &Device, cpumask: &mut Cpumask) -> Result sharing_cpus() argument 771 set_sharing_cpus(&mut self, cpumask: &mut Cpumask) -> Result set_sharing_cpus() argument 789 of_sharing_cpus(dev: &Device, cpumask: &mut Cpumask) -> Result of_sharing_cpus() argument 805 adjust_voltage( &self, freq: Hertz, volt: MicroVolt, volt_min: MicroVolt, volt_max: MicroVolt, ) -> Result adjust_voltage() argument 828 set_rate(&self, freq: Hertz) -> Result set_rate() argument 836 set_opp(&self, opp: &OPP) -> Result set_opp() argument 940 enable_opp(&self, freq: Hertz) -> Result enable_opp() argument 948 disable_opp(&self, freq: Hertz) -> Result disable_opp() argument 956 of_register_em(&mut self, cpumask: &mut Cpumask) -> Result of_register_em() argument [all...] |
| H A D | str.rs | 12 Result, // 89 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 121 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 245 fn to_cstring(&self) -> Result<CString, AllocError>; 278 fn to_ascii_lowercase(&self) -> Result<CString, AllocError>; 289 fn to_ascii_uppercase(&self) -> Result<CString, AllocError>; 308 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 357 fn to_cstring(&self) -> Result<CString, AllocError> { 371 fn to_ascii_lowercase(&self) -> Result<CString, AllocError> { in to_ascii_uppercase() 379 fn to_ascii_uppercase(&self) -> Result<CStrin in as_ref() 76 fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result fmt() argument 108 fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result fmt() argument 295 fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result fmt() argument 604 write_str(&mut self, s: &str) -> fmt::Result write_str() argument 663 write_str(&mut self, s: &str) -> fmt::Result write_str() argument 700 write_str(&mut self, s: &str) -> fmt::Result write_str() argument 901 fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result fmt() argument [all...] |
| H A D | regulator.rs | 22 error::{from_err_ptr, to_result, Result}, 87 pub fn devm_enable(dev: &Device<Bound>, name: &CStr) -> Result { in devm_enable() argument 105 pub fn devm_enable_optional(dev: &Device<Bound>, name: &CStr) -> Result { in devm_enable_optional() argument 253 pub fn set_voltage(&self, min_voltage: Voltage, max_voltage: Voltage) -> Result { in set_voltage() argument 265 pub fn get_voltage(&self) -> Result<Voltage> { in get_voltage() 272 fn get_internal(dev: &Device, name: &CStr) -> Result<Regulator<T>> { in get_internal() 286 fn enable_internal(&self) -> Result { in enable_internal() argument 291 fn disable_internal(&self) -> Result { in disable_internal() argument 299 pub fn get(dev: &Device, name: &CStr) -> Result<Self> { in get() 304 pub fn try_into_enabled(self) -> Result<Regulator<Enabled>, Error<Disabled>> { in try_into_enabled() [all …]
|
| H A D | uaccess.rs | 11 error::Result, 174 pub fn read_all<A: Allocator>(self, buf: &mut Vec<u8, A>, flags: Flags) -> Result { in read_all() argument 223 pub fn skip(&mut self, num_skip: usize) -> Result { in skip() argument 265 pub fn read_raw(&mut self, out: &mut [MaybeUninit<u8>]) -> Result { in read_raw() argument 286 pub fn read_slice(&mut self, out: &mut [u8]) -> Result { in read_slice() argument 299 pub fn read_slice_partial(&mut self, out: &mut [u8], offset: usize) -> Result<usize> { in read_slice_partial() 318 pub fn read_slice_file(&mut self, out: &mut [u8], offset: &mut file::Offset) -> Result<usize> { in read_slice_file() 339 pub fn read<T: FromBytes>(&mut self) -> Result<T> { in read() 370 pub fn read_all<A: Allocator>(mut self, buf: &mut Vec<u8, A>, flags: Flags) -> Result { in read_all() argument 392 pub fn strcpy_into_buf<'buf>(self, buf: &'buf mut [u8]) -> Result<&'buf CStr> { in strcpy_into_buf() [all …]
|
| H A D | cpufreq.rs | 17 error::{code::*, from_err_ptr, from_result, to_result, Result, VTABLE_DEFAULT_ERROR}, 90 fn new(val: u32) -> Result<Self> { in new() 157 pub fn generic_verify(&self) -> Result { in generic_verify() argument 211 /// fn show_freq(policy: &Policy) -> Result { 251 pub fn freq(&self, index: TableIndex) -> Result<Hertz> { in freq() 288 fn new(entries: KVec<bindings::cpufreq_frequency_table>) -> Result<Self> { in new() 365 fn push(&mut self, frequency: u32, flags: u32, driver_data: u32) -> Result { in add() argument 378 pub fn add(&mut self, freq: Hertz, flags: u32, driver_data: u32) -> Result { in to_table() 383 pub fn to_table(mut self) -> Result<TableBox> { in to_table() 526 pub fn generic_suspend(&mut self) -> Result { 521 generic_suspend(&mut self) -> Result generic_suspend() argument 649 set_data<T: ForeignOwnable>(&mut self, data: T) -> Result set_data() argument 742 exit(_policy: &mut Policy, _data: Option<Self::PData>) -> Result exit() argument 747 online(_policy: &mut Policy) -> Result online() argument 752 offline(_policy: &mut Policy) -> Result offline() argument 757 suspend(_policy: &mut Policy) -> Result suspend() argument 762 resume(_policy: &mut Policy) -> Result resume() argument 772 verify(data: &mut PolicyData) -> Result verify() argument 775 setpolicy(_policy: &mut Policy) -> Result setpolicy() argument 780 target(_policy: &mut Policy, _target_freq: u32, _relation: Relation) -> Result target() argument 785 target_index(_policy: &mut Policy, _index: TableIndex) -> Result target_index() argument 805 target_intermediate(_policy: &mut Policy, _index: TableIndex) -> Result target_intermediate() argument 820 bios_limit(_policy: &mut Policy, _limit: &mut u32) -> Result bios_limit() argument 825 set_boost(_policy: &mut Policy, _state: i32) -> Result set_boost() argument [all...] |
| H A D | dma.rs | 68 unsafe fn dma_set_mask(&self, mask: DmaMask) -> Result { 85 unsafe fn dma_set_coherent_mask(&self, mask: DmaMask) -> Result { 104 unsafe fn dma_set_mask_and_coherent(&self, mask: DmaMask) -> Result { in dma_set_mask_and_coherent() 197 pub const fn try_new(n: u32) -> Result<Self> { 224 /// # fn test(dev: &Device<Bound>) -> Result { 392 /// # fn test(dev: &Device<Bound>) -> Result { 412 /// # fn test(dev: &Device<Bound>) -> Result { 428 ) -> Result<Self> { in zeroed_slice() 438 ) -> Result<Self> { in init_at() 445 pub fn init_at<E>(&mut self, i: usize, init: impl Init<T, E>) -> Result in init_at() 60 dma_set_mask(&self, mask: DmaMask) -> Result dma_set_mask() argument 77 dma_set_coherent_mask(&self, mask: DmaMask) -> Result dma_set_coherent_mask() argument 96 dma_set_mask_and_coherent(&self, mask: DmaMask) -> Result dma_set_mask_and_coherent() argument [all...] |
| H A D | clk.rs | 84 error::{from_err_ptr, to_result, Result}, 109 /// use kernel::error::Result; 111 /// fn configure_clk(dev: &Device) -> Result { 144 pub fn get(dev: &Device, name: Option<&CStr>) -> Result<Self> { in get() 167 pub fn enable(&self) -> Result { 191 pub fn prepare(&self) -> Result { 213 pub fn prepare_enable(&self) -> Result { 247 pub fn set_rate(&self, rate: Hertz) -> Result { 283 /// use kernel::error::Result; 285 /// fn configure_clk(dev: &Device) -> Result { 161 enable(&self) -> Result enable() argument 185 prepare(&self) -> Result prepare() argument 207 prepare_enable(&self) -> Result prepare_enable() argument 241 set_rate(&self, rate: Hertz) -> Result set_rate() argument [all...] |
| H A D | fmt.rs | 14 Result, 30 fn fmt(&self, f: &mut Formatter<'_>) -> Result { 59 fn fmt(&self, f: &mut Formatter<'_>) -> Result; 70 fn fmt(&self, f: &mut Formatter<'_>) -> Result { 113 fn fmt(&self, f: &mut Formatter<'_>) -> Result { 120 fn fmt(&self, f: &mut Formatter<'_>) -> Result { 127 fn fmt(&self, f: &mut Formatter<'_>) -> Result { 134 fn fmt(&self, f: &mut Formatter<'_>) -> Result { 141 fn fmt(&self, f: &mut Formatter<'_>) -> Result { 149 fn fmt(&self, f: &mut Formatter<'_>) -> Result { 42 fmt(&self, f: &mut Formatter<'_>) -> Result fmt() argument 46 fmt(&self, f: &mut Formatter<'_>) -> Result fmt() argument 52 fmt(&self, f: &mut Formatter<'_>) -> Result fmt() argument [all...] |
| /linux/rust/syn/ |
| H A D | parse.rs | 206 pub use crate::error::{Error, Result}; 217 fn parse(input: ParseStream) -> Result<Self>; in parse() 279 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() argument 285 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() argument 467 pub fn parse<T: Parse>(&self) -> Result<T> { in parse() 507 pub fn call<T>(&'a self, function: fn(ParseStream<'a>) -> Result<T>) -> Result<T> { in call() 738 parser: fn(ParseStream<'a>) -> Result<T>, in parse_terminated() 740 ) -> Result<Punctuated<T, P::Token>> in parse_terminated() 1056 pub fn step<F, R>(&self, function: F) -> Result<R> in step() 1058 F: for<'c> FnOnce(StepCursor<'c, 'a>) -> Result<(R, Cursor<'c>)>, in step() [all …]
|
| H A D | attr.rs | 6 use crate::error::Result; 224 pub fn parse_args<T: Parse>(&self) -> Result<T> { in parse_args() 247 pub fn parse_args_with<F: Parser>(&self, parser: F) -> Result<F::Output> { in parse_args_with() 395 logic: impl FnMut(ParseNestedMeta) -> Result<()>, in parse_nested_meta() argument 396 ) -> Result<()> { in parse_nested_meta() 408 pub fn parse_outer(input: ParseStream) -> Result<Vec<Self>> { in parse_outer() 424 pub fn parse_inner(input: ParseStream) -> Result<Vec<Self>> { in parse_inner() 522 pub fn require_path_only(&self) -> Result<&Path> { in require_path_only() 534 pub fn require_list(&self) -> Result<&MetaList> { in require_list() 552 pub fn require_name_value(&self) -> Result<&MetaNameValue> { in require_name_value() [all …]
|
| H A D | parse_quote.rs | 123 use crate::error::Result; 140 fn parse(input: ParseStream) -> Result<Self>; in parse() 144 fn parse(input: ParseStream) -> Result<Self> { in parse() 160 fn parse(input: ParseStream) -> Result<Self> { in parse() 171 fn parse(input: ParseStream) -> Result<Self> { in parse() 182 fn parse(input: ParseStream) -> Result<Self> { in parse() 212 fn parse(input: ParseStream) -> Result<Self> { in parse() 219 fn parse(input: ParseStream) -> Result<Self> { in parse() 225 fn parse(input: ParseStream) -> Result<Self> { in parse() 232 fn parse(input: ParseStream) -> Result<Self> { in parse() [all …]
|
| H A D | meta.rs | 5 use crate::error::{Error, Result}; 134 pub fn parser(logic: impl FnMut(ParseNestedMeta) -> Result<()>) -> impl Parser<Output = ()> { in parser() 204 pub fn value(&self) -> Result<ParseStream<'a>> { in value() 275 logic: impl FnMut(ParseNestedMeta) -> Result<()>, in parse_nested_meta() argument 276 ) -> Result<()> { in parse_nested_meta() 389 mut logic: impl FnMut(ParseNestedMeta) -> Result<()>, in parse_nested_meta() argument 390 ) -> Result<()> { in parse_nested_meta() 405 fn parse_meta_path(input: ParseStream) -> Result<Path> { in parse_meta_path()
|
| H A D | ty.rs | 278 use crate::error::{self, Result}; 299 fn parse(input: ParseStream) -> Result<Self> { in parse() 313 pub fn without_plus(input: ParseStream) -> Result<Self> { in without_plus() 324 ) -> Result<Type> { in ambig_ty() 617 fn parse(input: ParseStream) -> Result<Self> { in parse() 628 fn parse(input: ParseStream) -> Result<Self> { in parse() 641 fn parse(input: ParseStream) -> Result<Self> { in parse() 664 fn parse(input: ParseStream) -> Result<Self> { in parse() 677 fn parse(input: ParseStream) -> Result<Self> { in parse() 724 fn parse(input: ParseStream) -> Result<Self> { in parse() [all …]
|
| /linux/rust/kernel/net/ |
| H A D | phy.rs | 182 pub fn read<R: reg::Register>(&mut self, reg: R) -> Result<u16> { in read() 187 pub fn write<R: reg::Register>(&mut self, reg: R, val: u16) -> Result { in write() argument 192 pub fn read_paged(&mut self, page: u16, regnum: u16) -> Result<u16> { in read_paged() 210 pub fn genphy_soft_reset(&mut self) -> Result { in genphy_soft_reset() argument 218 pub fn init_hw(&mut self) -> Result { in init_hw() argument 226 pub fn start_aneg(&mut self) -> Result { in start_aneg() argument 234 pub fn genphy_resume(&mut self) -> Result { in genphy_resume() argument 242 pub fn genphy_suspend(&mut self) -> Result { in genphy_suspend() argument 250 pub fn genphy_read_status<R: reg::Register>(&mut self) -> Result<u16> { in genphy_read_status() 255 pub fn genphy_update_link(&mut self) -> Result { in genphy_update_link() argument [all …]
|
| /linux/rust/pin-init/src/ |
| H A D | lib.rs | 916 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E> { in __pinned_init() argument 932 unsafe fn __init(self, slot: *mut T) -> Result<(), E>; in __init() argument 955 F: FnOnce(Pin<&mut T>) -> Result<(), E>, in pin_chain() argument 984 pub unsafe fn raw_try_init<T, E>(slot: *mut T, init: impl PinInit<T, E>) -> Result<(), E> { in raw_try_init() argument 999 F: FnOnce(Pin<&mut T>) -> Result<(), E>, 1002 unsafe fn __init(self, slot: *mut T) -> Result<(), E> { in __init() argument 1070 F: FnOnce(&mut T) -> Result<(), E>, in chain() argument 1083 F: FnOnce(&mut T) -> Result<(), E>, 1093 F: FnOnce(&mut T) -> Result<(), E>, 1096 unsafe fn __init(self, slot: *mut T) -> Result<(), E> { in __init() argument [all …]
|
| H A D | alloc.rs | 30 fn try_pin_init<E>(init: impl PinInit<T, E>) -> Result<Pin<Self>, E> in try_pin_init() 39 fn pin_init(init: impl PinInit<T>) -> Result<Pin<Self>, AllocError> { in pin_init() 51 fn try_init<E>(init: impl Init<T, E>) -> Result<Self, E> in try_init() 57 fn init(init: impl Init<T>) -> Result<Self, AllocError> { in init() 84 fn try_pin_init<E>(init: impl PinInit<T, E>) -> Result<Pin<Self>, E> in try_pin_init() 92 fn try_init<E>(init: impl Init<T, E>) -> Result<Self, E> in try_init() 102 fn try_pin_init<E>(init: impl PinInit<T, E>) -> Result<Pin<Self>, E> in try_pin_init() 120 fn try_init<E>(init: impl Init<T, E>) -> Result<Self, E> in try_init() 142 fn write_init<E>(mut self, init: impl Init<T, E>) -> Result<Self::Initialized, E> { in write_init() 152 fn write_pin_init<E>(mut self, init: impl PinInit<T, E>) -> Result<Pi in write_pin_init() [all...] |
| H A D | __internal.rs | 121 F: FnOnce(*mut T) -> Result<InitOk, E>, in make_closure() 175 pub fn init<E>(self: Pin<&mut Self>, init: impl PinInit<T, E>) -> Result<Pin<&mut T>, E> { 206 let value: Result<Pin<&mut Foo>, core::convert::Infallible> = in init() 213 let value: Result<Pin<&mut Foo>, core::convert::Infallible> = in stack_init_reuse() 271 pub fn init<E>(self, init: impl Init<T, E>) -> Result<DropGuard<Unpinned, T>, E> { 288 pub fn init<E>(self, init: impl PinInit<T, E>) -> Result<DropGuard<Pinned, T>, E> { 406 unsafe fn __init(self, _slot: *mut T) -> Result<(), ()> { 32 __init(self, slot: *mut T) -> Result<(), E> __init() argument 44 __pinned_init(self, slot: *mut T) -> Result<(), E> __pinned_init() argument 320 __pinned_init(self, _slot: *mut T) -> Result<(), ()> __pinned_init() argument
|
| /linux/rust/kernel/net/phy/ |
| H A D | reg.rs | 47 fn read(&self, dev: &mut Device) -> Result<u16>; 50 fn write(&self, dev: &mut Device, val: u16) -> Result; 53 fn read_status(dev: &mut Device) -> Result<u16>; 107 fn read(&self, dev: &mut Device) -> Result<u16> { in read() 119 fn write(&self, dev: &mut Device, val: u16) -> Result { in write() 129 fn read_status(dev: &mut Device) -> Result<u16> { in read_status() 199 fn read(&self, dev: &mut Device) -> Result<u16> { in read() 209 fn write(&self, dev: &mut Device, val: u16) -> Result { in write() 218 fn read_status(dev: &mut Device) -> Result<u16> { in read_status() 48 write(&self, dev: &mut Device, val: u16) -> Result write() argument 117 write(&self, dev: &mut Device, val: u16) -> Result write() argument 207 write(&self, dev: &mut Device, val: u16) -> Result write() argument
|
| /linux/rust/quote/ |
| H A D | ident_fragment.rs | 17 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result; in fmt() argument 32 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() argument 42 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() argument 52 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() argument 70 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() argument 81 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
| /linux/rust/zerocopy/src/ |
| H A D | macros.rs | 1437 let x: Result<[[u8; 2]; 4], _> = try_transmute!(array_of_bools); in test_try_transmute() 1439 let x: Result<[bool; 8], _> = try_transmute!(array_of_arrays); in test_try_transmute() 1443 let x: Result<usize, _> = try_transmute!(UnsafeCell::new(1usize)); in test_try_transmute() 1445 let x: Result<UnsafeCell<usize>, _> = try_transmute!(1usize); in test_try_transmute() 1447 let x: Result<UnsafeCell<isize>, _> = try_transmute!(UnsafeCell::new(1usize)); in test_try_transmute() 1462 let x: Result<usize, _> = try_transmute!(PanicOnDrop(1usize)); in test_try_transmute() 1468 let y: Result<bool, _> = try_transmute!(PanicOnDrop(2u8)); in test_try_transmute() 1481 let x: Result<&[[u8; 2]; 4], _> = try_transmute_ref!(array_of_bools); in test_try_transmute_ref() 1483 let x: Result<&[bool; 8], _> = try_transmute_ref!(array_of_arrays); in test_try_transmute_ref() 1489 let x: Result<&[[u8; 2]; 4], _> = try_transmute_ref!(array_of_bools); in test_try_transmute_ref() [all …]
|
| /linux/drivers/android/binder/ |
| H A D | context.rs | 28 pub(crate) fn get_all_contexts() -> Result<KVVec<Arc<Context>>> { in get_all_contexts() 54 pub(crate) fn new(name: &CStr) -> Result<Arc<Self>> { in new() 81 pub(crate) fn register_process(self: &Arc<Self>, proc: Arc<Process>) -> Result { in register_process() argument 110 pub(crate) fn set_manager_node(&self, node_ref: NodeRef) -> Result { in set_manager_node() argument 136 pub(crate) fn get_manager_node(&self, strong: bool) -> Result<NodeRef, BinderError> { in get_manager_node() 156 pub(crate) fn get_all_procs(&self) -> Result<KVVec<Arc<Process>>> { in get_all_procs() 165 pub(crate) fn get_procs_with_pid(&self, pid: i32) -> Result<KVVec<Arc<Process>>> { in get_procs_with_pid()
|
| /linux/rust/kernel/str/ |
| H A D | parse_int.rs | 22 fn from_str_radix(src: &BStr, radix: u32) -> Result<Self>; in from_str_radix() 25 fn from_u64_negated(value: u64) -> Result<Self>; in from_u64_negated() 81 fn from_str(src: &BStr) -> Result<Self> { in from_str() 109 fn from_str_radix(src: &BStr, radix: u32) -> Result<Self> { 114 fn from_u64_negated(value: u64) -> Result<Self> {
|
| /linux/rust/proc-macro2/ |
| H A D | parse.rs | 67 fn parse(&self, tag: &str) -> Result<Cursor<'a>, Reject> { in parse() 77 type PResult<'a, O> = Result<(Cursor<'a>, O), Reject>; 159 fn word_break(input: Cursor) -> Result<Cursor, Reject> { in word_break() 170 pub(crate) fn token_stream(mut input: Cursor) -> Result<TokenStream, LexError> { in token_stream() 345 fn literal_nocapture(input: Cursor) -> Result<Cursor, Reject> { in literal_nocapture() 372 fn string(input: Cursor) -> Result<Cursor, Reject> { in string() 382 fn cooked_string(mut input: Cursor) -> Result<Cursor, Reject> { in cooked_string() 416 fn raw_string(input: Cursor) -> Result<Cursor, Reject> { in raw_string() 435 fn byte_string(input: Cursor) -> Result<Cursor, Reject> { in byte_string() 445 fn cooked_byte_string(mut input: Cursor) -> Result<Cursor, Reject> { in cooked_byte_string() [all …]
|