Home
last modified time | relevance | path

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

/third_party/curl/tests/server/
Dtftpd.c195 static int prevchar = -1; /* putbuf: previous char (cr check) */ variable
317 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()
/third_party/glib/glib/
Dgiochannel.c2083 gchar *nextchar, *prevchar; in g_io_channel_read_chars() local
2091 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()