Home
last modified time | relevance | path

Searched defs:bool (Results 1 – 25 of 84) 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 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 Dtt.rs9 fn eq(&self, other: &Self) -> bool { in eq()
86 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 Dthread.rs39 fn is_aligned(value: usize, to: usize) -> bool { in is_aligned()
234 fn is_ok(&self) -> bool { in is_ok()
361 fn pop_transaction_replied(&mut self, transaction: &DArc<Transaction>) -> bool { in pop_transaction_replied()
382 fn looper_register(&mut self, valid: bool) { in looper_register()
394 fn is_looper(&self) -> bool { in is_looper()
402 fn should_use_process_work_queue(&self) -> bool { in should_use_process_work_queue()
509 pub(crate) fn has_current_transaction(&self) -> bool { in has_current_transaction()
655 allow_fds: bool, in translate_object()
950 allow_fds: bool, in copy_transaction_data()
1146 ) -> bool { in deliver_single_reply()
[all …]
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 __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/macros/
H A Dmodule.rs98 fn emit_only_loadable(&mut self, field: &str, content: &str, param: bool) { in emit_internal() argument
42 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
/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 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/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
/linux/rust/kernel/list/
H A Darc.rs68 fn try_new_list_arc(&self) -> bool; in try_new_list_arc() argument
406 pub fn ptr_eq(this: &Self, other: &Self) -> bool { in ptr_eq() argument
514 fn try_new_list_arc(&self) -> bool { in try_new_list_arc() argument
/linux/tools/net/sunrpc/xdrgen/generators/
H A Dunion.py88 emit_union_case_spec_decoder( environment: Environment, node: _XdrCaseSpec, big_endian_discriminant: bool ) global() argument
179 emit_union_case_spec_encoder( environment: Environment, node: _XdrCaseSpec, big_endian_discriminant: bool ) global() argument
/linux/rust/kernel/mm/
H A Dvirt.rs314 pub fn readable(&self) -> bool { in readable()
339 pub fn writable(&self) -> bool { in writable()
364 pub fn executable(&self) -> bool { in executable()

1234