Home
last modified time | relevance | path

Searched refs:WriteHeaders (Results 1 – 1 of 1) sorted by relevance

/system/update_engine/
Dtest_http_server.cc183 ssize_t WriteHeaders(int fd, in WriteHeaders() function
286 WriteHeaders(fd, 0, 0, kHttpResponseOk); in HandleQuit()
311 return WriteHeaders( in HandleGet()
322 return WriteHeaders(fd, 0, 0, kHttpResponseBadRequest); in HandleGet()
334 if ((ret = WriteHeaders(fd, start_offset, end_offset, request.return_code)) < in HandleGet()
422 if ((ret = WriteHeaders(fd, 0, data.size(), kHttpResponseNotFound)) < 0) in HandleError()
450 if ((ret = WriteHeaders( in HandleErrorIfOffset()
470 WriteHeaders(fd, 0, request.raw_headers.size(), kHttpResponseOk); in HandleEchoHeaders()
487 if ((ret = WriteHeaders(fd, start_offset, size, request.return_code)) < 0) in HandleDefault()