Home
last modified time | relevance | path

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

1234

/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.rs80 fn should_normal_push(&self) -> bool { in should_normal_push()
89 fn should_push_weak_zero2one(&self) -> bool { in should_push_weak_zero2one()
93 fn can_push_weak_zero2one_normally(&self) -> bool { in can_push_weak_zero2one_normally()
104 fn should_push_strong_zero2one(&self) -> bool { in should_push_strong_zero2one()
108 fn can_push_strong_zero2one_normally(&self) -> bool { in can_push_strong_zero2one_normally()
242 pub(crate) fn has_oneway_transaction(&self, owner_inner: &mut ProcessInner) -> bool { in has_oneway_transaction()
333 _strong: bool, in inc_ref_done_locked()
372 inc: bool, in update_refcount_locked()
373 strong: bool, in update_refcount_locked()
412 strong: bool, in incr_refcount_allow_zero2one()
[all …]
H A Dprocess.rs85 pub(crate) fn is_frozen(self) -> bool { in is_frozen()
94 pub(crate) fn is_fully_frozen(self) -> bool { in is_fully_frozen()
220 inc: bool, in update_node_refcount()
221 strong: bool, in update_node_refcount()
243 strong: bool, in new_node_ref()
254 strong: bool, in new_node_ref_with_thread()
288 fn register_thread(&mut self) -> bool { in register_thread()
323 fn txns_pending_locked(&self) -> bool { in txns_pending_locked()
753 strong: bool, in get_node_inner()
788 strong: bool, in get_node()
[all …]
H A Dthread.rs226 is_ok(&self) -> bool is_ok() argument
353 pop_transaction_replied(&mut self, transaction: &DArc<Transaction>) -> bool pop_transaction_replied() argument
374 looper_register(&mut self, valid: bool) looper_register() argument
386 is_looper(&self) -> bool is_looper() argument
394 should_use_process_work_queue(&self) -> bool should_use_process_work_queue() argument
501 has_current_transaction(&self) -> bool has_current_transaction() argument
647 translate_object( &self, obj_index: usize, offset: usize, object: BinderObjectRef<'_>, view: &mut AllocationView<'_>, allow_fds: bool, sg_state: &mut ScatterGatherState, ) -> BinderResult translate_object() argument
931 copy_transaction_data( &self, to_process: Arc<Process>, tr: &BinderTransactionDataSg, debug_id: usize, allow_fds: bool, txn_security_ctx_offset: Option<&mut usize>, ) -> BinderResult<NewAllocation> copy_transaction_data() argument
1118 deliver_single_reply( &self, reply: Result<DLArc<Transaction>, u32>, transaction: &DArc<Transaction>, ) -> bool deliver_single_reply() argument
1147 is_current_transaction(&self, transaction: &DArc<Transaction>) -> bool is_current_transaction() argument
1489 poll(&self, file: &File, table: PollTable<'_>) -> (bool, u32) poll() argument
1509 notify_if_poll_ready(&self, sync: bool) notify_if_poll_ready() argument
1558 is_unused(&self) -> bool is_unused() argument
1568 do_work( self: DArc<Self>, _thread: &Thread, writer: &mut BinderReturnWriter<'_>, ) -> Result<bool> do_work() argument
1577 should_sync_wakeup(&self) -> bool should_sync_wakeup() argument
[all...]
H A Dtransaction.rs119 allow_fds: bool, in new_reply()
176 pub(crate) fn is_stacked_on(&self, onext: &Option<DArc<Self>>) -> bool { in is_stacked_on()
309 pub(crate) fn can_replace(&self, old: &Transaction) -> bool { in can_replace()
349 ) -> Result<bool> { in do_work()
441 fn should_sync_wakeup(&self) -> bool { in should_sync_wakeup()
H A Derror.rs41 pub(crate) fn is_dead(&self) -> bool { in is_dead()
49 pub(crate) fn should_pr_warn(&self) -> bool { in should_pr_warn()
/linux/tools/lib/python/kdoc/
H A Dparse_data_structs.py146 def __init__(self, debug: bool = False):
243 ref_name: str = None, replace_underscores: bool = True):
466 def write_output(self, file_in: str, file_out: str, toc: bool):
/linux/rust/macros/
H A Dmodule.rs42 fn emit_base(&mut self, field: &str, content: &str, builtin: bool, param: bool) { in emit_base()
86 fn emit_only_builtin(&mut self, field: &str, content: &str, param: bool) { in emit_only_builtin()
90 fn emit_only_loadable(&mut self, field: &str, content: &str, param: bool) { in emit_only_loadable()
98 fn emit_internal(&mut self, field: &str, content: &str, param: bool) { in emit_internal()
/linux/rust/kernel/
H A Drevocable.rs159 unsafe fn revoke_internal<const SYNC: bool>(&self) -> bool { in revoke_internal()
187 pub unsafe fn revoke_nosync(&self) -> bool { in revoke_nosync()
204 pub fn revoke(&self) -> bool { in revoke()
/linux/rust/kernel/io/
H A Dpoll.rs75 Cond: FnMut(&T) -> bool, in read_poll_timeout()
157 Cond: FnMut(&T) -> bool, in read_poll_timeout_atomic()
/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/range_alloc/
H A Dtree.rs85 pub(crate) fn is_empty(&self) -> bool { in is_empty()
153 is_oneway: bool, in reserve_new()
156 ) -> Result<(usize, bool)> { in reserve_new() argument
380 fn low_oneway_space(&self, calling_pid: Pid) -> bool { in low_oneway_space()
/linux/tools/perf/pmu-events/
H A Djevents.py131 def add(self, s: str, metric: bool) -> None:
434 def build_c_string(self, metric: bool) -> str:
450 def to_c_string(self, metric: bool) -> str:
/linux/drivers/clk/qcom/
H A Dclk-branch.c62 static int clk_branch_wait(const struct clk_branch *br, bool enabling, in clk_branch_wait() argument
94 static int clk_branch_toggle(struct clk_hw *hw, bool en, in clk_branch_toggle() argument

1234