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

12

/ast/src/cmd/std/
H A Dpss-ps.c43 unsigned long fields; member in struct:State_s
65 register unsigned long fields; local
77 fields = 0;
79 fields |= po->field;
80 pss->meth->fields = state->fields = fields;
102 register unsigned long fields; local
138 fields = pss->disc->fields|PSS_defaul
201 register unsigned long fields; local
[all...]
H A Dpss-getprocs.c157 unsigned long fields = pss->disc->fields & pss->meth->fields;
163 if (fields & PSS_args)
173 if (fields & PSS_command)
H A Dpss-pstat.c127 unsigned long fields = pss->disc->fields & pss->meth->fields;
133 if (fields & PSS_args)
143 if (fields & PSS_command)
H A Dpss.c104 register unsigned long fields = pss->meth->fields; local
157 if ((fields & PSS_sid) && pe->pid != pe->sid)
159 if ((fields & PSS_tgrp) && pe->pid != pe->tgrp)
163 if ((fields & PSS_sid) && pe->pid == pe->sid)
165 if ((fields & PSS_tgrp) && pe->pid == pe->tgrp)
240 register unsigned long fields = pss->disc->fields & pss->meth->fields; local
242 if ((fields
[all...]
H A Dpss-info.c146 unsigned long fields = pss->disc->fields & pss->meth->fields;
154 if ((fields & (PSS_sid|PSS_size|PSS_time)) &&
162 if ((fields & (PSS_pri)) &&
169 if (fields & PSS_command)
H A Dpss-cygwin.c135 unsigned long fields = pss->disc->fields & pss->meth->fields;
141 if (fields & PSS_args)
149 if (fields & PSS_command)
H A Dpss-kvm.c205 unsigned long fields = pss->disc->fields & pss->meth->fields;
211 if (fields & PSS_args)
221 if (fields & PSS_command)
H A Dpss-procfs.c289 unsigned long fields = pss->disc->fields & pss->meth->fields;
295 if (fields & PSS_args)
329 if (fields & PSS_command)
H A Dps.c51 "[c:class?Equivalent to \b--fields=" FIELDS_c "\b.]"
60 "[f:full?Equivalent to \b--fields=" FIELDS_f "\b.]"
62 " then \b--fields\b and all options that modify \b--fields\b are"
81 "[j:jobs?Equivalent to \b--fields=" FIELDS_j "\b.]"
82 "[l:long?Equivalent to \b--fields=" FIELDS_l "\b.]"
86 "[N:default?Equivalent to \b--fields=" FIELDS_default "\b. This is the"
87 " format when \b--fields\b is not specified.]"
88 "[o:fields?(\b--format\b is more general.) List information according to"
89 " \akey\a. Multiple \b--fields\
221 Key_t* fields; /* format field list */ member in struct:State_s
[all...]
H A Dpss.h156 unsigned long fields; /* PSS_[a-z]* field requests */ member in struct:Pssdisc_s
161 Pssmatch_t* match; /* match these fields */
169 unsigned long fields; /* supported fields */ member in struct:Pssmeth_s
/ast/src/cmd/dsslib/fix/
H A Dfix.c57 Dt_t* fields; member in struct:State_s
134 if (!(state->fields = dtnew(vm, &state->fielddisc, Dtoset)))
140 for (variable = (Cxvariable_t*)dtfirst(cx->fields); variable; variable = (Cxvariable_t*)dtnext(cx->fields, variable))
164 dtinsert(state->fields, field);
169 dtinsert(state->fields, field);
262 dtinsert(state->fields, field);
265 for (field = (Field_t*)dtfirst(state->fields); field; field = (Field_t*)dtnext(state->fields, field))
302 for (field = (Field_t*)dtfirst(state->fields); fiel
[all...]
/ast/src/lib/libcmd/
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...]
/ast/src/lib/libtksh/tcl/
H A DtclCmdMZ.c722 Field fields[MAX_FIELDS]; /* Info about all the fields in the
725 int numFields = 0; /* Number of fields actually
757 * 2. Allocate an array to hold all of the scanned fields.
759 * parsed fields in the array.
760 * 4. Pick off the fields from the array and assign them to variables.
808 interp->result = "too many fields to scan";
812 curField = &fields[numFields];
892 for (i = 0, totalSize = 0, curField = fields;
899 * Fill in the remaining fields wit
716 Field fields[MAX_FIELDS]; /* Info about all the fields in the local
[all...]
/ast/src/cmd/cs/vcs_src/
H A Difs_func.c314 * Parse a text string and split into fields by tokens
315 * rtn: fields number
325 int n, fields; local
327 fields = 0;
331 fields++;
337 return fields;
/ast/src/lib/libdss/
H A Ddssprintf.c600 if (dss->meth->cx->fields)
602 for (vp = (Cxvariable_t*)dtfirst(dss->meth->cx->fields); vp; vp = (Cxvariable_t*)dtnext(dss->meth->cx->fields, vp), n++)
625 vp = dss->meth->cx->fields ? (Cxvariable_t*)dtfirst(dss->meth->cx->fields) : dss->meth->data ? (Cxvariable_t*)dss->meth->data : 0;
629 if (dss->meth->cx->fields)
646 if (dss->meth->cx->fields)
647 vp = (Cxvariable_t*)dtnext(dss->meth->cx->fields, vp);
H A Ddssopt.c309 /* fields|variables */
310 all = !state->meth || meth->cx && (!meth->cx->fields || !dtsize(meth->cx->fields));
360 for (vp = (Cxvariable_t*)dtfirst(meth->cx->fields); vp; vp = (Cxvariable_t*)dtnext(meth->cx->fields, vp))
364 if (optout(sp, "----- data fields -----", NiL, NiL, NiL, NiL, NiL))
376 if (optout(sp, "----- data fields -----", NiL, NiL, NiL, NiL, NiL))
/ast/src/cmd/kshlib/open/
H A Dopen.c213 Shfield_t *fields; /* field description table */ member in struct:_class_
243 Shfield_t *fp = sh_findfield(sp->fields,sp->nelem,name);
245 int n = fp-sp->fields;
259 Shfield_t *fp = sp->fields;
/ast/src/cmd/sortlib/glean/
H A Dglean.c52 "on the \b,\b separated fields 1 (string) and 2 (numeric) and "
54 "field 4 (string), for each value of the catenation of fields 1 and 2.]"
105 unsigned int fields; member in struct:State_s
190 if (!(p = vmnewof(state->vm, 0, Category_t, 1, (state->fields - 1) * sizeof(Data_t) + r->keylen)))
197 p->key.data = (char*)(p + 1) + (state->fields - 1) * sizeof(Data_t);
319 f->index = state->fields++;
/ast/src/cmd/dsslib/flat/
H A Dflat.c43 " Scalar fields have 0 elements.]"
154 Member_t* fields; /* fields (first for dynamic Q) */ member in struct:Record_s
167 size_t nfields; /* #fields per record */
243 Field_t* fields; member in struct:Flat_s
308 w = &r->fields[index];
342 y = &r->fields[r->kfields - 1];
345 for (p = &r->fields[r->index]; p <= y; p++)
513 p = &r->fields[k->field->variable.index];
569 for (y = w; y < &r->fields[
1263 recinit(register Flat_t* flat, Dssfile_t* file, Record_t* b, Table_t* t, Field_t* fields, size_t n, size_t i, Dssdisc_t* disc) argument
[all...]
/ast/src/cmd/dsslib/stats/
H A Dstats.c27 " fields are assumed. If \b-\b is specified then only records or"
40 "[p:print?Print summary data according to \aformat\a. The format fields"
123 int fields; member in struct:State_s
437 variable = (Cxvariable_t*)(variable ? dtnext(cx->fields, variable) : dtfirst(cx->fields));
463 state->fields++;
467 if (!state->fields)
472 (*disc->errorf)(cx, disc, 2, "no numeric fields");
475 state->fields = 1;
477 if (!(state->total = vmnewof(vm, 0, Total_t, state->fields,
[all...]
/ast/src/cmd/ksh93/sh/
H A Dmacro.c72 int fields; /* number of fields */ member in struct:_mac_
230 mp->fields = 0;
256 flags = mp->fields;
2471 mp->fields += count;
2481 mp->fields++;
/ast/src/cmd/mailx/
H A Dlist.c135 static const int fields[] = { GTO, GCC, GBCC }; local
140 for (i = 0; i < elementsof(fields); i++)
141 if (t = grab(mp, fields[i], NiL)) {
/ast/src/cmd/dsslib/bgp/
H A Dbgp.c48 static Cxvariable_t fields[] = variable
539 (Dt_t*)&fields[0]
571 for (i = 0; fields[i].name; i++)
572 if (cxaddvariable(meth->cx, &fields[i], disc))
/ast/src/cmd/dsslib/validate/
H A Dvalidate.c26 " fields with constraints or maps are validated. A warning is"
27 " printed if there are no fields with constraints or maps.]"
28 "[d:discard?Discard records containing invalid fields.]"
31 "[r:repair?Repair invalid fields if possible.]"
203 if (!(variable = (Cxvariable_t*)(variable ? dtnext(cx->fields, variable) : dtfirst(cx->fields))))

Completed in 377 milliseconds

12