Searched refs:fields (Results 1 - 25 of 48) sorted by relevance

12

/osnet-11/usr/src/lib/libxprop/common/
H A Dlibxprop.c16 * fields enclosed by brackets "[]" replaced with your own identifying
38 nvlist_t *fields = NULL; local
41 if ((err = nvlist_alloc(&fields, NV_UNIQUE_NAME, 0)) != 0)
44 if ((err = nvlist_add_string(fields, XPROP_TYPE, type)) != 0)
47 if ((err = nvlist_add_boolean_value(fields,
51 if ((err = nvlist_add_string(fields,
55 if ((err = nvlist_add_boolean_value(fields, XPROP_INHERITABLE,
59 if ((err = nvlist_add_string(fields, XPROP_VALUES,
64 if ((err = nvlist_add_string_array(fields, XPROP_VALUES_LIST,
69 if ((err = nvlist_add_string(fields, XPROP_COLNAM
[all...]
/osnet-11/usr/src/lib/pyzfs/common/
H A Dtable.py17 # fields enclosed by brackets "[]" replaced with your own identifying
28 __slots__ = "fields", "rjustfields", "maxfieldlen", "lines"
31 def __init__(self, fields, rjustfields=()):
33 self.fields = fields
35 self.maxfieldlen = dict.fromkeys(fields, 0)
45 for f in self.fields:
53 d = dict([(f, f.upper()) for f in self.fields])
59 for i in range(len(self.fields)):
64 if self.fields[
[all...]
H A Duserspace.py17 # fields enclosed by brackets "[]" replaced with your own identifying
51 if field not in options.fields:
151 fields = ("type", "name", "used", "quota")
167 parser.add_option("-o", dest="fields", metavar="field[,...]",
169 help=_("print only these fields (eg type,name,used,quota)"))
171 type="choice", choices=fields, default=list(),
175 type="choice", choices=fields, #-s sets the default
187 options.fields = options.fields.split(",")
188 for f in options.fields
[all...]
H A Dholds.py17 # fields enclosed by brackets "[]" replaced with your own identifying
59 fields = ("name", "tag", "timestamp")
63 t = zfs.table.Table(fields, rjustfields)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/base/t/
H A Dfields.t11 BEGIN { use_ok('fields'); }
16 use fields qw(_no Pants who _up_yours);
17 use fields qw(what);
19 sub new { fields::new(shift) }
31 my $fields = \%{$base.'::FIELDS'};
32 return grep { ($fields::attr{$base}[$fields->{$_}] & $mask) == $mask}
33 keys %$fields;
36 is_deeply( [sort &show_fields('Foo', fields::PUBLIC)],
38 is_deeply( [sort &show_fields('Foo', fields
[all...]
H A Dfields-base.t28 use fields qw(b1 b2 b3);
31 use fields '_b1';
32 use fields qw(b1 _b2 b2);
34 sub new { fields::new(shift) }
37 use fields qw(b4 _b5 b6 _b7);
41 use fields qw(d1 d2 d3);
45 use fields qw(_d1 _d2);
46 use fields qw(d1 d2);
51 use fields qw(b1 d1 _b1 _d1); # hide b1
55 use fields q
[all...]
/osnet-11/usr/src/lib/libnsl/nsl/
H A Dt_alloc.c16 * fields enclosed by brackets "[]" replaced with your own identifying
47 static int _alloc_buf(struct netbuf *buf, t_scalar_t n, int fields,
51 _tx_alloc(int fd, int struct_type, int fields, int api_semantics) argument
75 * Get size info for T_ADDR, T_OPT, and T_UDATA fields
104 * fields within each structure. Initialize the
105 * 'buf' and 'maxlen' fields of each.
112 if (fields & T_ADDR) {
115 fields, api_semantics, B_FALSE) < 0)
124 if (fields & T_ADDR) {
127 fields, api_semantic
262 _alloc_buf(struct netbuf *buf, t_scalar_t n, int fields, int api_semantics, boolean_t option) argument
[all...]
H A Dtli_wrappers.c16 * fields enclosed by brackets "[]" replaced with your own identifying
47 t_alloc(int fd, int struct_type, int fields) argument
49 return (_tx_alloc(fd, struct_type, fields, TX_TLI_API));
H A Dxti_wrappers.c16 * fields enclosed by brackets "[]" replaced with your own identifying
66 _xti_alloc(int fd, int struct_type, int fields) argument
68 return (_tx_alloc(fd, struct_type, fields, TX_XTI_API));
/osnet-11/usr/src/lib/nsswitch/compat/common/
H A Dgetspent.c16 * fields enclosed by brackets "[]" replaced with your own identifying
96 merge_spents(be, argp, fields)
99 const char **fields;
108 if (fields[1] != 0) {
110 size_t passlen = strlen(fields[1]) + 1;
122 fields[1], passlen);
138 /* override(fields[2], &sp->sp_lstchg); */
139 override(fields[3], &sp->sp_min);
140 override(fields[4], &sp->sp_max);
141 override(fields[
[all...]
H A Dgetpwent.c16 * fields enclosed by brackets "[]" replaced with your own identifying
178 merge_pwents(be, argp, fields)
181 const char **fields;
204 if (fields[1] != 0)
206 pw->pw_name, fields[1]);
227 fields[4] != 0 ? fields[4] : pw->pw_gecos,
228 fields[5] != 0 ? fields[5] : pw->pw_dir,
229 fields[
[all...]
H A Dgetgrent.c16 * fields enclosed by brackets "[]" replaced with your own identifying
230 merge_grents(be, argp, fields)
233 const char **fields;
249 if (fields[1] == 0 && fields[3] == 0 &&
261 fields[1] != 0 ? fields[1] : g->gr_passwd,
264 if (fields[3] != 0) {
265 (void) strcpy(s, fields[3]);
/osnet-11/usr/src/lib/libdhcputil/common/
H A Ddhcp_symbol.c16 * fields enclosed by brackets "[]" replaced with your own identifying
604 * dsym_free_fields(): frees an array of fields allocated by
607 * input: char **: array of fields to free
612 dsym_free_fields(char **fields) argument
615 if (fields != NULL) {
617 free(fields[i]);
619 free(fields);
626 * input: char **: the fields allocated by dsym_init_parser()
632 dsym_close_parser(char **fields, dhcp_symbol_t *sym) argument
634 dsym_free_fields(fields);
660 char **fields; local
733 dsym_parse_field(int field_num, char **fields, dhcp_symbol_t *sym) argument
802 dsym_parser(char **fields, dhcp_symbol_t *sym, int *lastField, boolean_t bestEffort) argument
[all...]
H A Ddhcp_inittab.c16 * fields enclosed by brackets "[]" replaced with your own identifying
69 * the number of fields in the inittab and names for the fields. note that
171 char *fields[ITAB_FIELDS]; local
220 * parse the entry out into fields.
222 if (parse_entry(buffer, fields) == B_FALSE) {
231 if (atoi(fields[ITAB_GRAN]) > ITAB_GRAN_MAX) {
233 " out of range, skipping", line, fields[ITAB_GRAN]);
237 if (atoi(fields[ITAB_MAX]) > ITAB_MAX_MAX) {
239 "out of range, skipping", line, fields[ITAB_MA
321 parse_entry(char *entry, char **fields) argument
[all...]
/osnet-11/usr/src/lib/libdhcpsvc/modules/files0/
H A Ddhcptab.c17 * fields enclosed by brackets "[]" replaced with your own identifying
116 char *buf = NULL, *fields[DTF_MAX_FIELDS]; local
150 nfields = field_split(buf, DTF_MAX_FIELDS, fields, " \t");
159 targetp->dt_type != fields[DTF_TYPE][0])
162 targetp->dt_type == fields[DTF_TYPE][0])
166 strcmp(targetp->dt_key, fields[DTF_KEY]) != 0)
169 strcmp(targetp->dt_key, fields[DTF_KEY]) == 0)
200 (void) strlcpy(recordp->dt_key, fields[DTF_KEY],
203 recordp->dt_type = fields[DTF_TYPE][0];
204 recordp->dt_value = strdup(fields[DTF_VALU
[all...]
H A Ddhcp_network.c17 * fields enclosed by brackets "[]" replaced with your own identifying
118 char *commentp, *fields[DNF_MAX_FIELDS]; local
154 * both fields are optional and it requires some fancy
158 nfields = field_split(buf, DNF_MAX_FIELDS - 1, fields, " \t");
163 fields[DNF_MACRO] = "";
164 fields[DNF_COMMENT] = "";
176 commentp = fields[DNF_MACRO];
191 fields[DNF_COMMENT] = commentp;
199 if (!record_match(fields, &dn, targetp, query))
293 * Compares the fields i
299 record_match(char *fields[], dn_rec_t *dnp, const dn_rec_t *targetp, uint_t query) argument
[all...]
/osnet-11/usr/src/tools/onbld/Checks/
H A DDbLookups.py17 # fields enclosed by brackets "[]" replaced with your own identifying
250 fields = ["present", "arc", "year", "case", "status", "title"]
265 for line in csv.DictReader(data, fields):
446 fields = line.split(':')
447 self.__mainCR.append(fields[0])
448 self.__rtiNumber.append(fields[1])
449 self.__consolidation.append(fields[2])
450 self.__project.append(fields[3])
451 self.__status.append(fields[4])
452 self.__rtiType.append(fields[
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dget_creds.c54 * Set *mcreds and *fields to a matching credential and field set for
56 * and options. The fields of *mcreds will be aliased to the fields
62 krb5_flags *fields)
87 *fields = KRB5_TC_MATCH_TIMES /*XXX |KRB5_TC_MATCH_SKEY_TYPE */
94 *fields |= KRB5_TC_MATCH_KTYPE;
111 *fields |= KRB5_TC_MATCH_2ND_TKT;
113 *fields |= KRB5_TC_MATCH_IS_SKEY;
135 krb5_flags fields; local
148 &mcreds, &fields);
60 krb5int_construct_matching_creds(krb5_context context, krb5_flags options, krb5_creds *in_creds, krb5_creds *mcreds, krb5_flags *fields) argument
[all...]
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dpci_io.c370 if (check->fields.signature != BIOS32_SIGNATURE)
372 length = check->fields.length * 16;
380 if (check->fields.revision != 0) {
382 check->fields.revision, check);
390 if (check->fields.entry >= 0x100000) {
395 bios32_entry = check->fields.entry;
/osnet-11/usr/src/lib/libdhcpsvc/modules/files/
H A Ddhcp_network.c17 * fields enclosed by brackets "[]" replaced with your own identifying
172 char *fields[DNF_FIELDS]; local
259 * Split the buffer up into DNF_FIELDS fields.
261 nfields = field_split(ent, DNF_FIELDS, fields, "|");
270 if (!record_match(fields, &dn, targetp, query))
363 * Compares the fields in fields[] agains the fields in target `targetp',
364 * using `query' to decide what fields to compare. Returns B_TRUE if `dnp'
369 record_match(char *fields[], dn_rec_ argument
[all...]
H A Ddhcptab.c17 * fields enclosed by brackets "[]" replaced with your own identifying
150 char *buf = NULL, *fields[DTF_FIELDS]; local
182 * Split the buffer up into DTF_FIELDS fields.
184 nfields = field_split(buf, DTF_FIELDS, fields, "|");
192 dt.dt_type = fields[DTF_TYPE][0];
200 unescape('|', fields[DTF_KEY], dt.dt_key, sizeof (dt.dt_key));
217 dt.dt_sig = atoll(fields[DTF_SIG]);
218 dt.dt_value = strdup(fields[DTF_VALUE]);
/osnet-11/usr/src/lib/libcmd/common/
H A Duniq.c50 "[f:skip-fields]#[fields?\afields\a is the number of fields to skip over "
53 "\b--skip-fields\b=\anumber\a.]"
63 "after skipping any specified fields and characters.]"
85 static int uniq(Sfio_t *fdin, Sfio_t *fdout, int fields, int chars, int width, int mode, int* all, Compare_f compare) argument
109 if (f = fields)
110 while (f-->0 && cp<ep) /* skip over fields */
250 int fields=0, chars=0, width=-1; local
291 fields
[all...]
H A Djoin.c42 "fields. The default output line consists of the join field, "
43 "then the remaining fields from \afile1\a, then the remaining "
44 "fields from \afile2\a, but this can be changed with the \b-o\b "
49 "sequence of \bsort -b\b on the fields on which they are to be "
54 "[e:empty]:[string?Replace empty output fields in the list selected with"
56 "[o:output]:[list?Construct the output line to comprise the fields specified "
143 Field_t* fields; member in struct:File_s
175 if (jp->file[0].fields)
176 free(jp->file[0].fields);
177 if (jp->file[1].fields)
[all...]
/osnet-11/usr/src/lib/libtsol/common/
H A Dprivate.c16 * fields enclosed by brackets "[]" replaced with your own identifying
559 * labelfields - Return names for the label fields.
563 * Exit fields = Updated.
574 labelfields(struct name_fields *fields) argument
594 if ((fields->class_name = strdup(&lfret.buf[lfret.classi])) == NULL) {
600 if ((fields->comps_name = strdup(&lfret.buf[lfret.compsi])) == NULL) {
601 free(fields->class_name);
607 if ((fields->marks_name = strdup(&lfret.buf[lfret.marksi])) == NULL) {
608 free(fields->class_name);
609 free(fields
[all...]
/osnet-11/usr/src/lib/libc/i386/fp/
H A D__xgetRD.s21 / fields enclosed by brackets "[]" replaced with your own identifying

Completed in 112 milliseconds

12