Home
last modified time | relevance | path

Searched refs:ident (Results 1 – 14 of 14) sorted by relevance

/system/security/keystore2/src/
Dkey_parameter.rs270 ($enum_name:ident; $($vname:ident$(($vtype:ty))? $tag_name:ident),*) => {
306 $enum_vis:vis enum $enum_name:ident {
307 $($(#[$emeta:meta])* $vname:ident$(($vtype:ty))?),* $(,)?
338 $enum_name:ident,
340 [$vname:ident($vtype:ty) $tag_name:ident, $($in:tt)*]
348 $enum_name:ident,
350 [$vname:ident $tag_name:ident, $($in:tt)*]
356 (@replace_type_spec $enum_name:ident, [$($out:tt)*], []) => {
365 ($enum_name:ident; $($vname:ident$(($vtype:ty))? $tag_name:ident),*) => {
388 $enum_name:ident,
[all …]
Dpermission.rs95 ($(#[$m:meta])* $name:ident from $aidl_name:ident with default ($($def:tt)*)
108 (@replace_use $($m:meta)*, $name:ident, $aidl_name:ident, ($($def:tt)*), [$($out:tt)*], ) => {
115 (@replace_use $($m:meta)*, $name:ident, $aidl_name:ident, ($($def:tt)*), [$($out:tt)*],
116 $e_name:ident, selinux name: use; $($element:tt)*)
125 (@replace_use $($m:meta)*, $name:ident, $aidl_name:ident, ($($def:tt)*), [$($out:tt)*],
126 $e_name:ident, selinux name: $e_str:ident; $($element:tt)*)
132 (@end $($m:meta)*, $name:ident, $aidl_name:ident,
133 ($def_name:ident, $def_selinux_name:ident) {
134 $($element_name:ident, $element_identifier:ident,
135 $selinux_name:ident;)*
[all …]
/system/bt/gd/rust/gddi/macros/
Dlib.rs19 let ident = function.sig.ident.clone(); in provides() localVariable
20 let injected_ident = format_ident!("__gddi_{}_injected", ident); in provides()
41 Box::new(#ident(#(#local_var_idents_for_call),*).await) as Box<dyn std::any::Any> in provides()
62 ident: Ident, field
108 let ident = input.parse()?; in parse() localVariable
109 Ok(ProviderDef { ty, ident, parts }) in parse()
141 providers.clone().map(|p| format_ident!("__gddi_{}_injected", p.ident.clone())); in module()
171 let ident = input.ident; in derive_nop_stop() localVariable
173 impl gddi::Stoppable for #ident {} in derive_nop_stop()
182 let struct_ident = struct_.ident.clone(); in part_out()
[all …]
/system/security/keystore2/src/database/
Dutils.rs148 (@gen_consts {} {$($n:ident $nid:tt,)*} {$($count:tt)*}) => {
156 (@gen_consts {$first:ident $(,$tail:ident)*} {$($out:tt)*} {$($count:tt)*}) => {
161 $nvis:vis struct $name:ident;
163 $evis:vis enum $entry:ident {
164 $($(#[$imeta:meta])* $vname:ident($t:ty) with accessor $func:ident),* $(,)?
/system/bt/gd/rust/linux/dbus_projection/dbus_macros/src/
Dlib.rs79 let method_name = method.sig.ident; in generate_dbus_exporter()
91 let ident = pat_ident.ident.clone(); in generate_dbus_exporter() localVariable
92 let mut dbus_input_ident = ident.to_string(); in generate_dbus_exporter()
95 let ident_string = ident.to_string(); in generate_dbus_exporter()
102 #method_args #ident, in generate_dbus_exporter()
116 let #ident = <#arg_type as DBusArg>::from_dbus( in generate_dbus_exporter()
123 if let Result::Err(e) = #ident { in generate_dbus_exporter()
129 let #ident = #ident.unwrap(); in generate_dbus_exporter()
227 if let Expr::Path(p) = &args[0] { p.path.get_ident().unwrap().clone() } else { ast.ident }; in dbus_propmap()
236 let field_ident = field.ident; in dbus_propmap()
[all …]
/system/bt/gd/rust/shim/src/
Dcontroller.rs19 ($($id:ident),*) => {
63 ($($id:ident),*) => {
93 ($($id:ident => $opcode:path),*) => {
112 ($($id:ident : $type:ty),*) => {
/system/bt/gd/rust/common/src/
Dinit_flags.rs6 (flags: { $($flag:ident),* }, dependencies: { $($parent:ident => $child:ident),* }) => {
/system/vold/bench/
Dbenchgen.py47 def __init__(self, name, ident): argument
49 self.ident = ident
199 % (handle, f.ident, e.args[2], create_mode)
319 print >>bench, 'res |= CreateFile("file%s", %d);' % (f.ident, f.size)
330 print >>bench, 'res |= unlink("file%s");' % (f.ident)
/system/tools/aidl/tests/rust/
Dtest_service.rs80 ($repeat_name:ident, $type:ty) => {
88 ($reverse_name:ident, $type:ty) => {
102 ($repeat_name:ident, $reverse_name:ident, $type:ty) => {
109 ($repeat_nullable_name:ident, $type:ty) => {
Dtest_client.rs112 ($test:ident, $func:ident, $value:expr) => {
169 ($test:ident, $func:ident, $array:expr) => {
362 ($test:ident, $func:ident, $value:expr) => {
443 ($service:expr, $func:ident, $expect_repeated:expr) => {{
452 ($service:expr, $func:ident, $array:expr) => {{
/system/bt/gd/rust/linux/stack/btif_macros/src/
Dlib.rs82 let attr_name = i.ident; in btif_callbacks_generator()
87 let method_ident = m.sig.ident; in btif_callbacks_generator()
/system/bt/gd/rust/hci/src/
Dcontroller.rs28 ($hci:ident.send($builder:expr)) => {{
237 ($($id:ident => $page:literal : $bit:literal),*) => {
288 ($($id:ident => $bit:literal),*) => {
/system/security/keystore2/selinux/src/
Dlib.rs393 ($perm:ident, $privileged:expr) => {
396 ($perm:ident, $privileged:expr, $p_str:expr) => {
448 ($perm:ident) => {
/system/bt/gd/cert/
Dlogging_client_interceptor.py24 def custom_message_formatter(m, ident, as_one_line): argument