Home
last modified time | relevance | path

Searched refs:ttype (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-13.1/usr.bin/tset/
H A Dterm.c66 const char *ttype; in get_termcap_entry() local
69 ttype = userarg; in get_termcap_entry()
84 ttype = t->ty_type; in get_termcap_entry()
90 ttype = "unknown"; in get_termcap_entry()
92 map: ttype = mapped(ttype); in get_termcap_entry()
106 if (ttype[0] == '?') { in get_termcap_entry()
107 if (ttype[1] != '\0') in get_termcap_entry()
108 ttype = askuser(ttype + 1); in get_termcap_entry()
110 ttype = askuser(NULL); in get_termcap_entry()
116 ttype = askuser(NULL); in get_termcap_entry()
[all …]
H A Dtset.c81 const char *ttype; in main() local
161 ttype = get_termcap_entry(*argv, &tcapbuf); in main()
189 (void)printf("%s\n", ttype); in main()
192 (void)fprintf(stderr, "Terminal type is %s.\n", ttype); in main()
205 (void)printf("%s ", ttype); in main()
217 printf("set noglob;\nsetenv TERM %s;\n", ttype); in main()
225 printf("TERM=%s;\n", ttype); in main()
/freebsd-13.1/tools/regression/sockets/unix_cmsg/
H A DMakefile27 .for ttype in bintime timeval timespec_real timespec_mono
28 AUTOSRCS+= t_${ttype}.h t_${ttype}.c
30 t_${ttype}.o: t_${ttype}.c t_${ttype}.h
32 t_${ttype}.c: t_xxxtime.c.in
33 sed ${REXP_${ttype}} < ${.ALLSRC} > ${.TARGET}
35 t_${ttype}.h: t_xxxtime.h.in
36 sed ${REXP_${ttype}} < ${.ALLSRC} > ${.TARGET}
/freebsd-13.1/contrib/ncurses/progs/
H A Dtset.c538 const char *ttype; in get_termcap_entry() local
549 ttype = userarg; in get_termcap_entry()
596 ttype = "unknown"; in get_termcap_entry()
598 map:ttype = mapped(ttype); in get_termcap_entry()
626 if (ttype[1] != '\0') in get_termcap_entry()
627 ttype = askuser(ttype + 1); in get_termcap_entry()
637 ttype = 0; in get_termcap_entry()
642 ttype = 0; in get_termcap_entry()
644 ttype = askuser(ttype); in get_termcap_entry()
649 return (ttype); in get_termcap_entry()
[all …]
/freebsd-13.1/contrib/nvi/cl/
H A Dcl_main.c55 char **p_av, **t_av, *ttype; in main() local
90 if ((ttype = getenv("TERM")) == NULL) in main()
91 ttype = "ansi"; in main()
92 term_init(ttype); in main()
96 OG_STR(gp, GO_TERM) = strdup(ttype)) == NULL) in main()
223 term_init(char *ttype) in term_init() argument
228 setupterm(ttype, STDOUT_FILENO, &err); in term_init()
233 errx(1, "%s: unknown terminal type", ttype); in term_init()
H A Dcl_screen.c185 char *o_cols, *o_lines, *o_term, *ttype; in cl_vi_init() local
204 ttype = O_STR(sp, O_TERM); in cl_vi_init()
224 cl_putenv("TERM", ttype, 0); in cl_vi_init()
241 if (newterm(ttype, stdout, stdin) == NULL) { in cl_vi_init()
243 msgq(sp, M_SYSERR, "%s", ttype); in cl_vi_init()
245 msgq(sp, M_ERR, "%s: unknown terminal type", ttype); in cl_vi_init()
/freebsd-13.1/contrib/lib9p/pytest/
H A Dprotocol.py1389 def __init__(self, ttype, value, orig=None): argument
1390 self.ttype = ttype
1393 if self.ttype == 'type' and self.value.isdigit():
1507 if len(tokens) == 0 or tokens[0].ttype != 'word':
1594 if token.ttype == 'label':
1596 if token.ttype == 'aux':
1598 if token.ttype == '{':
1604 if cond.ttype != 'label':
1610 if token.ttype == '}':
1615 if token.ttype == 'word*':
[all …]
/freebsd-13.1/contrib/lua/src/
H A Dltm.c73 switch (ttype(o)) { in luaT_gettmbyobj()
81 mt = G(L)->mt[ttype(o)]; in luaT_gettmbyobj()
99 return ttypename(ttype(o)); /* else use standard type name */ in luaT_objtypename()
H A Dlapi.c262 return (isvalid(L, o) ? ttype(o) : LUA_TNONE); in lua_type()
424 switch (ttype(o)) { in touserdata()
628 return ttype(s2v(L->top - 1)); in auxgetstr()
651 return ttype(s2v(L->top - 1)); in lua_gettable()
676 return ttype(s2v(L->top - 1)); in lua_geti()
687 return ttype(s2v(L->top - 1)); in finishrawget()
747 switch (ttype(obj)) { in lua_getmetatable()
755 mt = G(L)->mt[ttype(obj)]; in lua_getmetatable()
780 t = ttype(s2v(L->top)); in lua_getiuservalue()
913 switch (ttype(obj)) { in lua_setmetatable()
[all …]
H A Dlobject.h85 #define ttype(o) (novariant(rawtt(o))) macro
90 #define checktype(o,t) (ttype(o) == (t))
H A Dlvm.c578 if (ttype(t1) != ttype(t2) || ttype(t1) != LUA_TNUMBER) in luaV_equalobj()
/freebsd-13.1/lib/libc/resolv/
H A Dres_send.c237 int n, ttype, tclass; in res_nameinquery() local
245 ttype = ns_get16(cp); cp += INT16SZ; in res_nameinquery()
247 if (ttype == type && tclass == class && in res_nameinquery()
288 int n, ttype, tclass; in res_queriesmatch() local
296 ttype = ns_get16(cp); cp += INT16SZ; in res_queriesmatch()
298 if (!res_nameinquery(tname, ttype, tclass, buf2, eom2)) in res_queriesmatch()
/freebsd-13.1/sbin/ipfw/
H A Dtables.c353 table_parse_type(uint8_t ttype, char *p, uint8_t *tflags) in table_parse_type() argument
359 switch(ttype) { in table_parse_type()
796 char ttype[64], tvtype[64]; in table_show_info() local
798 table_print_type(ttype, sizeof(ttype), i->type, i->tflags); in table_show_info()
803 printf(" kindex: %d, type: %s, locked\n", i->kidx, ttype); in table_show_info()
805 printf(" kindex: %d, type: %s\n", i->kidx, ttype); in table_show_info()
H A Dipfw2.c2570 int ttype; in foreach_state() local
2577 ttype = 0; in foreach_state()
2585 ttype = IPFW_TLV_DYN_ENT; in foreach_state()
2595 if (tlv->type != ttype) in foreach_state()
/freebsd-13.1/sys/contrib/openzfs/module/lua/
H A Dlobject.h122 #define ttype(o) (rttype(o) & 0x3F) macro
175 #define righttt(obj) (ttype(obj) == gcvalue(obj)->gch.tt)
H A Dltable.c98 switch (ttype(key)) { in mainposition()
484 switch (ttype(key)) { in luaH_get()
H A Dlapi.c442 switch (ttype(o)) { in lua_topointer()
1187 switch (ttype(fi)) { in aux_upvalue()
1256 switch (ttype(fi)) { in lua_upvalueid()
H A Dldo.c370 switch (ttype(func)) { in luaD_precall()
H A Dlvm.c264 switch (ttype(t1)) { in luaV_equalobj_()
/freebsd-13.1/sys/contrib/octeon-sdk/
H A Dcvmx-usb.c1999 cvmx_usb_transfer_t ttype; in __cvmx_usb_schedule() local
2085 for (ttype=CVMX_USB_TRANSFER_CONTROL; ttype<=CVMX_USB_TRANSFER_INTERRUPT; ttype++) in __cvmx_usb_schedule()
2087 pipe = usb->active_pipes[ttype].head; in __cvmx_usb_schedule()
H A Dcvmx-sriomaintx-defs.h1872 uint32_t ttype : 4; /**< Transaction Type associated with the error member
1904 uint32_t ttype : 4;
/freebsd-13.1/contrib/sqlite3/tea/generic/
H A Dtclsqlite3.c3364 int ttype; in DbObjCmd() local
3369 0, &ttype)!=TCL_OK ){ in DbObjCmd()
3382 switch( (enum TTYPE_enum)ttype ){ in DbObjCmd()
3441 int ttype; in DbObjCmd() local
3443 0, &ttype) ){ in DbObjCmd()
3446 switch( (enum TTYPE_enum)ttype ){ in DbObjCmd()
/freebsd-13.1/contrib/tnftp/src/
H A Dcmds.c252 set_type(const char *ttype) in set_type() argument
258 if (strcmp(ttype, p->t_name) == 0) in set_type()
261 fprintf(ttyout, "%s: unknown mode.\n", ttype); in set_type()
/freebsd-13.1/tools/tools/tinybsd/conf/wrap/etc/
H A Dttys67 ttype none network
/freebsd-13.1/usr.bin/vgrind/
H A Dvgrindefs.src95 stjoin sub1 t times tnull tokno ttype:

12