Home
last modified time | relevance | path

Searched refs:def (Results 1 – 25 of 822) sorted by relevance

12345678910>>...33

/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_hout.c100 !isvectordef(def->def.ty.old_type, def->def.ty.rel)); in print_datadef()
155 pdefine(def->def_name, def->def.co); in pconstdef()
194 for (l = def->def.st.decls; l != NULL; l = l->next) in pstructdef()
208 decl = &def->def.un.enum_decl; in puniondef()
218 decl = def->def.un.default_decl; in puniondef()
285 puldefine(def->def_name, def->def.pr.prog_num, PROGRAM); in pprogramdef()
332 def->def.pr.versions)) { in pprogramdef()
441 char *old = def->def.ty.old_type; in ptypedef()
443 relation rel = def->def.ty.rel; in ptypedef()
457 def->def.ty.old_prefix); in ptypedef()
[all …]
H A Drpc_cout.c84 if (strcmp(def->def.ty.old_type, def->def_name) == 0) in emit()
151 !isvectordef(def->def.ty.old_type, def->def.ty.rel)); in print_header()
321 print_stat(1, &def->def.un.enum_decl); in emit_union()
323 for (cl = def->def.un.cases; cl != NULL; cl = cl->next) { in emit_union()
346 dflt = def->def.un.default_decl; in emit_union()
686 decl_list *dl = def->def.st.decls; in emit_struct()
695 if (rflag && def->def.st.self_pointer) { in emit_struct()
723 char *prefix = def->def.ty.old_prefix; in emit_typedef()
724 char *type = def->def.ty.old_type; in emit_typedef()
725 char *amax = def->def.ty.array_max; in emit_typedef()
[all …]
H A Drpc_util.c131 definition *def; in fixit() local
134 if (def == NULL || def->def_kind != DEF_TYPEDEF) in fixit()
136 switch (def->def.ty.rel) { in fixit()
138 if (streq(def->def.ty.old_type, "opaque")) in fixit()
140 return (def->def.ty.old_type); in fixit()
143 return (fixit(def->def.ty.old_type, orig)); in fixit()
187 if (def->def_kind != DEF_TYPEDEF || def->def.ty.old_prefix != NULL) in typedefed()
195 definition *def; in isvectordef() local
207 if (def == NULL) in isvectordef()
209 type = def->def.ty.old_type; in isvectordef()
[all …]
H A Drpc_svcout.c204 definition *def; in write_netid_register() local
229 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_netid_register()
255 definition *def; in write_nettype_register() local
263 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_nettype_register()
322 definition *def; in write_programs() local
356 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_real_program()
446 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_program()
757 definition *def; in print_pmapunset() local
763 for (vp = def->def.pr.versions; vp != NULL; in print_pmapunset()
1006 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_pm_most()
[all …]
H A Drpc_sample.c58 write_sample_svc(definition *def) in write_sample_svc() argument
60 if (def->def_kind != DEF_PROGRAM) in write_sample_svc()
62 write_sample_server(def); in write_sample_svc()
66 write_sample_clnt(definition *def) in write_sample_clnt() argument
71 if (def->def_kind != DEF_PROGRAM) in write_sample_clnt()
74 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_sample_clnt()
216 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_sample_server()
301 definition *def; in write_sample_clnt_main() local
319 def = l->val; in write_sample_clnt_main()
320 if (def->def_kind != DEF_PROGRAM) in write_sample_clnt_main()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dsimplify.c60 struct instruction *def = pseudo->def; in phi_parent() local
90 def = phi->def; in get_phisources()
201 def = phi->def; in trivial_phi()
802 def = pseudo->def; in simplify_shift()
967 def = old->def; in simplify_seteq_setne()
1030 def->type = def->orig_type; in simplify_seteq_setne()
1266 def = pseudo->def; in simplify_associative_binop()
1321 def = insn->src->def; in simplify_unop()
1326 def = insn->src->def; in simplify_unop()
1422 def = src->def; in simplify_cast()
[all …]
H A Dunssa.c45 struct instruction *def = src->def; in simplify_phi_node() local
47 if (!def) in simplify_phi_node()
49 if (def->bb == phi->bb) in simplify_phi_node()
78 struct instruction *def = p->def; in replace_phi_node() local
84 assert(def->opcode == OP_PHISOURCE); in replace_phi_node()
86 def->opcode = OP_COPY; in replace_phi_node()
87 def->target = tmp; in replace_phi_node()
90 src = def->phi_src; in replace_phi_node()
96 insn = src->def; in replace_phi_node()
101 kill_instruction(def); in replace_phi_node()
[all …]
H A Dliveness.c21 struct instruction *def; in phi_defines() local
24 def = phi->def; in phi_defines()
25 if (!def || !def->bb) in phi_defines()
27 defines(def->bb, target); in phi_defines()
42 def(bb, entry->pseudo); in asm_liveness()
158 struct instruction *def = pseudo->def; in insn_uses() local
159 if (pseudo->type != PSEUDO_REG || def->bb != bb || def->opcode == OP_PHI) in insn_uses()
227 pseudo_t def; in track_pseudo_liveness() local
237 } END_FOR_EACH_PTR(def); in track_pseudo_liveness()
254 struct instruction *def; in track_phi_uses() local
[all …]
/illumos-gate/usr/src/cmd/prtfru/
H A Dprtfru.c307 const fru_regdef_t *def; in output_dtd() local
498 switch (def->dataType) { in print_field()
501 switch (def->dispType) { in print_field()
603 - def->payloadLen), in print_field()
616 if (strcmp(def->name, in print_field()
631 switch (def->dispType) { in print_field()
669 if (strcmp(def->name, in print_field()
994 print_field(data, def); in print_element()
1027 print_field(data, def); in print_element()
1050 def = &unknown; in print_packet()
[all …]
/illumos-gate/usr/src/lib/libfru/libnvfru/
H A Dnvfru.c68 switch (def->dataType) { in convert_field()
71 switch (def->dispType) { in convert_field()
97 field, def->payloadLen); in convert_field()
99 switch (def->payloadLen) { in convert_field()
125 def->payloadLen), field, def->payloadLen); in convert_field()
138 def->payloadLen); in convert_field()
155 path = (char *)def->name; in convert_element()
159 if (def->iterationCount) { in convert_element()
167 def->iterationCount; in convert_element()
183 num = def->iterationCount; in convert_element()
[all …]
/illumos-gate/usr/src/lib/libfru/libfru/
H A DAncestor.cc38 def(d), in Ancestor()
112 return (def); in getDef()
144 fru_regdef_t *def = NULL; in listTaggedAncestors() local
156 def = (fru_regdef_t *) in listTaggedAncestors()
184 if (def->tagType == FRU_X) in createTaggedAncestor()
188 mk_tag(def->tagType, def->tagDense, def->payloadLen, &tag); in createTaggedAncestor()
197 if (def->dataType == FDTYPE_Record) { in createTaggedAncestor()
202 ((char *)def->enumTable[i].text); in createTaggedAncestor()
204 path << def->name; in createTaggedAncestor()
246 if (def->dataType == FDTYPE_Record) { in definitionContains()
[all …]
H A DnameSyntaxYacc.y75 = Ancestor::listTaggedAncestors((char *)$1->def->name);
85 if ($1->def->dataType != FDTYPE_Record)
91 for ( int i=0;i<$1->def->enumCount;i++)
93 if ( strcmp ($3->def->name, $1->def->enumTable[i].text) == 0 )
109 if ( $2->def->tagType == FRU_X )
122 if ( def == NULL )
130 pathDef->def = (fru_regdef_t *)def;
139 if ( def == NULL )
146 if ( def->iterationType == FRU_NOT_ITERATED )
155 if ( ($3 >= def->iterationCount) || ($3 < 0) )
[all …]
H A DPayloadReader.cc200 /path->def->iterationCount); in getIterationOffset()
238 path->def->iterationCount; in readRecurse()
278 path->def->iterationCount; in readRecurse()
327 newOffset += getOffsetIntoRecord(path->def, path->next->def); in readRecurse()
388 switch (path->def->iterationType) { in update_iter_cont_bytes()
457 path->def->iterationCount; in updateRecurse()
464 calcLen = path->def->payloadLen; in updateRecurse()
475 path->def->iterationCount; in updateRecurse()
505 newOffset += getOffsetIntoRecord(path->def, path->next->def); in updateRecurse()
534 prev->def->iterationCount; in updateData()
[all …]
H A Dlibfru.cc809 if (def == NULL) { in fru_destroy_elemdef()
815 free(def->enum_table); in fru_destroy_elemdef()
817 def->enum_count = 0; in fru_destroy_elemdef()
1041 if (def != NULL) { in fru_list_elems_in()
1228 if (def == NULL) { in find_unknown_element()
1883 offset += ((def->payloadLen - 4)/(def->iterationCount)); in fill_in_iteration_control_bytes()
1904 if (def == NULL) { in fru_add_element()
1924 mk_tag(def->tagType, def->tagDense, def->payloadLen, &tag); in fru_add_element()
2014 if (def == NULL) { in fru_delete_element()
2022 mk_tag(def->tagType, def->tagDense, def->payloadLen, &tag); in fru_delete_element()
[all …]
/illumos-gate/usr/src/cmd/format/
H A Ddefect.c245 fmt_print("%4d%8d%7d", num, def->cyl, def->head); in pr_defect()
258 fmt_print("%8llu", chs2bn(def->cyl, def->head, def->sect)); in pr_defect()
280 if (def->bfi == UNKNOWN) in sort_defect()
296 if (def->cyl < ptr->cyl) in sort_defect()
304 if (def->bfi < ptr->bfi) in sort_defect()
409 struct defect_entry def; in add_ldef() local
416 def.cyl = bn2c(blkno); in add_ldef()
417 def.head = bn2h(blkno); in add_ldef()
418 def.sect = bn2s(blkno); in add_ldef()
422 def.bfi = def.nbits = UNKNOWN; in add_ldef()
[all …]
/illumos-gate/usr/src/cmd/fruadm/
H A Dfruadm.c151 switch (def->disp_type) { in displayBinary()
219 switch (def->data_type) { in display_data()
228 switch (def->disp_type) { in display_data()
286 fru_elemdef_t def, def1; in print_node_data() local
388 fru_elemdef_t def; in convert_update() local
405 switch (def.data_type) { in convert_update()
503 fru_segdef_t def; in create_segment() local
513 (void) memset(&def, 0, sizeof (def)); in create_segment()
514 def.address = 0; in create_segment()
516 def.hw_desc.all_bits = 0; in create_segment()
[all …]
/illumos-gate/usr/src/uts/intel/sys/amdzen/
H A Dccd.h84 (const uint32_t)def.srd_size; in amdzen_smupwr_smn_reg()
86 const uint32_t stride = (def.srd_stride == 0) ? size32 : def.srd_stride; in amdzen_smupwr_smn_reg()
88 (const uint32_t)def.srd_nents; in amdzen_smupwr_smn_reg()
91 ASSERT3S(def.srd_unit, ==, SMN_UNIT_SMUPWR); in amdzen_smupwr_smn_reg()
230 (const uint32_t)def.srd_size; in amdzen_l3soc_smn_reg()
232 const uint32_t stride = (def.srd_stride == 0) ? size32 : def.srd_stride; in amdzen_l3soc_smn_reg()
234 (const uint32_t)def.srd_nents; in amdzen_l3soc_smn_reg()
237 ASSERT3S(def.srd_unit, ==, SMN_UNIT_L3SOC); in amdzen_l3soc_smn_reg()
347 (const uint32_t)def.srd_size; in amdzen_scfctp_smn_reg()
349 const uint32_t stride = (def.srd_stride == 0) ? 4 : def.srd_stride; in amdzen_scfctp_smn_reg()
[all …]
H A Dsmn.h496 _fn(const uint8_t unitno, const smn_reg_def_t def, const uint16_t reginst) \
500 const uint32_t size32 = (def.srd_size == 0) ? 4 : \
501 (const uint32_t)def.srd_size; \
503 const uint32_t stride = (def.srd_stride == 0) ? size32 : \
504 def.srd_stride; \
506 const uint32_t nents = (def.srd_nents == 0) ? 1 : \
507 (const uint32_t)def.srd_nents; \
509 ASSERT3S(def.srd_unit, ==, SMN_UNIT_ ## _unit); \
512 ASSERT0(def.srd_reg & (_mask)); \
522 const uint32_t reg = def.srd_reg + reginst32 * stride; \
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_modconf.c77 fake_installfs(vfsdef_t *def) in fake_installfs() argument
80 char *fsname = def->name; in fake_installfs()
85 if (def->def_version != VFSDEF_VERSION) { in fake_installfs()
111 vswp->vsw_flag = def->flags & ~(VSW_STATS); in fake_installfs()
113 if (def->flags & VSW_HASPROTO) { in fake_installfs()
114 vfs_mergeopttbl(&vfs_mntopts, def->optproto, in fake_installfs()
120 if (def->flags & VSW_CANRWRO) { in fake_installfs()
129 if (def->init == NULL) in fake_installfs()
132 err = (*(def->init))(fstype, fsname); in fake_installfs()
157 fake_removefs(vfsdef_t *def) in fake_removefs() argument
[all …]
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dtexinfo.tex206 \def\|{%
1307 \def\params{#1}\def\E{END}%
1336 \def\skipspaces#1{\def\PP{#1}\def\D{|}%
1621 \def\lsize{chap}\def\lllsize{subsec}%
1630 \def\lsize{sec}\def\lllsize{text}%
1646 \def\lsize{text}\def\lllsize{small}%
1655 \def\lsize{small}\def\lllsize{smaller}%
1864 \def\kbdfoo#1#2#3\par{\def\one{#1}\def\three{#3}\def\threex{??}%
2477 \def\splitoff#1#2\endmark{\def\first{#1}\def\rest{#2}}%
5698 \def\getmacargs#1{\def\argl{#1}}
[all …]
/illumos-gate/usr/src/cmd/truss/
H A Dlistopts.c122 goto def; in syslist()
130 goto def; in syslist()
138 goto def; in syslist()
146 goto def; in syslist()
152 goto def; in syslist()
158 goto def; in syslist()
164 goto def; in syslist()
170 goto def; in syslist()
176 goto def; in syslist()
182 goto def; in syslist()
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/backend/
H A Dswitch.c1 int def(void);
21 return def(); in small()
39 return def(); in densefull()
57 return def(); in densepart()
86 return def(); in dense_dense_20()
115 return def(); in dense_dense_100()
144 return def(); in dense_dense_1000()
162 return def(); in sparse()
171 return def(); in range_simple()
184 return def(); in range_complex()
/illumos-gate/usr/src/lib/libbsm/common/
H A Dadt_token.c154 adt_to_return(datadef *def, void *p_data, int required, in adt_to_return() argument
178 adt_to_cmd(datadef *def, void *p_data, int required, in adt_to_cmd() argument
204 adt_to_cmd1(datadef *def, void *p_data, int required, in adt_to_cmd1() argument
236 adt_to_tid(datadef *def, void *p_data, int required, in adt_to_tid() argument
281 adt_to_frmi(datadef *def, void *p_data, int required, in adt_to_frmi() argument
306 adt_to_label(datadef *def, void *p_data, int required, in adt_to_label() argument
357 adt_to_path(datadef *def, void *p_data, int required, in adt_to_path() argument
422 adt_to_priv(datadef *def, void *p_data, int required, in adt_to_priv() argument
638 adt_to_text(datadef *def, void *p_data, int required, in adt_to_text() argument
654 switch (def->dd_datatype) { in adt_to_text()
[all …]
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dconfig.c249 const char *key, const char *def) argument
259 return def;
262 const char *sasl_config_getstring(const char *key,const char *def) argument
271 return def;
276 int sasl_config_getint(_sasl_global_context_t *gctx, const char *key,int def) argument
278 int sasl_config_getint(const char *key,int def)
287 if (!val) return def;
293 int sasl_config_getswitch(_sasl_global_context_t *gctx,const char *key,int def) argument
295 int sasl_config_getswitch(const char *key,int def)
304 if (!val) return def;
[all …]
/illumos-gate/usr/src/lib/pam_modules/unix_cred/
H A Dunix_cred.c129 char *def; member
140 if (pdef->def == NULL) { in finddeflim()
143 pdef->def = strdup(val); in finddeflim()
583 if (getset(deflim.lim, &lim) != 0 || getset(deflim.def, &def) != 0) { in pam_sm_setcred()
588 if (def == NULL) { in pam_sm_setcred()
589 def = priv_allocset(); in pam_sm_setcred()
590 if (def == NULL) { in pam_sm_setcred()
594 priv_basicset(def); in pam_sm_setcred()
661 free(deflim.def); in pam_sm_setcred()
665 if (def != NULL) in pam_sm_setcred()
[all …]

12345678910>>...33