Lines Matching refs:WriteString
163 ssize_t WriteString(int fd, const string& str) { in WriteString() function
189 ret = WriteString(fd, in WriteHeaders()
204 ret = WriteString( in WriteHeaders()
214 ret = WriteString( in WriteHeaders()
255 ssize_t ret = WriteString(fd, partial); in WritePayload()
262 ssize_t ret = WriteString(fd, line); in WritePayload()
270 ssize_t ret = WriteString(fd, partial); in WritePayload()
407 if ((ret = WriteString(fd, "HTTP/1.1 " + Itoa(code) + " " + status + EOL)) < in HandleRedirect()
410 WriteString(fd, "Connection: close" EOL); in HandleRedirect()
411 WriteString(fd, "Location: " + url + EOL); in HandleRedirect()
428 if ((ret = WriteString(fd, data)) < 0) in HandleError()
457 if ((ret = WriteString(fd, data)) < 0) in HandleErrorIfOffset()
473 WriteString(fd, request.raw_headers); in HandleEchoHeaders()
491 WriteString( in HandleDefault()