Home
last modified time | relevance | path

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

/src/tools/regression/sockets/unix_cmsg/
H A DMakefile25 .for ttype in bintime timeval timespec_real timespec_mono
26 AUTOSRCS+= t_${ttype}.h t_${ttype}.c
28 t_${ttype}.o: t_${ttype}.c t_${ttype}.h
30 t_${ttype}.c: t_xxxtime.c.in
31 sed ${REXP_${ttype}} < ${.ALLSRC} > ${.TARGET}
33 t_${ttype}.h: t_xxxtime.h.in
34 sed ${REXP_${ttype}} < ${.ALLSRC} > ${.TARGET}
/src/contrib/ncurses/progs/
H A Dtset.c547 const char *ttype; in get_termcap_entry() local
560 ttype = userarg; in get_termcap_entry()
565 if ((ttype = getenv("TERM")) != NULL) in get_termcap_entry()
578 ttype = t->ty_type; in get_termcap_entry()
597 ttype = strdup(t); in get_termcap_entry()
609 ttype = "unknown"; in get_termcap_entry()
611 map:ttype = mapped(ttype); in get_termcap_entry()
638 if (ttype[0] == '?') { in get_termcap_entry()
639 if (ttype[1] != '\0') in get_termcap_entry()
640 ttype = askuser(ttype + 1); in get_termcap_entry()
[all …]
/src/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()
/src/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':
1509 if len(tokens) > 1 and tokens[1].ttype == 'type':
1594 if token.ttype == 'label':
1596 if token.ttype == 'aux':
1598 if token.ttype == '{':
1604 if cond.ttype != 'label':
1610 if token.ttype == '}':
[all …]
/src/crypto/krb5/src/lib/krb5/os/
H A Dt_locate_kdc.c31 ttypename (k5_transport ttype) in ttypename() argument
34 switch (ttype) { in ttypename()
44 snprintf(buf, sizeof(buf), "?%d", ttype); in ttypename()
/src/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.c286 return (isvalid(L, o) ? ttype(o) : LUA_TNONE); in lua_type()
448 switch (ttype(o)) { in touserdata()
652 return ttype(s2v(L->top.p - 1)); in auxgetstr()
685 return ttype(s2v(L->top.p - 1)); in lua_gettable()
710 return ttype(s2v(L->top.p - 1)); in lua_geti()
721 return ttype(s2v(L->top.p - 1)); in finishrawget()
781 switch (ttype(obj)) { in lua_getmetatable()
789 mt = G(L)->mt[ttype(obj)]; in lua_getmetatable()
814 t = ttype(s2v(L->top.p)); in lua_getiuservalue()
945 switch (ttype(obj)) { in lua_setmetatable()
[all …]
H A Dlobject.h87 #define ttype(o) (novariant(rawtt(o))) macro
92 #define checktype(o,t) (ttype(o) == (t))
H A Dlvm.c579 if (ttype(t1) != ttype(t2) || ttype(t1) != LUA_TNUMBER) in luaV_equalobj()
/src/lib/libc/resolv/
H A Dres_send.c223 int n, ttype, tclass; in res_nameinquery() local
231 ttype = ns_get16(cp); cp += INT16SZ; in res_nameinquery()
233 if (ttype == type && tclass == class && in res_nameinquery()
274 int n, ttype, tclass; in res_queriesmatch() local
282 ttype = ns_get16(cp); cp += INT16SZ; in res_queriesmatch()
284 if (!res_nameinquery(tname, ttype, tclass, buf2, eom2)) in res_queriesmatch()
/src/contrib/tcpdump/
H A Dprint-ptp.c293 …print_timestamp_identity(netdissect_options *ndo, const u_char *bp, u_int *len, const char *ttype);
509 const u_char *bp, u_int *len, const char *ttype) in ptp_print_timestamp_identity() argument
516 ND_PRINT(", %s:", ttype); in ptp_print_timestamp_identity()
/src/sbin/ipfw/
H A Dtables.c354 table_parse_type(uint8_t ttype, char *p, uint8_t *tflags) in table_parse_type() argument
360 switch(ttype) { in table_parse_type()
797 char ttype[64], tvtype[64]; in table_show_info() local
799 table_print_type(ttype, sizeof(ttype), i->type, i->tflags); in table_show_info()
804 printf(" kindex: %d, type: %s, locked\n", i->kidx, ttype); in table_show_info()
806 printf(" kindex: %d, type: %s\n", i->kidx, ttype); in table_show_info()
H A Dipfw2.c2868 int ttype; in foreach_state() local
2875 ttype = 0; in foreach_state()
2883 ttype = IPFW_TLV_DYN_ENT; in foreach_state()
2893 if (tlv->type != ttype) in foreach_state()
/src/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.c444 switch (ttype(o)) { in lua_topointer()
1189 switch (ttype(fi)) { in aux_upvalue()
1258 switch (ttype(fi)) { in lua_upvalueid()
H A Dldo.c385 switch (ttype(func)) { in luaD_precall()
H A Dlvm.c264 switch (ttype(t1)) { in luaV_equalobj_()
/src/contrib/sqlite3/tea/generic/
H A Dtclsqlite3.c3453 int ttype; in DbObjCmd() local
3458 0, &ttype)!=TCL_OK ){ in DbObjCmd()
3471 switch( (enum TTYPE_enum)ttype ){ in DbObjCmd()
3530 int ttype; in DbObjCmd() local
3532 0, &ttype) ){ in DbObjCmd()
3535 switch( (enum TTYPE_enum)ttype ){ in DbObjCmd()
/src/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()
/src/usr.bin/vgrind/
H A Dvgrindefs.src91 stjoin sub1 t times tnull tokno ttype:
/src/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/
H A Dittnotify.h3671 __itt_track_type ttype; /*!< Type of the track */ member