Searched refs:encodeHeader (Results 1 – 3 of 3) sorted by relevance
| /system/libcppbor/src/ |
| D | cppbor.cpp | 292 uint8_t* encodeHeader(MajorType type, uint64_t addlInfo, uint8_t* pos, const uint8_t* end) { in encodeHeader() function 318 void encodeHeader(MajorType type, uint64_t addlInfo, EncodeCallback encodeCallback) { in encodeHeader() function 414 pos = encodeHeader(mValue.size(), pos, end); in encode() 426 pos = encodeHeader(mView.size(), pos, end); in encode() 438 pos = encodeHeader(mValue.size(), pos, end); in encode() 450 pos = encodeHeader(mView.size(), pos, end); in encode() 470 pos = encodeHeader(size(), pos, end); in encode() 480 encodeHeader(size(), encodeCallback); in encode() 504 pos = encodeHeader(size(), pos, end); in encode() 516 encodeHeader(size(), encodeCallback); in encode() [all …]
|
| /system/libcppbor/include/cppbor/ |
| D | cppbor.h | 116 uint8_t* encodeHeader(MajorType type, uint64_t addlInfo, uint8_t* pos, const uint8_t* end); 124 void encodeHeader(MajorType type, uint64_t addlInfo, EncodeCallback encodeCallback); 134 void encodeHeader(MajorType type, uint64_t addlInfo, OutputIterator iter) { in encodeHeader() function 135 return encodeHeader(type, addlInfo, [&](uint8_t v) { *iter++ = v; }); in encodeHeader() 278 inline uint8_t* encodeHeader(uint64_t addlInfo, uint8_t* pos, const uint8_t* end) const { in encodeHeader() function 279 return ::cppbor::encodeHeader(type(), addlInfo, pos, end); in encodeHeader() 285 inline void encodeHeader(uint64_t addlInfo, EncodeCallback encodeCallback) const { in encodeHeader() function 286 ::cppbor::encodeHeader(type(), addlInfo, encodeCallback); in encodeHeader() 356 return encodeHeader(mValue, pos, end); in encode() 359 encodeHeader(mValue, encodeCallback); in encode() [all …]
|
| /system/libcppbor/ |
| D | README.md | 152 basic tool for intcremental generation is the `encodeHeader` 163 encodeHeader(MAP, 2 /* # of map entries */, iter); 165 encodeHeader(TSTR, s.size(), iter); 167 encodeHeader(ARRAY, 2 /* # of array entries */, iter); 170 encodeHeader(TSTR, foo.size(), iter); 173 encodeHeader(TSTR, foo.size(), iter); 175 encodeHeader(SIMPLE, TRUE, iter);
|