Lines Matching +refs:term +refs:cap

249 dumpit(NCURSES_CONST char *cap)  in dumpit()  argument
262 if ((str = tgetstr(cap, &ap)) != 0) { in dumpit()
270 show_string(cap, str); in dumpit()
272 } else if ((num = tgetnum(cap)) >= 0) { in dumpit()
276 show_number(cap, num); in dumpit()
278 } else if (tgetflag(cap) > 0) { in dumpit()
282 printf(FNAME(flg), cap); in dumpit()
302 char cap[3]; in brute_force() local
305 cap[2] = 0; in brute_force()
307 cap[0] = (char) c1; in brute_force()
310 cap[1] = (char) c2; in brute_force()
312 dumpit(cap); in brute_force()
322 dump_xname(NCURSES_CONST char *cap) in dump_xname() argument
324 if (strlen(cap) == 2) in dump_xname()
325 dumpit(cap); in dump_xname()
340 NCURSES_CONST char *cap; in demo_termcap() local
345 cap = my_boolcodes[n]; in demo_termcap()
346 if (cap == 0) in demo_termcap()
348 dumpit(cap); in demo_termcap()
354 cap = my_numcodes[n]; in demo_termcap()
355 if (cap == 0) in demo_termcap()
357 dumpit(cap); in demo_termcap()
363 cap = my_strcodes[n]; in demo_termcap()
364 if (cap == 0) in demo_termcap()
366 dumpit(cap); in demo_termcap()
372 TERMTYPE *term = (TERMTYPE *) cur_term; in demo_termcap() local
373 if (term != 0 in demo_termcap()
374 && ((NUM_BOOLEANS(term) != BOOLCOUNT) in demo_termcap()
375 || (NUM_NUMBERS(term) != NUMCOUNT) in demo_termcap()
376 || (NUM_STRINGS(term) != STRCOUNT))) { in demo_termcap()
377 for (n = BOOLCOUNT; n < NUM_BOOLEANS(term); ++n) { in demo_termcap()
378 dump_xname(ExtBoolname(term, (int) n, boolnames)); in demo_termcap()
380 for (n = NUMCOUNT; n < NUM_NUMBERS(term); ++n) { in demo_termcap()
381 dump_xname(ExtNumname(term, (int) n, numnames)); in demo_termcap()
383 for (n = STRCOUNT; n < NUM_STRINGS(term); ++n) { in demo_termcap()
384 dump_xname(ExtStrname(term, (int) n, strnames)); in demo_termcap()