Searched refs:tval (Results 1 – 6 of 6) sorted by relevance
/ndk/sources/host-tools/nawk-20071023/ |
D | tran.c | 215 p, NN(p->nval), NN(p->sval), p->fval, p->tval) ); in setsymtab() 224 p->tval = t; in setsymtab() 234 p, p->nval, p->sval, p->fval, p->tval) ); in setsymtab() 285 if ((vp->tval & (NUM | STR)) == 0) in setfval() 299 vp->tval &= ~STR; /* mark string invalid */ in setfval() 300 vp->tval |= NUM; /* mark number ok */ in setfval() 301 dprintf( ("setfval %p: %s = %g, t=%o\n", vp, NN(vp->nval), f, vp->tval) ); in setfval() 309 if (vp->tval & FCN) in funnyvar() 312 vp, vp->nval, vp->sval, vp->fval, vp->tval); in funnyvar() 321 vp, NN(vp->nval), s, vp->tval, donerec, donefld) ); in setsval() [all …]
|
D | awk.h | 84 int tval; /* type info: STR|NUM|ARR|FCN|FLD|CON|DONTFREE */ member 190 #define isrec(n) ((n)->tval & REC) 191 #define isfld(n) ((n)->tval & FLD) 192 #define isstr(n) ((n)->tval & STR) 193 #define isnum(n) ((n)->tval & NUM) 194 #define isarr(n) ((n)->tval & ARR) 195 #define isfcn(n) ((n)->tval & FCN) 200 #define freeable(p) ( ((p)->tval & (STR|DONTFREE)) == STR )
|
D | lib.c | 150 fldtab[0]->tval = REC | STR | DONTFREE; in getrec() 153 fldtab[0]->tval |= NUM; in getrec() 249 q->tval |= NUM; in setclvar() 291 fldtab[i]->tval = FLD | STR | DONTFREE; in fldbld() 309 fldtab[i]->tval = FLD | STR; in fldbld() 327 fldtab[i]->tval = FLD | STR | DONTFREE; in fldbld() 345 p->tval |= NUM; in fldbld() 367 p->tval = FLD | STR | DONTFREE; in cleanfld() 434 fldtab[i]->tval = FLD | STR | DONTFREE; in refldbld() 482 fldtab[0]->tval = REC | STR | DONTFREE; in recbld()
|
D | run.c | 254 i, NN(y->nval), y->fval, isarr(y) ? "(array)" : NN(y->sval), y->tval) ); in call() 294 oargs[i]->tval = t->tval; in call() 295 oargs[i]->tval &= ~(STR|NUM|DONTFREE); in call() 316 dprintf( ("%s returns %g |%s| %o\n", s, getfval(z), getsval(z), z->tval) ); in call() 331 y->tval = x->tval & ~(CON|FLD|REC|DONTFREE); /* copy is not constant or field */ in copycell() 362 if ((y->tval & (STR|NUM)) == (STR|NUM)) { in jump() 365 fp->retval->tval |= NUM; in jump() 367 else if (y->tval & STR) in jump() 369 else if (y->tval & NUM) in jump() 372 FATAL("bad type variable %d", y->tval); in jump() [all …]
|
D | parse.c | 196 cp->tval = ARR; in makearr() 247 v->tval = FCN; in defn()
|
/ndk/sources/host-tools/make-3.81/ |
D | vmsfunctions.c | 242 cvt_time (unsigned long tval) in cvt_time() argument 249 date[0] = (tval & 0xff) << 24; in cvt_time() 250 date[1] = ((tval >> 8) & 0xffffff); in cvt_time()
|