Lines Matching refs:PART_ERR

380     has_err_msg = channel->ch_part[PART_ERR].ch_fd != INVALID_FD  in channel_still_useful()
381 || channel->ch_part[PART_ERR].ch_head.rq_next != NULL in channel_still_useful()
382 || channel->ch_part[PART_ERR].ch_json_head.jq_next != NULL; in channel_still_useful()
388 || ((channel->ch_part[PART_ERR].ch_callback.cb_name != NULL in channel_still_useful()
389 || channel->ch_part[PART_ERR].ch_bufref.br_buf != NULL) in channel_still_useful()
657 channel_gui_register_one(channel, PART_ERR); in channel_gui_register()
1177 channel->ch_part[PART_ERR].ch_mode = opt->jo_err_mode; in channel_set_options()
1186 channel->ch_part[PART_ERR].ch_timeout = opt->jo_err_timeout; in channel_set_options()
1196 free_set_callback(&channel->ch_part[PART_ERR].ch_callback, in channel_set_options()
1245 if ((opt->jo_set & JO_ERR_IO) && (opt->jo_io[PART_ERR] == JIO_BUFFER in channel_set_options()
1246 || (opt->jo_io[PART_ERR] == JIO_OUT && (opt->jo_set & JO_OUT_IO) in channel_set_options()
1253 channel->ch_part[PART_ERR].ch_mode = MODE_NL; in channel_set_options()
1254 if (opt->jo_io[PART_ERR] == JIO_OUT) in channel_set_options()
1258 buf = buflist_findnr(opt->jo_io_buf[PART_ERR]); in channel_set_options()
1260 semsg(_(e_nobufnr), (long)opt->jo_io_buf[PART_ERR]); in channel_set_options()
1267 msg = opt->jo_message[PART_ERR]; in channel_set_options()
1268 buf = channel_find_buffer(opt->jo_io_name[PART_ERR], TRUE, msg); in channel_set_options()
1273 channel->ch_part[PART_ERR].ch_nomodifiable = in channel_set_options()
1274 !opt->jo_modifiable[PART_ERR]; in channel_set_options()
1275 if (!buf->b_p_ma && !channel->ch_part[PART_ERR].ch_nomodifiable) in channel_set_options()
1283 set_bufref(&channel->ch_part[PART_ERR].ch_bufref, buf); in channel_set_options()
1292 channel->ch_part[PART_ERR].ch_io = opt->jo_io[PART_ERR]; in channel_set_options()
1398 && (part == PART_ERR || channel->CH_ERR_FD != *fd)) in ch_close_part()
1443 channel_gui_unregister_one(channel, PART_ERR); in channel_set_pipes()
1445 ch_close_part(channel, PART_ERR); in channel_set_pipes()
1447 channel->ch_to_be_closed |= (1U << PART_ERR); in channel_set_pipes()
1449 channel_gui_register_one(channel, PART_ERR); in channel_set_pipes()
3043 else if (req_part == PART_ERR) in channel_status()
3047 if (channel_has_readahead(channel, PART_ERR)) in channel_status()
3131 channel_part_info(channel, dict, "err", PART_ERR); in channel_info()
3153 ch_close_part(channel, PART_ERR); in channel_close()
3288 channel_clear_one(channel, PART_ERR); in channel_clear()
3517 if (part == PART_OUT || part == PART_ERR) in ch_close_part_on_error()
3519 ch_part_T other = part == PART_OUT ? PART_ERR : PART_OUT; in ch_close_part_on_error()
4672 if (part < PART_ERR) in channel_parse_messages()
4707 if (part < PART_ERR) in channel_any_readahead()
4798 || channel_has_readahead(channel, PART_ERR); in f_ch_canread()
4858 part = PART_ERR; in f_ch_getbufnr()