Home
last modified time | relevance | path

Searched refs:USE_BUF (Results 1 – 1 of 1) sorted by relevance

/third_party/glib/glib/
Dgiochannel.c161 #define USE_BUF(channel) ((channel)->encoding ? (channel)->encoded_read_buf \ macro
1687 g_assert (USE_BUF (channel)); in g_io_channel_read_line()
1688 line = g_memdup2 (USE_BUF (channel)->str, got_length + 1); in g_io_channel_read_line()
1691 g_string_erase (USE_BUF (channel), 0, got_length); in g_io_channel_read_line()
1735 g_assert (USE_BUF (channel)); in g_io_channel_read_line_string()
1736 g_string_append_len (buffer, USE_BUF (channel)->str, length); in g_io_channel_read_line_string()
1737 g_string_erase (USE_BUF (channel), 0, length); in g_io_channel_read_line_string()
1779 if (!first_time || (BUF_LEN (USE_BUF (channel)) == 0)) in g_io_channel_read_line_backend()
1786 if (BUF_LEN (USE_BUF (channel)) == 0) in g_io_channel_read_line_backend()
1796 if (BUF_LEN (USE_BUF (channel)) == 0) in g_io_channel_read_line_backend()
[all …]