Home
last modified time | relevance | path

Searched defs:bool (Results 1 – 25 of 109) sorted by relevance

12345

/linux/rust/syn/gen/
H A Deq.rs14 fn eq(&self, other: &Self) -> bool { in eq()
24 fn eq(&self, other: &Self) -> bool { in eq()
34 fn eq(&self, other: &Self) -> bool { in eq()
45 fn eq(&self, other: &Self) -> bool { in eq()
56 fn eq(&self, other: &Self) -> bool { in eq()
67 fn eq(&self, other: &Self) -> bool { in eq()
81 fn eq(&self, other: &Self) -> bool { in eq()
91 fn eq(&self, other: &Self) -> bool { in eq()
101 fn eq(&self, other: &Self) -> bool { in eq()
111 fn eq(&self, other: &Self) -> bool { in eq()
[all …]
/linux/rust/syn/
H A Dclassify.rs19 pub(crate) fn requires_semi_to_be_stmt(expr: &Expr) -> bool { in requires_semi_to_be_stmt()
27 pub(crate) fn requires_comma_to_be_match_arm(expr: &Expr) -> bool { in requires_comma_to_be_match_arm()
73 pub(crate) fn trailing_unparameterized_path(mut ty: &Type) -> bool { in trailing_unparameterized_path()
107 fn last_type_in_path(path: &Path) -> ControlFlow<bool, &Type> { in trailing_unparameterized_path()
120 ) -> ControlFlow<bool, &Type> { in trailing_unparameterized_path()
132 pub(crate) fn expr_leading_label(mut expr: &Expr) -> bool { in expr_leading_label()
186 pub(crate) fn expr_trailing_brace(mut expr: &Expr) -> bool { in expr_trailing_brace()
246 fn type_trailing_brace(mut ty: &Type) -> bool { in expr_trailing_brace()
293 ) -> ControlFlow<bool, &Type> { in expr_trailing_brace()
306 fn tokens_trailing_brace(tokens: &TokenStream) -> bool { in expr_trailing_brace()
H A Dtoken.rs130 fn peek(cursor: Cursor) -> bool; in peek()
157 fn peek(cursor: Cursor) -> bool; in peek()
194 fn peek(cursor: Cursor) -> bool { in peek()
557 fn peek(cursor: Cursor) -> bool { in peek()
623 fn eq(&self, _other: &Group) -> bool { in eq()
652 fn peek(cursor: Cursor) -> bool { in peek()
663 fn peek(cursor: Cursor) -> bool { in peek()
674 fn peek(cursor: Cursor) -> bool { in peek()
685 fn peek(cursor: Cursor) -> bool { in peek()
996 pub(crate) fn peek_keyword(cursor: Cursor, token: &str) -> bool { in peek_keyword()
[all …]
H A Dident.rs39 pub(crate) fn xid_ok(symbol: &str) -> bool { in xid_ok()
61 fn accept_as_ident(ident: &Ident) -> bool { in accept_as_ident()
98 fn peek(cursor: Cursor) -> bool { in peek()
H A Dlookahead.rs80 peek: fn(Cursor) -> bool, in peek_impl()
105 pub fn peek<T: Peek>(&self, token: T) -> bool { in peek()
311 fn peek(cursor: Cursor) -> bool { in peek()
H A Dfixup.rs230 next_operator_can_begin_generics: bool, in leftmost_subexpression_with_operator()
379 pub fn parenthesize(self, expr: &Expr) -> bool { in parenthesize()
475 fn eq(&self, other: &Self) -> bool { in eq()
481 fn scan_left(expr: &Expr, fixup: FixupContext) -> bool { in scan_left()
H A Dtt.rs9 fn eq(&self, other: &Self) -> bool { in eq()
86 fn eq(&self, other: &Self) -> bool { in eq()
H A Dparse.rs583 pub fn peek<T: Peek>(&self, token: T) -> bool { in peek()
622 pub fn peek2<T: Peek>(&self, token: T) -> bool { in peek2()
623 fn peek2(buffer: &ParseBuffer, peek: fn(Cursor) -> bool) -> bool { in peek2()
632 pub fn peek3<T: Peek>(&self, token: T) -> bool { in peek3()
633 fn peek3(buffer: &ParseBuffer, peek: fn(Cursor) -> bool) -> bool { in peek3()
793 pub fn is_empty(&self) -> bool { in is_empty()
1412 fn eq(&self, _other: &Self) -> bool { in eq()
H A Dgenerics.rs756 #[cfg_attr(not(feature = "full"), allow(unused_variables))] allow_precise_capture: bool, in parse_single()
757 allow_const: bool, in parse_single()
799 allow_plus: bool, in parse_multiple()
800 allow_precise_capture: bool, in parse_multiple()
801 allow_const: bool, in parse_multiple()
1099 pub(crate) fn choose_generics_over_qpath(input: ParseStream) -> bool { in choose_generics_over_qpath()
1134 pub(crate) fn choose_generics_over_qpath_after_keyword(input: ParseStream) -> bool { in choose_generics_over_qpath_after_keyword()
H A Dbuffer.rs184 pub fn eof(self) -> bool { in eof()
395 fn eq(&self, other: &Self) -> bool { in eq()
410 pub(crate) fn same_scope(a: Cursor, b: Cursor) -> bool { in same_scope()
414 pub(crate) fn same_buffer(a: Cursor, b: Cursor) -> bool { in same_buffer()
/linux/tools/testing/selftests/drivers/net/hw/lib/py/
H A Dlinkconfig.py
/linux/drivers/android/binder/
H A Dnode.rs82 fn should_normal_push(&self) -> bool { in should_normal_push() argument
91 fn should_push_weak_zero2one(&self) -> bool { in should_push_weak_zero2one() argument
95 fn can_push_weak_zero2one_normally(&self) -> bool { in can_push_weak_zero2one_normally() argument
106 fn should_push_strong_zero2one(&self) -> bool { in should_push_strong_zero2one() argument
110 fn can_push_strong_zero2one_normally(&self) -> bool { in can_push_strong_zero2one_normally() argument
252 has_oneway_transaction(&self, owner_inner: &mut ProcessInner) -> bool has_oneway_transaction() argument
347 inc_ref_done_locked( self: &DArc<Node>, _strong: bool, owner_inner: &mut ProcessInner, ) -> Option<DLArc<Node>> inc_ref_done_locked() argument
386 update_refcount_locked( self: &DArc<Node>, inc: bool, strong: bool, count: usize, owner_inner: &mut ProcessInner, ) -> Option<DLArc<Node>> update_refcount_locked() argument
387 update_refcount_locked( self: &DArc<Node>, inc: bool, strong: bool, count: usize, owner_inner: &mut ProcessInner, ) -> Option<DLArc<Node>> update_refcount_locked() argument
426 incr_refcount_allow_zero2one( self: &DArc<Self>, strong: bool, owner_inner: &mut ProcessInner, ) -> Result<Option<DLArc<Node>>, CouldNotDeliverCriticalIncrement> incr_refcount_allow_zero2one() argument
468 incr_refcount_allow_zero2one_with_wrapper( self: &DArc<Self>, strong: bool, wrapper: CritIncrWrapper, owner_inner: &mut ProcessInner, ) -> Option<DLArc<dyn DeliverToRead>> incr_refcount_allow_zero2one_with_wrapper() argument
485 update_refcount(self: &DArc<Self>, inc: bool, count: usize, strong: bool) update_refcount() argument
615 do_work_locked( &self, writer: &mut BinderReturnWriter<'_>, mut guard: Guard<'_, ProcessInner, SpinLockBackend>, ) -> Result<bool> do_work_locked() argument
719 do_work( self: DArc<Self>, _thread: &Thread, writer: &mut BinderReturnWriter<'_>, ) -> Result<bool> do_work() argument
757 should_sync_wakeup(&self) -> bool should_sync_wakeup() argument
858 update(&mut self, inc: bool, strong: bool) -> bool update() argument
1007 set_cleared(self: &DArc<Self>, abort: bool) -> bool set_cleared() argument
1106 do_work( self: DArc<Self>, _thread: &Thread, writer: &mut BinderReturnWriter<'_>, ) -> Result<bool> do_work() argument
1152 should_sync_wakeup(&self) -> bool should_sync_wakeup() argument
[all...]
H A Dthread.rs39 is_aligned(value: usize, to: usize) -> bool is_aligned() argument
236 is_ok(&self) -> bool is_ok() argument
379 pop_transaction_replied(&mut self, transaction: &DArc<Transaction>) -> bool pop_transaction_replied() argument
400 looper_register(&mut self, valid: bool) looper_register() argument
412 is_looper(&self) -> bool is_looper() argument
421 should_use_process_work_queue(&self) -> bool should_use_process_work_queue() argument
535 has_current_transaction(&self) -> bool has_current_transaction() argument
652 push_work_inner( &self, work: DLArc<dyn DeliverToRead>, sync: bool, ) -> PushWorkRes push_work_inner() argument
701 translate_object( &self, obj_index: usize, offset: usize, object: BinderObjectRef<'_>, view: &mut AllocationView<'_>, allow_fds: bool, sg_state: &mut ScatterGatherState, ) -> BinderResult translate_object() argument
1000 copy_transaction_data( &self, to_process: Arc<Process>, info: &mut TransactionInfo, debug_id: usize, allow_fds: bool, txn_security_ctx_offset: Option<&mut usize>, ) -> BinderResult<NewAllocation> copy_transaction_data() argument
1190 deliver_single_reply( &self, reply: Result<DLArc<Transaction>, u32>, transaction: &DArc<Transaction>, extended_error: Option<ExtendedError>, ) -> bool deliver_single_reply() argument
1227 is_current_transaction(&self, transaction: &DArc<Transaction>) -> bool is_current_transaction() argument
1662 poll(&self) -> Result<(bool, u32)> poll() argument
1715 is_unused(&self) -> bool is_unused() argument
1725 do_work( self: DArc<Self>, _thread: &Thread, writer: &mut BinderReturnWriter<'_>, ) -> Result<bool> do_work() argument
1743 should_sync_wakeup(&self) -> bool should_sync_wakeup() argument
[all...]
/linux/rust/kernel/
H A Dkunit.rs175 is_test_result_ok(&self) -> bool is_test_result_ok() argument
179 is_test_result_ok(&self) -> bool is_test_result_ok() argument
185 is_test_result_ok(&self) -> bool is_test_result_ok() argument
195 is_test_result_ok(t: impl TestResult) -> bool is_test_result_ok() argument
H A Drevocable.rs159 revoke_internal<const SYNC: bool>(&self) -> bool revoke_internal() argument
187 revoke_nosync(&self) -> bool revoke_nosync() argument
204 revoke(&self) -> bool revoke() argument
/linux/tools/lib/python/kdoc/
H A Dparse_data_structs.py146 __init__(self, debug: bool = False) global() argument
243 store_type(self, ln, symbol_type: str, symbol: str, ref_name: str = None, replace_underscores: bool = True) global() argument
466 write_output(self, file_in: str, file_out: str, toc: bool) global() argument
/linux/rust/zerocopy-derive/
H A Drepr.rs112 is_transparent(&self) -> bool is_transparent() argument
116 is_c(&self) -> bool is_c() argument
121 is_primitive(&self) -> bool is_primitive() argument
146 is_align_gt_1(&self) -> bool is_align_gt_1() argument
168 is_packed_1(&self) -> bool is_packed_1() argument
185 is_u8(&self) -> bool is_u8() argument
190 is_i8(&self) -> bool is_i8() argument
694 eq(&self, other: &Spanned<T>) -> bool eq() argument
702 eq(&self, other: &Repr<Prim, Packed>) -> bool eq() argument
/linux/drivers/android/binder/range_alloc/
H A Darray.rs60 pub(crate) fn is_full(&self) -> bool { in is_full() argument
119 is_oneway: bool, in reserve_new() argument
121 ) -> Result<(usize, bool)> { in reserve_new() argument
167 fn low_oneway_space(&self, calling_pid: Pid) -> bool { in low_oneway_space() argument
/linux/rust/macros/
H A Dmodule.rs42 emit_base(&mut self, field: &str, content: &str, builtin: bool, param: bool) emit_base() argument
86 emit_only_builtin(&mut self, field: &str, content: &str, param: bool) emit_only_builtin() argument
90 emit_only_loadable(&mut self, field: &str, content: &str, param: bool) emit_only_loadable() argument
98 emit_internal(&mut self, field: &str, content: &str, param: bool) emit_internal() argument
/linux/rust/kernel/io/
H A Dpoll.rs75 read_poll_timeout<Op, Cond, T>( mut op: Op, mut cond: Cond, sleep_delta: Delta, timeout_delta: Delta, ) -> Result<T> where Op: FnMut() -> Result<T>, Cond: FnMut(&T) -> bool, read_poll_timeout() argument
157 read_poll_timeout_atomic<Op, Cond, T>( mut op: Op, mut cond: Cond, delay_delta: Delta, retry: usize, ) -> Result<T> where Op: FnMut() -> Result<T>, Cond: FnMut(&T) -> bool, read_poll_timeout_atomic() argument
/linux/tools/testing/selftests/net/
H A Dcork_fragsize.py83 dummy_netdev(ns: NetNS, mtu: int, ipv6: bool) global() argument
120 test_udp( ipv6: bool, af: socket.AddressFamily, sockopts: tuple[int, int, int], destip: str, func: str ) global() argument
/linux/tools/net/sunrpc/xdrgen/
H A Dxdr_parse.py44 def set_xdr_annotate(set_it: bool) -> None:
55 def set_xdr_enum_validation(set_it: bool) -> None:
/linux/rust/proc-macro2/
H A Dfallback.rs94 pub(crate) fn is_empty(&self) -> bool { in is_empty()
366 fn span_within(&self, span: Span) -> bool { in span_within()
669 fn is_call_site(&self) -> bool { in is_call_site()
820 pub(crate) fn is_ident_start(c: char) -> bool { in is_ident_start()
824 pub(crate) fn is_ident_continue(c: char) -> bool { in is_ident_continue()
838 fn ident_ok(string: &str) -> bool { in validate_ident()
870 fn eq(&self, other: &Ident) -> bool { in eq()
879 fn eq(&self, other: &T) -> bool { in eq()
1220 fn valid(src: &str) -> bool; in valid()
1247 fn valid(src: &str) -> bool { in valid()
[all …]
H A Dparse.rs28 pub(crate) fn starts_with(&self, s: &str) -> bool { in starts_with()
32 pub(crate) fn starts_with_char(&self, ch: char) -> bool { in starts_with_char()
38 Pattern: FnMut(char) -> bool, in starts_with_fn()
43 pub(crate) fn is_empty(&self) -> bool { in is_empty()
154 fn is_whitespace(ch: char) -> bool { in is_whitespace()
962 fn doc_comment_contents(input: Cursor) -> PResult<(&str, bool)> { in doc_comment_contents() argument
/linux/drivers/android/binder/node/
H A Dwrapper.rs45 do_work( self: DArc<Self>, _thread: &Thread, writer: &mut BinderReturnWriter<'_>, ) -> Result<bool> do_work() argument
94 should_sync_wakeup(&self) -> bool should_sync_wakeup() argument

12345