Searched refs:Cell (Results 1 – 8 of 8) sorted by relevance
/ndk/sources/host-tools/nawk-20071023/ |
D | proto.h | 29 extern void setfname(Cell *); 87 extern Node *celltonode(Cell *, int); 92 extern void defn(Cell *, Node *, Node *); 95 extern Cell *(*proctab[])(Node **, int); 103 extern void freesymtab(Cell *); 104 extern void freeelem(Cell *, const char *); 105 extern Cell *setsymtab(const char *, const char *, double, unsigned int, Array *); 108 extern Cell *lookup(const char *, Array *); 109 extern double setfval(Cell *, double); 110 extern void funnyvar(Cell *, const char *); [all …]
|
D | tran.c | 54 Cell *fsloc; /* FS */ 55 Cell *nrloc; /* NR */ 56 Cell *nfloc; /* NF */ 57 Cell *fnrloc; /* FNR */ 60 Cell *rstartloc; /* RSTART */ 61 Cell *rlengthloc; /* RLENGTH */ 62 Cell *symtabloc; /* SYMTAB */ 64 Cell *nullloc; /* a guaranteed empty cell */ 66 Cell *literal0; 68 extern Cell **fldtab; [all …]
|
D | run.c | 71 Cell *tmps; /* free temporary cells for execution */ 73 static Cell truecell ={ OBOOL, BTRUE, 0, 0, 1.0, NUM }; 74 Cell *True = &truecell; 75 static Cell falsecell ={ OBOOL, BFALSE, 0, 0, 0.0, NUM }; 76 Cell *False = &falsecell; 77 static Cell breakcell ={ OJUMP, JBREAK, 0, 0, 0.0, NUM }; 78 Cell *jbreak = &breakcell; 79 static Cell contcell ={ OJUMP, JCONT, 0, 0, 0.0, NUM }; 80 Cell *jcont = &contcell; 81 static Cell nextcell ={ OJUMP, JNEXT, 0, 0, 0.0, NUM }; [all …]
|
D | awk.h | 78 typedef struct Cell { struct 85 struct Cell *cnext; /* ptr to next if chained */ argument 86 } Cell; typedef 91 Cell **tab; /* hash table pointers */ 97 extern Cell *nrloc; /* NR */ 98 extern Cell *fnrloc; /* FNR */ 99 extern Cell *nfloc; /* NF */ 100 extern Cell *rstartloc; /* RSTART */ 101 extern Cell *rlengthloc; /* RLENGTH */
|
D | lib.c | 42 Cell **fldtab; /* pointers to Cells */ 55 static Cell dollar0 = { OCELL, CFLD, NULL, "", 0.0, REC|STR|DONTFREE }; 56 static Cell dollar1 = { OCELL, CFLD, NULL, "", 0.0, FLD|STR|DONTFREE }; 62 || (fldtab = (Cell **) malloc((nfields+1) * sizeof(Cell *))) == NULL in recinit() 63 || (fldtab[0] = (Cell *) malloc(sizeof(Cell))) == NULL ) in recinit() 77 fldtab[i] = (Cell *) malloc(sizeof (struct Cell)); in makefields() 225 Cell *x; in getargv() 239 Cell *q; in setclvar() 260 Cell *p; in fldbld() 359 Cell *p; in cleanfld() [all …]
|
D | parse.c | 168 Node *celltonode(Cell *a, int b) in celltonode() 181 extern Cell *literal0; in rectonode() 187 Cell *cp; in makearr() 190 cp = (Cell *) (p->narg[0]); in makearr() 233 void defn(Cell *v, Node *vl, Node *st) /* turn on FCN bit in definition, */ in defn() 263 if (strcmp(((Cell *)(p->narg[0]))->nval, s) == 0) in isarg()
|
D | awkgram.y | 30 void checkdup(Node *list, Cell *item); 43 Cell *cp; 185 { infunc--; curfname=0; defn((Cell *)$2, $4, $8); $$ = 0; } 447 void setfname(Cell *p) 458 return isvalue(p) && ((Cell *) (p->narg[0]))->csub == CCON; 463 return ((Cell *)(p->narg[0]))->sval; 477 void checkdup(Node *vl, Cell *cp) /* check if name already in list */ 481 if (strcmp(s, ((Cell *)(vl->narg[0]))->nval) == 0) {
|
D | FIXES | 121 string to a parameter leaked a Cell. thanks to moinak ghosh for
|