Lines Matching refs:PART_OUT

377     has_out_msg = channel->ch_part[PART_OUT].ch_fd != INVALID_FD  in channel_still_useful()
378 || channel->ch_part[PART_OUT].ch_head.rq_next != NULL in channel_still_useful()
379 || channel->ch_part[PART_OUT].ch_json_head.jq_next != NULL; in channel_still_useful()
385 || ((channel->ch_part[PART_OUT].ch_callback.cb_name != NULL in channel_still_useful()
386 || channel->ch_part[PART_OUT].ch_bufref.br_buf != NULL) in channel_still_useful()
653 channel_gui_register_one(channel, PART_OUT); in channel_gui_register()
1175 channel->ch_part[PART_OUT].ch_mode = opt->jo_out_mode; in channel_set_options()
1184 channel->ch_part[PART_OUT].ch_timeout = opt->jo_out_timeout; in channel_set_options()
1193 free_set_callback(&channel->ch_part[PART_OUT].ch_callback, in channel_set_options()
1202 if ((opt->jo_set & JO_OUT_IO) && opt->jo_io[PART_OUT] == JIO_BUFFER) in channel_set_options()
1208 channel->ch_part[PART_OUT].ch_mode = MODE_NL; in channel_set_options()
1211 buf = buflist_findnr(opt->jo_io_buf[PART_OUT]); in channel_set_options()
1213 semsg(_(e_nobufnr), (long)opt->jo_io_buf[PART_OUT]); in channel_set_options()
1220 msg = opt->jo_message[PART_OUT]; in channel_set_options()
1221 buf = channel_find_buffer(opt->jo_io_name[PART_OUT], FALSE, msg); in channel_set_options()
1226 channel->ch_part[PART_OUT].ch_nomodifiable = in channel_set_options()
1227 !opt->jo_modifiable[PART_OUT]; in channel_set_options()
1229 if (!buf->b_p_ma && !channel->ch_part[PART_OUT].ch_nomodifiable) in channel_set_options()
1237 set_bufref(&channel->ch_part[PART_OUT].ch_bufref, buf); in channel_set_options()
1247 && opt->jo_io[PART_OUT] == JIO_BUFFER))) in channel_set_options()
1255 buf = channel->ch_part[PART_OUT].ch_bufref.br_buf; in channel_set_options()
1291 channel->ch_part[PART_OUT].ch_io = opt->jo_io[PART_OUT]; in channel_set_options()
1397 && (part == PART_OUT || channel->CH_OUT_FD != *fd) in ch_close_part()
1431 channel_gui_unregister_one(channel, PART_OUT); in channel_set_pipes()
1433 ch_close_part(channel, PART_OUT); in channel_set_pipes()
1435 channel->ch_to_be_closed |= (1U << PART_OUT); in channel_set_pipes()
1437 channel_gui_register_one(channel, PART_OUT); in channel_set_pipes()
3036 if (req_part == PART_OUT) in channel_status()
3040 if (channel_has_readahead(channel, PART_OUT)) in channel_status()
3130 channel_part_info(channel, dict, "out", PART_OUT); in channel_info()
3152 ch_close_part(channel, PART_OUT); in channel_close()
3287 channel_clear_one(channel, PART_OUT); 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()
4757 return PART_OUT; in channel_part_read()
4797 || channel_has_readahead(channel, PART_OUT) in f_ch_canread()
4860 part = PART_OUT; in f_ch_getbufnr()