Home
last modified time | relevance | path

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

12345678910>>...54

/titanic_41/usr/src/cmd/rpcgen/
H A Drpc_hout.c71 print_datadef(definition *def) in print_datadef() argument
73 if (def->def_kind == DEF_PROGRAM) /* handle data only */ in print_datadef()
76 if (def->def_kind != DEF_CONST) in print_datadef()
78 switch (def->def_kind) { in print_datadef()
80 pstructdef(def); in print_datadef()
83 puniondef(def); in print_datadef()
86 penumdef(def); in print_datadef()
89 ptypedef(def); in print_datadef()
92 pprogramdef(def); in print_datadef()
95 pconstdef(def); in print_datadef()
[all …]
H A Drpc_cout.c68 emit(definition *def) in emit() argument
70 if (def->def_kind == DEF_CONST) in emit()
72 if (def->def_kind == DEF_PROGRAM) { in emit()
73 emit_program(def); in emit()
76 if (def->def_kind == DEF_TYPEDEF) { in emit()
84 if (strcmp(def->def.ty.old_type, def->def_name) == 0) in emit()
87 print_header(def); in emit()
88 switch (def->def_kind) { in emit()
90 emit_union(def); in emit()
93 emit_enum(def); in emit()
[all …]
H A Drpc_util.c123 findit(definition *def, char *type) in findit() argument
125 return (streq(def->def_name, type)); in findit()
131 definition *def; in fixit() local
133 def = (definition *)FINDVAL(defined, type, findit); in fixit()
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()
185 typedefed(definition *def, char *type) in typedefed() argument
[all …]
H A Drpc_svcout.c203 definition *def; in write_netid_register() local
224 def = (definition *) l->val; in write_netid_register()
225 if (def->def_kind != DEF_PROGRAM) { in write_netid_register()
228 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_netid_register()
231 sp, def->def_name, vp->vers_name); in write_netid_register()
234 sp, TRANSP, def->def_name, vp->vers_name); in write_netid_register()
235 pvname(def->def_name, vp->vers_num); in write_netid_register()
239 def->def_name, vp->vers_name, transp); in write_netid_register()
254 definition *def; in write_nettype_register() local
258 def = (definition *) l->val; in write_nettype_register()
[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()
75 write_sample_client(def->def_name, vp); in write_sample_clnt()
211 write_sample_server(definition *def) in write_sample_server() argument
216 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_sample_server()
260 pvname(def->def_name, vp->vers_num); in write_sample_server()
[all …]
H A Drpc_parse.c203 if (!streqn(dp->def.ty.old_prefix, "") && in is_self_reference()
204 !streqn(dp->def.ty.old_prefix, "struct")) in is_self_reference()
207 !streqn(dp->def.ty.old_prefix, "")) in is_self_reference()
222 if (decp->rel == REL_POINTER && dp->def.ty.rel != REL_ALIAS) in is_self_reference()
225 (dp->def.ty.rel != REL_ALIAS && in is_self_reference()
226 dp->def.ty.rel != REL_POINTER)) in is_self_reference()
234 decp->prefix = dp->def.ty.old_prefix; in is_self_reference()
235 decp->type = dp->def.ty.old_type; in is_self_reference()
237 decp->rel = dp->def.ty.rel; in is_self_reference()
257 tailp = &defp->def.st.decls; in def_struct()
[all …]
H A Drpc_tblout.c76 definition *def; in write_tables() local
80 def = (definition *)l->val; in write_tables()
81 if (def->def_kind == DEF_PROGRAM) { in write_tables()
82 write_table(def); in write_tables()
88 write_table(definition *def) in write_table() argument
97 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_table()
100 locase(def->def_name), vp->vers_num); in write_table()
/titanic_41/usr/src/cmd/prtfru/
H A Dprtfru.c146 static void print_element(const uint8_t *data, const fru_regdef_t *def,
307 const fru_regdef_t *def; in output_dtd() local
368 if ((def = fru_reg_lookup_def_by_name(element[i])) == NULL) { in output_dtd()
375 if (def->tagType != FRU_X) tagged[i] = 1; in output_dtd()
377 if (def->dataType == FDTYPE_Record) { in output_dtd()
378 if (def->iterationType == FRU_NOT_ITERATED) in output_dtd()
380 def->enumTable[0].text); in output_dtd()
386 element[i], def->enumTable[0].text); in output_dtd()
388 for (j = 1; j < def->enumCount; j++) in output_dtd()
389 output(",\n\t%s", def->enumTable[j].text); in output_dtd()
[all …]
/titanic_41/usr/src/lib/libfru/libfru/
H A DAncestor.cc40 def(d), in Ancestor()
114 return (def); in getDef()
146 fru_regdef_t *def = NULL; in listTaggedAncestors() local
158 def = (fru_regdef_t *) in listTaggedAncestors()
160 Ancestor *ant = createTaggedAncestor(def, element); in listTaggedAncestors()
183 Ancestor::createTaggedAncestor(const fru_regdef_t *def, Str element) in createTaggedAncestor() argument
186 if (def->tagType == FRU_X) in createTaggedAncestor()
190 mk_tag(def->tagType, def->tagDense, def->payloadLen, &tag); in createTaggedAncestor()
191 Ancestor *rc = new Ancestor(element, tag, def); in createTaggedAncestor()
193 if (element.compare(def->name) == 0) { in createTaggedAncestor()
[all …]
H A DnameSyntaxYacc.y70 = Ancestor::listTaggedAncestors((char *)$1->def->name);
80 if ($1->def->dataType != FDTYPE_Record)
86 for ( int i=0;i<$1->def->enumCount;i++)
88 if ( strcmp ($3->def->name, $1->def->enumTable[i].text) == 0 )
104 if ( $2->def->tagType == FRU_X )
116 const fru_regdef_t *def = fru_reg_lookup_def_by_name($1); variable
117 if ( def == NULL )
125 pathDef->def = (fru_regdef_t *)def;
133 const fru_regdef_t *def = fru_reg_lookup_def_by_name($1); variable
134 if ( def == NULL )
[all …]
H A DPayloadReader.cc35 (pathDef->def->iterationType != FRU_NOT_ITERATED)
180 if (iterPoss != path->def->iterationCount) { in getIterationOffset()
201 int length = ((path->def->payloadLen - ITER_CONT_BYTE_LEN) in getIterationOffset()
202 /path->def->iterationCount); in getIterationOffset()
204 rc = calcOffset(path->def->iterationType, in getIterationOffset()
238 calc_data_len = (path->def->payloadLen in readRecurse()
240 path->def->iterationCount; in readRecurse()
259 calc_data_len = path->def->payloadLen; in readRecurse()
265 if (path->def->dataType == FDTYPE_Record) { in readRecurse()
270 if (path->def->dataType == FDTYPE_Binary) { in readRecurse()
[all …]
H A Dlibfru.cc809 fru_destroy_elemdef(fru_elemdef_t *def) in fru_destroy_elemdef() argument
811 if (def == NULL) { in fru_destroy_elemdef()
814 if (def->enum_table != NULL) { in fru_destroy_elemdef()
815 for (int i = 0; i < def->enum_count; i++) in fru_destroy_elemdef()
816 fru_destroy_enum(&(def->enum_table[i])); in fru_destroy_elemdef()
817 free(def->enum_table); in fru_destroy_elemdef()
819 def->enum_count = 0; in fru_destroy_elemdef()
821 if (def->example_string != NULL) in fru_destroy_elemdef()
822 free(def->example_string); in fru_destroy_elemdef()
849 fru_create_segment(fru_nodehdl_t container, fru_segdef_t *def) in fru_create_segment() argument
[all …]
/titanic_41/usr/src/lib/libfru/libnvfru/
H A Dnvfru.c58 convert_field(const uint8_t *field, const fru_regdef_t *def, const char *path, in convert_field() argument
66 switch (def->dataType) { in convert_field()
68 assert(def->payloadLen <= sizeof (value)); in convert_field()
69 switch (def->dispType) { in convert_field()
72 if (def->payloadLen > sizeof (timefield)) { in convert_field()
94 sizeof (value) - def->payloadLen), in convert_field()
95 field, def->payloadLen); in convert_field()
97 switch (def->payloadLen) { in convert_field()
123 def->payloadLen), field, def->payloadLen); in convert_field()
125 for (i = 0; i < def->enumCount; i++) { in convert_field()
[all …]
/titanic_41/usr/src/cmd/format/
H A Ddefect.c235 pr_defect(struct defect_entry *def, int num) in pr_defect() argument
245 fmt_print("%4d%8d%7d", num, def->cyl, def->head); in pr_defect()
251 if (def->bfi != UNKNOWN) { in pr_defect()
252 fmt_print("%8d", def->bfi); in pr_defect()
253 if (def->nbits != UNKNOWN) in pr_defect()
254 fmt_print("%8d", def->nbits); in pr_defect()
257 fmt_print("%8d", def->sect); in pr_defect()
258 fmt_print("%8llu", chs2bn(def->cyl, def->head, def->sect)); in pr_defect()
272 sort_defect(struct defect_entry *def, struct defect_list *list) in sort_defect() argument
280 if (def->bfi == UNKNOWN) in sort_defect()
[all …]
H A Ddefect.h112 int makebfi(struct defect_list *list, struct defect_entry *def);
113 void calc_bfi(struct defect_list *list, struct defect_entry *def,
117 void pr_defect(struct defect_entry *def, int num);
118 int sort_defect(struct defect_entry *def, struct defect_list *list);
121 void add_def(struct defect_entry *def, struct defect_list *list,
H A Dmenu_defect.c268 struct defect_entry def; in d_add() local
289 def.bfi = def.nbits = UNKNOWN; in d_add()
298 def.cyl = bn2c(bn); in d_add()
299 def.head = bn2h(bn); in d_add()
300 def.sect = bn2s(bn); in d_add()
306 def.sect = UNKNOWN; in d_add()
309 def.cyl = input(FIO_INT, in d_add()
313 def.head = input(FIO_INT, "Enter defect's head number", in d_add()
316 def.bfi = input(FIO_INT, "Enter defect's bytes-from-index", in d_add()
319 ioparam.io_bounds.upper = (cur_dtype->dtype_bpt - def.bfi) * 8; in d_add()
[all …]
/titanic_41/usr/src/cmd/fruadm/
H A Dfruadm.c135 displayBinary(unsigned char *data, size_t length, fru_elemdef_t *def) in displayBinary() argument
141 if (def->disp_type == FDISP_Hex) { in displayBinary()
149 switch (def->disp_type) { in displayBinary()
207 display_data(unsigned char *data, size_t length, fru_elemdef_t *def) in display_data() argument
217 switch (def->data_type) { in display_data()
220 displayBinary(data, length, def); in display_data()
226 switch (def->disp_type) { in display_data()
254 for (i = 0; i < def->enum_count; i++) { in display_data()
255 if (def->enum_table[i].value == lldata) { in display_data()
257 char *tmp = strdup(def->enum_table[i].text); in display_data()
[all …]
/titanic_41/usr/src/grub/grub-0.97/docs/
H A Dtexinfo.tex6 \def\texinfoversion{2004-11-25.16}
113 \def\linenumber{l.\the\inputlineno:\space}
168 \def\spaceisspace{\catcode\spaceChar=\spacecat}
172 \def\gobble#1{}
175 \def\makecsname#1{\expandafter\noexpand\csname#1\endcsname}
198 \def\finalout{\overfullrule=0pt}
206 \def\|{%
235 \def\gloggingall{\begingroup \globaldefs = 1 \loggingall \endgroup}%
236 \def\loggingall{%
259 \def\smallbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\smallskipamount
[all …]
/titanic_41/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 …]
/titanic_41/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
286 DPRINTF((" adt_to_fmri dd_datatype=%d\n", def->dd_datatype)); in adt_to_frmi()
306 adt_to_label(datadef *def, void *p_data, int required, in adt_to_label() argument
311 DPRINTF((" adt_to_label dd_datatype=%d\n", def->dd_datatype)); in adt_to_label()
334 adt_to_newgroups(datadef *def, void *p_data, int required, in adt_to_newgroups() argument
357 adt_to_path(datadef *def, void *p_data, int required, in adt_to_path() argument
[all …]
/titanic_41/usr/src/lib/libsasl/lib/
H A Dconfig.c250 const char *key, const char *def) argument
260 return def;
263 const char *sasl_config_getstring(const char *key,const char *def) argument
272 return def;
277 int sasl_config_getint(_sasl_global_context_t *gctx, const char *key,int def) argument
279 int sasl_config_getint(const char *key,int def)
288 if (!val) return def;
289 if (!isdigit((int) *val) && (*val != '-' || !isdigit((int) val[1]))) return def;
294 int sasl_config_getswitch(_sasl_global_context_t *gctx,const char *key,int def) argument
296 int sasl_config_getswitch(const char *key,int def)
[all …]
/titanic_41/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()
150 return (pdef->lim != NULL && pdef->def != NULL); in finddeflim()
186 priv_set_t *lim, *def, *tset; in pam_sm_setcred() local
578 tset = def = lim = NULL; in pam_sm_setcred()
579 deflim.def = deflim.lim = NULL; in pam_sm_setcred()
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()
[all …]
/titanic_41/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DDoPrinterNS.java211 String def = "false"; in setNIS() local
213 def = "true"; in setNIS()
221 Debug.message("SVR: default=" + def); in setNIS()
224 printserver, extensions, comment, def); in setNIS()
268 String def = DoPrinterUtil.getDefault("nis"); in setNIS() local
270 if (!printername.equals(def)) { in setNIS()
275 if ((def != null) && (def.equals(printername))) { in setNIS()
313 String def = DoPrinterUtil.getDefault("nis"); in setNIS() local
314 if ((def != null) && (def.equals(printername))) { in setNIS()
404 String def = "false"; in setNS() local
[all …]
/titanic_41/usr/src/ucblib/libcurses/
H A Dfullname.c30 fullname(char *bp, char *def) in fullname() argument
34 *def = 0; /* in case no name */ in fullname()
37 cp = def; /* start of answer */ in fullname()
46 return (def); in fullname()
/titanic_41/usr/src/uts/intel/
H A DMakefile45 def := TARGET= def macro
46 def.prereq := TARGET= def
67 def all install clean clobber modlist: $(KMODS) $(XMODS) config target
109 all.prereq install.prereq def.prereq: genunix FRC

12345678910>>...54