Searched refs:encodeHeader (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/identity/support/src/ |
D | cppbor.cpp | 54 uint8_t* encodeHeader(MajorType type, uint64_t addlInfo, uint8_t* pos, const uint8_t* end) { in encodeHeader() function 80 void encodeHeader(MajorType type, uint64_t addlInfo, EncodeCallback encodeCallback) { in encodeHeader() function 151 pos = encodeHeader(mValue.size(), pos, end); in encode() 163 pos = encodeHeader(mValue.size(), pos, end); in encode() 184 pos = encodeHeader(addlInfo(), pos, end); in encode() 194 encodeHeader(addlInfo(), encodeCallback); in encode()
|
/hardware/interfaces/identity/support/include/cppbor/ |
D | cppbor.h | 78 uint8_t* encodeHeader(MajorType type, uint64_t addlInfo, uint8_t* pos, const uint8_t* end); 86 void encodeHeader(MajorType type, uint64_t addlInfo, EncodeCallback encodeCallback); 96 void encodeHeader(MajorType type, uint64_t addlInfo, OutputIterator iter) { in encodeHeader() function 97 return encodeHeader(type, addlInfo, [&](uint8_t v) { *iter++ = v; }); in encodeHeader() 186 inline uint8_t* encodeHeader(uint64_t addlInfo, uint8_t* pos, const uint8_t* end) const { in encodeHeader() function 187 return ::cppbor::encodeHeader(type(), addlInfo, pos, end); in encodeHeader() 193 inline void encodeHeader(uint64_t addlInfo, EncodeCallback encodeCallback) const { in encodeHeader() function 194 ::cppbor::encodeHeader(type(), addlInfo, encodeCallback); in encodeHeader() 232 return encodeHeader(mValue, pos, end); in encode() 235 encodeHeader(mValue, encodeCallback); in encode() [all …]
|
D | README.md | 148 basic tool for intcremental generation is the `encodeHeader` 159 encodeHeader(MAP, 2 /* # of map entries */, iter); 161 encodeHeader(TSTR, s.size(), iter); 163 encodeHeader(ARRAY, 2 /* # of array entries */, iter); 166 encodeHeader(TSTR, foo.size(), iter); 169 encodeHeader(TSTR, foo.size(), iter); 171 encodeHeader(SIMPLE, TRUE, iter);
|
/hardware/interfaces/identity/support/tests/ |
D | cppbor_test.cpp | 870 encodeHeader(SEMANTIC, 0, iter); in TEST()
|