Home
last modified time | relevance | path

Searched refs:kind (Results 1 – 25 of 124) sorted by relevance

12345

/titanic_41/usr/src/cmd/rpcgen/
H A Drpc_scan.c74 if (tokp->kind != expect) in scan()
85 if (tokp->kind != expect1 && tokp->kind != expect2) in scan2()
96 if (tokp->kind != expect1 && tokp->kind != expect2 && in scan3()
97 tokp->kind != expect3) in scan3()
108 switch (tokp->kind) { in scan_num()
133 if (tokp->kind == expect) { in peekscan()
159 tokp->kind = TOK_EOF; in get_token()
211 tokp->kind = TOK_COLON; in get_token()
215 tokp->kind = TOK_SEMICOLON; in get_token()
219 tokp->kind = TOK_COMMA; in get_token()
[all …]
H A Drpc_parse.c76 switch (tok.kind) { in get_definition()
271 } while (tok.kind != TOK_RBRACE); in def_struct()
365 } while (tok.kind != TOK_RBRACE); in def_program()
381 } while (tok.kind == TOK_VERSION); in def_program()
406 if (tok.kind == TOK_EQUAL) { in def_enum()
413 } while (tok.kind != TOK_RBRACE); in def_enum()
450 while (tok.kind == TOK_CASE) { in def_union()
484 if (tok.kind == TOK_DEFAULT) { in def_union()
577 if (tok.kind == TOK_STAR) { in get_declaration()
622 if (tok.kind == TOK_RPAREN) { /* no arguments */ in get_prog_declaration()
[all …]
/titanic_41/usr/src/cmd/tnf/prex/
H A Dcmd.c61 cmd_set(char *setname_p, cmd_kind_t kind, char *fcnname_p) in cmd_set() argument
71 if (kind == CMD_CONNECT && !fcn_find(fcnname_p)) { in cmd_set()
85 new_p->kind = kind; in cmd_set()
99 cmd_expr(expr_t * expr_p, cmd_kind_t kind, char *fcnname_p) in cmd_expr() argument
103 if (kind == CMD_CONNECT && !fcn_find(fcnname_p)) { in cmd_expr()
112 new_p->kind = kind; in cmd_expr()
157 switch (cmd_p->kind) { in cmd_list()
182 if (cmd_p->kind == CMD_CONNECT) { in cmd_list()
214 if (cmd_p->kind == CMD_CONNECT) { in cmd_traverse()
222 cmd_p->kind, in cmd_traverse()
[all …]
H A Dcmd.h71 cmd_kind_t kind; member
77 cmd_kind_t kind,
87 cmd_t *cmd_set(char *setname_p, cmd_kind_t kind, char *fcnname_p);
88 cmd_t *cmd_expr(expr_t * expr_p, cmd_kind_t kind, char *fcnname_p);
/titanic_41/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DFlow.java111 private final Kind kind; field in Flow
131 kind = Enum.valueOf(Kind.class, flowKindName); in Flow()
148 return kind; in getKind()
181 return ((kind == f.kind) && (depth == f.depth)); in equals()
194 hash = (37 * hash) + kind.hashCode(); in hashCode()
205 if (kind == null) { in readObject()
228 buf.append(kind); in toString()
H A DDrop.java125 private final Kind kind; field in Drop
155 kind = Enum.valueOf(Kind.class, dropKindName); in Drop()
197 return kind; in getKind()
267 buf.append(kind); in toString()
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dtypegraph.c460 int kind; in typegraph_offiter() local
491 if ((kind = mdb_ctf_type_kind(type)) != CTF_K_STRUCT && in typegraph_offiter()
492 kind != CTF_K_UNION && kind != CTF_K_ARRAY) { in typegraph_offiter()
505 if (kind == CTF_K_ARRAY) { in typegraph_offiter()
545 int kind; in typegraph_union() local
550 kind = mdb_ctf_type_kind(type); in typegraph_union()
552 if (kind == CTF_K_STRUCT || kind != CTF_K_UNION || in typegraph_union()
553 kind != CTF_K_ARRAY) { in typegraph_union()
632 int kind; in typegraph_hasfam() local
637 if ((kind = mdb_ctf_type_kind(type)) != CTF_K_STRUCT) in typegraph_hasfam()
[all …]
/titanic_41/usr/src/uts/common/tnf/
H A Dtnf_types.h127 #define TNF_SCALAR_TAG(type, size, align, kind) \ argument
137 kind }
139 #define TNF_STD_SCALAR_TAG(type, kind) \ argument
141 TNF_ALIGN(type##_t), kind)
148 #define TNF_ARRAY_TAG(type, eltag, props, slots, kind) \ argument
158 kind, \
162 #define TNF_STD_ARRAY_TAG(type, eltype, kind) \ argument
164 tnf_array_properties, tnf_array_slots, kind)
170 #define TNF_DERIVED_TAG(type, basetag, props, size, align, kind) \ argument
180 kind, \
[all …]
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_dis.c256 char kind[16], ckind[16]; in dt_dis_typestr() local
260 (void) strcpy(kind, "D type"); in dt_dis_typestr()
263 (void) strcpy(kind, "string"); in dt_dis_typestr()
266 (void) snprintf(kind, sizeof (kind), "0x%x", t->dtdt_kind); in dt_dis_typestr()
318 kind, ckind, (t->dtdt_flags & DIF_TF_BYUREF) ? "user " : "", in dt_dis_typestr()
322 kind, ckind, (ulong_t)t->dtdt_size); in dt_dis_typestr()
463 char kind[4], scope[4], flags[16] = { 0 }; in dt_dis() local
467 (void) strcpy(kind, "arr"); in dt_dis()
470 (void) strcpy(kind, "scl"); in dt_dis()
473 (void) snprintf(kind, sizeof (kind), in dt_dis()
[all …]
H A Ddt_print.c376 int kind; in dt_print_array() local
386 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR) { in dt_print_array()
393 if (kind == CTF_K_INTEGER && in dt_print_array()
443 else if (CTF_IS_STRUCTLIKE(kind)) in dt_print_array()
452 if (CTF_IS_STRUCTLIKE(kind)) in dt_print_array()
548 int kind; in dt_print_member() local
567 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR || in dt_print_member()
568 kind < CTF_K_INTEGER || kind > CTF_K_FORWARD) { in dt_print_member()
577 brief = (arraymember && !CTF_IS_STRUCTLIKE(kind)); in dt_print_member()
613 if (kind == CTF_K_INTEGER && in dt_print_member()
[all …]
H A Ddt_parser.c511 dt_node_xalloc(dtrace_hdl_t *dtp, int kind) in dt_node_xalloc() argument
520 dnp->dn_kind = (uchar_t)kind; in dt_node_xalloc()
540 dt_node_alloc(int kind) in dt_node_alloc() argument
542 dt_node_t *dnp = dt_node_xalloc(yypcb->pcb_hdl, kind); in dt_node_alloc()
557 uchar_t kind = dnp->dn_kind; in dt_node_free() local
561 switch (kind) { in dt_node_free()
678 uint_t kind = ctf_type_kind(fp, base); in dt_node_type_assign() local
684 if (kind == CTF_K_INTEGER && ctf_type_encoding(fp, base, &e) == 0) { in dt_node_type_assign()
694 if (kind == CTF_K_FLOAT && ctf_type_encoding(fp, base, &e) == 0) { in dt_node_type_assign()
699 if (kind == CTF_K_STRUCT || kind == CTF_K_UNION || in dt_node_type_assign()
[all …]
H A Ddt_decl.c75 dt_decl_alloc(ushort_t kind, char *name) in dt_decl_alloc() argument
82 ddp->dd_kind = kind; in dt_decl_alloc()
230 dt_decl_spec(ushort_t kind, char *name) in dt_decl_spec() argument
235 return (dt_decl_push(dt_decl_alloc(kind, name))); in dt_decl_spec()
244 if (ddp->dd_name != NULL && kind == CTF_K_TYPEDEF) { in dt_decl_spec()
253 ddp->dd_kind = kind; in dt_decl_spec()
328 dt_node_t *flist, const char *kind, uint_t flags) in dt_decl_prototype() argument
339 "not use a variable-length argument list\n", kind); in dt_decl_prototype()
345 kind, dt_node_type_name(dnp, n, sizeof (n)), in dt_decl_prototype()
355 kind, dt_node_type_name(dnp, n, sizeof (n)), in dt_decl_prototype()
[all …]
H A Ddt_pragma.c471 int kind = DT_PRAGMA_DIR; in dt_pragma() local
482 if (kind == DT_PRAGMA_DIR && in dt_pragma()
484 kind = DT_PRAGMA_SUB; in dt_pragma()
488 if (kind == DT_PRAGMA_SUB && in dt_pragma()
490 kind = DT_PRAGMA_DCP; in dt_pragma()
495 if (dpd->dpd_kind <= kind && in dt_pragma()
508 switch (kind) { in dt_pragma()
/titanic_41/usr/src/common/ctf/
H A Dctf_create.c274 uint_t kind = CTF_INFO_KIND(dtd->dtd_data.ctt_info); in ctf_update() local
282 switch (kind) { in ctf_update()
332 uint_t kind = CTF_INFO_KIND(dtd->dtd_data.ctt_info); in ctf_update() local
355 switch (kind) { in ctf_update()
358 if (kind == CTF_K_INTEGER) { in ctf_update()
486 int kind, i; in ctf_dtd_delete() local
498 kind = CTF_INFO_KIND(dtd->dtd_data.ctt_info); in ctf_dtd_delete()
499 switch (kind) { in ctf_dtd_delete()
510 if (kind != CTF_K_ENUM) in ctf_dtd_delete()
661 const char *name, const ctf_encoding_t *ep, uint_t kind) in ctf_add_encoded() argument
[all …]
H A Dctf_decl.c91 uint_t kind, n = 1; in ctf_decl_push() local
102 switch (kind = LCTF_INFO_KIND(fp, tp->ctt_info)) { in ctf_decl_push()
146 cdp->cd_kind = kind; in ctf_decl_push()
164 if (kind == CTF_K_ARRAY || (is_qual && prec == CTF_PREC_BASE)) in ctf_decl_push()
H A Dctf_types.c63 uint_t kind, n; in ctf_member_iter() local
73 kind = LCTF_INFO_KIND(fp, tp->ctt_info); in ctf_member_iter()
75 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) in ctf_member_iter()
657 uint_t kind, n; in ctf_member_info() local
666 kind = LCTF_INFO_KIND(fp, tp->ctt_info); in ctf_member_info()
668 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) in ctf_member_info()
816 uint_t kind, n; in ctf_type_rvisit() local
828 kind = LCTF_INFO_KIND(fp, tp->ctt_info); in ctf_type_rvisit()
830 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) in ctf_type_rvisit()
/titanic_41/usr/src/tools/ctf/stabs/common/
H A Dforth.c183 int lkind = 0, kind; in fth_section_init() local
200 (kind = ctf_type_kind(ctf, tid)) == CTF_ERR) { in fth_section_init()
219 if ((kind = ctf_type_kind(ctf, tid)) == CTF_ERR) { in fth_section_init()
235 lkind = kind; in fth_section_init()
243 switch (kind) { in fth_section_init()
/titanic_41/usr/src/cmd/tbl/
H A Dtu.c175 int kind, li, lj; in left() local
180 kind = lefdata(i,c); in left()
181 if (kind==0) return(-1); in left()
183 if (lefdata(next(i),c)== kind) return(-1); in left()
184 while (i>=0 && lefdata(i,c)==kind) in left()
187 *lwidp=kind; in left()
/titanic_41/usr/src/uts/common/sys/
H A Dctf.h217 #define CTF_TYPE_INFO(kind, isroot, vlen) \ argument
218 (((kind) << 11) | (((isroot) ? 1 : 0) << 10) | ((vlen) & CTF_MAX_VLEN))
244 #define CTF_TYPE_INFO_V1(kind, isroot, vlen) \ argument
245 (((kind) << 12) | (((isroot) ? 1 : 0) << 11) | ((vlen) & 0x07ff))
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Ddisp_major_status.c124 display_unknown(kind, value, buffer) in display_unknown() argument
125 const char *kind; in display_unknown()
132 (char *) xmalloc(strlen(unknown_error)+strlen(kind)+7)) == NULL)
135 sprintf(str, unknown_error, kind, value);
/titanic_41/usr/src/cmd/fm/fmd/common/
H A Dfmd_self.c49 self_case_create(fmd_hdl_t *hdl, int kind, const char *name) in self_case_create() argument
53 scp->sc_kind = kind; in self_case_create()
67 self_case_lookup(fmd_hdl_t *hdl, int kind, const char *name) in self_case_lookup() argument
73 if (scp->sc_kind == kind && strcmp(scp->sc_name, name) == 0) in self_case_lookup()
/titanic_41/usr/src/uts/common/dtrace/
H A Dprofile.c160 profile_create(hrtime_t interval, const char *name, int kind) in profile_create() argument
184 prof->prof_kind = kind; in profile_create()
193 int i, j, rate, kind; in profile_provide() local
199 int kind; in profile_provide() member
268 kind = types[i].kind; in profile_provide()
318 profile_create(val, name, kind); in profile_provide()
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_typedef.c182 int kind; in typedef_create() local
185 kind = SYNTHETIC_ILP32; in typedef_create()
187 kind = SYNTHETIC_LP64; in typedef_create()
193 if (mdb_ctf_synthetics_create_base(kind) != 0) { in typedef_create()
297 const char *kind, *basename; in typedef_parse() local
331 kind = defn; in typedef_parse()
343 "Found: '%c'\n", kind, *defn); in typedef_parse()
H A Dmdb_print.c1180 uint_t i, kind, limit; in print_array() local
1240 kind = mdb_ctf_type_kind(base); in print_array()
1241 sou = IS_COMPOSITE(kind); in print_array()
1543 int kind, rc, d; in elt_print() local
1562 (kind = mdb_ctf_type_kind(base)) == -1) in elt_print()
1605 int extra = IS_COMPOSITE(kind)? 1 : 0; in elt_print()
1630 if (kind == CTF_K_INTEGER && in elt_print()
1642 if (IS_COMPOSITE(kind)) { in elt_print()
1643 hole->hi_isunion = (kind == CTF_K_UNION); in elt_print()
1685 if ((pap->pa_flags & PA_SHOWTYPE) && kind == CTF_K_INTEGER) { in elt_print()
[all …]
/titanic_41/usr/src/cmd/dtrace/test/cmd/scripts/
H A Ddtfailures.ksh34 kind=`basename $(dirname $tst)`
38 printf "%-3d %-10s %-31s " $failure $kind $name

12345