Home
last modified time | relevance | path

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

12345678910>>...37

/third_party/python/Tools/peg_generator/pegen/
Dbuild.py33 verbose: bool = False,
34 keep_asserts: bool = True,
35 disable_optimization: bool = False,
169 grammar_file: str, verbose_tokenizer: bool = False, verbose_parser: bool = False
216 compile_extension: bool = False,
217 verbose_c_extension: bool = False,
218 keep_asserts_in_extension: bool = True,
219 skip_actions: bool = False,
244 skip_actions: bool = False,
256 compile_extension: bool = False,
[all …]
/third_party/rust/crates/syn/tests/common/
Deq.rs169 fn eq(&self, other: &Self) -> bool; in eq()
173 fn eq(&self, other: &Self) -> bool { in eq()
179 fn eq(&self, other: &Self) -> bool { in eq()
185 fn eq(&self, other: &Self) -> bool { in eq()
191 fn eq(&self, other: &Self) -> bool { in eq()
201 fn eq(&self, other: &Self) -> bool { in eq()
211 fn eq(&self, other: &Self) -> bool { in eq()
217 fn eq(&self, other: &Self) -> bool { in eq()
223 fn eq(&self, other: &Self) -> bool { in eq()
233 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()
55 fn eq(&self, other: &Self) -> bool { in eq()
66 fn eq(&self, other: &Self) -> bool { in eq()
80 fn eq(&self, other: &Self) -> bool { in eq()
90 fn eq(&self, other: &Self) -> bool { in eq()
100 fn eq(&self, other: &Self) -> bool { in eq()
110 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/mindspore/mindspore-src/source/tests/st/scipy_st/
Dtest_ops.py38 def __init__(self, lower: bool = False, unit_diagonal: bool = False, trans: str = 'N'):
86 def test_batch_cholesky(shape, lower: bool, data_type):
305 def test_solve_triangular_2d(n: int, dtype, lower: bool, unit_diagonal: bool, trans: str):
329 def test_solve_triangular_1d(n: int, dtype, lower: bool, unit_diagonal: bool, trans: str):
353 def test_solve_triangular_matrix(shape: int, dtype, lower: bool, unit_diagonal: bool, trans: str):
388 def test_solve_triangular_batched(n: int, batch, dtype, lower: bool, unit_diagonal: bool, trans: st…
/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/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/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/mindspore/mindspore-src/source/mindspore/python/mindspore/hypercomplex/double/
Ddouble_operators.py238 has_bias: bool = False,
242 has_diagonal_form: bool = False) -> None:
434 has_bias: bool = False,
437 has_diagonal_form: bool = False) -> None:
667 has_bias: bool = False,
671 has_diagonal_form: bool = False) -> None:
816 affine: bool = True,
821 use_batch_statistics: bool = True,
822 has_diagonal_form: bool = False) -> None:
964 affine: bool = True,
[all …]
/third_party/rust/crates/version_check/src/
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()
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()
/third_party/jinja2/
Dparser.py195 self, end_tokens: t.Tuple[str, ...], drop_needle: bool = False
332 self, node: _ImportInclude, default: bool
459 self, with_tuple: bool = ..., name_only: "te.Literal[True]" = ...
466 with_tuple: bool = True,
467 name_only: bool = False,
469 with_namespace: bool = False,
475 with_tuple: bool = True,
476 name_only: bool = False,
478 with_namespace: bool = False,
515 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/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()
/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/mindspore/mindspore-src/source/tests/st/networks/models/fasterrcnn/src/backbone/
Ddet_resnet.py280 def det_resnet18(pretrained: bool = True, in_channels=3, **kwargs):
295 def det_resnet34(pretrained: bool = True, in_channels=3, **kwargs):
310 def det_resnet50(pretrained: bool = True, in_channels=3, **kwargs):
325 def det_resnet101(pretrained: bool = True, in_channels=3, **kwargs):
340 def det_resnet152(pretrained: bool = True, in_channels=3, **kwargs):
355 def det_resnext50_32x4d(pretrained: bool = True, in_channels=3, **kwargs):
370 def det_resnext101_32x4d(pretrained: bool = True, in_channels=3, **kwargs):
385 def det_resnext101_64x4d(pretrained: bool = True, in_channels=3, **kwargs):
400 def det_resnext152_64x4d(pretrained: bool = True, in_channels=3, **kwargs):
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/hypercomplex/complex/
Dcomplex_operators.py231 has_bias: bool = False,
235 use_karatsuba: bool = False) -> None:
423 has_bias: bool = False,
426 use_karatsuba: bool = False) -> None:
650 has_bias: bool = False,
654 use_karatsuba: bool = False) -> None:
774 affine: bool = True,
779 use_batch_statistics: bool = True) -> None:
884 affine: bool = True,
889 use_batch_statistics: bool = True,
[all …]
/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 …]

12345678910>>...37