Lines Matching refs:error
716 /* An error occurred while waiting for the event. */
975 /* Real error */
1201 DWORD* error) {
1204 if (*error != ERROR_SUCCESS) {
1213 *error = GetLastError();
1222 int y, unsigned char y_relative, DWORD* error) {
1226 if (*error != ERROR_SUCCESS) {
1232 *error = GetLastError();
1242 *error = GetLastError();
1251 static int uv__tty_reset(uv_tty_t* handle, DWORD* error) {
1257 if (*error != ERROR_SUCCESS) {
1263 *error = GetLastError();
1269 *error = GetLastError();
1276 *error = GetLastError();
1296 *error = GetLastError();
1307 *error = GetLastError();
1316 DWORD* error) {
1324 if (*error != ERROR_SUCCESS) {
1363 *error = GetLastError();
1386 *error = GetLastError();
1403 static int uv__tty_set_style(uv_tty_t* handle, DWORD* error) {
1500 *error = GetLastError();
1551 *error = GetLastError();
1560 DWORD* error) {
1563 if (*error != ERROR_SUCCESS) {
1568 *error = GetLastError();
1590 unsigned char restore_attributes, DWORD* error) {
1594 if (*error != ERROR_SUCCESS) {
1604 error) != 0) {
1612 *error = GetLastError();
1621 *error = GetLastError();
1631 DWORD* error) {
1635 *error = GetLastError();
1642 *error = GetLastError();
1649 static int uv__tty_set_cursor_shape(uv_tty_t* handle, int style, DWORD* error) {
1653 *error = GetLastError();
1666 *error = GetLastError();
1677 DWORD* error) {
1687 uv__tty_emit_text(handle, utf16_buf, utf16_buf_used, error); \
1703 /* Store the error here. If we encounter an error, stop trying to do i/o but
1705 *error = ERROR_SUCCESS;
1806 uv__tty_reset(handle, error);
1813 uv__tty_save_state(handle, 1, error);
1820 uv__tty_restore_state(handle, 1, error);
1853 uv__tty_set_cursor_shape(handle, style, error);
1951 uv__tty_set_cursor_visibility(handle, 0, error);
1960 uv__tty_set_cursor_visibility(handle, 1, error);
1974 uv__tty_move_caret(handle, 0, 1, y, 1, error);
1982 uv__tty_move_caret(handle, 0, 1, y, 1, error);
1990 uv__tty_move_caret(handle, x, 1, 0, 1, error);
1998 uv__tty_move_caret(handle, x, 1, 0, 1, error);
2006 uv__tty_move_caret(handle, 0, 0, y, 1, error);
2014 uv__tty_move_caret(handle, 0, 0, y, 1, error);
2023 uv__tty_move_caret(handle, x, 0, 0, 1, error);
2036 uv__tty_move_caret(handle, x, 0, y, 0, error);
2045 uv__tty_clear(handle, d, 1, error);
2055 uv__tty_clear(handle, d, 0, error);
2062 uv__tty_set_style(handle, error);
2068 uv__tty_save_state(handle, 0, error);
2074 uv__tty_restore_state(handle, 0, error);
2173 if (*error == STATUS_SUCCESS) {
2189 DWORD error;
2201 if (!uv__tty_write_bufs(handle, bufs, nbufs, &error)) {
2204 SET_REQ_ERROR(req, error);
2216 DWORD error;
2221 if (uv__tty_write_bufs(handle, bufs, nbufs, &error))
2222 return uv_translate_sys_error(error);