/opensolaris-onvv-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)
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/base/t/ |
H A D | fields.t | 11 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 D | fields-base.t | 28 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...] |
/opensolaris-onvv-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...] |
/opensolaris-onvv-gate/usr/src/cmd/man/src/util/instant.src/tptregexp/ |
H A D | timer.c | 126 try(fields, ncomp, nexec, nsub) 127 struct try fields; 135 r = tpt_regcomp(fields.re); 137 if (*fields.ans != 'c') 138 complain("tpt_regcomp failure in `%s'", fields.re); 141 if (*fields.ans == 'c') { 142 complain("unexpected tpt_regcomp success in `%s'", fields.re); 148 r = tpt_regcomp(fields.re); 150 if (!tpt_regexec(r, fields.str)) { 151 if (*fields [all...] |
H A D | try.c | 27 * five fields: a r.e., a string to match it against, a result code, a 190 try(fields) 191 char **fields; 197 r = tpt_regcomp(fields[0]); 199 if (*fields[2] != 'c') 200 complain("tpt_regcomp failure in `%s'", fields[0]); 203 if (*fields[2] == 'c') { 204 complain("unexpected tpt_regcomp success in `%s'", fields[0]); 208 if (!tpt_regexec(r, fields[1])) { 209 if (*fields[ [all...] |
/opensolaris-onvv-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...] |
/opensolaris-onvv-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]);
|
/opensolaris-onvv-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...] |
/opensolaris-onvv-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...] |
/opensolaris-onvv-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...] |
/opensolaris-onvv-gate/usr/src/cmd/wusbadm/ |
H A D | wusbadm.c | 16 * fields enclosed by brackets "[]" replaced with your own identifying 306 char fields = 0x0; local 310 do_list_args(argc, argv, &fields); 314 wusb_prt_titles(fields); 318 wusb_prt_lists(fields, &dev_lists[i]); 590 char fields = 0x0; local 597 if (fields & WUSB_LIST_HOST) { 600 if (fields & WUSB_LIST_DEV) { 603 fields |= WUSB_LIST_HOST; 606 if (fields 646 wusb_prt_titles(char fields) argument 752 wusb_prt_lists(char fields, wusb_device_info_t *devinfo) argument 905 char fields = WUSB_LIST_HOST | WUSB_LIST_ALL; local 927 char fields = WUSB_LIST_DEV | WUSB_LIST_ALL; local 1133 parse_option(char *fields, const char *optarg) argument 1156 parse_subopts(char *fields, const char *str) argument [all...] |
/opensolaris-onvv-gate/usr/src/lib/libdhcpsvc/modules/files0/ |
H A D | dhcptab.c | 17 * 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 D | dhcp_network.c | 17 * 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...] |
/opensolaris-onvv-gate/usr/src/tools/onbld/Checks/ |
H A D | DbLookups.py | 17 # fields enclosed by brackets "[]" replaced with your own identifying 253 fields = ["present", "arc", "year", "case", "status", "title"] 268 for line in csv.DictReader(data, fields): 449 fields = line.split(':') 450 self.__mainCR.append(fields[0]) 451 self.__rtiNumber.append(fields[1]) 452 self.__consolidation.append(fields[2]) 453 self.__project.append(fields[3]) 454 self.__status.append(fields[4]) 455 self.__rtiType.append(fields[ [all...] |
/opensolaris-onvv-gate/usr/src/cmd/zic/ |
H A D | zic.c | 112 static void inleap(char **fields, int nfields); 114 static void inlink(char **fields, int nfields); 115 static void inrule(char **fields, int nfields); 116 static int inzcont(char **fields, int nfields); 117 static int inzone(char **fields, int nfields); 118 static int inzsub(char **fields, int nfields, int iscont); 168 * Which fields are which on a Zone line. 183 * Which fields are which on a Zone continuation line. 212 * Which fields are which on a Link line. 220 * Which fields ar 822 register char **fields; local [all...] |
/opensolaris-onvv-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++] = "";
|
/opensolaris-onvv-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]}" )
|
/opensolaris-onvv-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;
|
/opensolaris-onvv-gate/usr/src/tools/cscope-fast/ |
H A D | display.c | 17 * fields enclosed by brackets "[]" replaced with your own identifying 88 } fields[FIELDS + 1] = { variable in typeref:struct:__anon4804 175 toupper(fields[field].text2[0]), 176 fields[field].text2 + 1, pattern); 351 /* display the input fields */ 354 (void) printw("%s %s:\n", fields[i].text1, fields[i].text2); 364 fldcolumn = strlen(fields[field].text1) + 365 strlen(fields[field].text2) + 3; 412 f = fields[fiel [all...] |
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/lib/ |
H A D | exception.c | 17 * fields enclosed by brackets "[]" replaced with your own identifying 434 throw_dsym_parser_exception(JNIEnv *env, const char *key, char **fields, argument 449 dsym_exception, DSYM_SYNTAX_EX, 1, fields[field]); 452 (void) dsym_get_code_ranges(fields[DSYM_CAT_FIELD], 457 3, fields[DSYM_CAT_FIELD], ascii_long_1, ascii_long_2); 461 DSYM_VALUE_OUT_OF_RANGE_EX, 1, fields[field]); 465 DSYM_INVALID_CAT_EX, 1, fields[DSYM_CAT_FIELD]); 469 DSYM_INVALID_TYPE_EX, 1, fields[DSYM_TYPE_FIELD]);
|