Home
last modified time | relevance | path

Searched refs:term (Results 1 – 25 of 160) sorted by relevance

1234567

/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dtidbit.c129 char *term, member
191 char *term, in tidbit() argument
197 char *term, in tidbit()
215 if (!term)
220 if (!term || !*term)
230 if (tidbs[i].term && STREQU(tidbs[i].term, term)) {
291 if (!(pt->term = Strdup(term))) {
403 char *term in untidbit() argument
414 if (tidbs[i].term && STREQU(tidbs[i].term, term)) {
433 char *term in open_terminfo_file() argument
[all …]
/illumos-gate/usr/src/ucbcmd/stty/
H A Dsttyparse.c72 if ((term & ASYNC) || term == -1) {
97 if((term & TERMIOS) || term == -1) {
202 if((term & TERMIOS) || term == -1) {
215 if((!(term & ASYNC) || term == -1) && eq("sane")) {
224 if((term & TERMIOS) || term == -1)
235 if((term & TERMIOS) || term == -1)
241 if((term & FLOW) || term == -1) {
311 int term;
366 return term;
416 int term;
[all …]
H A Dstty.c51 static int term; variable
104 if (term & TERMIOS) { in main()
188 if (!(term & ASYNC)) { in prmodes()
220 if (term & ASYNC) { in prmodes()
258 if (term & WINDOW) { in prmodes()
402 if (term & FLOW) { in prmodes()
474 if (term & ASYNC) { in pramodes()
525 if (term & TERMIOS) in pramodes()
544 if (term & TERMIOS) in pramodes()
592 if (term & FLOW) { in pramodes()
[all …]
/illumos-gate/usr/src/cmd/ttymon/
H A Dsttyparse.c82 if (term & ASYNC) {
373 int term = 0; local
378 term |= ASYNC;
389 term |= TERMIOS;
398 term |= FLOW;
401 term |= WINDOW;
409 term |= EUCW;
417 term |= CSIW;
421 return (term);
463 if (term & FLOW) {
[all …]
H A Dstty.c67 static int term; variable
271 if (term & ASYNC) { in prmodes()
308 if (term & WINDOW) { in prmodes()
448 if (term & FLOW) { in prmodes()
510 if (term & ASYNC) { in pramodes()
551 if (term & TERMIOS) in pramodes()
583 if (term & TERMIOS) in pramodes()
602 if (term & TERMIOS) in pramodes()
647 if (term & FLOW) { in pramodes()
769 if (term & TERMIOS) in prencode()
[all …]
H A Dtmterm.c68 int term; in set_termio() local
79 if ((term = get_ttymode(fd, &termio, &termios, &stermio, in set_termio()
107 if ((uarg = sttyparse(cnt, argvp, term, &termio, &termios, in set_termio()
115 if (set_ttymode(fd, term, &termio, &termios, &stermio, in set_termio()
/illumos-gate/usr/src/cmd/mdb/tools/scripts/
H A Dtigen.sh97 for term in $termlist; do
98 tput -T $term init >/dev/null 2>&1
112 for term in $termlist; do
117 echo "# 1 \"dynamic $term data from tigen\""
119 cterm=$(echo "$term" |tr '-' '_')
130 data="\"`tput -T $term $attr | od -bv |
135 tput -T $term $attr
139 data=`tput -T $term $attr`
160 for term in $termlist; do
161 cterm=$(echo "$term" |tr '-' '_')
[all …]
/illumos-gate/usr/src/cmd/awk/
H A Dawk.g.y249 | term
282 | term
334 | print prarg GT term {
384 term:
385 term '/' ASGNOP term { $$ = op2(DIVEQ, $1, $4); }
386 | term '+' term { $$ = op2(ADD, $1, $3); }
387 | term '-' term { $$ = op2(MINUS, $1, $3); }
388 | term '*' term { $$ = op2(MULT, $1, $3); }
389 | term '/' term { $$ = op2(DIVIDE, $1, $3); }
390 | term '%' term { $$ = op2(MOD, $1, $3); }
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregcoll.c50 int term; in regcollate() local
55 if (size < 2 || (term = *s) != '.' && term != '=' || !*++s || *s == term && *(s + 1) == ']') in regcollate()
61 if (*s++ != term || *s++ != ']') in regcollate()
65 if (*s == term && *(s + 1) == ']') in regcollate()
77 if (c == term) in regcollate()
81 if (c != term) in regcollate()
/illumos-gate/usr/src/cmd/oawk/
H A Dawk.g.y136 | INDIRECT term { $$ = op1(INDIRECT, $2); }
159 term:
183 | term '+' term { $$ = op2(ADD, $1, $3); }
184 | term '-' term { $$ = op2(MINUS, $1, $3); }
185 | term '*' term { $$ = op2(MULT, $1, $3); }
186 | term '/' term { $$ = op2(DIVIDE, $1, $3); }
187 | term '%' term { $$ = op2(MOD, $1, $3); }
188 | '-' term %prec QUEST { $$ = op1(UMINUS, $2); }
189 | '+' term %prec QUEST { $$ = $2; }
198 term
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmaketerm.ed228 w ./tmp/term.h.new
229 e ./tmp/term.h.new
231 w ./tmp/term.h.new
259 w ./tmp/term.h.new
260 e ./tmp/term.h.new
263 w ./tmp/term.h.new
264 e ./tmp/term.h.new
290 w ./tmp/term.h.new
291 e ./tmp/term.h.new
412 struct term {
[all …]
H A Dprint.c134 pr_heading(char *term, char *synonyms) in pr_heading() argument
148 if (term == (char *)0) in pr_heading()
149 term = ""; in pr_heading()
154 tail[1] = *term; in pr_heading()
163 (void) sprintf(buffer, "%s%s%s", terminfo, tail, term); in pr_heading()
165 (void) sprintf(buffer, "%s%s%s", _ULIBTI, tail, term); in pr_heading()
181 "found in %s\n", term, _ULIBTI); in pr_heading()
187 (void) sprintf(buffer, "%s%s%s", _ULIBTI, tail, term); in pr_heading()
194 "found in %s or %s\n", term, _ULIBTI, in pr_heading()
203 if (do_print && *term) { in pr_heading()
[all …]
H A Dsetupterm.c227 setupterm(char *term, int filenum, int *errret) in setupterm() argument
244 if (term == NULL) in setupterm()
245 term = getenv("TERM"); in setupterm()
247 if (term == NULL || *term == '\0') in setupterm()
248 term = Def_term; in setupterm()
259 "%s/%c/%s", cp, *term, term) >= sizeof (fname)) { in setupterm()
275 "%s/%c/%s", TERMPATH, *term, term) >= sizeof (fname)) { in setupterm()
305 (void) strncpy(term_parm_err, term, 31); in setupterm()
427 (void) strncpy(cur_term->_termname, term, 14); in setupterm()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dterminfo.c34 struct terminfo term = variable
222 grub_putstr (grub_tparm (term.cursor_address, y, x)); in ti_cursor_address()
229 grub_putstr (grub_tparm (term.clear_screen)); in ti_clear_screen()
236 grub_putstr (grub_tparm (term.enter_standout_mode)); in ti_enter_standout_mode()
243 grub_putstr (grub_tparm (term.exit_standout_mode)); in ti_exit_standout_mode()
250 grub_memmove (&term, new, sizeof (struct terminfo)); in ti_set_term()
257 grub_memmove (copy, &term, sizeof (struct terminfo)); in ti_get_term()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dgram.y32 %term EQUAL 1
33 %term LP 2
34 %term RP 3
35 %term SM 4
36 %term ARROW 5
37 %term COLON 6
38 %term DCOLON 7
39 %term NAME 8
40 %term STRING 9
42 %term NOTIFY 11
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_nul_terminator.c143 int term; in struct_member_callback() local
145 term = sm_to_term(sm); in struct_member_callback()
146 if (term < 0) in struct_member_callback()
149 sql_insert_caller_info(call, TERMINATED, param, printed_name, term ? "1" : "0"); in struct_member_callback()
190 int term; in split_return_info() local
196 term = sm_to_term(sm); in split_return_info()
197 if (term < 0) in split_return_info()
210 param, param_name, term ? "1" : "0"); in split_return_info()
220 term = sm_to_term(sm); in split_return_info()
221 if (term < 0) in split_return_info()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Dmandoc.c99 char term; in mandoc_escape() local
129 term = '\0'; in mandoc_escape()
147 term = ']'; in mandoc_escape()
154 term = '\''; in mandoc_escape()
230 term = ']'; in mandoc_escape()
271 term = **start; in mandoc_escape()
302 term = **start; in mandoc_escape()
343 term = ']'; in mandoc_escape()
347 term = '\''; in mandoc_escape()
391 if ('\0' != term) { in mandoc_escape()
[all …]
/illumos-gate/usr/src/lib/libxcurses/
H A DMakefile46 $(NAMES) src/libc/xcurses/keyindex.c h/term.h
49 HDRS= h/term.h h/curses.h h/unctrl.h
78 h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps
80 cd src/libc/xcurses; $(AWK) -f mkterm.awk caps > term.h
81 $(MV) src/libc/xcurses/term.h h/term.h
/illumos-gate/usr/src/lib/libxcurses2/
H A DMakefile46 $(NAMES) src/libc/xcurses/keyindex.c h/term.h
49 HDRS= h/term.h h/curses.h h/unctrl.h
86 h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps
88 cd src/libc/xcurses; $(AWK) -f mkterm.awk caps > term.h
89 $(MV) src/libc/xcurses/term.h h/term.h
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dinitscr.c69 char *term, *err; in initscr() local
121 if ((term = getenv("TERM")) == (char *) 0) in initscr()
122 term = M_TERM_NAME; in initscr()
124 (void) fprintf(stderr, m_strmsg(err), term); in initscr()
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dinitscr.c66 char *term, *err; in initscr() local
118 if ((term = getenv("TERM")) == NULL) { in initscr()
119 term = M_TERM_NAME; in initscr()
122 (void) fprintf(stderr, err, term); in initscr()
/illumos-gate/usr/src/lib/libcurses/
H A DMakefile47 screen/term.h
50 HDRS= curses.h term.h unctrl.h
65 screen/term.check := CSTYLE_TAIL = | $(GREP) -v "line > 80 characters" | \
107 screen/term.h: screen/maketerm.ed
116 screen/tmp/term.h.new1 \
117 screen/tmp/term.h.new2
/illumos-gate/usr/src/cmd/tabs/
H A Dtabs.c126 static int getmarg(char *term);
475 getmarg(char *term) in getmarg() argument
477 if (strncmp(term, "1620", 4) == 0 || in getmarg()
478 strncmp(term, "1700", 4) == 0 || strncmp(term, "450", 3) == 0) in getmarg()
480 else if (strncmp(term, "300s", 4) == 0) in getmarg()
482 else if (strncmp(term, "4000a", 5) == 0) in getmarg()
484 else if (strcmp(term, "43") == 0) in getmarg()
486 else if (strcmp(term, "tn300") == 0 || strcmp(term, "tn1200") == 0) in getmarg()
/illumos-gate/usr/src/cmd/eqn/
H A De.y35 %term CONTIG QTEXT SPACE THIN TAB
36 %term MATRIX LCOL CCOL RCOL COL
37 %term MARK LINEUP
38 %term SUM INT PROD UNION INTER
39 %term LPILE PILE CPILE RPILE ABOVE
40 %term DEFINE TDEFINE NDEFINE DELIM GSIZE GFONT INCLUDE
/illumos-gate/usr/src/tools/cscope-fast/
H A Dmouse.c51 char *s, *term; in initmouse() local
53 if ((term = getenv("TERM")) == NULL) { in initmouse()
56 if (strcmp(term, "emacsterm") == 0 || strcmp(term, "viterm") == 0) { in initmouse()

1234567