/illumos-gate/usr/src/test/util-tests/tests/awk/examples/out/ |
H A D | t.sep | 2 17379 mel has 2 fields 3 16693 bwk me has 2 fields 5 15713 srb has 3 fields 6 11895 lem has 3 fields 7 10409 scj has 2 fields 8 10252 rhm has 2 fields 9 9190 pjw has 2 fields 10 8912 nls has 2 fields 11 8491 cda has 2 fields 12 6291 rje has 2 fields [all …]
|
/illumos-gate/usr/src/test/bhyve-tests/tests/vmm/ |
H A D | datarw_vcpu.c | 129 .vdx_len = sizeof (fields), in main() 130 .vdx_data = &fields, in main() 143 fields[0].vfe_value = 1; in main() 144 fields[1].vfe_value = 1; in main() 154 fields[1].vfe_ident = VAI_PEND_EXCP; in main() 155 fields[2].vfe_ident = VAI_PEND_EXTINT; in main() 156 fields[3].vfe_ident = VAI_PEND_NMI; in main() 180 fields[0].vfe_value = 0; in main() 181 fields[1].vfe_value = 0; in main() 182 fields[2].vfe_value = 0; in main() [all …]
|
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | t_alloc.c | 113 if (fields & T_ADDR) { in _tx_alloc() 125 if (fields & T_ADDR) { in _tx_alloc() 131 if (fields & T_OPT) { in _tx_alloc() 142 if (fields & T_UDATA) { in _tx_alloc() 155 if (fields & T_OPT) { in _tx_alloc() 172 if (fields & T_UDATA) { in _tx_alloc() 183 if (fields & T_ADDR) { in _tx_alloc() 188 if (fields & T_OPT) { in _tx_alloc() 199 if (fields & T_UDATA) { in _tx_alloc() 210 if (fields & T_ADDR) { in _tx_alloc() [all …]
|
/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | table.py | 32 def __init__(self, fields, rjustfields=()): argument 34 self.fields = fields 36 self.maxfieldlen = dict.fromkeys(fields, 0) 46 for f in self.fields: 56 d = dict([(f, f.upper()) for f in self.fields]) 62 for i in range(len(self.fields)): 67 if self.fields[i] in self.rjustfields: 71 mfl = self.maxfieldlen[self.fields[i]]
|
H A D | userspace.py | 53 if field not in options.fields: 153 fields = ("type", "name", "used", "quota") 173 type="choice", choices=fields, default=list(), 177 type="choice", choices=fields, #-s sets the default 189 options.fields = options.fields.split(",") 190 for f in options.fields: 191 if f not in fields: 244 t = zfs.table.Table(options.fields, rjustfields)
|
/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_kalloc.c | 92 if (fields & T_ADDR) in t_kalloc() 99 if (fields & T_ADDR) in t_kalloc() 101 if (fields & T_OPT) in t_kalloc() 103 if (fields & T_UDATA) { in t_kalloc() 113 if (fields & T_OPT) in t_kalloc() 120 if (fields & T_UDATA) in t_kalloc() 127 if (fields & T_ADDR) in t_kalloc() 132 if (fields & T_OPT) in t_kalloc() 137 if (fields & T_UDATA) { in t_kalloc() 150 if (fields & T_ADDR) in t_kalloc() [all …]
|
/illumos-gate/usr/src/lib/nsswitch/compat/common/ |
H A D | getspent.c | 96 merge_spents(be, argp, fields) in merge_spents() argument 99 const char **fields; 108 if (fields[1] != 0) { 110 size_t passlen = strlen(fields[1]) + 1; 122 fields[1], passlen); 139 override(fields[3], &sp->sp_min); 140 override(fields[4], &sp->sp_max); 141 override(fields[5], &sp->sp_warn); 142 override(fields[6], &sp->sp_inact); 143 override(fields[7], &sp->sp_expire); [all …]
|
H A D | getpwent.c | 179 merge_pwents(be, argp, fields) in merge_pwents() argument 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[6] != 0 ? fields[6] : pw->pw_shell);
|
H A D | getgrent.c | 230 merge_grents(be, argp, fields) in merge_grents() argument 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/lib/libdhcputil/common/ |
H A D | dhcp_symbol.c | 610 dsym_free_fields(char **fields) in dsym_free_fields() argument 613 if (fields != NULL) { in dsym_free_fields() 615 free(fields[i]); in dsym_free_fields() 617 free(fields); in dsym_free_fields() 632 dsym_free_fields(fields); in dsym_close_parser() 658 char **fields; in dsym_init_parser() local 696 if ((fields[i] = strdup(field)) == NULL) { in dsym_init_parser() 708 dsym_free_fields(fields); in dsym_init_parser() 710 *fields_ret = fields; in dsym_init_parser() 742 ret = dsym_parse_classes(fields[field_num], in dsym_parse_field() [all …]
|
H A D | dhcp_inittab.c | 170 char *fields[ITAB_FIELDS]; in inittab_lookup() local 236 if (atoi(fields[ITAB_MAX]) > ITAB_MAX_MAX) { in inittab_lookup() 282 entry.ds_max = atoi(fields[ITAB_MAX]); in inittab_lookup() 283 entry.ds_code = atoi(fields[ITAB_CODE]); in inittab_lookup() 285 entry.ds_gran = atoi(fields[ITAB_GRAN]); in inittab_lookup() 320 parse_entry(char *entry, char **fields) in parse_entry() argument 343 category = strpbrk(fields[ITAB_NAME], " \t"); in parse_entry() 368 if (spacep <= fields[0]) in parse_entry() 377 while (isspace(*fields[i])) in parse_entry() 378 fields[i]++; in parse_entry() [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/symbols/ |
H A D | symbols_test.c | 252 name = fields[0]; in do_env() 253 lang = fields[1]; in do_env() 254 defs = fields[2]; in do_env() 278 name = fields[0]; in do_env_group() 279 list = fields[1]; in do_env_group() 499 decl = fields[0]; in do_type() 500 hdrs = fields[1]; in do_type() 501 envs = fields[2]; in do_type() 530 name = fields[0]; in do_value() 531 type = fields[1]; in do_value() [all …]
|
/illumos-gate/usr/src/cmd/kvmstat/ |
H A D | kvmstat.c | 221 kstat_field_t *fields) in kstat_instances_read() argument 270 kstat_field_t *field = &fields[i]; in kstat_instances_read() 311 (void) printf("%*s%c", fields[i].ksf_width, in kstat_instances_print() 323 if (fields[i].ksf_flags & KSTAT_FIELD_FILLER) { in kstat_instances_print() 324 (void) printf("%*s%c", fields[i].ksf_width, in kstat_instances_print() 325 fields[i].ksf_header, trailer); in kstat_instances_print() 329 (void) printf("%*lld%c", fields[i].ksf_width, in kstat_instances_print() 332 fields[i].ksf_flags & KSTAT_FIELD_NODELTA ? in kstat_instances_print() 406 kstat_field_t fields[] = { in main() local 463 kstat_instances_read(kcp, instances, fields); in main() [all …]
|
/illumos-gate/usr/src/uts/sun4v/io/n2rng/ |
H A D | n2rng_entp_setup.c | 162 logictest.ctlwds[3].fields.rnc_mode = 1; in n2rng_logic_test() 163 logictest.ctlwds[3].fields.rnc_cnt = LOGIC_TEST_CYCLES - 2; in n2rng_logic_test() 265 rngstate.ctlwds[0].fields.rnc_anlg_sel = N2RNG_NOANALOGOUT; in collect_rng_perf() 271 rngstate.ctlwds[3].fields.rnc_selbits = 1 << osc; in collect_rng_perf() 273 rngstate.ctlwds[3].fields.rnc_vcoctl = bias; in collect_rng_perf() 387 rng_ctl.fields.rnc_mode = 1; /* set normal mode */ in n2rng_noise_gen_preferred() 388 rng_ctl.fields.rnc_anlg_sel = N2RNG_NOANALOGOUT; in n2rng_noise_gen_preferred() 395 rng_ctl.fields.rnc_selbits = 1 << osc; in n2rng_noise_gen_preferred() 396 rng_ctl.fields.rnc_vcoctl = EXTRACTBIAS(bset, osc); in n2rng_noise_gen_preferred() 401 rng_ctl.fields.rnc_vcoctl = 0; in n2rng_noise_gen_preferred() [all …]
|
/illumos-gate/usr/src/cmd/zic/ |
H A D | zic.c | 972 inrule(fields, nfields) in inrule() argument 990 rulesub(&r, fields[RF_LOYEAR], fields[RF_HIYEAR], fields[RF_COMMAND], 991 fields[RF_MONTH], fields[RF_DAY], fields[RF_TOD]); 1000 inzone(fields, nfields) in inzone() argument 1035 fields[ZF_NAME], 1106 fields[i_untilyear], 1138 inleap(fields, nfields) in inleap() argument 1154 cp = fields[LP_YEAR]; 1184 cp = fields[LP_DAY]; 1205 cp = fields[LP_CORR]; [all …]
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_cfgfile.c | 90 char *fields [128]; in _nscd_cfg_read_file() local 126 if ((fieldcnt = strbreak(fields, 128, buffer, " \t\n")) == in _nscd_cfg_read_file() 127 0 || *fields[0] == '#') { in _nscd_cfg_read_file() 136 str = fields[1]; in _nscd_cfg_read_file() 140 dbname = fields[1]; in _nscd_cfg_read_file() 141 str = fields[2]; in _nscd_cfg_read_file() 146 (void) strlcpy(u.data, fields[0], sizeof (u.data)); in _nscd_cfg_read_file() 150 (void) strlcat(u.data, fields[i], in _nscd_cfg_read_file() 171 rc = _nscd_cfg_get_handle(fields[0], dbname, &h, errorp); in _nscd_cfg_read_file()
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | display.c | 87 } fields[FIELDS + 1] = { variable 174 toupper(fields[field].text2[0]), in display() 175 fields[field].text2 + 1, pattern); in display() 353 (void) printw("%s %s:\n", fields[i].text1, fields[i].text2); in display() 363 fldcolumn = strlen(fields[field].text1) + in setfield() 364 strlen(fields[field].text2) + 3; in setfield() 411 f = fields[field].findfcn; in search() 412 if (fields[field].patterntype == EGREP) { in search() 453 fields[field].text2, pattern); in search()
|
/illumos-gate/usr/src/test/libc-tests/cfg/ |
H A D | README | 17 where each line is made up of fields, separated by "|" characters, 27 presence of any other fields. 50 typedef int (*test_cfg_func_t)(char **fields, int nfields, char **err); 54 int keywordcb(char **fields, int nfields, char **err); 57 "fields" is an array of fields, pre-split with surrounding whitespace removed, 65 fields in lines, and also doesn't support escaping, so you can't add "\" 69 number of fields (20). As this is only used for these test suites, this
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | join.c | 143 Field_t* fields; member 175 if (jp->file[0].fields) in done() 176 free(jp->file[0].fields); in done() 177 if (jp->file[1].fields) in done() 178 free(jp->file[1].fields); in done() 331 fp->fields = newof(fp->fields, Field_t, n + 1, 0); in getrec() 334 fieldmax = fp->fields + n; in getrec() 414 fp->nfields = field - fp->fields; in getrec() 417 cp = fp->fields[n].beg; in getrec() 470 cp = fp->fields[n].beg; in outfield() [all …]
|
H A D | uniq.c | 85 static int uniq(Sfio_t *fdin, Sfio_t *fdout, int fields, int chars, int width, int mode, int* all, … in uniq() argument 109 if (f = fields) in uniq() 250 int fields=0, chars=0, width=-1; in b_uniq() local 291 fields = opt_info.num; in b_uniq() 335 error_info.errors = uniq(fpin,fpout,fields,chars,width,mode,all,compare); in b_uniq()
|
/illumos-gate/usr/src/cmd/connstat/ |
H A D | connstat_main.c | 166 char *fields = NULL; in main() local 218 fields = optarg; in main() 271 if ((ofmtflags & OFMT_PARSABLE) && fields == NULL) { in main() 275 if ((ofmtflags & OFMT_PARSABLE) && fields != NULL && in main() 276 strcasecmp(fields, "all") == 0) { in main() 280 if (fields == NULL) { in main() 281 fields = proto->csp_default_fields; in main() 298 oferr = ofmt_open(fields, proto->csp_getfields(), ofmtflags, 0, &ofmt); in main()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | get_creds.c | 58 krb5_flags *fields) in krb5_get_credentials_core() argument 95 *fields = KRB5_TC_MATCH_TIMES /*XXX |KRB5_TC_MATCH_SKEY_TYPE */ in krb5_get_credentials_core() 102 *fields |= KRB5_TC_MATCH_KTYPE; in krb5_get_credentials_core() 118 *fields |= KRB5_TC_MATCH_2ND_TKT|KRB5_TC_MATCH_IS_SKEY; in krb5_get_credentials_core() 139 krb5_flags fields; in krb5_get_credentials() local 144 &mcreds, &fields); in krb5_get_credentials() 158 if ((retval = krb5_cc_retrieve_cred(context, ccache, fields, &mcreds, in krb5_get_credentials()
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | pci_io.c | 370 if (check->fields.signature != BIOS32_SIGNATURE) in pcibios_init() 372 length = check->fields.length * 16; in pcibios_init() 380 if (check->fields.revision != 0) { in pcibios_init() 382 check->fields.revision, check); in pcibios_init() 390 if (check->fields.entry >= 0x100000) { in pcibios_init() 395 bios32_entry = check->fields.entry; in pcibios_init()
|
/illumos-gate/usr/src/cmd/lp/lib/filters/ |
H A D | loadfilters.c | 192 getfields(int fd, char *fields[], char *buf, int bufsiz, int max, char *seps) in getfields() argument 204 for (eMode = CHECK_LEAD_DBL_QUOTE, fields[n++] = q = p; *p; ) { in getfields() 227 fields[n++] = q; in getfields() 249 fields[n++] = ""; in getfields()
|
/illumos-gate/usr/src/tools/smatch/src/validation/preprocessor/ |
H A D | preprocessor22.c | 3 #define define_struct(name, fields...) struct fields name; argument
|