26 for (
size_t nameFieldEndIndex = 0; nameFieldEndIndex < nameField.size();
27 nameFieldEndIndex++) {
29 const uint8_t *nameFieldBegin = nameField.data();
31 &nameFieldBegin, nameFieldBegin + nameFieldEndIndex,
32 nameField.data(), parsedQueryName.data(), parsedQueryName.size());
38 size_t outputBufferSize = 0;
39 while (outputBufferSize <= queryName.size()) {
40 std::vector<char> parsedQueryName(outputBufferSize, 0);
41 const uint8_t *nameFieldBegin = nameField.data();
43 &nameFieldBegin, nameFieldBegin + nameField.size(),
44 nameField.data(), parsedQueryName.data(), parsedQueryName.size());
51 std::vector<char> parsedQueryName(outputBufferSize, 0);
52 const uint8_t *nameFieldBegin = nameField.data();
54 &nameFieldBegin, nameFieldBegin + nameField.size(),
55 nameField.data(), parsedQueryName.data(), parsedQueryName.size());
67 std::vector<char> parsedQueryName(outputBufferSize, 0);
68 const uint8_t *nameFieldBegin = nameField.data();
70 &nameFieldBegin, nameFieldBegin + nameField.size(), nameField.data(),
71 parsedQueryName.data(), parsedQueryName.size());
ParseNameStatus parse_name(const uint8_t **inpos, const uint8_t *inend, const uint8_t *inbuf, char *buf, size_t bufsize)