/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | table.py | 17 # 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 D | userspace.py | 17 # fields enclosed by brackets "[]" replaced with your own identifying 52 if field not in options.fields: 152 fields = ("type", "name", "used", "quota") 168 parser.add_option("-o", dest="fields", metavar="field[,...]", 170 help=_("print only these fields (eg type,name,used,quota)")) 172 type="choice", choices=fields, default=list(), 176 type="choice", choices=fields, #-s sets the default 188 options.fields = options.fields.split(",") 189 for f in options.fields [all...] |
H A D | holds.py | 17 # fields enclosed by brackets "[]" replaced with your own identifying 60 fields = ("name", "tag", "timestamp") 64 t = zfs.table.Table(fields, rjustfields)
|
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | t_alloc.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 48 static int _alloc_buf(struct netbuf *buf, t_scalar_t n, int fields, 52 _tx_alloc(int fd, int struct_type, int fields, int api_semantics) argument 76 * Get size info for T_ADDR, T_OPT, and T_UDATA fields 105 * fields within each structure. Initialize the 106 * 'buf' and 'maxlen' fields of each. 113 if (fields & T_ADDR) { 116 fields, api_semantics, B_FALSE) < 0) 125 if (fields & T_ADDR) { 128 fields, api_semantic 263 _alloc_buf(struct netbuf *buf, t_scalar_t n, int fields, int api_semantics, boolean_t option) argument [all...] |
H A D | tli_wrappers.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 50 t_alloc(int fd, int struct_type, int fields) argument 52 return (_tx_alloc(fd, struct_type, fields, TX_TLI_API));
|
/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_kalloc.c | 17 * fields enclosed by brackets "[]" replaced with your own identifying 69 t_kalloc(TIUSER *tiptr, int struct_type, int fields, char **ptr) argument 88 * fields within each structure. Initialize the 89 * 'buf' and 'maxlen' fields of each. 94 if (fields & T_ADDR) 101 if (fields & T_ADDR) 103 if (fields & T_OPT) 105 if (fields & T_UDATA) { 115 if (fields & T_OPT) 122 if (fields [all...] |
/illumos-gate/usr/src/lib/nsswitch/compat/common/ |
H A D | getspent.c | 16 * 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 D | getpwent.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 179 merge_pwents(be, argp, fields) 182 const char **fields; 205 if (fields[1] != 0) 207 pw->pw_name, fields[1]); 226 fields[4] != 0 ? fields[4] : pw->pw_gecos, 227 fields[5] != 0 ? fields[5] : pw->pw_dir, 228 fields[ [all...] |
H A D | getgrent.c | 16 * 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]);
|
/illumos-gate/usr/src/test/libc-tests/tests/common/ |
H A D | test_common.h | 41 typedef int (*test_cfg_func_t)(char **fields, int nfields, char **err);
|
/illumos-gate/usr/src/lib/libdhcputil/common/ |
H A D | dhcp_symbol.c | 16 * 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 D | dhcp_inittab.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 70 * the number of fields in the inittab and names for the fields. note that 169 char *fields[ITAB_FIELDS]; local 218 * parse the entry out into fields. 220 if (parse_entry(buffer, fields) == B_FALSE) { 229 if (atoi(fields[ITAB_GRAN]) > ITAB_GRAN_MAX) { 231 " out of range, skipping", line, fields[ITAB_GRAN]); 235 if (atoi(fields[ITAB_MAX]) > ITAB_MAX_MAX) { 237 "out of range, skipping", line, fields[ITAB_MA 319 parse_entry(char *entry, char **fields) argument [all...] |
/illumos-gate/usr/src/uts/sun4v/io/n2rng/ |
H A D | n2rng_entp_setup.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 158 logictest.ctlwds[0].fields.rnc_anlg_sel = N2RNG_NOANALOGOUT; 162 logictest.ctlwds[3].fields.rnc_mode = 1; 163 logictest.ctlwds[3].fields.rnc_cnt = LOGIC_TEST_CYCLES - 2; 265 rngstate.ctlwds[0].fields.rnc_anlg_sel = N2RNG_NOANALOGOUT; 271 rngstate.ctlwds[3].fields.rnc_selbits = 1 << osc; 273 rngstate.ctlwds[3].fields.rnc_vcoctl = bias; 382 * Set up fields of control words that will be the same for all 386 rng_ctl.fields.rnc_cnt = n2rng->n_ctl_data->n_accumulate_cycles; 387 rng_ctl.fields [all...] |
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_cfgfile.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 92 char *fields [128]; local 128 if ((fieldcnt = strbreak(fields, 128, buffer, " \t\n")) == 129 0 || *fields[0] == '#') { 138 str = fields[1]; 142 dbname = fields[1]; 143 str = fields[2]; 148 (void) strlcpy(u.data, fields[0], sizeof (u.data)); 152 (void) strlcat(u.data, fields[i], 173 rc = _nscd_cfg_get_handle(fields[ [all...] |
/illumos-gate/usr/src/cmd/kvmstat/ |
H A D | kvmstat.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 221 kstat_field_t *fields) 226 for (nfields = 0; fields[nfields].ksf_header != NULL; nfields++) 270 kstat_field_t *field = &fields[i]; 300 kstat_instances_print(kstat_instance_t *instances, kstat_field_t *fields, argument 306 for (nfields = 0; fields[nfields].ksf_header != NULL; nfields++) 311 (void) printf("%*s%c", fields[i].ksf_width, 312 fields[i].ksf_header, i < nfields - 1 ? ' ' : '\n'); 323 if (fields[i].ksf_flags & KSTAT_FIELD_FILLER) { 324 (void) printf("%*s%c", fields[ 220 kstat_instances_read(kstat_ctl_t *kcp, kstat_instance_t *instances, kstat_field_t *fields) argument 406 kstat_field_t fields[] = { local [all...] |
/illumos-gate/usr/src/test/libc-tests/tests/symbols/ |
H A D | symbols_test.c | 236 do_env(char **fields, int nfields, char **err) argument 243 myasprintf(err, "number of fields (%d) != 3", nfields); 252 name = fields[0]; 253 lang = fields[1]; 254 defs = fields[2]; 265 do_env_group(char **fields, int nfields, char **err) argument 274 myasprintf(err, "number of fields (%d) != 2", nfields); 278 name = fields[0]; 279 list = fields[1]; 488 do_type(char **fields, in argument 518 do_value(char **fields, int nfields, char **err) argument 550 do_define(char **fields, int nfields, char **err) argument 588 do_func(char **fields, int nfields, char **err) argument [all...] |
/illumos-gate/usr/src/cmd/zic/ |
H A D | zic.c | 111 static void inleap(char **fields, int nfields); 113 static void inlink(char **fields, int nfields); 114 static void inrule(char **fields, int nfields); 115 static int inzcont(char **fields, int nfields); 116 static int inzone(char **fields, int nfields); 117 static int inzsub(char **fields, int nfields, int iscont); 167 * Which fields are which on a Zone line. 182 * Which fields are which on a Zone continuation line. 211 * Which fields are which on a Link line. 219 * Which fields ar 821 register char **fields; local [all...] |
/illumos-gate/usr/src/cmd/lp/lib/filters/ |
H A D | loadfilters.c | 17 * fields enclosed by brackets "[]" replaced with your own identifying 194 getfields(int fd, char *fields[], char *buf, int bufsiz, int max, char *seps) argument 206 for (eMode = CHECK_LEAD_DBL_QUOTE, fields[n++] = q = p; *p; ) { 229 fields[n++] = q; 251 fields[n++] = "";
|
/illumos-gate/usr/src/lib/libshell/common/scripts/ |
H A D | svcproptree1.sh | 18 # fields enclosed by brackets "[]" replaced with your own identifying 62 typeset -a fields 66 while IFS=' ' read -A fields ; do 67 num_fields=${#fields[*]} 69 name="${fields[0]}" 70 datatype="${fields[1]}" 87 node.values+=( "${fields[i]}" )
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | pci_io.c | 370 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;
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | display.c | 17 * fields enclosed by brackets "[]" replaced with your own identifying 87 } fields[FIELDS + 1] = { variable in typeref:struct:__anon47 174 toupper(fields[field].text2[0]), 175 fields[field].text2 + 1, pattern); 350 /* display the input fields */ 353 (void) printw("%s %s:\n", fields[i].text1, fields[i].text2); 363 fldcolumn = strlen(fields[field].text1) + 364 strlen(fields[field].text2) + 3; 411 f = fields[fiel [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | get_creds.c | 58 krb5_flags *fields) 95 *fields = KRB5_TC_MATCH_TIMES /*XXX |KRB5_TC_MATCH_SKEY_TYPE */ 102 *fields |= KRB5_TC_MATCH_KTYPE; 118 *fields |= KRB5_TC_MATCH_2ND_TKT|KRB5_TC_MATCH_IS_SKEY; 139 krb5_flags fields; local 144 &mcreds, &fields); 158 if ((retval = krb5_cc_retrieve_cred(context, ccache, fields, &mcreds, 56 krb5_get_credentials_core(krb5_context context, krb5_flags options, krb5_creds *in_creds, krb5_creds *mcreds, krb5_flags *fields) argument
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | uniq.c | 50 "[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 289 fields [all...] |
H A D | join.c | 42 "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...] |
/illumos-gate/usr/src/cmd/awk/ |
H A D | lib.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 39 int donefld; /* 1 = implies rec broken into fields */ 44 Cell fields[FLD_INCR]; member in struct:fldtab_chunk 51 static uchar *fields; variable 237 /* make sure fields is always allocated */ 238 adjust_buf(&fields, fields_size); 241 * make sure fields has enough size. We don't expand the buffer 243 * the address in the fields. 246 expand_buf(&fields, &fields_size, len); 247 fr = fields; [all...] |