Searched refs:field (Results 1 - 25 of 40) sorted by relevance

12

/ast/src/cmd/dsslib/fix/
H A Dfix.c26 " maximum field widths. The generated schema may be used as input for"
88 Field_t* field; local
142 if (!(field = vmnewof(vm, 0, Field_t, 1, 0)))
148 field->variable = variable;
152 field->representation = FIELD_buffer;
155 field->representation = FIELD_string;
158 field->representation = FIELD_number;
161 if (field->width = variable->format.width)
163 field->flags = variable->format.flags;
164 dtinsert(state->fields, field);
188 register Field_t* field; local
218 register Field_t* field; local
[all...]
/ast/src/cmd/dsslib/validate/
H A Dvalidate.c29 "[l:list?List the field constraints and exit.]"
32 "[v:verbose?Warn about each invalid field and the action taken.]"
34 "\n[ field ... ]\n"
64 Field_t* field; member in struct:State_s
136 register Field_t* field; local
210 if (!(field = vmnewof(vm, 0, Field_t, 1, 0)))
216 field->variable = variable;
217 if (state->field)
218 lastfield = lastfield->next = field;
220 lastfield = state->field
285 register Field_t* field; local
393 register Field_t* field; local
[all...]
/ast/src/lib/librecsort/
H A Drskeyopen.c96 kp->head = kp->tail = &kp->field.global;
97 kp->field.global.end.field = MAXFIELD;
128 np = kp->field.global.next;
142 if (kp->field.positions)
143 vmfree(Vmheap, kp->field.positions);
H A Drskey.c61 * A field of length zero, or all blank, is regarded as 0.
246 (*kp->keydisc->errorf)(kp, kp->keydisc, 1, "%-.*s: numeric field overflow", len, dp);
313 (*kp->keydisc->errorf)(kp, kp->keydisc, 1, "%-.*s: numeric field overflow", dp);
380 (*kp->keydisc->errorf)(kp, kp->keydisc, 1, "%-.*s: numeric field overflow", dp);
425 * Encode text field subject to options -r -fdi -b.
466 (*kp->keydisc->errorf)(kp, kp->keydisc, 1, "%-.*s: multibyte field overflow -- falling back to native collation", dp);
630 int m = kp->field.maxfield;
631 unsigned char** pp = kp->field.positions;
670 n = fp->begin.field;
674 if (fp->bflag && kp->field
[all...]
H A Drskeyhdr.h58 typedef struct Position_s /* field position */
60 int field; /* field offset */ member in struct:Position_s
71 int index; /* field definition index */ \
94 Rskeyfield_t global; /* global field info */ \
95 Rskeyfield_t* prev; /* previous field list tail */ \
96 int index; /* last field index */ \
97 int maxfield; /* max field position */ \
98 unsigned char** positions; /* field start positions */ \
99 } field; /* ke
[all...]
H A Drskeydump.c41 sfprintf(sp, "\tbegin field = %d\n", fp->begin.field);
43 sfprintf(sp, "\t end field = %d\n", fp->end.field);
75 sfprintf(sp, "\ttab='%s' keys=%s maxfield=%d", kp->tab[0] ? (char*)kp->tab : " ", kp->coded ? "coded" : "", kp->field.maxfield);
82 for (fp = &kp->field.global; fp; fp = fp->next)
83 dump(kp, sp, fp, "field");
/ast/src/cmd/tests/
H A Ddate.c242 char* field[6]; local
298 field[i++] = p;
310 s = field[i - 1];
312 field[i - 1] = 0;
319 if (i >= elementsof(field))
321 field[i++] = p;
333 while (i < elementsof(field))
334 field[i++] = 0;
335 if (str = field[0])
337 if (fmt = field[
[all...]
/ast/src/cmd/re/
H A Dtestfmt.c326 char* field[5]; local
438 field[i++] = p;
449 s = field[i - 1];
451 field[i - 1] = 0;
458 if (i >= elementsof(field))
460 field[i++] = p;
467 if (!(spec = field[0]))
501 while (i < elementsof(field))
502 field[i++] = 0;
503 if ((re = field[
[all...]
H A Dtestglob.c135 H(" C set LC_COLLATE and LC_CTYPE to the locale in field 2\n");
136 H(" I set gl_fignore to the pattern in field 2\n");
518 char* field[5]; local
745 field[i++] = p;
754 s = field[i - 1];
756 field[i - 1] = 0;
763 if (i >= elementsof(field))
765 field[i++] = p;
772 if (!(spec = field[0]))
788 bad("locale field expecte
[all...]
H A Dtestfnmatch.c107 H(" C set LC_COLLATE and LC_CTYPE to locale in field 2\n");
498 char* field[6]; local
614 field[i++] = p;
625 s = field[i - 1];
627 field[i - 1] = 0;
634 if (i >= elementsof(field))
636 field[i++] = p;
643 if (!(spec = field[0]))
680 bad("locale field expected\n", NiL, NiL, 0);
684 s = field[
[all...]
H A Dtestmatch.c117 H(" C set LC_COLLATE and LC_CTYPE to locale in field 2\n");
133 H(" and last+1 positions in the field 3 string, or NULL if subexpression\n");
630 char* field[6]; local
749 field[i++] = p;
760 s = field[i - 1];
762 field[i - 1] = 0;
769 if (i >= elementsof(field))
771 field[i++] = p;
778 if (!(spec = field[0]))
817 bad("locale field expecte
[all...]
/ast/src/cmd/dsslib/stats/
H A Dstats.c36 "values.]:[field]"
45 "\n[ field ... ]\n"
104 Field_t* field; member in struct:Print_s
114 Field_t* field; member in struct:State_s
226 if (!print->field || !(r->value.string.data = (char*)print->field->variable->name))
314 Field_t* field; local
449 (*disc->errorf)(cx, disc, 2, "%s: not a numeric field", variable->name);
452 if (!(field = vmnewof(vm, 0, Field_t, 1, 0)))
458 field
526 register Field_t* field; local
616 list(Cx_t* cx, register State_t* state, Sfio_t* op, const char* label, register Field_t* field, register Total_t* total, Cxoperand_t* key) argument
[all...]
/ast/src/cmd/sortlib/sum/
H A Dsortsum.c40 "[o:op?A field summary operation. \aarg\a is a \bdss\b(1) type name for "
44 "style field specification. \aop\a\b:\b\aarg\a may be specified multiple "
54 "[+count (c)?multiply subsequent field values and increment the "
56 "[+set (s)?set all field field bytes to the first character of "
60 "[d:debug?List the field operations on the standard error.]"
64 "fixed width field starting at byte position 2 (counting from 1) "
66 "field starting at byte position 6.]"
96 short field; member in struct:Position_s
191 while (beg < sum->beg.field)
[all...]
/ast/src/lib/libtk/generic/
H A DtkTest.c396 char *field, *value;
402 " window type ?field value field value ...?\"",
444 field = argv[i];
446 if (strcmp(field, "-above") == 0) {
452 } else if (strcmp(field, "-borderwidth") == 0) {
457 } else if (strcmp(field, "-button") == 0) {
462 } else if (strcmp(field, "-count") == 0) {
471 } else if (strcmp(field, "-detail") == 0) {
517 } else if (strcmp(field, "
392 char *field, *value; local
[all...]
H A DtkUtil.c206 TkFindStateNum(interp, field, mapPtr, strKey)
208 CONST char *field; /* String to use when constructing error. */
225 Tcl_AppendResult(interp, "bad ", field, " value \"", strKey,
H A DtkBind.c127 * In a binding table, the object field corresponds to the binding tag
130 * In a virtual event table, the object field is always NULL. Virtual
245 * voPtr field in a PatSeq in the patternTable of a virtual event table.
2766 * argv[2..argc-1] contains -field/option pairs for specifying
2889 char *field, *value;
2894 field = argv[i];
2897 if (strcmp(field, "-when") == 0) {
2914 } else if (strcmp(field, "-above") == 0) {
2929 } else if (strcmp(field, "-borderwidth") == 0) {
2938 } else if (strcmp(field, "
2867 char *field, *value; local
3474 char field[FIELD_SIZE]; local
3540 char *field = p + 1; local
[all...]
/ast/src/cmd/ksh93/tests/
H A Dtreemove.sh116 x_t c.x[4][5][8].field
118 typeset -m c.x[4][6][9].field=x
119 exp=$'(\n\ttypeset -C -a x=(\n\t\t[4]=(\n\t\t\t[5]=(\n\t\t\t\t[8]=(\n\t\t\t\t\tx_t field=(\n\t\t\t\t\t\thello=world\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t\t[6]=(\n\t\t\t\t[9]=(\n\t\t\t\t\tx_t field=(\n\t\t\t\t\t\thello=world\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t)\n\t)\n)'
120 [[ $(print -v c) == "$exp" ]] || err_exit "typeset -m c.x[4][6][9].field=x where x is a type is not working"
/ast/src/cmd/std/
H A Dpss-ps.c51 unsigned long field; member in struct:Pso_s
78 for (po = pso; po->field; po++)
79 fields |= po->field;
140 for (po = pso; po->field; po++)
141 if (po->field & fields)
211 for (po = pso; po->field; po++)
212 if (po->field & fields)
220 switch (po->field)
H A Dps.c53 " of all selected processes, in the \bCMD\b field list.]"
97 " of all selected processes, in the \bCMD\b field list.]"
103 " children of all selected processes, in the \bCMD\b field list.]"
172 unsigned long field; /* pss field */ member in struct:Key_s
174 short width; /* field width */
179 short prec; /* field precision */
183 const char* sep; /* next field separator */
221 Key_t* fields; /* format field list */
537 sfprintf(sp, "%s The title string is \b%s\b and the default width is %d.%s]", keys[i].desc, keys[i].head, keys[i].width, (!keys[i].field || (stat
1264 unsigned long field; local
[all...]
/ast/src/lib/libcmd/
H A Djoin.c36 "output. By default, a field is delimited by one or more spaces "
38 "can be used to change the field delimiter.]"
39 "[+?The \ajoin field\a is a field in each file on which files are compared. "
42 "fields. The default output line consists of the join field, "
59 "and a field number or \b0\b representing the join field. "
62 "[t:separator|tabs]:[delim?Use \adelim\a as the field separator for both input"
64 "[1:j1]#[field?Join on field \afiel
136 int field; member in struct:File_s
299 register Field_t* field = fp->fields; local
[all...]
/ast/src/cmd/dsslib/netflow/
H A Dflow-dumpv9.c170 memset(tp->field, 0, sizeof(tp->field));
193 fp = &tp->field[n - 1];
194 fp->type = bp->field[n - 1].type;
198 sfprintf(sfstderr, "template %2d field %2d type %2d size %2d offset %3d\n", tp->id, n, fp->type, fp->size, fp->offset);
219 memset(tp->field, 0, sizeof(tp->field));
251 fp = &tp->field[n - 1];
252 fp->type = bp->field[n - 1].type;
256 sfprintf(sfstderr, "template %2d field
[all...]
H A Dflowlib.h57 Netflow_field_t field[NETFLOW_TEMPLATE+1]; member in struct:Netflow_template_s
/ast/src/cmd/dsslib/sort/
H A Dsort.c28 "[c:count?Prepend an integer count field of the number of records that "
35 "\n[ field ... ]\n"
76 Rskeyfield_t* field; local
83 for (field = state->sortkey->head; field; field = field->next)
85 if (cxcast(state->cx, &r, (Cxvariable_t*)field->user, state->cx->state->type_string, state->data, NiL))
87 k += field->coder(state->sortkey, field, (unsigne
[all...]
/ast/src/cmd/sortlib/glean/
H A Dglean.c53 "lists the current minimal records per field 3 (numeric) and "
54 "field 4 (string), for each value of the catenation of fields 1 and 2.]"
104 Field_t* field; member in struct:State_s
176 for (f = state->field; f; f = f->next)
208 for (f = state->field; f; f = f->next)
312 if (opt_info.assignment == ':' || !(f = state->field) || f->mm != i)
320 f->next = state->field;
321 state->field = f;
335 for (f = state->field; f; f = f->next)
341 for (f = state->field;
[all...]
/ast/src/lib/libtk/library/demos/
H A Drolodex163 set helpTopics(.frame.1.entry) {In this field of the rolodex entry you should type the person's name}
164 set helpTopics(.frame.2.entry) {In this field of the rolodex entry you should type the first line of the person's address}
165 set helpTopics(.frame.3.entry) {In this field of the rolodex entry you should type the second line of the person's address}
166 set helpTopics(.frame.4.entry) {In this field of the rolodex entry you should type the third line of the person's address}
167 set helpTopics(.frame.5.entry) {In this field of the rolodex entry you should type the person's home phone number, or "private" if the person doesn't want his or her number publicized}
168 set helpTopics(.frame.6.entry) {In this field of the rolodex entry you should type the person's work phone number}
169 set helpTopics(.frame.7.entry) {In this field of the rolodex entry you should type the phone number for the person's FAX machine}

Completed in 59 milliseconds

12