Home
last modified time | relevance | path

Searched refs:encodeCallback (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/identity/support/src/
Dcppbor.cpp80 void encodeHeader(MajorType type, uint64_t addlInfo, EncodeCallback encodeCallback) { in encodeHeader() argument
84 encodeCallback(type | static_cast<uint8_t>(addlInfo)); in encodeHeader()
87 encodeCallback(type | ONE_BYTE_LENGTH); in encodeHeader()
88 encodeCallback(static_cast<uint8_t>(addlInfo)); in encodeHeader()
91 encodeCallback(type | TWO_BYTE_LENGTH); in encodeHeader()
92 writeBigEndian(static_cast<uint16_t>(addlInfo), encodeCallback); in encodeHeader()
95 encodeCallback(type | FOUR_BYTE_LENGTH); in encodeHeader()
96 writeBigEndian(static_cast<uint32_t>(addlInfo), encodeCallback); in encodeHeader()
99 encodeCallback(type | EIGHT_BYTE_LENGTH); in encodeHeader()
100 writeBigEndian(addlInfo, encodeCallback); in encodeHeader()
[all …]
/hardware/interfaces/identity/support/include/cppbor/
Dcppbor.h86 void encodeHeader(MajorType type, uint64_t addlInfo, EncodeCallback encodeCallback);
147 virtual void encode(EncodeCallback encodeCallback) const = 0;
193 inline void encodeHeader(uint64_t addlInfo, EncodeCallback encodeCallback) const { in encodeHeader() argument
194 ::cppbor::encodeHeader(type(), addlInfo, encodeCallback); in encodeHeader()
234 void encode(EncodeCallback encodeCallback) const override { in encode() argument
235 encodeHeader(mValue, encodeCallback); in encode()
270 void encode(EncodeCallback encodeCallback) const override { in encode() argument
271 encodeHeader(addlInfo(), encodeCallback); in encode()
320 void encode(EncodeCallback encodeCallback) const override { in encode() argument
321 encodeHeader(mValue.size(), encodeCallback); in encode()
[all …]
DREADME.md128 * `void encode(EncodeCallback encodeCallback)` calls `encodeCallback`