Home
last modified time | relevance | path

Searched refs:derives (Results 1 – 25 of 103) sorted by relevance

12345

/third_party/rust/crates/clap/clap_derive/src/
Dlib.rs26 mod derives; module
36 derives::derive_value_enum(&input).into() in value_enum()
49 derives::derive_parser(&input).into() in parser()
57 derives::derive_subcommand(&input).into() in subcommand()
65 derives::derive_args(&input).into() in args()
/third_party/rust/crates/cxx/syntax/
Dattrs.rs33 pub derives: Option<&'a mut Vec<Derive>>, field
69 if let Some(derives) = &mut parser.derives { in parse()
70 derives.extend(attr); in parse()
214 let mut derives = Vec::new(); in parse_derive_attribute() localVariable
218 derives.push(derive); in parse_derive_attribute()
224 Ok(derives) in parse_derive_attribute()
Dparse.rs61 let mut derives = Vec::new(); in parse_struct() localVariable
71 derives: Some(&mut derives), in parse_struct()
179 derives, in parse_struct()
193 let mut derives = Vec::new(); in parse_enum() localVariable
205 derives: Some(&mut derives), in parse_enum()
268 derives, in parse_enum()
470 let mut derives = Vec::new(); in parse_extern_type() localVariable
481 derives: Some(&mut derives), in parse_extern_type()
508 derives, in parse_extern_type()
858 let mut derives = Vec::new(); in parse_type_alias() localVariable
[all …]
Dmod.rs84 pub derives: Vec<Derive>, field
99 pub derives: Vec<Derive>, field
112 pub derives: Vec<Derive>, field
152 pub derives: Vec<Derive>, field
Dderive.rs79 pub fn contains(derives: &[Derive], query: Trait) -> bool { in contains()
80 derives.iter().any(|derive| derive.what == query) in contains()
Dpod.rs16 derive::contains(&strct.derives, Trait::Copy) in is_guaranteed_pod()
Dcheck.rs328 for derive in &strct.derives { in check_api_struct()
361 for derive in &enm.derives { in check_api_enum()
373 for derive in &ety.derives { in check_api_type()
499 for derive in &alias.derives { in check_api_type_alias()
/third_party/rust/crates/bindgen/bindgen/ir/
Dannotations.rs68 derives: Vec<String>, field
132 pub fn derives(&self) -> &[String] { in derives() method
133 &self.derives in derives()
189 "derive" => self.derives.push(attr.value), in parse()
/third_party/rust/crates/bindgen/bindgen-cli/
Doptions.rs934 derives: Vec<String>, in builder_from_flags() field
950 let derives = self.derives.join(","); in builder_from_flags() localVariable
955 format!("{}={}", item, derives), in builder_from_flags()
969 return self.derives.clone(); in builder_from_flags()
982 let (regex, derives) = custom_derive in builder_from_flags()
985 let derives = derives.split(',').map(|s| s.to_owned()).collect(); in builder_from_flags() localVariable
992 derives, in builder_from_flags()
/third_party/openssl/doc/man7/
DEVP_KDF-SS.pod10 SSKDF derives a key using input such as a shared secret key (that was generated
76 This example derives 10 bytes using H(x) = SHA-256, with the secret key "secret"
101 This example derives 10 bytes using H(x) = HMAC(SHA-256), with the secret key "secret",
130 This example derives 10 bytes using H(x) = KMAC128(x,salt,outlen), with the secret key "secret"
DEVP_KDF-KB.pod10 (KBKDF). KBKDF derives a key from repeated application of a keyed MAC to an
88 This example derives 10 bytes using COUNTER-HMAC-SHA256, with KI "secret",
116 This example derives 10 bytes using FEEDBACK-CMAC-AES256, with KI "secret",
DEVP_KDF-PBKDF1.pod13 derivation function, as described in RFC 8018; it derives a key from a password
DEVP_KDF-PKCS12KDF.pod14 Personal Information Exchange Syntax); it derives a key from a password
DEVP_KDF-PBKDF2.pod13 derivation function, as described in SP800-132; it derives a key from a password
DEVP_KDF-X963.pod56 This example derives 10 bytes, with the secret key "secret" and sharedinfo
/third_party/rust/crates/cxx/macro/src/
Dderive.rs11 for derive in &strct.derives { in expand_struct()
46 for derive in &enm.derives { in expand_enum()
110 let body = if derive::contains(&strct.derives, Trait::Copy) { in struct_clone()
196 let body = if derive::contains(&strct.derives, Trait::Ord) { in struct_partial_ord()
Dexpand.rs168 let mut derives = None; in expand_struct() localVariable
169 let derived_traits = derive::expand_struct(strct, &mut derives); in expand_struct()
182 #derives in expand_struct()
203 for derive in &strct.derives { in expand_struct_operators()
219 if !derive::contains(&strct.derives, Trait::Eq) { in expand_struct_operators()
258 if !derive::contains(&strct.derives, Trait::Ord) { in expand_struct_operators()
335 let mut derives = None; in expand_enum() localVariable
336 let derived_traits = derive::expand_enum(enm, &mut derives); in expand_enum()
353 #derives in expand_enum()
838 for derive in &ety.derives { in expand_rust_type_impl()
/third_party/rust/crates/cxx/gen/src/
Dwrite.rs172 if derive::contains(&strct.derives, Trait::Hash) { in write_std_specializations()
250 let operator_eq = derive::contains(&strct.derives, Trait::PartialEq); in write_struct()
251 let operator_ord = derive::contains(&strct.derives, Trait::PartialOrd); in write_struct()
509 if derive::contains(&strct.derives, Trait::PartialEq) { in write_struct_operator_decls()
517 if !derive::contains(&strct.derives, Trait::Eq) { in write_struct_operator_decls()
527 if derive::contains(&strct.derives, Trait::PartialOrd) { in write_struct_operator_decls()
542 if !derive::contains(&strct.derives, Trait::Ord) { in write_struct_operator_decls()
559 if derive::contains(&strct.derives, Trait::Hash) { in write_struct_operator_decls()
579 if derive::contains(&strct.derives, Trait::PartialEq) { in write_struct_operators()
596 if derive::contains(&strct.derives, Trait::Eq) { in write_struct_operators()
[all …]
Dnested.rs135 derives: Vec::new(), in make_api()
/third_party/rust/crates/bindgen/bindgen/codegen/
Dmod.rs996 let derives: Vec<_> = derivable_traits.into(); in codegen() localVariable
997 attributes.push(attributes::derives(&derives)) in codegen()
2128 let mut derives: Vec<_> = derivable_traits.into(); in codegen() localVariable
2129 derives.extend(item.annotations().derives().iter().map(String::as_str)); in codegen()
2146 derives.extend(custom_derives.iter().map(|s| s.as_str())); in codegen()
2148 if !derives.is_empty() { in codegen()
2149 attributes.push(attributes::derives(&derives)) in codegen()
3130 let mut derives = derives_of_item(item, ctx, packed); in codegen() localVariable
3134 derives.insert( in codegen()
3140 let mut derives: Vec<_> = derives.into(); in codegen() localVariable
[all …]
/third_party/openssl/doc/man3/
DSSL_export_keying_material.pod31 SSL_export_keying_material() derives keying material using
34 SSL_export_keying_material_early() is only usable with TLSv1.3, and derives
/third_party/rust/crates/clap/clap_derive/
DREADME.md3 Macro implementation for clap's derives.
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
DSearchableTable.td35 // that derives from that class.
60 // derives from that class.
/third_party/rust/crates/cxx/book/src/
Dshared.md220 `Eq`, and `PartialEq`, so you're free to omit those derives on an enum.
239 The derives naturally apply to *both* the Rust data type *and* the corresponding
/third_party/rust/crates/clap/clap_derive/src/derives/
Dparser.rs25 use crate::derives::{args, into_app, subcommand};

12345