| /linux/rust/syn/ |
| H A D | meta.rs | 136 if input.is_empty() { in parser() 394 if input.is_empty() { in parse_nested_meta() 398 if input.is_empty() { in parse_nested_meta() 413 } else if input.is_empty() { in parse_meta_path()
|
| H A D | pat.rs | 504 while !content.is_empty() { in pat_tuple_struct() 507 if content.is_empty() { in pat_tuple_struct() 529 while !content.is_empty() { in pat_struct() 541 if content.is_empty() { in pat_struct() 650 while !content.is_empty() { in pat_paren_or_tuple() 652 if content.is_empty() { in pat_paren_or_tuple() 653 if elems.is_empty() && !matches!(value, Pat::Rest(_)) { in pat_paren_or_tuple() 729 if input.is_empty() in pat_range_bound() 766 while !content.is_empty() { in pat_slice() 782 if content.is_empty() { in pat_slice()
|
| H A D | generics.rs | 861 if path.segments.last().unwrap().arguments.is_empty() in do_parse() 943 if input.is_empty() in parse() 987 if input.is_empty() in parse() 1015 if input.is_empty() in parse() 1164 if self.params.is_empty() { in to_tokens() 1198 if self.0.params.is_empty() { in to_tokens() 1227 if !param.bounds.is_empty() { in to_tokens() 1250 if self.0.params.is_empty() { in to_tokens() 1295 if !self.0.params.is_empty() { in to_tokens() 1317 if !self.bounds.is_empty() { in to_tokens() [all …]
|
| H A D | fixup.rs | 400 … && matches!(expr, Expr::Block(expr) if expr.attrs.is_empty() && expr.label.is_none())) in parenthesize() 515 Expr::Assign(e) if e.attrs.is_empty() => { in scan_right() 541 Expr::Binary(e) if e.attrs.is_empty() => { in scan_right() 617 Expr::Range(e) if e.attrs.is_empty() => match &e.end { in scan_right() 690 … || matches!(&*e.body, Expr::Block(body) if body.attrs.is_empty() && body.label.is_none()) in scan_right()
|
| H A D | restriction.rs | 80 if group.content.is_empty() { in parse() 113 if content.is_empty() { in parse_pub()
|
| H A D | ty.rs | 384 if content.is_empty() { in ambig_ty() 429 while !content.is_empty() { in ambig_ty() 431 if content.is_empty() { in ambig_ty() 690 while !args.is_empty() { in parse() 703 let allow_self = inputs.is_empty(); in parse() 706 if args.is_empty() { in parse() 746 if content.is_empty() { in parse() 760 while !content.is_empty() { in parse() 762 if content.is_empty() { in parse()
|
| H A D | data.rs | 102 pub fn is_empty(&self) -> bool { in is_empty() method 105 Fields::Named(f) => f.named.is_empty(), in is_empty() 106 Fields::Unnamed(f) => f.unnamed.is_empty(), in is_empty()
|
| H A D | expr.rs | 1604 } else if !attrs.is_empty() { in trailer_expr() 1911 } else if input.is_empty() { in atom_expr() 1918 if content.parse::<Expr>().is_ok() && content.is_empty() { in atom_expr() 2008 if content.is_empty() { in paren_or_tuple() 2017 if content.is_empty() { in paren_or_tuple() 2027 while !content.is_empty() { in paren_or_tuple() 2030 if content.is_empty() { in paren_or_tuple() 2047 if content.is_empty() { in array_or_repeat() 2056 if content.is_empty() || content.peek(Token![,]) { in array_or_repeat() 2059 while !content.is_empty() { in array_or_repeat() [all …]
|
| H A D | bigint.rs | 26 if repr.is_empty() { in to_string()
|
| H A D | whitespace.rs | 4 'skip: while !s.is_empty() { in skip()
|
| H A D | file.rs | 103 while !input.is_empty() { in parse()
|
| /linux/drivers/staging/greybus/ |
| H A D | audio_manager.c | 89 int is_empty; in gb_audio_manager_remove_all() local 99 is_empty = list_empty(&modules_list); in gb_audio_manager_remove_all() 103 if (!is_empty) in gb_audio_manager_remove_all()
|
| /linux/drivers/tty/serial/ |
| H A D | sifive.c | 377 static char __ssp_receive_char(struct sifive_serial_port *ssp, char *is_empty) in __ssp_receive_char() argument 384 if (!is_empty) in __ssp_receive_char() 387 *is_empty = (v & SIFIVE_SERIAL_RXDATA_EMPTY_MASK) >> in __ssp_receive_char() 407 char is_empty; in __ssp_receive_chars() local 412 ch = __ssp_receive_char(ssp, &is_empty); in __ssp_receive_chars() 413 if (is_empty) in __ssp_receive_chars() 716 char is_empty, ch; in sifive_serial_poll_get_char() local 718 ch = __ssp_receive_char(ssp, &is_empty); in sifive_serial_poll_get_char() 719 if (is_empty) in sifive_serial_poll_get_char()
|
| /linux/rust/macros/ |
| H A D | fmt.rs | 40 if !name.is_empty() && !name.chars().all(|c| c.is_ascii_digit()) { in fmt() 54 if !current.is_empty() { in fmt()
|
| H A D | pinned_drop.rs | |
| /linux/security/landlock/ |
| H A D | ruleset.c | 652 bool is_empty; in landlock_unmask_layers() local 658 is_empty = true; in landlock_unmask_layers() 662 is_empty = is_empty && !(*layer_masks)[access_bit]; in landlock_unmask_layers() 664 if (is_empty) in landlock_unmask_layers()
|
| /linux/rust/kernel/ |
| H A D | list.rs | 476 pub fn is_empty(&self) -> bool { in is_empty() method 554 if self.is_empty() { in pop_back() 566 if self.is_empty() { in pop_front() 695 if self.is_empty() { in push_all_back() 698 } else if !other.is_empty() { in push_all_back()
|
| H A D | uaccess.rs | 249 pub fn is_empty(&self) -> bool { in is_empty() method 391 if buf.is_empty() { in strcpy_into_buf() 458 pub fn is_empty(&self) -> bool { in is_empty() method
|
| /linux/rust/proc-macro2/ |
| H A D | rcvec.rs | 27 pub(crate) fn is_empty(&self) -> bool { in is_empty() method 28 self.inner.is_empty() in is_empty()
|
| H A D | wrapper.rs | 68 fn is_empty(&self) -> bool { in is_empty() method 69 self.stream.is_empty() && self.extra.is_empty() in is_empty() 76 if !self.extra.is_empty() { in evaluate_now() 108 pub(crate) fn is_empty(&self) -> bool { in is_empty() method 110 TokenStream::Compiler(tts) => tts.is_empty(), in is_empty() 111 TokenStream::Fallback(tts) => tts.is_empty(), in is_empty()
|
| /linux/fs/ubifs/ |
| H A D | recovery.c | 50 static int is_empty(void *buf, int len) in is_empty() function 161 if (!is_empty(buf, min_t(int, len, sz))) { in get_master_node() 171 if (!is_empty(buf, len)) in get_master_node() 414 return is_empty(p, check_len); in is_last_write() 466 if (is_empty(buf + skip, len - skip)) in no_more_nodes() 479 if (is_empty(buf + skip, len - skip)) in no_more_nodes() 685 } else if (!is_empty(buf, len)) { in ubifs_recover_leb() 924 if (err || !is_empty(sbuf, len)) { in recover_head()
|
| /linux/tools/testing/selftests/net/tcp_ao/ |
| H A D | rst.c | 213 bool is_empty = true; in test_wait_fds() local 228 is_empty = false; in test_wait_fds() 230 if (is_empty) in test_wait_fds()
|
| /linux/drivers/edac/ |
| H A D | bluefield_edac.c | 296 int is_empty = 1, i; in bluefield_edac_init_dimms() local 309 is_empty = 0; in bluefield_edac_init_dimms() 346 if (is_empty) in bluefield_edac_init_dimms()
|
| /linux/kernel/cgroup/ |
| H A D | cpuset-v1.c | 289 bool is_empty; in cpuset1_hotplug_update_tasks() local 307 is_empty = cpumask_empty(cs->cpus_allowed) || in cpuset1_hotplug_update_tasks() 315 if (is_empty && cs->css.cgroup->nr_populated_csets && in cpuset1_hotplug_update_tasks()
|
| /linux/rust/pin-init/internal/src/ |
| H A D | pinned_drop.rs | 10 assert!(!toks.is_empty()); in pinned_drop()
|