Home
last modified time | relevance | path

Searched refs:nval (Results 1 – 6 of 6) sorted by relevance

/ndk/sources/host-tools/nawk-20071023/
Dtran.c170 xfree(cp->nval); in freesymtab()
180 WARNING("can't happen: inconsistent element count freeing %s", ap->nval); in freesymtab()
194 if (strcmp(s, p->nval) == 0) { in freeelem()
201 free(p->nval); in freeelem()
215 p, NN(p->nval), NN(p->sval), p->fval, p->tval) ); in setsymtab()
221 p->nval = tostring(n); in setsymtab()
234 p, p->nval, p->sval, p->fval, p->tval) ); in setsymtab()
259 nh = hash(cp->nval, nsz); in rehash()
276 if (strcmp(s, p->nval) == 0) in lookup()
289 fldno = atoi(vp->nval); in setfval()
[all …]
Dparse.c192 SYNTAX( "%s is a function, not an array", cp->nval ); in makearr()
239 SYNTAX( "`%s' is an array name and a function name", v->nval ); in defn()
242 if (isarg(v->nval) != -1) { in defn()
243 SYNTAX( "`%s' is both function name and argument name", v->nval ); in defn()
253 dprintf( ("defining func %s (%d args)\n", v->nval, n) ); in defn()
263 if (strcmp(((Cell *)(p->narg[0]))->nval, s) == 0) in isarg()
Dawkgram.y450 SYNTAX("%s is an array, not a function", p->nval);
452 SYNTAX("you can't define function %s more than once", p->nval);
453 curfname = p->nval;
479 char *s = cp->nval;
481 if (strcmp(s, ((Cell *)(vl->narg[0]))->nval) == 0) {
Drun.c232 s = fcn->nval; in call()
254 i, NN(y->nval), y->fval, isarr(y) ? "(array)" : NN(y->sval), y->tval) ); in call()
256 FATAL("can't use function %s as argument in %s", y->nval, s); in call()
327 y->nval = x->nval; /* BUG? */ in copycell()
343 n+1, fp->fcncell->nval); in arg()
469 FATAL("out of memory for %s[%s...]", x->nval, buf); in array()
476 dprintf( ("making %s into an array\n", NN(x->nval)) ); in array()
516 FATAL("out of memory deleting %s[%s...]", x->nval, buf); in awkdelete()
540 dprintf( ("making %s into an array\n", ap->nval) ); in intest()
555 FATAL("out of memory deleting %s[%s...]", x->nval, buf); in intest()
[all …]
Dawk.h81 char *nval; /* name, for variables only */ member
Dlib.c67 fldtab[0]->nval = tostring("0"); in recinit()
82 fldtab[i]->nval = tostring(temp); in makefields()
352 printf("field %d (%s): |%s|\n", j, p->nval, p->sval); in fldbld()