| /illumos-gate/usr/src/cmd/fm/fminject/common/ |
| H A D | inj_decl.c | 132 inj_decl_destroy(inj_decl_t *decl) in inj_decl_destroy() argument 136 inj_strfree(decl->decl_name); in inj_decl_destroy() 137 inj_strhash_destroy(&decl->decl_memhash); in inj_decl_destroy() 139 for (m = inj_list_next(&decl->decl_members); m != NULL; m = n) { in inj_decl_destroy() 145 inj_free(decl, sizeof (inj_declmem_t)); in inj_decl_destroy() 151 inj_decl_t *decl = inj_zalloc(sizeof (inj_decl_t)); in inj_decl_create() local 153 decl->decl_lineno = yylineno; in inj_decl_create() 155 inj_strhash_create(&decl->decl_memhash); in inj_decl_create() 157 inj_list_append(&decl->decl_members, dlm); in inj_decl_create() 158 (void) inj_strhash_insert(&decl->decl_memhash, dlm->dlm_name, in inj_decl_create() [all …]
|
| H A D | inj_grammar.y | 119 statement: decl 131 decl: INJ_TOK_EVDEF INJ_TOK_FMACLASS '{' decl_memlist '}' {
|
| H A D | inj_defn.c | 795 inj_decl_t *decl = inj_decl_lookup(declnm, type); in inj_defn_finish() local 802 defn->defn_decl = decl; in inj_defn_finish() 804 if (decl == NULL) { in inj_defn_finish() 810 dlm = inj_list_next(&decl->decl_members); in inj_defn_finish()
|
| /illumos-gate/usr/src/cmd/rpcgen/ |
| H A D | rpc_cout.c | 307 print_stat(1, &dl->decl); in emit_program() 407 &cur->decl); in expand_inline() 417 emit_inline64(indent + 2, &cur->decl, flag); in expand_inline() 423 emit_inline(indent + 2, &cur->decl, flag); in expand_inline() 518 if (inline_type(&dl->decl, &size)) { in inline_struct() 522 if (dl->decl.rel == REL_ALIAS) in inline_struct() 526 sizestr = arraysize(sizestr, &dl->decl, size); in inline_struct() 537 &cur->decl); in inline_struct() 547 print_stat(indent + 1, &dl->decl); in inline_struct() 556 print_stat(indent + 1, &cur->decl); in inline_struct() [all …]
|
| H A D | rpc_clntout.c | 121 ptype(proc->args.decls->decl.prefix, in printarglist() 122 proc->args.decls->decl.type, 1); in printarglist() 149 ptype(proc->args.decls->decl.prefix, in printarglist() 150 proc->args.decls->decl.type, 1); in printarglist() 158 } else if (streq(proc->args.decls->decl.type, "void")) { in printarglist() 184 f_print(fout, "%s, ", l->decl.name); in printarglist() 191 &l->decl, 1, ";\n"); in printarglist() 202 pdeclaration(proc->args.argname, &l->decl, 0, in printarglist() 261 (streq(proc->args.decls->decl.type, "void"))) { in printbody() 292 l->decl.name, l->decl.name); in printbody() [all …]
|
| H A D | rpc_sample.c | 117 if (!streq(proc->args.decls->decl.type, "void")) in write_sample_client() 118 ptype(proc->args.decls->decl.prefix, in write_sample_client() 119 proc->args.decls->decl.type, 1); in write_sample_client() 126 } else if (!streq(proc->args.decls->decl.type, "void")) { in write_sample_client() 129 ptype(l->decl.prefix, l->decl.type, 1); in write_sample_client() 130 if (strcmp(l->decl.type, "string") == 1) in write_sample_client() 133 f_print(fout, "_%s;\n", l->decl.name); in write_sample_client() 157 if (streq(proc->args.decls->decl.type, "void")) in write_sample_client() 171 } else if (streq(proc->args.decls->decl.type, "void")) { in write_sample_client() 184 f_print(fout, "_%s, ", l->decl.name); in write_sample_client()
|
| H A D | rpc_hout.c | 177 pdeclaration(name, &l->decl, 1, ";\n"); in pargdef() 195 pdeclaration(name, &l->decl, 1, ";\n"); in pstructdef() 205 declaration *decl; in puniondef() local 208 decl = &def->def.un.enum_decl; in puniondef() 209 if (streq(decl->type, "bool")) in puniondef() 210 f_print(fout, "\tbool_t %s;\n", decl->name); in puniondef() 212 f_print(fout, "\t%s %s;\n", decl->type, decl->name); in puniondef() 218 decl = def->def.un.default_decl; in puniondef() 219 if (decl && !streq(decl->type, "void")) in puniondef() 220 pdeclaration(name, decl, 2, ";\n"); in puniondef() [all …]
|
| H A D | rpc_svcout.c | 362 streq(proc->args.decls->decl.type, "void")) { in write_real_program() 379 ptype(proc->args.decls->decl.prefix, in write_real_program() 380 proc->args.decls->decl.type, 0); in write_real_program() 403 ptype(proc->args.decls->decl.prefix, in write_real_program() 404 proc->args.decls->decl.type, 0); in write_real_program() 422 if (!streq(proc->args.decls->decl.type, "void")) in write_real_program() 429 l->decl.name); in write_real_program() 469 if (streq(proc->args.decls->decl.type, in write_program() 475 ptype(proc->args.decls->decl.prefix, in write_program() 476 proc->args.decls->decl.type, 0); in write_program() [all …]
|
| H A D | rpc_tblout.c | 149 printit(proc->args.decls->decl.prefix, in write_table() 150 proc->args.decls->decl.type); in write_table()
|
| H A D | rpc_parse.c | 262 decls->decl = dec; in def_struct() 278 defp->def.st.self_pointer = is_self_reference(defp, &endp->decl); in def_struct() 333 decls->decl = dec; in def_program() 341 decls->decl = dec; in def_program()
|
| H A D | rpc_parse.h | 100 declaration decl; member
|
| /illumos-gate/usr/src/cmd/sendmail/include/sm/ |
| H A D | cdefs.h | 88 # define SM_UNUSED(decl) decl argument 90 # define SM_UNUSED(decl) decl __attribute__((__unused__)) argument 93 # define SM_UNUSED(decl) decl argument
|
| /illumos-gate/usr/src/tools/smatch/src/ |
| H A D | parse.c | 1973 struct symbol *decl = alloc_symbol(token->pos, SYM_NODE); in declaration_list() local 1974 ctx.ident = &decl->ident; in declaration_list() 1983 decl->ctype = ctx.ctype; in declaration_list() 1984 decl->ctype.modifiers |= mod; in declaration_list() 1985 decl->endpos = token->pos; in declaration_list() 1986 add_symbol(list, decl); in declaration_list() 2802 static struct token *parse_function_body(struct token *token, struct symbol *decl, in parse_function_body() argument 2806 struct symbol *base_type = decl->ctype.base_type; in parse_function_body() 2812 if (decl->ctype.modifiers & MOD_INLINE) { in parse_function_body() 2813 function_symbol_list = &decl->inline_symbol_list; in parse_function_body() [all …]
|
| H A D | expression.c | 93 struct symbol *decl, *array; in handle_func() local 110 decl = alloc_symbol(token->pos, SYM_NODE); in handle_func() 111 decl->ctype.base_type = array; in handle_func() 112 decl->ctype.alignment = 1; in handle_func() 113 decl->ctype.modifiers = MOD_STATIC; in handle_func() 114 decl->endpos = token->pos; in handle_func() 117 bind_symbol(decl, ident, NS_LABEL); in handle_func() 118 decl->namespace = NS_SYMBOL; in handle_func() 126 decl->initializer = alloc_expression(token->pos, EXPR_STRING); in handle_func() 127 decl->initializer->string = string; in handle_func() [all …]
|
| H A D | parse.h | 133 typedef void (*validate_decl_t)(struct symbol *decl);
|
| /illumos-gate/usr/src/lib/libc/i386/gen/ |
| H A D | memccpy.S | 41 decl %ecx / decrement bytes to go 48 decl %ecx / decrement bytes to go 55 decl %ecx / decrement bytes to go 62 decl %ecx / decrement bytes to go 70 decl %eax
|
| H A D | strncmp.S | 40 decl %ecx 48 decl %ecx 56 decl %ecx 64 decl %ecx
|
| H A D | wsncmp.S | 50 decl %ecx 58 decl %ecx 66 decl %ecx 74 decl %ecx
|
| H A D | memchr.S | 88 decl %edi / decrement number of bytes by 1 103 decl %edi / decrement number of bytes by 1
|
| H A D | strncat.S | 124 decl %esi / decrement number of bytes by 1 138 decl %esi / decrement number of bytes by 1
|
| /illumos-gate/usr/src/cmd/fm/eversholt/common/ |
| H A D | tree.c | 1038 struct node *decl; in dodecl() local 1055 if (justpath && (decl = tree_name2np_lut_lookup(*lutpp, np)) == NULL) { in dodecl() 1061 (decl = tree_event2np_lut_lookup(*lutpp, np)) == NULL) { in dodecl() 1068 decl->u.stmt.lutp = nvpair2lut(nvpairs, decl->u.stmt.lutp, t); in dodecl() 1100 struct node *decl; in tree_decl() local 1117 decl = tree_event2np_lut_lookup(Faults, np); in tree_decl() 1118 update_serd_refstmt(NULL, decl, NULL); in tree_decl() 1126 decl = tree_event2np_lut_lookup(Upsets, np); in tree_decl() 1127 update_serd_refstmt(NULL, decl, NULL); in tree_decl() 1135 decl = tree_event2np_lut_lookup(Defects, np); in tree_decl() [all …]
|
| /illumos-gate/usr/src/lib/libc/i386_hwcap1/gen/ |
| H A D | memcpy.S | 122 decl %edx 195 decl %edx
|
| /illumos-gate/usr/src/common/atomic/amd64/ |
| H A D | atomic.S | 139 decl (%rdi) 177 decl %eax / %eax = -1 180 decl %eax / return new value 529 decl %eax / return -1 539 decl %eax / return -1
|
| /illumos-gate/usr/src/boot/i386/btx/btxldr/ |
| H A D | btxldr.S | 279 decl %esi # Undo 280 hexout.2: decl %esi # Adjust for inc
|
| /illumos-gate/usr/src/common/atomic/i386/ |
| H A D | atomic.S | 165 decl (%eax) 200 decl %eax / %eax = -1 203 decl %eax / return new value 669 decl %eax / return -1 681 decl %eax / return -1
|