Home
last modified time | relevance | path

Searched refs:Encode (Results 1 – 13 of 13) 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::__anond1a572440211::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/core/adb/
Dcompression_utils.h79 virtual EncodeResult Encode(Block* output) = 0;
113 EncodeResult Encode(Block* output) final { in Encode() function
188 EncodeResult Encode(Block* output) final { in Encode() function
309 EncodeResult Encode(Block* output) final { in Encode() function
445 EncodeResult Encode(Block* output) final { in Encode() function
/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/nvram/messages/tests/
Dnvram_messages_test.cpp31 ASSERT_TRUE(Encode(in, &blob)); in EncodeAndDecode()
/system/core/adb/daemon/
Dfile_sync_service.cpp683 EncodeResult result = encoder->Encode(&output); in recv_impl()
/system/core/adb/client/
Dfile_sync_client.cpp691 EncodeResult result = encoder->Encode(&output); in SendLargeFile()