Searched refs:Decode (Results 1 - 16 of 16) sorted by relevance

/system/core/libunwindstack/tests/
H A DDwarfOpTest.cpp55 ASSERT_FALSE(this->op_->Decode(DWARF_VERSION_MAX));
61 ASSERT_TRUE(this->op_->Decode(DWARF_VERSION_MAX));
113 ASSERT_FALSE(this->op_->Decode(DWARF_VERSION_MAX));
124 ASSERT_FALSE(this->op_->Decode(2));
135 ASSERT_FALSE(this->op_->Decode(3));
175 ASSERT_TRUE(this->op_->Decode(DWARF_VERSION_MAX));
176 ASSERT_TRUE(this->op_->Decode(DWARF_VERSION_MAX));
177 ASSERT_TRUE(this->op_->Decode(DWARF_VERSION_MAX));
180 ASSERT_FALSE(this->op_->Decode(DWARF_VERSION_MAX));
195 ASSERT_TRUE(this->op_->Decode(DWARF_VERSION_MA
[all...]
H A DArmExidxDecodeTest.cpp86 ASSERT_TRUE(exidx_->Decode());
99 ASSERT_TRUE(exidx_->Decode());
112 ASSERT_TRUE(exidx_->Decode());
126 ASSERT_TRUE(exidx_->Decode());
139 ASSERT_TRUE(exidx_->Decode());
152 ASSERT_TRUE(exidx_->Decode());
167 ASSERT_FALSE(exidx_->Decode());
182 ASSERT_TRUE(exidx_->Decode());
200 ASSERT_TRUE(exidx_->Decode());
233 ASSERT_TRUE(exidx_->Decode());
[all...]
/system/nvram/messages/include/nvram/messages/
H A Dproto.hpp67 // if (!nvram::proto::Decode(&employee, &stream)) {
74 // |nvram::proto::Encode()| and |nvram::proto::Decode()| templates to obtain
109 // * |static bool Decode(Type& object, ProtoReader* reader)| decodes a field
139 // noinline to prevent the compiler from inlining |Codec::Decode| for every
143 return Codec::Decode(value, reader);
157 static bool Decode(Blob& blob, ProtoReader* reader) { function in struct:nvram::proto::detail::Codec
193 static bool Decode(Type& value, ProtoReader* reader) { function in struct:nvram::proto::detail::Codec
218 static bool Decode(Vector<ElementType>& vector, ProtoReader* reader) { function in struct:nvram::proto::detail::Codec
234 static bool Decode(Optional<ValueType>& value, ProtoReader* reader) { function in struct:nvram::proto::detail::Codec
325 static bool Decode(TaggedUnionTyp function in struct:nvram::proto::detail::__anon2482::StructDescriptor::FieldDescriptorBuilder::MemberCodecLookup::Type
412 static bool Decode(StructType& object, ProtoReader* reader) { function in class:nvram::proto::detail::__anon2482::MessageDecoder
440 static bool Decode(StructType& object, ProtoReader* reader) { function in struct:nvram::proto::detail::Codec
470 bool Decode(Struct* object, InputStreamBuffer* stream) { function in namespace:nvram::proto
[all...]
H A Dmessage_codec.h110 // Convenience helper that constructs a decoder and invokes |Decode()|.
111 static bool Decode(void* object,
116 // Decode a nested protobuf message wrapped in a length-delimited protobuf
118 bool Decode(ProtoReader* reader);
120 // Decode a protobuf message from reader. This just reads the sequence of
H A Dnvram_messages.h191 // Decode |msg| from the |data| buffer, which contains |size| bytes. Returns
194 bool Decode(const uint8_t* data, size_t size, Message* msg);
/system/nvram/messages/
H A Dmessage_codec.cpp89 bool MessageDecoderBase::Decode(void* object, function in class:nvram::proto::MessageDecoderBase
94 return decoder.Decode(reader);
97 bool MessageDecoderBase::Decode(ProtoReader* reader) { function in class:nvram::proto::MessageDecoderBase
H A Dnvram_messages.cpp193 bool Decode(const uint8_t* data, size_t size, Message* msg) { function in namespace:nvram
195 return nvram::proto::Decode(msg, &stream) && stream.Done();
201 template NVRAM_EXPORT bool Decode<Request>(const uint8_t*, size_t, Request*);
205 template NVRAM_EXPORT bool Decode<Response>(const uint8_t*, size_t, Response*);
/system/core/libunwindstack/
H A DArmExidx.h59 bool Decode();
H A DDwarfOp.cpp45 if (!Decode(dwarf_version)) {
59 bool DwarfOp<AddressType>::Decode(uint8_t dwarf_version) { function in class:unwindstack::DwarfOp
H A DArmExidx.cpp649 bool ArmExidx::Decode() { function in class:unwindstack::ArmExidx
687 while (Decode());
H A DDwarfOp.h64 bool Decode(uint8_t dwarf_version);
/system/nvram/hal/
H A Dtesting_nvram_implementation.cpp120 if (!nvram::Decode(command_buffer_, static_cast<size_t>(rc), response)) {
H A Dfake_nvram.cpp129 if (!nvram::Decode(command_buffer, bytes_read, &request)) {
/system/nvram/core/
H A Dpersistence.cpp64 // |proto::detail::MessageDecoder<Object>::Decode()| takes care of reading the
72 !proto::detail::MessageDecoder<Object>::Decode(*object, &reader)) {
/system/nvram/messages/tests/
H A Dnvram_messages_test.cpp32 ASSERT_TRUE(Decode(blob.data(), blob.size(), out));
410 Decode(random_data + pos, end - pos, &request);
413 Decode(random_data + pos, end - pos, &response);
/system/core/libcrypto_utils/tests/
H A Dandroid_pubkey_test.cpp119 TEST_F(AndroidPubkeyTest, Decode) {

Completed in 302 milliseconds