Home
last modified time | relevance | path

Searched refs:ParseClient (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/identity/support/include/cppbor/
Dcppbor_parse.h69 class ParseClient; variable
75 void parse(const uint8_t* begin, const uint8_t* end, ParseClient* parseClient);
81 inline void parse(const std::vector<uint8_t>& encoding, ParseClient* parseClient) { in parse()
88 class ParseClient {
90 virtual ~ParseClient() {} in ~ParseClient()
108 virtual ParseClient* item(std::unique_ptr<Item>& item, const uint8_t* hdrBegin,
122 virtual ParseClient* itemEnd(std::unique_ptr<Item>& item, const uint8_t* hdrBegin,
DREADME.md187 `ParseClient` pointer do this. They return a `ParseResult` which is a
205 StreamParsing, you must create your own subclass of `ParseClient` and
207 `ParseClient` methods docstrings for details.
209 One unusual feature of stream parsing is that the `ParseClient`
/hardware/interfaces/identity/support/src/
Dcppbor_parse.cpp39 ParseClient* parseClient) { in parseLength()
53 std::tuple<const uint8_t*, ParseClient*> parseRecursively(const uint8_t* begin, const uint8_t* end,
54 ParseClient* parseClient);
56 std::tuple<const uint8_t*, ParseClient*> handleUint(uint64_t value, const uint8_t* hdrBegin, in handleUint()
58 ParseClient* parseClient) { in handleUint()
64 std::tuple<const uint8_t*, ParseClient*> handleNint(uint64_t value, const uint8_t* hdrBegin, in handleNint()
66 ParseClient* parseClient) { in handleNint()
76 std::tuple<const uint8_t*, ParseClient*> handleBool(uint64_t value, const uint8_t* hdrBegin, in handleBool()
78 ParseClient* parseClient) { in handleBool()
84 std::tuple<const uint8_t*, ParseClient*> handleNull(const uint8_t* hdrBegin, const uint8_t* hdrEnd, in handleNull()
[all …]
/hardware/interfaces/identity/support/tests/
Dcppbor_test.cpp671 class MockParseClient : public ParseClient {
673 MOCK_METHOD4(item, ParseClient*(std::unique_ptr<Item>& item, const uint8_t* hdrBegin,
675 MOCK_METHOD4(itemEnd, ParseClient*(std::unique_ptr<Item>& item, const uint8_t* hdrBegin,