• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/ncurses/ncurses/tinfo/

Lines Matching refs:entryp

67 _nc_extend_names(ENTRY * entryp, const char *name, int token_type)
70 TERMTYPE2 *tp = &(entryp->tterm);
107 return _nc_extend_names(entryp, name, token_type);
111 return _nc_extend_names(entryp, name, STRING);
257 _nc_parse_entry(ENTRY * entryp, int literal, bool silent)
272 _nc_init_entry(entryp);
274 entryp->cstart = _nc_comment_start;
275 entryp->cend = _nc_comment_end;
276 entryp->startline = _nc_start_line;
277 DEBUG(2, ("Comment range is %ld to %ld", entryp->cstart, entryp->cend));
301 entryp->tterm.str_table = entryp->tterm.term_names = _nc_save_str(ptr);
303 if (entryp->tterm.str_table == 0)
313 name = _nc_first_name(entryp->tterm.term_names);
321 for (base = entryp->tterm.term_names; (ptr = strchr(base, '|')) != 0;
325 (base == entryp->tterm.term_names)
332 entryp->nuses = 0;
348 } else if (entryp->nuses >= MAX_USES) {
353 entryp->uses[entryp->nuses].name = _nc_save_str(_nc_curr_token.tk_valstring);
354 entryp->uses[entryp->nuses].line = _nc_curr_line;
355 entryp->nuses++;
356 if (entryp->nuses > 1 && is_tc) {
376 if (entryp->nuses != 0) {
424 if ((entry_ptr = _nc_extend_names(entryp,
516 entryp->tterm.Booleans[entry_ptr->nte_index] = CANCELLED_BOOLEAN;
520 entryp->tterm.Numbers[entry_ptr->nte_index] = CANCELLED_NUMERIC;
524 entryp->tterm.Strings[entry_ptr->nte_index] = CANCELLED_STRING;
530 entryp->tterm.Booleans[entry_ptr->nte_index] = TRUE;
536 entryp->tterm.Numbers[entry_ptr->nte_index] = MAX_NUMBER;
540 entryp->tterm.Numbers[entry_ptr->nte_index] =
551 entryp->tterm.Strings[entry_ptr->nte_index] = _nc_save_str(ptr);
566 _nc_set_type(_nc_first_name(entryp->tterm.term_names));
583 if (strchr(entryp->tterm.term_names, '+')) {
591 for (i = 0; i < entryp->nuses; i++) {
592 if (entryp->uses[i].name != 0
593 && !strchr(entryp->uses[i].name, '+'))
598 postprocess_termcap(&entryp->tterm, has_base_entry);
600 postprocess_terminfo(&entryp->tterm);
602 _nc_wrap_entry(entryp, FALSE);