• Home
  • Raw
  • Download

Lines Matching refs:hdrBegin

63 std::tuple<const uint8_t*, ParseClient*> handleUint(uint64_t value, const uint8_t* hdrBegin,  in handleUint()  argument
68 parseClient->item(item, hdrBegin, hdrEnd /* valueBegin */, hdrEnd /* itemEnd */)}; in handleUint()
71 std::tuple<const uint8_t*, ParseClient*> handleNint(uint64_t value, const uint8_t* hdrBegin, in handleNint() argument
75 parseClient->error(hdrBegin, "NINT values that don't fit in int64_t are not supported."); in handleNint()
76 return {hdrBegin, nullptr /* end parsing */}; in handleNint()
80 parseClient->item(item, hdrBegin, hdrEnd /* valueBegin */, hdrEnd /* itemEnd */)}; in handleNint()
83 std::tuple<const uint8_t*, ParseClient*> handleBool(uint64_t value, const uint8_t* hdrBegin, in handleBool() argument
88 parseClient->item(item, hdrBegin, hdrEnd /* valueBegin */, hdrEnd /* itemEnd */)}; in handleBool()
91 std::tuple<const uint8_t*, ParseClient*> handleNull(const uint8_t* hdrBegin, const uint8_t* hdrEnd, in handleNull() argument
95 parseClient->item(item, hdrBegin, hdrEnd /* valueBegin */, hdrEnd /* itemEnd */)}; in handleNull()
99 std::tuple<const uint8_t*, ParseClient*> handleString(uint64_t length, const uint8_t* hdrBegin, in handleString() argument
105 parseClient->error(hdrBegin, insufficientLengthString(length, end - valueBegin, errLabel)); in handleString()
106 return {hdrBegin, nullptr /* end parsing */}; in handleString()
111 parseClient->item(item, hdrBegin, valueBegin, valueBegin + length)}; in handleString()
206 std::tuple<const uint8_t*, ParseClient*> handleEntries(size_t entryCount, const uint8_t* hdrBegin, in handleEntries() argument
214 parseClient->error(hdrBegin, "Not enough entries for " + typeName + "."); in handleEntries()
215 return {hdrBegin, nullptr /* end parsing */}; in handleEntries()
218 if (!parseClient) return {hdrBegin, nullptr}; in handleEntries()
224 std::unique_ptr<Item> item, uint64_t entryCount, const uint8_t* hdrBegin, in handleCompound() argument
228 parseClient->item(item, hdrBegin, valueBegin, valueBegin /* don't know the end yet */); in handleCompound()
229 if (!parseClient) return {hdrBegin, nullptr}; in handleCompound()
233 handleEntries(entryCount, hdrBegin, valueBegin, end, typeName, emitViews, parseClient); in handleCompound()
234 if (!parseClient) return {hdrBegin, nullptr}; in handleCompound()
236 return {pos, parseClient->itemEnd(item, hdrBegin, valueBegin, pos)}; in handleCompound()