Searched refs:buf2str (Results 1 – 2 of 2) sorted by relevance
33 static char* buf2str(void* buffer, size_t length) { in buf2str() function94 buf2str(beg, static_cast<size_t>(cur - beg - 1)); in handle_request_line()101 parser->http.request->path = buf2str(beg, static_cast<size_t>(cur - beg - 1)); in handle_request_line()181 hdr.key = buf2str(beg, static_cast<size_t>(cur - beg)); in add_header()188 hdr.value = buf2str( in add_header()
33 static char* buf2str(void* buffer, size_t length) { in buf2str() function107 buf2str(beg, static_cast<size_t>(cur - beg - 1)); in handle_request_line()115 parser->http.request->path = buf2str(beg, static_cast<size_t>(cur - beg - 1)); in handle_request_line()201 hdr.key = buf2str(beg, static_cast<size_t>(cur - beg)); in add_header()208 hdr.value = buf2str( in add_header()