Home
last modified time | relevance | path

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

/system/update_engine/
Dtest_http_server.cc180 ssize_t WriteHeaders(int fd, const off_t start_offset, const off_t end_offset, in WriteHeaders() function
279 WriteHeaders(fd, 0, 0, kHttpResponseOk); in HandleQuit()
302 return WriteHeaders(fd, total_length, total_length, in HandleGet()
313 return WriteHeaders(fd, 0, 0, kHttpResponseBadRequest); in HandleGet()
325 if ((ret = WriteHeaders(fd, start_offset, end_offset, in HandleGet()
412 if ((ret = WriteHeaders(fd, 0, data.size(), kHttpResponseNotFound)) < 0) in HandleError()
438 if ((ret = WriteHeaders(fd, 0, data.size(), in HandleErrorIfOffset()
458 WriteHeaders(fd, 0, request.raw_headers.size(), kHttpResponseOk); in HandleEchoHeaders()
474 if ((ret = WriteHeaders(fd, start_offset, size, request.return_code)) < 0) in HandleDefault()