/titanic_44/usr/src/lib/libnsl/nsl/ |
H A D | t_alloc.c | 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) in _tx_alloc() argument 113 if (fields & T_ADDR) { in _tx_alloc() 116 fields, api_semantics, B_FALSE) < 0) in _tx_alloc() 125 if (fields & T_ADDR) { in _tx_alloc() 128 fields, api_semantics, B_FALSE) < 0) in _tx_alloc() 131 if (fields & T_OPT) { in _tx_alloc() 139 fields, api_semantics, B_TRUE) < 0) in _tx_alloc() 142 if (fields & T_UDATA) { in _tx_alloc() 146 fields, api_semantics, B_FALSE) < 0) in _tx_alloc() [all …]
|
/titanic_44/usr/src/lib/pyzfs/common/ |
H A D | table.py | 31 def __init__(self, fields, rjustfields=()): argument 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[i] in self.rjustfields: 68 mfl = self.maxfieldlen[self.fields[i]]
|
H A D | userspace.py | 52 if field not in options.fields: 152 fields = ("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: 190 if f not in fields: 243 t = zfs.table.Table(options.fields, rjustfields)
|
/titanic_44/usr/src/uts/common/ktli/ |
H A D | t_kalloc.c | 69 t_kalloc(TIUSER *tiptr, int struct_type, int fields, char **ptr) in t_kalloc() argument 94 if (fields & T_ADDR) in t_kalloc() 101 if (fields & T_ADDR) in t_kalloc() 103 if (fields & T_OPT) in t_kalloc() 105 if (fields & T_UDATA) { in t_kalloc() 115 if (fields & T_OPT) in t_kalloc() 122 if (fields & T_UDATA) in t_kalloc() 129 if (fields & T_ADDR) in t_kalloc() 134 if (fields & T_OPT) in t_kalloc() 139 if (fields & T_UDATA) { in t_kalloc() [all …]
|
/titanic_44/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]);
|
/titanic_44/usr/src/lib/libdhcputil/common/ |
H A D | dhcp_symbol.c | 612 dsym_free_fields(char **fields) in dsym_free_fields() argument 615 if (fields != NULL) { in dsym_free_fields() 617 free(fields[i]); in dsym_free_fields() 619 free(fields); in dsym_free_fields() 632 dsym_close_parser(char **fields, dhcp_symbol_t *sym) in dsym_close_parser() argument 634 dsym_free_fields(fields); in dsym_close_parser() 660 char **fields; in dsym_init_parser() local 676 (fields = calloc(DSYM_NUM_FIELDS, sizeof (char *))) == NULL) { in dsym_init_parser() 698 if ((fields[i] = strdup(field)) == NULL) { in dsym_init_parser() 710 dsym_free_fields(fields); in dsym_init_parser() [all …]
|
H A D | dhcp_inittab.c | 169 char *fields[ITAB_FIELDS]; in inittab_lookup() local 220 if (parse_entry(buffer, fields) == B_FALSE) { in inittab_lookup() 229 if (atoi(fields[ITAB_GRAN]) > ITAB_GRAN_MAX) { in inittab_lookup() 231 " out of range, skipping", line, fields[ITAB_GRAN]); in inittab_lookup() 235 if (atoi(fields[ITAB_MAX]) > ITAB_MAX_MAX) { in inittab_lookup() 237 "out of range, skipping", line, fields[ITAB_MAX]); in inittab_lookup() 241 if (dsym_get_type_id(fields[ITAB_TYPE], &type, B_FALSE) != in inittab_lookup() 244 "is invalid, skipping", line, fields[ITAB_TYPE]); in inittab_lookup() 253 if (strchr(fields[ITAB_CONS], consumer) == NULL) in inittab_lookup() 256 if (code != -1 && atoi(fields[ITAB_CODE]) != code) in inittab_lookup() [all …]
|
/titanic_44/usr/src/cmd/kvmstat/ |
H A D | kvmstat.c | 221 kstat_field_t *fields) in kstat_instances_read() argument 226 for (nfields = 0; fields[nfields].ksf_header != NULL; nfields++) in kstat_instances_read() 270 kstat_field_t *field = &fields[i]; in kstat_instances_read() 300 kstat_instances_print(kstat_instance_t *instances, kstat_field_t *fields, in kstat_instances_print() argument 306 for (nfields = 0; fields[nfields].ksf_header != NULL; nfields++) in kstat_instances_print() 311 (void) printf("%*s%c", fields[i].ksf_width, in kstat_instances_print() 312 fields[i].ksf_header, i < nfields - 1 ? ' ' : '\n'); 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() [all …]
|
/titanic_44/usr/src/test/libc-tests/tests/symbols/ |
H A D | symbols_test.c | 236 do_env(char **fields, int nfields, char **err) in do_env() argument 252 name = fields[0]; in do_env() 253 lang = fields[1]; in do_env() 254 defs = fields[2]; in do_env() 265 do_env_group(char **fields, int nfields, char **err) in do_env_group() argument 278 name = fields[0]; in do_env_group() 279 list = fields[1]; in do_env_group() 488 do_type(char **fields, int nfields, char **err) in do_type() argument 499 decl = fields[0]; in do_type() 500 hdrs = fields[1]; in do_type() [all …]
|
/titanic_44/usr/src/uts/sun4v/io/n2rng/ |
H A D | n2rng_entp_setup.c | 158 logictest.ctlwds[0].fields.rnc_anlg_sel = N2RNG_NOANALOGOUT; in n2rng_logic_test() 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() 386 rng_ctl.fields.rnc_cnt = n2rng->n_ctl_data->n_accumulate_cycles; in n2rng_noise_gen_preferred() 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() [all …]
|
/titanic_44/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); 821 register char **fields; local 850 fields = getfields(buf); 852 while (fields[nfields] != NULL) { 855 if (strcmp(fields[nfields], "-") == 0) [all …]
|
/titanic_44/usr/src/cmd/nscd/ |
H A D | nscd_cfgfile.c | 92 char *fields [128]; in _nscd_cfg_read_file() local 128 if ((fieldcnt = strbreak(fields, 128, buffer, " \t\n")) == in _nscd_cfg_read_file() 129 0 || *fields[0] == '#') { in _nscd_cfg_read_file() 138 str = fields[1]; in _nscd_cfg_read_file() 142 dbname = fields[1]; in _nscd_cfg_read_file() 143 str = fields[2]; in _nscd_cfg_read_file() 148 (void) strlcpy(u.data, fields[0], sizeof (u.data)); in _nscd_cfg_read_file() 152 (void) strlcat(u.data, fields[i], in _nscd_cfg_read_file() 173 rc = _nscd_cfg_get_handle(fields[0], dbname, &h, errorp); in _nscd_cfg_read_file()
|
/titanic_44/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()
|
/titanic_44/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
|
/titanic_44/usr/src/lib/libcmd/common/ |
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() 200 if (!(jp->file[0].fields = newof(0, Field_t, NFIELD + 1, 0)) || in init() 201 !(jp->file[1].fields = newof(0, Field_t, NFIELD + 1, 0))) in init() 299 register Field_t* field = fp->fields; in getrec() 331 fp->fields = newof(fp->fields, Field_t, n + 1, 0); in getrec() 332 field = fp->fields + fp->maxfields; in getrec() [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 289 fields = opt_info.num; in b_uniq() 331 error_info.errors = uniq(fpin,fpout,fields,chars,width,mode,all,compare); in b_uniq()
|
/titanic_44/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()
|
/titanic_44/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()
|
/titanic_44/usr/src/cmd/awk/ |
H A D | lib.c | 44 Cell fields[FLD_INCR]; member 51 static uchar *fields; variable 238 adjust_buf(&fields, fields_size); in fldbld() 246 expand_buf(&fields, &fields_size, len); in fldbld() 247 fr = fields; in fldbld() 351 newfld = &fldcp->fields[0]; in morefld() 387 return (&fldcp->fields[idx - cbase]); in getfld() 404 tbl = &fldcp->fields[0]; in fldidx() 424 adjust_buf(&fields, fields_size); in refldbld() 425 fr = fields; in refldbld() [all …]
|
/titanic_44/usr/src/cmd/lp/lib/filters/ |
H A D | loadfilters.c | 194 getfields(int fd, char *fields[], char *buf, int bufsiz, int max, char *seps) in getfields() argument 206 for (eMode = CHECK_LEAD_DBL_QUOTE, fields[n++] = q = p; *p; ) { in getfields() 229 fields[n++] = q; in getfields() 251 fields[n++] = ""; in getfields()
|
/titanic_44/usr/src/uts/common/avs/ns/sdbc/ |
H A D | cache_kstats_readme.txt | 15 # fields enclosed by brackets "[]" replaced with your own identifying 70 The "global" kstat corresponds to fields in the _sd_stats_t structure. The 84 /* I'm not very sure what the next three fields track--we might take them out */ 104 All fields are read-only and are of type KSTAT_DATA_ULONG. Note that the 123 The "cd" kstats correspond to fields in the _sd_shared_t structure. The 148 All fields are read-only kstat_named_t kstats, with data type KSTAT_DATA_ULONG. 174 kstat_runq_enter() and kstat_runq_exit(). The relevant fields in the 191 These I/O kstats include the following fields: 198 # The following fields are automatically updated by the built-in 217 a whole, taking into account all cache descriptors. The fields definitions [all …]
|
/titanic_44/usr/src/lib/libtsol/common/ |
H A D | private.c | 574 labelfields(struct name_fields *fields) in labelfields() argument 594 if ((fields->class_name = strdup(&lfret.buf[lfret.classi])) == NULL) { in labelfields() 600 if ((fields->comps_name = strdup(&lfret.buf[lfret.compsi])) == NULL) { in labelfields() 601 free(fields->class_name); in labelfields() 607 if ((fields->marks_name = strdup(&lfret.buf[lfret.marksi])) == NULL) { in labelfields() 608 free(fields->class_name); in labelfields() 609 free(fields->comps_name); in labelfields()
|
/titanic_44/usr/src/test/libc-tests/tests/common/ |
H A D | test_common.c | 269 char *fields[MAXFIELD]; in test_load_config() local 367 fields[nfields] = strsep(&ptr, "|"); in test_load_config() 368 if (fields[nfields] == NULL) { in test_load_config() 371 test_trim(&fields[nfields]); in test_load_config() 381 rv = callbs[i](fields, nfields, &err); in test_load_config()
|