/ast/src/lib/libdss/ |
H A D | dssmisc.c | 116 * return variable value in value 117 * type!=0 casts to type, variable->type by default 122 dssget(Dssrecord_t* record, Dssvariable_t* variable, Dsstype_t* type, const char* details, Dssvalue_t* value) argument 126 if (cxcast(record->file->dss->cx, &ret, variable, type, record, details)) 143 * return variable pointer given name
|
H A D | dssprintf.c | 33 Cxvariable_t* variable; member in struct:Arg_s 94 if (ap->expr && cxeval(fp->cx, ap->expr, fp->data, &ret) < 0 || cxcast(fp->cx, &ret, ap->variable, ap->cast, fp->data, ap->details)) 368 ap->variable = r.value.variable; 370 else if (!(ap->variable = cxvariable(cx, v, NiL, cx->disc))) 394 if (l > 1 || ap->variable && (ap->variable->format.width == 8 || ap->variable->type->format.width == 8)) 442 if (!ap->variable && !ap->expr) 447 (*dss->disc->errorf)(NiL, dss->disc, 2, "%s: (variable) omitte [all...] |
H A D | cxcomp.c | 287 sfsprintf(val, sizeof(val), " %s", pc->data.variable->name); 545 * parse and return variable with first char c if c!=0 549 variable(Cx_t* cx, Cxcompile_t* cc, int c, Cxtype_t* m, Cxtype_t** type) function 560 if (!(r.value.variable = cxfunction(cx, a.value.string.data, cx->disc))) 569 return r.value.variable; 660 v1 = v2 = i1->data.variable; 680 v1 = ref ? ref : i1->op == CX_GET ? i1->data.variable : (Cxvariable_t*)0; 681 v2 = i2->op == CX_GET ? i2->data.variable : (Cxvariable_t*)0; 1019 if (!(v = variable(cx, cc, 0, m, 0))) 1073 if (!(v = variable(c [all...] |
H A D | cxopen.c | 398 return (*pc->data.variable->function)(cx, pc->data.variable, r, b + (pc->pp + 1), -pc->pp, data, disc); 422 return (r->value.variable = cxvariable(cx, b->value.string.data, a->type, disc)) ? 0 : -1; 950 " the size of an array variable is the number of elements," 1960 * add a variable 1964 cxaddvariable(register Cx_t* cx, register Cxvariable_t* variable, Cxdisc_t* disc) argument 1990 if (!variable) 1992 if (dtsearch(dict, variable)) 1995 (*disc->errorf)(NiL, disc, 2, "%s: variable already defined", variable [all...] |
H A D | cx.h | 288 Cxvariable_t* variable; /* variable reference */ member in union:Cxvalue_u 410 Cxvariable_t* variable; /* member variable */ member in struct:Cxreference_s 416 Cxvariable_t* variable; /* variable size value */ member in struct:Cxarray_s 430 struct Cxvariable_s /* variable info */ 605 Dt_t* variables; /* sorted variable symbol table */ 606 Dt_t* fields; /* order variable field list */
|
/ast/src/cmd/dsslib/lookup/ |
H A D | lookup.c | 28 "\nfile variable\n" 45 Cxvariable_t* variable; member in struct:State_s 104 (*disc->errorf)(cx, disc, 2, "file and variable arguments expected"); 107 if (!(state->variable = cxvariable(cx, argv[1], NiL, disc))) 110 (*disc->errorf)(cx, disc, 2, "%s: variable not defined", argv[1]); 140 if (cxcast(cx, &val, state->variable, cx->state->type_string, data, NiL)) 158 "look up variable value in file",
|
/ast/src/lib/libexpr/ |
H A D | exparse.y | 127 %type <expr> args variable assign 268 | FOR '(' variable ')' statement 272 if (!$3->data.variable.index || $3->data.variable.index->op != DYNAMIC) 273 exerror("simple index variable expected"); 274 $$->data.generate.index = $3->data.variable.index->data.variable.symbol; 276 exerror("integer index variable expected"); 277 exfreenode(expr.program, $3->data.variable.index); 278 $3->data.variable 924 variable : reference ID index label [all...] |
H A D | expr.h | 158 } constant; /* variable reference */ 179 } variable; /* variable reference */ member in union:Exdata_u
|
/ast/src/cmd/dsslib/merge/ |
H A D | merge.c | 52 Cxvariable_t* variable; member in struct:Key_s 84 if (cxisstring(kp->variable->type) || cxisbuffer(kp->variable->type)) 119 x.data.variable = kp->variable; 143 Cxvariable_t* variable; local 167 if (!(variable = cxvariable(cx, opt_info.arg, NiL, disc))) 175 key->variable = variable;
|
/ast/src/cmd/dsslib/sort/ |
H A D | sort.c | 147 Cxvariable_t* variable; local 226 if (!(variable = cxvariable(cx, s, NiL, disc))) 228 if (rskey(state->sortkey, t ? t : cxisnumber(variable->type) ? num : "", 0)) 230 state->sortkey->tail->user = variable;
|
/ast/src/cmd/dsslib/validate/ |
H A D | validate.c | 48 Cxvariable_t* variable; member in struct:Field_s 58 Cxvariable_t* variable; member in struct:Invalid_s 106 if (!(r = strcmp(ap->variable->name, bp->variable->name))) 108 if (cxisstring(ap->variable->type) || cxisbuffer(ap->variable->type)) 135 Cxvariable_t* variable; local 198 variable = 0; 203 if (!(variable = (Cxvariable_t*)(variable [all...] |
/ast/src/cmd/dsslib/fix/ |
H A D | fix.c | 25 " variable width then the input file is used to estimate average and" 45 Cxvariable_t* variable; member in struct:Field_s 75 return strcmp(fa->variable->name, fb->variable->name); 87 Cxvariable_t* variable; local 140 for (variable = (Cxvariable_t*)dtfirst(cx->fields); variable; variable = (Cxvariable_t*)dtnext(cx->fields, variable)) 148 field->variable [all...] |
/ast/src/cmd/dsslib/stats/ |
H A D | stats.c | 91 Cxvariable_t* variable; member in struct:Group_s 99 Cxvariable_t* variable; member in struct:Field_s 148 Cxvariable_t* variable = pc->data.variable; local 153 if (variable->data == (void*)&variables[0]) 155 state->op |= variable->index; 156 if (variable->format.delimiter <= 0) 157 variable->format.delimiter = ':'; 165 variable->format.delimiter = v[10]; 167 variable 195 Cxvariable_t* variable = pc->data.variable; local 313 Cxvariable_t* variable; local [all...] |
/ast/src/cmd/jcl/ |
H A D | cpy2dss.c | 69 "[v:variable?If \b--notext\b is on then records are variable length," 167 int variable; member in struct:State_s 679 error(1, "%s: maximum variable field size shortened from %d to %ld to comply with fixed record size %u", member->name, member->width, n, state.fixed); 793 if (state.sized && state.text && state.variable && field->parent && (field->flags & CPY_number)) 869 if (state.text || state.variable && delimiter == state.terminator) 1037 state.variable = opt_info.num;
|
/ast/src/cmd/dsslib/flat/ |
H A D | flat.c | 114 Cxvariable_t variable; /* logical field variable */ member in struct:Field_s 117 Cxexpr_t* width; /* variable size */ 118 Cxvariable_t* flatten; /* flatten source variable */ 240 int variable; member in struct:Flat_s 386 (*r->dss->disc->errorf)(r->dss, r->dss->disc, 2, "%sinvalid escape", cxlocation(r->cx, r->record), p->field->variable.name); 437 (*r->dss->disc->errorf)(r->dss, r->dss->disc, 2, "%s%s: unterminated quote", cxlocation(r->cx, r->record), p->field->variable.name); 513 p = &r->fields[k->field->variable.index]; 556 (*r->dss->disc->errorf)(r->dss, r->dss->disc, 1, "%s%s: variable field width %d exceeds fixed maximum %d -- maximum assumed", cxlocation(r->cx, r->record), w->field->variable [all...] |
/ast/src/cmd/mailx/ |
H A D | mailx.h | 368 * Structure of a variable node. 373 char** variable; member in struct:var 653 char number[16]; /* Temp variable number string */
|