Lines Matching refs:count

446 	int count;  in readline()  local
484 ret = el_gets(e, &count); in readline()
486 if (ret && count > 0) { in readline()
492 lastidx = count - 1; in readline()
1296 int count = 0; in history_truncate_file() local
1321 if (fseeko(fp, (off_t)sizeof(buf) * count, SEEK_SET) == in history_truncate_file()
1332 count--; in history_truncate_file()
1346 count++; in history_truncate_file()
1358 count++; in history_truncate_file()
1365 if (nlines <= 0 || count == 0) in history_truncate_file()
1367 count--; in history_truncate_file()
1368 if (fseeko(tp, (off_t)sizeof(buf) * count, SEEK_SET) < 0) { in history_truncate_file()
1391 if (fseeko(tp, (off_t)sizeof(buf) * count + (cp - buf), SEEK_SET) == in history_truncate_file()
2059 rl_insert(int count, int c) in rl_insert() argument
2070 for (; count > 0; count--) in rl_insert()
2092 rl_newline(int count __attribute__((__unused__)), in rl_newline() argument
2135 int count = 0, done = 0; in rl_callback_read_char() local
2136 const char *buf = el_gets(e, &count); in rl_callback_read_char()
2140 if (buf == NULL || count-- <= 0) in rl_callback_read_char()
2142 if (count == 0 && buf[0] == e->el_tty.t_c[TS_IO][C_EOF]) in rl_callback_read_char()
2144 if (buf[count] == '\n' || buf[count] == '\r') in rl_callback_read_char()
2151 wbuf[count] = '\0'; in rl_callback_read_char()
2189 rl_get_previous_history(int count, int key) in rl_get_previous_history() argument
2194 while (count--) in rl_get_previous_history()
2601 rl_abort(int count, int key) in rl_abort() argument
2603 return count && key ? 0 : 0; in rl_abort()