Home
last modified time | relevance | path

Searched refs:Encode (Results 1 – 19 of 19) sorted by relevance

/system/nvram/messages/include/nvram/messages/
Dproto.hpp135 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 …]
Dmessage_codec.h72 static bool Encode(const void* object,
82 bool Encode(ProtoWriter* writer);
Dnvram_messages.h184 bool Encode(const Message& msg, Blob* blob);
189 bool Encode(const Message& msg, void* buffer, size_t* size);
/system/nvram/messages/
Dnvram_messages.cpp177 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*);
Dmessage_codec.cpp29 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/
Dandroid_pubkey_test.cpp125 TEST_F(AndroidPubkeyTest, Encode) { in TEST_F() argument
/system/keymint/ta/src/
Dcert.rs12 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()
Dtests.rs5 use der::{Decode, Encode};
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/
Dfilter_extension.h88 static bool Encode(
Dfilter_extension.cc160 bool FilterExtension::Encode( in Encode() function in nearby::FilterExtension
Dapp_manager.cc509 if (!FilterExtension::Encode(reports, in SendFilterExtensionResultToHost()
/system/nvram/hal/
Dtesting_nvram_implementation.cpp101 if (!nvram::Encode(request, command_buffer_, &request_size)) { in SendRequest()
Dfake_nvram.cpp137 if (!nvram::Encode(response, command_buffer, &response_size)) { in ProcessCommand()
/system/nvram/core/
Dpersistence.cpp50 if (!proto::detail::MessageEncoder<Object>::Encode(object, &writer) || in EncodeObject()
/system/keymint/common/src/crypto/
Drsa.rs6 use der::{Decode, Encode};
/system/nvram/messages/tests/
Dnvram_messages_test.cpp31 ASSERT_TRUE(Encode(in, &blob)); in EncodeAndDecode()
/system/keymint/tests/src/
Dlib.rs12 use x509_cert::der::{Decode, Encode};
/system/extras/simpleperf/testdata/
Dperf_display_bitmaps.header.perf-script15398 74a2e6eb80 art::StackMapStream::Encode() (/apex/com.android.runtime/lib64/libart-compiler.so)
Dperf_display_bitmaps.perf-script15383 74a2e6eb80 art::StackMapStream::Encode() (/apex/com.android.runtime/lib64/libart-compiler.so)