Home
last modified time | relevance | path

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

/libedit-20250104-3.1/src/
Dtty.c902 const ttymap_t *tp; in tty_bind_char() local
917 for (tp = tty_map; tp->nch != (wint_t)-1; tp++) { in tty_bind_char()
918 new[0] = (wchar_t)t_n[tp->nch]; in tty_bind_char()
919 old[0] = (wchar_t)t_o[tp->och]; in tty_bind_char()
927 map[(unsigned char)new[0]] = tp->bind[el->el_map.type]; in tty_bind_char()
934 tp->bind[el->el_map.type + 1]; in tty_bind_char()
Dreadline.c1290 FILE *fp, *tp; in history_truncate_file() local
1309 if ((tp = fdopen(fd, "r+")) == NULL) { in history_truncate_file()
1334 } else if (fwrite(buf, (size_t)left, (size_t)1, tp) in history_truncate_file()
1339 fflush(tp); in history_truncate_file()
1342 if (fwrite(buf, sizeof(buf), (size_t)1, tp) != 1) { in history_truncate_file()
1368 if (fseeko(tp, (off_t)sizeof(buf) * count, SEEK_SET) < 0) { in history_truncate_file()
1372 if (fread(buf, sizeof(buf), (size_t)1, tp) != 1) { in history_truncate_file()
1373 if (ferror(tp)) { in history_truncate_file()
1391 if (fseeko(tp, (off_t)sizeof(buf) * count + (cp - buf), SEEK_SET) == in history_truncate_file()
1398 if ((left = (ssize_t)fread(buf, (size_t)1, sizeof(buf), tp)) == 0) { in history_truncate_file()
[all …]
/libedit-20250104-3.1/
Dltmain.sh7726 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \