| /ast/src/lib/libcmd/ |
| 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 291 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...] |
| /ast/src/cmd/dsslib/netflow/ |
| H A D | netflow.c | 32 static Cxvariable_t fields[] = variable 644 for (i = 0; fields[i].name; i++) 645 if (cxaddvariable(meth->cx, &fields[i], disc))
|
| /ast/src/cmd/std/ |
| H A D | pss-ps.c | 43 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 D | pss.c | 104 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 D | pss.h | 156 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
|
| H A D | ps.c | 51 "[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...] |
| /ast/src/cmd/cs/vcs_src/ |
| H A D | ifs_func.c | 314 * 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/cmd/sortlib/glean/ |
| H A D | glean.c | 52 "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/bgp/ |
| H A D | bgp.c | 48 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/fix/ |
| H A D | fix.c | 57 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/cmd/kshlib/open/ |
| H A D | open.c | 213 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/mailx/ |
| H A D | head.c | 77 static const struct lab fields[] = { variable in typeref:struct:lab 551 if (++i >= elementsof(fields)) 553 } while (strncasecmp(fields[i].name, t, n)); 737 for (i = 0; i < elementsof(fields); i++) 738 if ((fields[i].type & type) && 739 (s = grabname(pp, mp, (char*)fields[i].name, type)) &&
|
| H A D | list.c | 135 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/stats/ |
| H A D | stats.c | 27 " 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/lib/libtksh/tcl/ |
| H A D | tclCmdMZ.c | 722 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/dsslib/xml/ |
| H A D | xml.c | 32 "default all fields are treated as strings. Only fields specified in the " 40 "one or more fields, and any libraries required to support those types.]" 107 Field_t* fields; member in struct:Xml_s 1131 xml->fields = f; 1317 for (f = xml->fields; f; f = g)
|
| /ast/src/cmd/ksh93/sh/ |
| H A D | nvtype.c | 681 sfprintf(out,"[+?\b%s\b defines the following fields:]{\n",np->nvname); 1436 Namval_t *nv_mkstruct(const char *name, int rsize, Fields_t *fields) argument 1452 for(fp=fields; fp->name; fp++) 1488 for(i=0,fp=fields; fp->name; fp++)
|
| H A D | macro.c | 72 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/sortlib/sync/ |
| H A D | ss.c | 537 * (flags & LEX_JOIN) collapses adjacent fields 542 fields(Ss_t* ss, int tuple, int flags, size_t* zp) function 811 if (dp && !(*dp = fields(ss, tuple, flags, zp)) && ss->copy == n) 1687 if (!(fp->out = fields(ss, 2, LEX_JOIN, &fp->size))) 1725 ss->sum = fields(ss, 2, 0, NiL);
|
| /ast/src/lib/libdss/ |
| H A D | cx.h | 606 Dt_t* fields; /* order variable field list */ member in struct:Cx_s
|
| /ast/src/cmd/dsslib/flat/ |
| H A D | flat.c | 43 " 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...] |