Searched refs:prevchar (Results 1 – 2 of 2) sorted by relevance
195 static int prevchar = -1; /* putbuf: previous char (cr check) */ variable317 prevchar = -1; in rw_init()390 if(prevchar == '\n') in read_ahead()405 prevchar = c; in read_ahead()480 if(prevchar == '\r') { /* if prev char was cr */ in write_behind()493 prevchar = c; in write_behind()
2083 gchar *nextchar, *prevchar; in g_io_channel_read_chars() local2091 prevchar = nextchar; in g_io_channel_read_chars()2093 g_assert (nextchar != prevchar); /* Possible for *prevchar of -1 or -2 */ in g_io_channel_read_chars()2098 got_bytes = prevchar - channel->encoded_read_buf->str; in g_io_channel_read_chars()