Home
last modified time | relevance | path

Searched refs:macro_rules (Results 1 – 25 of 557) sorted by relevance

12345678910>>...23

/external/rust/crates/tokio/src/macros/
Dcfg.rs3 macro_rules! feature {
17 macro_rules! cfg_block_on {
32 macro_rules! cfg_atomic_waker_impl {
48 macro_rules! cfg_fs {
58 macro_rules! cfg_io_blocking {
64 macro_rules! cfg_io_driver {
82 macro_rules! cfg_io_driver_impl {
95 macro_rules! cfg_not_io_driver {
108 macro_rules! cfg_io_readiness {
117 macro_rules! cfg_io_std {
[all …]
/external/rust/crates/regex/tests/
Dmacros_str.rs2 macro_rules! text { ($text:expr) => { $text } }
3 macro_rules! t { ($text:expr) => { text!($text) } }
4 macro_rules! match_text { ($text:expr) => { $text.as_str() } }
5 macro_rules! use_ { ($($path: tt)*) => { use regex::$($path)*; } }
6 macro_rules! empty_vec { () => { <Vec<&str>>::new() } }
7 macro_rules! bytes { ($text:expr) => { std::str::from_utf8($text.as_ref()).unwrap() } }
9 macro_rules! no_expand {
16 macro_rules! show { ($text:expr) => { $text } }
21 macro_rules! expand {
36 macro_rules! searcher_expr { ($e:expr) => ($e) }
[all …]
Dmacros_bytes.rs2 macro_rules! text { ($text:expr) => { $text.as_bytes() } }
3 macro_rules! t { ($re:expr) => { text!($re) } }
4 macro_rules! match_text { ($text:expr) => { $text.as_bytes() } }
5 macro_rules! use_ { ($($path: tt)*) => { use regex::bytes::$($path)*; } }
6 macro_rules! empty_vec { () => { <Vec<&[u8]>>::new() } }
7 macro_rules! bytes { ($text:expr) => { $text } }
9 macro_rules! no_expand {
16 macro_rules! show {
27 macro_rules! expand {
Dmacros.rs3 macro_rules! findall {
12 macro_rules! ismatch {
22 macro_rules! mat(
55 macro_rules! matiter(
110 macro_rules! matset {
126 macro_rules! nomatset {
140 macro_rules! split {
151 macro_rules! splitn {
Dtest_backtrack.rs6 macro_rules! regex_new {
16 macro_rules! regex {
22 macro_rules! regex_set_new {
32 macro_rules! regex_set {
Dtest_backtrack_bytes.rs4 macro_rules! regex_new {
15 macro_rules! regex {
21 macro_rules! regex_set_new {
32 macro_rules! regex_set {
/external/rust/crates/log/src/
Dmacros.rs31 macro_rules! log {
60 macro_rules! error {
84 macro_rules! warn {
110 macro_rules! info {
135 macro_rules! debug {
162 macro_rules! trace {
198 macro_rules! log_enabled {
222 macro_rules! __log_format_args {
230 macro_rules! __log_module_path {
238 macro_rules! __log_file {
[all …]
/external/rust/crates/paste/tests/
Dtest_item.rs38 macro_rules! m {
59 macro_rules! m {
81 macro_rules! m {
102 macro_rules! m {
121 macro_rules! m {
144 macro_rules! m {
169 macro_rules! doc_expr {
196 macro_rules! types {
205 macro_rules! write {
234 macro_rules! jit_reexport {
[all …]
/external/rust/crates/tokio-stream/src/
Dmacros.rs1 macro_rules! cfg_fs {
11 macro_rules! cfg_io_util {
21 macro_rules! cfg_net {
31 macro_rules! cfg_time {
41 macro_rules! cfg_sync {
51 macro_rules! cfg_signal {
61 macro_rules! ready {
/external/rust/crates/clap/src/
Dmacros.rs28 macro_rules! load_yaml {
61 macro_rules! value_t {
107 macro_rules! value_t_or_exit {
157 macro_rules! values_t {
220 macro_rules! values_t_or_exit {
264 macro_rules! _clap_count_exprs {
317 macro_rules! arg_enum {
437 macro_rules! crate_version {
466 macro_rules! crate_authors {
523 macro_rules! crate_description {
[all …]
/external/rust/crates/syn/src/
Dcustom_punctuation.rs78 macro_rules! custom_punctuation {
112 macro_rules! impl_parse_for_custom_punctuation {
138 macro_rules! impl_parse_for_custom_punctuation {
146 macro_rules! impl_to_tokens_for_custom_punctuation {
160 macro_rules! impl_to_tokens_for_custom_punctuation {
168 macro_rules! impl_clone_for_custom_punctuation {
185 macro_rules! impl_clone_for_custom_punctuation {
193 macro_rules! impl_extra_traits_for_custom_punctuation {
219 macro_rules! impl_extra_traits_for_custom_punctuation {
226 macro_rules! custom_punctuation_repr {
[all …]
Dcustom_keyword.rs90 macro_rules! custom_keyword {
126 macro_rules! impl_parse_for_custom_keyword {
166 macro_rules! impl_parse_for_custom_keyword {
174 macro_rules! impl_to_tokens_for_custom_keyword {
189 macro_rules! impl_to_tokens_for_custom_keyword {
197 macro_rules! impl_clone_for_custom_keyword {
214 macro_rules! impl_clone_for_custom_keyword {
222 macro_rules! impl_extra_traits_for_custom_keyword {
251 macro_rules! impl_extra_traits_for_custom_keyword {
Dmacros.rs1 macro_rules! ast_struct {
34 macro_rules! ast_enum {
55 macro_rules! ast_enum_of_structs {
75 macro_rules! ast_enum_of_structs_impl {
103 macro_rules! ast_enum_from_struct {
120 macro_rules! generate_to_tokens {
156 macro_rules! strip_attrs_pub {
164 macro_rules! check_keyword_matches {
/external/rust/crates/memoffset/src/
Draw_field.rs25 macro_rules! _memoffset__addr_of {
33 macro_rules! _memoffset__addr_of {
45 macro_rules! _memoffset__field_check {
57 macro_rules! _memoffset__field_check {
69 macro_rules! _memoffset__field_check_tuple {
82 macro_rules! raw_field {
104 macro_rules! raw_field_tuple {
/external/rust/crates/nix/test/common/
Dmod.rs3 #[macro_export] macro_rules! skip {
16 #[macro_export] macro_rules! require_capability {
28 #[macro_export] macro_rules! require_capability {
35 #[macro_export] macro_rules! skip_if_cirrus {
44 #[macro_export] macro_rules! skip_if_jailed {
57 #[macro_export] macro_rules! skip_if_not_root {
69 #[macro_export] macro_rules! skip_if_seccomp {
85 #[macro_export] macro_rules! skip_if_seccomp {
93 #[macro_export] macro_rules! require_kernel_version {
/external/rust/crates/clap/src/args/
Dmacros.rs2 macro_rules! yaml_tuple2 {
21 macro_rules! yaml_tuple3 {
40 macro_rules! yaml_vec_or_str {
66 macro_rules! yaml_opt_str {
80 macro_rules! yaml_str {
88 macro_rules! yaml_to_str {
95 macro_rules! yaml_to_bool {
104 macro_rules! yaml_to_u64 {
114 macro_rules! yaml_to_usize {
/external/rust/crates/libc/src/
Dmacros.rs10 macro_rules! cfg_if {
66 macro_rules! s {
91 macro_rules! s_no_extra_traits {
127 macro_rules! e {
142 macro_rules! s_paren {
186 macro_rules! f {
202 macro_rules! safe_f {
218 macro_rules! const_fn {
235 macro_rules! f {
251 macro_rules! safe_f {
[all …]
/external/rust/crates/nix/src/sys/ioctl/
Dmod.rs253 macro_rules! convert_ioctl_res {
293 macro_rules! ioctl_none {
333 macro_rules! ioctl_none_bad {
370 macro_rules! ioctl_read {
406 macro_rules! ioctl_read_bad {
443 macro_rules! ioctl_write_ptr {
479 macro_rules! ioctl_write_ptr_bad {
520 macro_rules! ioctl_write_int {
561 macro_rules! ioctl_write_int {
605 macro_rules! ioctl_write_int_bad {
[all …]
Dbsd.rs26 macro_rules! ioc {
48 macro_rules! request_code_none {
59 macro_rules! request_code_write_int {
74 macro_rules! request_code_read {
89 macro_rules! request_code_write {
100 macro_rules! request_code_readwrite {
/external/rust/crates/mio/src/
Dmacros.rs7 macro_rules! cfg_os_poll {
18 macro_rules! cfg_not_os_poll {
28 macro_rules! cfg_os_ext {
39 macro_rules! cfg_net {
51 macro_rules! cfg_io_source {
62 macro_rules! cfg_any_os_ext {
/external/rust/crates/bindgen/src/
Dlog_stubs.rs3 macro_rules! log {
13 macro_rules! error {
17 macro_rules! warn {
21 macro_rules! info {
25 macro_rules! debug {
29 macro_rules! trace {
/external/rust/crates/syn-mid/src/
Dmacros.rs1 macro_rules! ast_struct {
15 macro_rules! ast_enum {
29 macro_rules! ast_enum_of_structs {
39 macro_rules! ast_enum_of_structs_impl {
69 macro_rules! generate_to_tokens {
95 macro_rules! strip_attrs_pub {
103 macro_rules! check_keyword_matches {
/external/rust/crates/tokio-test/src/
Dmacros.rs23 macro_rules! assert_ready {
62 macro_rules! assert_ready_ok {
95 macro_rules! assert_ready_err {
128 macro_rules! assert_pending {
167 macro_rules! assert_ready_eq {
200 macro_rules! assert_ok {
243 macro_rules! assert_err {
/external/rust/crates/nom/src/number/
Dmacros.rs24 macro_rules! u16 ( ($i:expr, $e:expr) => ( {if $crate::number::Endianness::Big == $e { $crate::numb…
47 macro_rules! u32 ( ($i:expr, $e:expr) => ( {if $crate::number::Endianness::Big == $e { $crate::numb…
70 macro_rules! u64 ( ($i:expr, $e:expr) => ( {if $crate::number::Endianness::Big == $e { $crate::numb…
94 macro_rules! u128 ( ($i:expr, $e:expr) => ( {if $crate::number::Endianness::Big == $e { $crate::num…
117 macro_rules! i16 ( ($i:expr, $e:expr) => ( {if $crate::number::Endianness::Big == $e { $crate::numb…
140 macro_rules! i32 ( ($i:expr, $e:expr) => ( {if $crate::number::Endianness::Big == $e { $crate::numb…
163 macro_rules! i64 ( ($i:expr, $e:expr) => ( {if $crate::number::Endianness::Big == $e { $crate::numb…
187 macro_rules! i128 ( ($i:expr, $e:expr) => ( {if $crate::number::Endianness::Big == $e { $crate::num…
/external/rust/crates/criterion/src/
Dmacros_private.rs4 macro_rules! log_if_err {
17 macro_rules! try_else_return {
34 macro_rules! error {
41 macro_rules! info {

12345678910>>...23