Searched refs:encodeHeader (Results  1 – 3 of 3) sorted by relevance
| /system/libcppbor/src/ | 
| D | cppbor.cpp | 268 uint8_t* encodeHeader(MajorType type, uint64_t addlInfo, uint8_t* pos, const uint8_t* end) {  in encodeHeader()  function294 void encodeHeader(MajorType type, uint64_t addlInfo, EncodeCallback encodeCallback) {  in encodeHeader()  function
 382     pos = encodeHeader(mValue.size(), pos, end);  in encode()
 394     pos = encodeHeader(mView.size(), pos, end);  in encode()
 406     pos = encodeHeader(mValue.size(), pos, end);  in encode()
 418     pos = encodeHeader(mView.size(), pos, end);  in encode()
 438     pos = encodeHeader(size(), pos, end);  in encode()
 448     encodeHeader(size(), encodeCallback);  in encode()
 472     pos = encodeHeader(size(), pos, end);  in encode()
 484     encodeHeader(size(), encodeCallback);  in encode()
 [all …]
 
 | 
| /system/libcppbor/include/cppbor/ | 
| D | cppbor.h | 97 uint8_t* encodeHeader(MajorType type, uint64_t addlInfo, uint8_t* pos, const uint8_t* end);105 void encodeHeader(MajorType type, uint64_t addlInfo, EncodeCallback encodeCallback);
 115 void encodeHeader(MajorType type, uint64_t addlInfo, OutputIterator iter) {  in encodeHeader()  function
 116     return encodeHeader(type, addlInfo, [&](uint8_t v) { *iter++ = v; });  in encodeHeader()
 255     inline uint8_t* encodeHeader(uint64_t addlInfo, uint8_t* pos, const uint8_t* end) const {  in encodeHeader()  function
 256         return ::cppbor::encodeHeader(type(), addlInfo, pos, end);  in encodeHeader()
 262     inline void encodeHeader(uint64_t addlInfo, EncodeCallback encodeCallback) const {  in encodeHeader()  function
 263         ::cppbor::encodeHeader(type(), addlInfo, encodeCallback);  in encodeHeader()
 333         return encodeHeader(mValue, pos, end);  in encode()
 336         encodeHeader(mValue, encodeCallback);  in encode()
 [all …]
 
 | 
| /system/libcppbor/ | 
| 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);
 
 |