Searched refs:cattrs (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/serde_derive/src/ |
D | de.rs | 404 fn deserialize_unit_struct(params: &Parameters, cattrs: &attr::Container) -> Fragment { in deserialize_unit_struct() 406 let type_name = cattrs.name().deserialize_name(); in deserialize_unit_struct() 409 let expecting = cattrs.expecting().unwrap_or(&expecting); in deserialize_unit_struct() 438 cattrs: &attr::Container, in deserialize_tuple() 446 assert!(!cattrs.has_flatten()); in deserialize_tuple() 467 let expecting = cattrs.expecting().unwrap_or(&expecting); in deserialize_tuple() 478 &type_path, params, fields, false, cattrs, &expecting, in deserialize_tuple() 492 let type_name = cattrs.name().deserialize_name(); in deserialize_tuple() 495 let type_name = cattrs.name().deserialize_name(); in deserialize_tuple() 539 cattrs: &attr::Container, in deserialize_tuple_in_place() [all …]
|
D | ser.rs | 223 fn serialize_unit_struct(cattrs: &attr::Container) -> Fragment { in serialize_unit_struct() 224 let type_name = cattrs.name().serialize_name(); in serialize_unit_struct() 234 cattrs: &attr::Container, in serialize_newtype_struct() 236 let type_name = cattrs.name().serialize_name(); in serialize_newtype_struct() 260 cattrs: &attr::Container, in serialize_tuple_struct() 265 let type_name = cattrs.name().serialize_name(); in serialize_tuple_struct() 296 fn serialize_struct(params: &Parameters, fields: &[Field], cattrs: &attr::Container) -> Fragment { in serialize_struct() 299 if cattrs.has_flatten() { in serialize_struct() 300 serialize_struct_as_map(params, fields, cattrs) in serialize_struct() 302 serialize_struct_as_struct(params, fields, cattrs) in serialize_struct() [all …]
|
/external/libcups/systemv/ |
D | lpstat.c | 867 static const char *cattrs[] = /* Attributes we need for classes... */ in show_classes() local 891 "requested-attributes", sizeof(cattrs) / sizeof(cattrs[0]), in show_classes() 892 NULL, cattrs); in show_classes() 1004 sizeof(cattrs) / sizeof(cattrs[0]), in show_classes() 1005 NULL, cattrs); in show_classes()
|