Lines Matching defs:io_channel
82 IOChannel *io_channel;
83 if (el_get(e, EL_CLIENTDATA, &io_channel) == 0)
85 return io_channel->HandleCompletion (e, ch);
304 IOChannel *io_channel = (IOChannel *) baton;
305 IOLocker locker (io_channel->m_output_mutex);
308 if (io_channel->IsGettingCommand() && io_channel->m_expecting_prompt)
310 io_channel->m_prompt_str.append (bytes, src_len);
312 if (io_channel->m_prompt_str.find (el_prompt(io_channel->m_edit_line)) == 0)
314 io_channel->m_expecting_prompt = false;
315 io_channel->m_refresh_request_pending = false;
316 io_channel->OutWrite (io_channel->m_prompt_str.c_str(),
317 io_channel->m_prompt_str.size(), NO_ASYNC);
318 io_channel->m_prompt_str.clear();
323 if (io_channel->m_prompt_str.size() > 0)
324 io_channel->m_prompt_str.clear();
326 if (tmp_str.find (el_prompt (io_channel->m_edit_line)) == 0)
327 io_channel->m_refresh_request_pending = false;
328 io_channel->OutWrite (bytes, src_len, NO_ASYNC);