Lines Matching defs:new
103 char *SetNew(/* void */); /* A new set for element 0..N */
200 struct state *stp; /* The new state, if a shift */
331 /* Allocate a new parser action */
334 struct action *new;
341 fprintf(stderr,"Unable to allocate memory for a new parser action.");
347 new = freelist;
349 return new;
382 struct action *new;
383 new = Action_new();
384 new->next = *app;
385 *app = new;
386 new->type = type;
387 new->sp = sp;
389 new->x.stp = (struct state *)arg;
391 new->x.rp = (struct rule *)arg;
411 *aLookahead; /* A single new transaction set */
435 /* Allocate a new acttab structure */
439 fprintf(stderr,"Unable to allocate memory for a new acttab.");
446 /* Add a new action to the current transaction set
477 ** to an empty set in preparation for a new round of acttab_action() calls.
479 ** Return the offset into the action table of the new transaction.
508 ** i reaches p->nAction, which means we append the new transaction set.
688 ** any rule. Report an error if it does. (YACC would generate a new
729 /* Extract the sorted basis of the new state. The basis was constructed
749 /* This really is a new state. Construct all the details */
753 stp = State_new(); /* A new state structure */
774 struct config *new; /* */
787 Configlist_reset(); /* Reset the new config set */
799 new = Configlist_addbasis(bcfp->rp,bcfp->dot+1);
800 Plink_add(&new->bplp,bcfp);
1040 /* Return a pointer to a new configuration */
1042 struct config *new;
1048 fprintf(stderr,"Unable to allocate memory for a new configuration.");
1054 new = freelist;
1056 return new;
1464 ** The function returns a new pointer which is the head of the list
2427 /* Allocate a new plink */
2429 struct plink *new;
2437 "Unable to allocate memory for a new follow-set propagation link.\n");
2443 new = plink_freelist;
2445 return new;
2453 struct plink *new;
2454 new = Plink_new();
2455 new->next = *plpp;
2456 *plpp = new;
2457 new->cfp = cfp;
3656 /* Allocate a new set */
3676 /* Add a new element to the set. Return TRUE if the element was added
3767 /* Allocate a new associative array */
3786 /* Insert a new record into the array. Return TRUE if successful.
3832 /* Insert the new data */
3862 ** Create a new symbol if this is the first time "x" has been seen.
3929 /* Allocate a new associative array */
3948 /* Insert a new record into the array. Return TRUE if successful.
3996 /* Insert the new data */
4101 /* Allocate a new state structure */
4104 struct state *new;
4105 new = (struct state *)malloc( sizeof(struct state) );
4106 MemoryCheck(new);
4107 return new;
4135 /* Allocate a new associative array */
4154 /* Insert a new record into the array. Return TRUE if successful.
4202 /* Insert the new data */
4281 /* Allocate a new associative array */
4300 /* Insert a new record into the array. Return TRUE if successful.
4346 /* Insert the new data */