Searched refs:BC_HIST_WRITE (Results 1 – 2 of 2) sorted by relevance
/external/bc/src/history/ |
D | history.c | 474 if (BC_ERR(BC_HIST_WRITE("\x1b[6n", 4))) return SIZE_MAX; in bc_history_cursorPos() 508 if (BC_ERR(BC_HIST_WRITE("\x1b[999C", 6))) return BC_HIST_DEF_COLS; in bc_history_columns() 523 if (BC_ERR(BC_HIST_WRITE(seq, len))) return SIZE_MAX; in bc_history_columns() 627 if (h->tmp.len && BC_ERR(BC_HIST_WRITE(h->tmp.v, h->tmp.len - 1))) in bc_history_refresh() 661 if (BC_ERR(BC_HIST_WRITE(cbuf, clen))) in bc_history_edit_insert() 1081 if (BC_ERR(BC_HIST_WRITE(newline, sizeof(newline) - 1))) in bc_history_printCtrl() 1108 if (BC_ERR(BC_HIST_WRITE(prompt, h->plen))) in bc_history_edit() 1148 if (BC_ERR(BC_HIST_WRITE(vm->sigmsg, vm->siglen)) || in bc_history_edit() 1149 BC_ERR(BC_HIST_WRITE(bc_program_ready_msg, in bc_history_edit() 1158 if (BC_ERR(BC_HIST_WRITE("\n", 1))) in bc_history_edit() [all …]
|
/external/bc/include/ |
D | history.h | 115 #define BC_HIST_WRITE(s, n) (write(STDERR_FILENO, (s), (n)) != (ssize_t) (n)) macro
|