Lines Matching defs:ent
361 const struct tty_term_code_entry *ent;
398 ent = &tty_term_codes[i];
399 if (strcmp(s, ent->name) != 0)
407 switch (ent->type) {
414 code->type = ent->type;
421 code->type = ent->type;
425 code->type = ent->type;
525 const struct tty_term_code_entry *ent;
552 ent = &tty_term_codes[j];
553 if (strncmp(ent->name, caps[i], namelen) != 0)
555 if (ent->name[namelen] != '\0')
560 switch (ent->type) {
570 log_debug("%s: %s", ent->name, errstr);
672 const struct tty_term_code_entry *ent;
702 ent = &tty_term_codes[i];
703 switch (ent->type) {
707 s = tigetstr((char *)ent->name);
712 n = tigetnum((char *)ent->name);
719 n = tigetflag((char *)ent->name);
731 xasprintf(&(*caps)[*ncaps], "%s=%s", ent->name, s);