Home
last modified time | relevance | path

Searched refs:encodeHeader (Results 1 – 5 of 5) sorted by relevance

/external/libcppbor/src/
Dcppbor.cpp268 uint8_t* encodeHeader(MajorType type, uint64_t addlInfo, uint8_t* pos, const uint8_t* end) { in encodeHeader() function
294 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 …]
/external/libcppbor/include/cppbor/
Dcppbor.h83 uint8_t* encodeHeader(MajorType type, uint64_t addlInfo, uint8_t* pos, const uint8_t* end);
91 void encodeHeader(MajorType type, uint64_t addlInfo, EncodeCallback encodeCallback);
101 void encodeHeader(MajorType type, uint64_t addlInfo, OutputIterator iter) { in encodeHeader() function
102 return encodeHeader(type, addlInfo, [&](uint8_t v) { *iter++ = v; }); in encodeHeader()
236 inline uint8_t* encodeHeader(uint64_t addlInfo, uint8_t* pos, const uint8_t* end) const { in encodeHeader() function
237 return ::cppbor::encodeHeader(type(), addlInfo, pos, end); in encodeHeader()
243 inline void encodeHeader(uint64_t addlInfo, EncodeCallback encodeCallback) const { in encodeHeader() function
244 ::cppbor::encodeHeader(type(), addlInfo, encodeCallback); in encodeHeader()
314 return encodeHeader(mValue, pos, end); in encode()
317 encodeHeader(mValue, encodeCallback); in encode()
[all …]
/external/libcppbor/
DREADME.md148 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);
/external/perfetto/ui/src/controller/
Dadb_jsdomtest.ts44 expect(sendRaw).toBeCalledWith(expectedAuthMessage.encodeHeader());
Dadb.ts323 const sendPromises = [this.sendRaw(msg.encodeHeader())];
556 encodeHeader(): Uint8Array { method in AdbMsgImpl