/system/nvram/messages/include/nvram/messages/ |
D | proto.hpp | 135 return Codec::Encode(value, writer); in EncodeField() 153 static bool Encode(const Blob& blob, ProtoWriter* writer) { in Encode() function 189 static bool Encode(const Type& value, ProtoWriter* writer) { in Encode() function 209 static bool Encode(const Vector<ElementType>& vector, ProtoWriter* writer) { in Encode() function 230 static bool Encode(const Optional<ValueType>& value, ProtoWriter* writer) { in Encode() function 317 static bool Encode(const TaggedUnionType& object, ProtoWriter* writer) { in Encode() function 395 static bool Encode(const StructType& object, ProtoWriter* writer) { in Encode() function in nvram::proto::detail::__anon7e2b92890211::MessageEncoder 396 return MessageEncoderBase::Encode( in Encode() 436 static bool Encode(const StructType& object, ProtoWriter* writer) { in Encode() function 437 return MessageEncoder<StructType>::Encode(object, writer); in Encode() [all …]
|
D | message_codec.h | 72 static bool Encode(const void* object, 82 bool Encode(ProtoWriter* writer);
|
D | nvram_messages.h | 184 bool Encode(const Message& msg, Blob* blob); 189 bool Encode(const Message& msg, void* buffer, size_t* size);
|
/system/nvram/messages/ |
D | nvram_messages.cpp | 177 bool Encode(const Message& msg, Blob* blob) { in Encode() function 179 return nvram::proto::Encode(msg, &stream) && stream.Truncate(); in Encode() 183 bool Encode(const Message& msg, void* buffer, size_t* size) { in Encode() function 185 if (!nvram::proto::Encode(msg, &stream)) { in Encode() 199 template NVRAM_EXPORT bool Encode<Request>(const Request&, Blob*); 200 template NVRAM_EXPORT bool Encode<Request>(const Request&, void*, size_t*); 203 template NVRAM_EXPORT bool Encode<Response>(const Response&, Blob*); 204 template NVRAM_EXPORT bool Encode<Response>(const Response&, void*, size_t*);
|
D | message_codec.cpp | 29 bool MessageEncoderBase::Encode(const void* object, in Encode() function in nvram::proto::MessageEncoderBase 34 return encoder.Encode(writer); in Encode() 43 bool MessageEncoderBase::Encode(ProtoWriter* writer) { in Encode() function in nvram::proto::MessageEncoderBase
|
/system/core/libcrypto_utils/tests/ |
D | android_pubkey_test.cpp | 125 TEST_F(AndroidPubkeyTest, Encode) { in TEST_F() argument
|
/system/keymint/ta/src/ |
D | cert.rs | 12 use der::{Decode, Encode, ErrorKind, Length}; 179 pub(crate) fn asn1_der_encode<T: Encode>(obj: &T) -> Result<Vec<u8>, Error> { in asn1_der_encode() 1004 F: FnOnce(&[&dyn Encode]) -> der::Result<T>, in fields() 1006 let mut contents = Vec::<Box<dyn Encode>>::new(); in fields() 1069 let ref_contents: Vec<&dyn Encode> = contents.iter().map(|v| v.as_ref()).collect(); in fields() 1074 struct ExplicitTaggedValue<T: Encode> { 1079 impl<T: Encode> ExplicitTaggedValue<T> { 1113 impl<T: Encode> Encode for ExplicitTaggedValue<T> { 1267 let tests: Vec<(Box<dyn Encode>, &'static str)> = vec![ in test_explicit_tagged_value()
|
D | tests.rs | 5 use der::{Decode, Encode};
|
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/ |
D | filter_extension.h | 88 static bool Encode(
|
D | filter_extension.cc | 160 bool FilterExtension::Encode( in Encode() function in nearby::FilterExtension
|
D | app_manager.cc | 509 if (!FilterExtension::Encode(reports, in SendFilterExtensionResultToHost()
|
/system/nvram/hal/ |
D | testing_nvram_implementation.cpp | 101 if (!nvram::Encode(request, command_buffer_, &request_size)) { in SendRequest()
|
D | fake_nvram.cpp | 137 if (!nvram::Encode(response, command_buffer, &response_size)) { in ProcessCommand()
|
/system/nvram/core/ |
D | persistence.cpp | 50 if (!proto::detail::MessageEncoder<Object>::Encode(object, &writer) || in EncodeObject()
|
/system/keymint/common/src/crypto/ |
D | rsa.rs | 6 use der::{Decode, Encode};
|
/system/nvram/messages/tests/ |
D | nvram_messages_test.cpp | 31 ASSERT_TRUE(Encode(in, &blob)); in EncodeAndDecode()
|
/system/keymint/tests/src/ |
D | lib.rs | 12 use x509_cert::der::{Decode, Encode};
|
/system/extras/simpleperf/testdata/ |
D | perf_display_bitmaps.header.perf-script | 15398 74a2e6eb80 art::StackMapStream::Encode() (/apex/com.android.runtime/lib64/libart-compiler.so)
|
D | perf_display_bitmaps.perf-script | 15383 74a2e6eb80 art::StackMapStream::Encode() (/apex/com.android.runtime/lib64/libart-compiler.so)
|