Lines Matching refs:begin
60 std::tuple<const uint8_t*, ParseClient*> parseRecursively(const uint8_t* begin, const uint8_t* end,
239 std::tuple<const uint8_t*, ParseClient*> parseRecursively(const uint8_t* begin, const uint8_t* end, in parseRecursively() argument
241 if (begin == end) { in parseRecursively()
243 begin, in parseRecursively()
245 return {begin, nullptr}; in parseRecursively()
248 const uint8_t* pos = begin; in parseRecursively()
260 begin, in parseRecursively()
262 return {begin, nullptr}; in parseRecursively()
287 if (!success) return {begin, nullptr}; in parseRecursively()
291 return handleUint(addlData, begin, pos, parseClient); in parseRecursively()
294 return handleNint(addlData, begin, pos, parseClient); in parseRecursively()
298 … return handleString<ViewBstr>(addlData, begin, pos, end, "byte string", parseClient); in parseRecursively()
300 return handleString<Bstr>(addlData, begin, pos, end, "byte string", parseClient); in parseRecursively()
305 … return handleString<ViewTstr>(addlData, begin, pos, end, "text string", parseClient); in parseRecursively()
307 return handleString<Tstr>(addlData, begin, pos, end, "text string", parseClient); in parseRecursively()
311 return handleCompound(std::make_unique<IncompleteArray>(addlData), addlData, begin, pos, in parseRecursively()
315 return handleCompound(std::make_unique<IncompleteMap>(addlData), addlData * 2, begin, in parseRecursively()
319 return handleCompound(std::make_unique<IncompleteSemanticTag>(addlData), 1, begin, pos, in parseRecursively()
326 return handleBool(addlData, begin, pos, parseClient); in parseRecursively()
328 return handleNull(begin, pos, parseClient); in parseRecursively()
330 parseClient->error(begin, "Unsupported floating-point or simple value."); in parseRecursively()
331 return {begin, nullptr}; in parseRecursively()
404 void parse(const uint8_t* begin, const uint8_t* end, ParseClient* parseClient) { in parse() argument
405 parseRecursively(begin, end, false, parseClient); in parse()
410 parse(const uint8_t* begin, const uint8_t* end) { in parse() argument
412 parse(begin, end, &parseClient); in parse()
416 void parseWithViews(const uint8_t* begin, const uint8_t* end, ParseClient* parseClient) { in parseWithViews() argument
417 parseRecursively(begin, end, true, parseClient); in parseWithViews()
422 parseWithViews(const uint8_t* begin, const uint8_t* end) { in parseWithViews() argument
424 parseWithViews(begin, end, &parseClient); in parseWithViews()