Home
last modified time | relevance | path

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

123456

/illumos-gate/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()
108 switch (tokp->kind) { in scan_num()
211 tokp->kind = TOK_COLON; in get_token()
219 tokp->kind = TOK_COMMA; in get_token()
223 tokp->kind = TOK_EQUAL; in get_token()
227 tokp->kind = TOK_STAR; in get_token()
283 tokp->kind = TOK_IDENT; in get_token()
425 tokp->kind = s->kind; in findkind()
[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()
692 switch (tok.kind) { in get_type()
[all …]
/illumos-gate/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);
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DFlow.java109 private final Kind kind; field in Flow
129 kind = Enum.valueOf(Kind.class, flowKindName); in Flow()
146 return kind; in getKind()
179 return ((kind == f.kind) && (depth == f.depth)); in equals()
192 hash = (37 * hash) + kind.hashCode(); in hashCode()
203 if (kind == null) { in readObject()
226 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()
/illumos-gate/usr/src/tools/smatch/src/
H A Dctags.c71 stream_name(sym->pos.stream), sym->pos.line, (int)sym->kind); in show_symbol_tag()
117 sym->kind = 'm'; in examine_members()
139 sym->kind = 'f'; in examine_symbol()
143 sym->kind = 's'; in examine_symbol()
147 sym->kind = 'u'; in examine_symbol()
151 sym->kind = 'e'; in examine_symbol()
166 if (!sym->kind) in examine_symbol()
167 sym->kind = 'v'; in examine_symbol()
183 sym->kind = 'l'; in examine_namespace()
187 sym->kind = 'd'; in examine_namespace()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtypegraph.c460 int kind; in typegraph_offiter() local
492 kind != CTF_K_UNION && kind != CTF_K_ARRAY) { in typegraph_offiter()
545 int kind; in typegraph_union() local
552 if (kind == CTF_K_STRUCT || kind != CTF_K_UNION || in typegraph_union()
632 int kind; in typegraph_hasfam() local
727 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) { in typegraph_type_offset()
1622 int kind; in typegraph_pass1_node() local
2030 int kind; in typegraph_pass4_node() local
3020 int kind; in findlocks_node() local
3081 if (kind != CTF_K_STRUCT && kind != CTF_K_ARRAY) in findlocks_node()
[all …]
/illumos-gate/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)
180 kind, \
183 #define TNF_STD_DERIVED_TAG(type, base, props, kind) \ argument
[all …]
/illumos-gate/usr/src/test/os-tests/tests/ksensor/
H A Dksensor_basic.c55 sensor_ioctl_kind_t kind; in ksensor_basic() local
65 arc4random_buf(&kind, sizeof (kind)); in ksensor_basic()
68 if (ioctl(fd, SENSOR_IOCTL_KIND, &kind) != 0) { in ksensor_basic()
73 if (kind.sik_kind != st->st_kind) { in ksensor_basic()
75 PRIu64, st->st_path, st->st_kind, kind); in ksensor_basic()
H A Dksensor_err.c37 sensor_ioctl_kind_t kind, alt_kind; in error_kind() local
40 (void) memcpy(&kind, &alt_kind, sizeof (alt_kind)); in error_kind()
42 if (ioctl(fd, SENSOR_IOCTL_KIND, &kind) == 0) { in error_kind()
54 if (memcmp(&kind, &alt_kind, sizeof (alt_kind)) != 0) { in error_kind()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_dis.c269 char kind[16], ckind[16]; in dt_dis_typestr() local
273 (void) strcpy(kind, "D type"); in dt_dis_typestr()
276 (void) strcpy(kind, "string"); in dt_dis_typestr()
279 (void) snprintf(kind, sizeof (kind), "0x%x", t->dtdt_kind); in dt_dis_typestr()
331 kind, ckind, (t->dtdt_flags & DIF_TF_BYUREF) ? "user " : "", in dt_dis_typestr()
335 kind, ckind, (ulong_t)t->dtdt_size); in dt_dis_typestr()
477 char kind[4], scope[4], flags[16] = { 0 }; in dt_dis() local
481 (void) strcpy(kind, "arr"); in dt_dis()
484 (void) strcpy(kind, "scl"); in dt_dis()
487 (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.c699 if (kind == CTF_K_STRUCT || kind == CTF_K_UNION || in dt_node_type_assign()
701 kind == CTF_K_ARRAY || kind == CTF_K_FUNCTION) in dt_node_type_assign()
840 uint_t kind; in dt_node_is_integer() local
851 return (kind == CTF_K_INTEGER || kind == CTF_K_ENUM); in dt_node_is_integer()
860 uint_t kind; in dt_node_is_float() local
879 uint_t kind; in dt_node_is_scalar() local
890 return (kind == CTF_K_INTEGER || kind == CTF_K_ENUM || in dt_node_is_scalar()
1015 return (kind == CTF_K_POINTER || kind == CTF_K_ARRAY); in dt_node_is_pointer()
1815 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) { in dt_node_offsetof()
2487 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) { in dt_node_xlator()
[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
253 ddp->dd_kind = kind; in dt_decl_spec()
477 dt_decl_sou(uint_t kind, char *name) in dt_decl_sou() argument
479 dt_decl_t *ddp = dt_decl_spec(kind, name); in dt_decl_sou()
503 if (kind == CTF_K_STRUCT) in dt_decl_sou()
533 uint_t kind; in dt_decl_member() local
565 kind = ctf_type_kind(dtt.dtt_ctfp, base); in dt_decl_member()
568 if (kind == CTF_K_FORWARD || ((kind == CTF_K_STRUCT || in dt_decl_member()
[all …]
/illumos-gate/usr/src/uts/common/io/ksensor/
H A Dksensor_drv.c79 sensor_ioctl_kind_t kind; in ksensor_ioctl_kind() local
81 bzero(&kind, sizeof (kind)); in ksensor_ioctl_kind()
82 ret = ksensor_op_kind((id_t)min, &kind); in ksensor_ioctl_kind()
84 if (ddi_copyout(&kind, (void *)arg, sizeof (kind), in ksensor_ioctl_kind()
/illumos-gate/usr/src/common/ctf/
H A Dctf_create.c361 switch (kind) { in ctf_update()
531 switch (kind) { in ctf_update()
744 int kind, i; in ctf_dtd_delete() local
757 switch (kind) { in ctf_dtd_delete()
1313 switch (kind) { in ctf_add_forward()
1465 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) in ctf_add_member()
1729 switch (kind) { in ctf_add_type()
1762 kind != CTF_K_STRUCT && kind != CTF_K_UNION))) in ctf_add_type()
1798 switch (kind) { in ctf_add_type()
2163 uint_t kind; in ctf_set_size() local
[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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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);
/illumos-gate/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))
246 #define CTF_TYPE_INFO_V1(kind, isroot, vlen) \ argument
247 (((kind) << 12) | (((isroot) ? 1 : 0) << 11) | ((vlen) & 0x07ff))
/illumos-gate/usr/src/test/bhyve-tests/tests/kdev/
H A Dvhpet_freq.c106 const enum vm_exit_kind kind = in main() local
108 if (kind == VEK_REENTR) { in main()
110 } else if (kind != VEK_UNHANDLED) { in main()

123456