Home
last modified time | relevance | path

Searched refs:typ (Results 1 – 4 of 4) sorted by relevance

/system/keymint/derive/src/
Dlib.rs183 let typ = &f.ty; in from_val_struct() localVariable
185 #name: <#typ>::from_cbor_value(a.remove(#index))? in from_val_struct()
210 let typ = &inner.ty; in from_val_struct() localVariable
212 Ok(Self(<#typ>::from_cbor_value(value)?)) in from_val_struct()
232 let typ = &f.ty; in from_val_struct() localVariable
235 let #varname = <#typ>::from_cbor_value(a.remove(#i))?; in from_val_struct()
343 let typ = &f.ty; in cddl_struct() localVariable
345 <#typ>::cddl_ref() in cddl_struct()
357 let typ = &inner.ty; in cddl_struct() localVariable
359 Some(<#typ>::cddl_ref()) in cddl_struct()
[all …]
/system/nfc/tools/casimir/scripts/
Drf_packets.py28 def print_val(p: str, pp: str, name: str, align: int, typ, val): argument
33 elif typ is int:
37 elif typ is bytes:
50 elif inspect.isclass(typ) and issubclass(typ, enum.IntEnum):
54 elif inspect.isclass(typ) and issubclass(typ, globals().get('Packet')):
59 elif getattr(typ, '__origin__', None) == list:
66 print_val(n_p, n_pp, f'[{idx}]', align, typ.__args__[0], val[idx])
69 elif inspect.isclass(typ):
/system/authgraph/derive/src/
Dlib.rs141 let typ = &f.ty; in from_val_struct() localVariable
143 #name: <#typ>::from_cbor_value(a.remove(#index))? in from_val_struct()
/system/keymaster/tests/
Dandroid_keymaster_messages_test.cpp992 for (int typ = 0; typ <= static_cast<int>(keymaster::SerializableType::kMaxValue); typ++) { in TEST() local
995 auto stype = static_cast<keymaster::SerializableType>(typ); in TEST()
1007 << "Serialization of " << typ << " returned a next offset beyond end+1"; in TEST()