Home
last modified time | relevance | path

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

12345678910>>...38

/third_party/python/Tools/peg_generator/pegen/
Dbuild.py34 verbose: bool = False,
35 keep_asserts: bool = True,
106 grammar_file: str, verbose_tokenizer: bool = False, verbose_parser: bool = False
153 compile_extension: bool = False,
154 verbose_c_extension: bool = False,
155 keep_asserts_in_extension: bool = True,
156 skip_actions: bool = False,
178 grammar: Grammar, grammar_file: str, output_file: str, skip_actions: bool = False,
190 compile_extension: bool = False,
191 verbose_tokenizer: bool = False,
[all …]
/third_party/rust/crates/syn/tests/common/
Deq.rs146 fn eq(&self, other: &Self) -> bool; in eq()
150 fn eq(&self, other: &Self) -> bool { in eq()
156 fn eq(&self, other: &Self) -> bool { in eq()
162 fn eq(&self, other: &Self) -> bool { in eq()
168 fn eq(&self, other: &Self) -> bool { in eq()
178 fn eq(&self, other: &Self) -> bool { in eq()
184 fn eq(&self, other: &Self) -> bool { in eq()
190 fn eq(&self, other: &Self) -> bool { in eq()
200 fn eq(&self, other: &Self) -> bool { in eq()
206 fn eq(&self, other: &Self) -> bool { in eq()
[all …]
/third_party/rust/crates/nom/src/character/
Dmod.rs21 pub fn is_alphabetic(chr: u8) -> bool { in is_alphabetic()
35 pub fn is_digit(chr: u8) -> bool { in is_digit()
51 pub fn is_hex_digit(chr: u8) -> bool { in is_hex_digit()
66 pub fn is_oct_digit(chr: u8) -> bool { in is_oct_digit()
82 pub fn is_alphanumeric(chr: u8) -> bool { in is_alphanumeric()
98 pub fn is_space(chr: u8) -> bool { in is_space()
114 pub fn is_newline(chr: u8) -> bool { in is_newline()
/third_party/rust/crates/syn/src/gen/
Deq.rs13 fn eq(&self, other: &Self) -> bool { in eq()
23 fn eq(&self, other: &Self) -> bool { in eq()
33 fn eq(&self, other: &Self) -> bool { in eq()
44 fn eq(&self, other: &Self) -> bool { in eq()
58 fn eq(&self, other: &Self) -> bool { in eq()
69 fn eq(&self, other: &Self) -> bool { in eq()
79 fn eq(&self, other: &Self) -> bool { in eq()
119 fn eq(&self, other: &Self) -> bool { in eq()
129 fn eq(&self, other: &Self) -> bool { in eq()
139 fn eq(&self, other: &Self) -> bool { in eq()
[all …]
/third_party/rust/crates/is-terminal/src/
Dlib.rs51 fn is_terminal(&self) -> bool; in is_terminal()
57 fn is_terminal(&self) -> bool { in is_terminal()
80 fn _is_terminal(stream: BorrowedHandle<'_>) -> bool { in _is_terminal()
123 unsafe fn console_on_any(fds: &[STD_HANDLE]) -> bool { in console_on_any()
138 unsafe fn msys_tty_on(handle: HANDLE) -> bool { in msys_tty_on()
182 fn is_terminal(&self) -> bool { in is_terminal()
190 fn is_terminal(&self) -> bool { in is_terminal()
198 fn is_terminal(&self) -> bool { in is_terminal()
206 fn is_terminal(&self) -> bool { in is_terminal()
214 fn is_terminal(&self) -> bool { in is_terminal()
[all …]
/third_party/rust/crates/clap/tests/builder/
Dpropagate_globals.rs39 fn top_can_access_arg<T: Into<Option<&'static str>>>(m: &ArgMatches, val: T) -> bool { in top_can_access_arg()
43 fn inner_can_access_arg<T: Into<Option<&'static str>>>(m: &ArgMatches, val: T) -> bool { in inner_can_access_arg()
50 fn outer_can_access_arg<T: Into<Option<&'static str>>>(m: &ArgMatches, val: T) -> bool { in outer_can_access_arg()
57 fn top_can_access_flag(m: &ArgMatches, present: bool, occurrences: u8) -> bool { in top_can_access_flag()
62 fn inner_can_access_flag(m: &ArgMatches, present: bool, occurrences: u8) -> bool { in inner_can_access_flag()
68 fn outer_can_access_flag(m: &ArgMatches, present: bool, occurrences: u8) -> bool { in outer_can_access_flag()
/third_party/mesa3d/bin/
Dcommit_in_branch_test.py34 def test_canonicalize_commit(commit: str, expected: bool) -> None:
58 def test_validate_branch(commit: str, expected: bool) -> None:
82 def test_is_commit_valid(commit: str, expected: bool) -> None:
98 def test_branch_has_commit(branch: str, commit: str, expected: bool) -> None:
114 def test_branch_has_backport_of_commit(branch: str, commit: str, expected: bool) -> None:
/third_party/rust/crates/atty/src/
Dlib.rs40 pub fn is(stream: Stream) -> bool { in is()
53 pub fn is(stream: Stream) -> bool { in is()
66 pub fn is(stream: Stream) -> bool { in is()
97 pub fn isnt(stream: Stream) -> bool { in isnt()
103 unsafe fn console_on_any(fds: &[DWORD]) -> bool { in console_on_any()
118 unsafe fn msys_tty_on(fd: DWORD) -> bool { in msys_tty_on()
158 pub fn is(_stream: Stream) -> bool { in is()
/third_party/rust/crates/bindgen/bindgen/ir/
Dannotations.rs96 pub fn hide(&self) -> bool { in hide()
101 pub fn opaque(&self) -> bool { in opaque()
137 pub fn disallow_copy(&self) -> bool { in disallow_copy()
142 pub fn disallow_debug(&self) -> bool { in disallow_debug()
147 pub fn disallow_default(&self) -> bool { in disallow_default()
152 pub fn must_use_type(&self) -> bool { in must_use_type()
157 pub fn private_fields(&self) -> Option<bool> { in private_fields()
166 fn parse(&mut self, comment: &clang::Comment, matched: &mut bool) { in parse()
208 pub fn constify_enum_variant(&self) -> bool { in constify_enum_variant()
Dderive.rs24 fn can_derive_debug(&self, ctx: &BindgenContext) -> bool; in can_derive_debug()
32 fn can_derive_copy(&self, ctx: &BindgenContext) -> bool; in can_derive_copy()
40 fn can_derive_default(&self, ctx: &BindgenContext) -> bool; in can_derive_default()
48 fn can_derive_hash(&self, ctx: &BindgenContext) -> bool; in can_derive_hash()
56 fn can_derive_partialeq(&self, ctx: &BindgenContext) -> bool; in can_derive_partialeq()
64 fn can_derive_partialord(&self, ctx: &BindgenContext) -> bool; in can_derive_partialord()
71 fn can_derive_eq(&self, ctx: &BindgenContext) -> bool; in can_derive_eq()
78 fn can_derive_ord(&self, ctx: &BindgenContext) -> bool; in can_derive_ord()
/third_party/rust/crates/num-traits/src/ops/
Doverflowing.rs22 fn overflowing_add(&self, v: &Self) -> (Self, bool); in overflowing_add() argument
45 fn overflowing_sub(&self, v: &Self) -> (Self, bool); in overflowing_sub() argument
68 fn overflowing_mul(&self, v: &Self) -> (Self, bool); in overflowing_mul() argument
89 fn overflowing_add<T: OverflowingAdd>(a: T, b: T) -> (T, bool) { in test_overflowing_traits() argument
92 fn overflowing_sub<T: OverflowingSub>(a: T, b: T) -> (T, bool) { in test_overflowing_traits() argument
95 fn overflowing_mul<T: OverflowingMul>(a: T, b: T) -> (T, bool) { in test_overflowing_traits() argument
/third_party/rust/crates/rustix/src/net/
Dip.rs242 pub const fn is_unspecified(&self) -> bool { in is_unspecified()
269 pub const fn is_loopback(&self) -> bool { in is_loopback()
298 pub const fn is_global(&self) -> bool { in is_global()
325 pub const fn is_multicast(&self) -> bool { in is_multicast()
357 pub const fn is_documentation(&self) -> bool { in is_documentation()
382 pub const fn is_benchmarking(&self) -> bool { in is_benchmarking()
409 pub const fn is_ipv4(&self) -> bool { in is_ipv4()
433 pub const fn is_ipv6(&self) -> bool { in is_ipv6()
576 pub const fn is_unspecified(&self) -> bool { in is_unspecified()
601 pub const fn is_loopback(&self) -> bool { in is_loopback()
[all …]
/third_party/python/Tools/peg_generator/scripts/
Dtest_parse_directory.py44 succeeded: bool,
46 verbose: bool,
48 short: bool = False,
105 def parse_directory(directory: str, verbose: bool, excluded_files: List[str], short: bool) -> int:
/third_party/rust/crates/rustix/src/backend/linux_raw/process/
Dwait.rs7 pub(crate) fn WIFSTOPPED(status: u32) -> bool { in WIFSTOPPED()
17 pub(crate) fn WIFCONTINUED(status: u32) -> bool { in WIFCONTINUED()
22 pub(crate) fn WIFSIGNALED(status: u32) -> bool { in WIFSIGNALED()
32 pub(crate) fn WIFEXITED(status: u32) -> bool { in WIFEXITED()
/third_party/jinja2/
Dparser.py195 self, end_tokens: t.Tuple[str, ...], drop_needle: bool = False
330 self, node: _ImportInclude, default: bool
457 self, with_tuple: bool = ..., name_only: "te.Literal[True]" = ...
464 with_tuple: bool = True,
465 name_only: bool = False,
467 with_namespace: bool = False,
473 with_tuple: bool = True,
474 name_only: bool = False,
476 with_namespace: bool = False,
513 def parse_expression(self, with_condexpr: bool = True) -> nodes.Expr:
[all …]
Denvironment.py302 trim_blocks: bool = TRIM_BLOCKS,
303 lstrip_blocks: bool = LSTRIP_BLOCKS,
305 keep_trailing_newline: bool = KEEP_TRAILING_NEWLINE,
307 optimized: bool = True,
310 autoescape: t.Union[bool, t.Callable[[t.Optional[str]], bool]] = False, argument
313 auto_reload: bool = True,
315 enable_async: bool = False,
394 trim_blocks: bool = missing,
395 lstrip_blocks: bool = missing,
397 keep_trailing_newline: bool = missing,
[all …]
/third_party/rust/crates/version_check/src/
Dlib.rs171 pub fn is_min_date(min_date: &str) -> Option<bool> { in is_min_date()
187 pub fn is_max_date(max_date: &str) -> Option<bool> { in is_max_date()
203 pub fn is_exact_date(date: &str) -> Option<bool> { in is_exact_date()
219 pub fn is_min_version(min_version: &str) -> Option<bool> { in is_min_version()
235 pub fn is_max_version(max_version: &str) -> Option<bool> { in is_max_version()
250 pub fn is_exact_version(version: &str) -> Option<bool> { in is_exact_version()
289 pub fn supports_feature(feature: &str) -> Option<bool> { in supports_feature()
433 fn read_static(verbose: bool, channel: &str, minor: usize) -> String { in read_static()
Dchannel.rs101 pub fn supports_features(&self) -> bool { in supports_features()
121 pub fn is_dev(&self) -> bool { in is_dev()
141 pub fn is_nightly(&self) -> bool { in is_nightly()
161 pub fn is_beta(&self) -> bool { in is_beta()
181 pub fn is_stable(&self) -> bool { in is_stable()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Donly_bitfields.rs24 pub fn get_bit(&self, index: usize) -> bool { in get_bit()
37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit()
115 pub fn a(&self) -> bool { in a()
121 pub fn set_a(&mut self, val: bool) { in set_a()
128 pub fn b(&self) -> bool { in b()
134 pub fn set_b(&mut self, val: bool) { in set_b()
142 a: bool, in new_bitfield_1()
143 b: bool, in new_bitfield_1()
Dderive-partialeq-bitfield.rs24 pub fn get_bit(&self, index: usize) -> bool { in get_bit()
37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit()
139 fn eq(&self, other: &C) -> bool { in eq()
147 pub fn a(&self) -> bool { in a()
153 pub fn set_a(&mut self, val: bool) { in set_a()
160 pub fn b(&self) -> bool { in b()
166 pub fn set_b(&mut self, val: bool) { in set_b()
174 a: bool, in new_bitfield_1()
175 b: bool, in new_bitfield_1()
Dderive-debug-bitfield.rs24 pub fn get_bit(&self, index: usize) -> bool { in get_bit()
37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit()
159 pub fn a(&self) -> bool { in a()
165 pub fn set_a(&mut self, val: bool) { in set_a()
172 pub fn b(&self) -> bool { in b()
178 pub fn set_b(&mut self, val: bool) { in set_b()
186 a: bool, in new_bitfield_1()
187 b: bool, in new_bitfield_1()
Dderive-debug-bitfield-core.rs26 pub fn get_bit(&self, index: usize) -> bool { in get_bit()
39 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit()
152 pub fn a(&self) -> bool { in a()
158 pub fn set_a(&mut self, val: bool) { in set_a()
165 pub fn b(&self) -> bool { in b()
171 pub fn set_b(&mut self, val: bool) { in set_b()
179 a: bool, in new_bitfield_1()
180 b: bool, in new_bitfield_1()
/third_party/rust/crates/nom/src/
Dtraits.rs159 fn is_alpha(self) -> bool; in is_alpha()
163 fn is_alphanum(self) -> bool; in is_alphanum()
165 fn is_dec_digit(self) -> bool; in is_dec_digit()
167 fn is_hex_digit(self) -> bool; in is_hex_digit()
169 fn is_oct_digit(self) -> bool; in is_oct_digit()
180 fn is_alpha(self) -> bool { in is_alpha()
184 fn is_alphanum(self) -> bool { in is_alphanum()
188 fn is_dec_digit(self) -> bool { in is_dec_digit()
192 fn is_hex_digit(self) -> bool { in is_hex_digit()
198 fn is_oct_digit(self) -> bool { in is_oct_digit()
[all …]
/third_party/rust/crates/os_str_bytes/tests/
Draw_integration.rs11 fn test(result: bool, suffix: &[u8]) { in test_ends_with()
39 fn test(result: bool, suffix: &str) { in test_empty_ends_with()
54 fn test(result: bool, prefix: &[u8]) { in test_starts_with()
82 fn test(result: bool, prefix: &str) { in test_empty_starts_with()
/third_party/rust/crates/which-rs/src/
Dchecker.rs19 fn is_valid(&self, path: &Path) -> bool { in is_valid()
26 fn is_valid(&self, _path: &Path) -> bool { in is_valid()
41 fn is_valid(&self, path: &Path) -> bool { in is_valid()
51 fn is_valid(&self, path: &Path) -> bool { in is_valid()
76 fn is_valid(&self, path: &Path) -> bool { in is_valid()

12345678910>>...38