Lines Matching refs:ts
945 struct ttysize ts; in terminal_get_size() local
946 if (ioctl(el->el_infd, TIOCGSIZE, &ts) != -1) { in terminal_get_size()
947 if (ts.ts_cols) in terminal_get_size()
948 *cols = ts.ts_cols; in terminal_get_size()
949 if (ts.ts_lines) in terminal_get_size()
950 *lins = ts.ts_lines; in terminal_get_size()
1273 char **ts; in terminal_telltc() local
1289 for (t = tstr, ts = el->el_terminal.t_str; t->name != NULL; t++, ts++) { in terminal_telltc()
1291 if (*ts && **ts) { in terminal_telltc()
1293 ct_decode_string(*ts, &el->el_scratch), in terminal_telltc()
1314 const struct termcapstr *ts; in terminal_settc() local
1329 for (ts = tstr; ts->name != NULL; ts++) in terminal_settc()
1330 if (strcmp(ts->name, what) == 0) in terminal_settc()
1333 if (ts->name != NULL) { in terminal_settc()
1334 terminal_alloc(el, ts, how); in terminal_settc()
1400 const struct termcapstr *ts; in terminal_gettc() local
1414 for (ts = tstr; ts->name != NULL; ts++) in terminal_gettc()
1415 if (strcmp(ts->name, what) == 0) in terminal_gettc()
1418 if (ts->name != NULL) { in terminal_gettc()
1419 *(char **)how = el->el_terminal.t_str[ts - tstr]; in terminal_gettc()