Lines Matching refs:nbatoms
458 int i, j, nbstates = 0, nbatoms = 0; in xmlRegEpxFromParse() local
510 for (j = 0;j < nbatoms;j++) { in xmlRegEpxFromParse()
516 if (j >= nbatoms) { in xmlRegEpxFromParse()
517 stringRemap[i] = nbatoms; in xmlRegEpxFromParse()
518 stringMap[nbatoms] = xmlStrdup(value); in xmlRegEpxFromParse()
519 if (stringMap[nbatoms] == NULL) { in xmlRegEpxFromParse()
520 for (i = 0;i < nbatoms;i++) in xmlRegEpxFromParse()
528 nbatoms++; in xmlRegEpxFromParse()
533 for (i = 0;i < nbatoms;i++) in xmlRegEpxFromParse()
541 printf("Final: %d atoms\n", nbatoms); in xmlRegEpxFromParse()
544 (nbatoms + 1) * sizeof(int)); in xmlRegEpxFromParse()
552 memset(transitions, 0, (nbstates + 1) * (nbatoms + 1) * sizeof(int)); in xmlRegEpxFromParse()
570 transitions[stateno * (nbatoms + 1)] = state->type; in xmlRegEpxFromParse()
578 transdata = (void **) xmlMalloc(nbstates * nbatoms * in xmlRegEpxFromParse()
582 nbstates * nbatoms * sizeof(void *)); in xmlRegEpxFromParse()
594 prev = transitions[stateno * (nbatoms + 1) + atomno + 1]; in xmlRegEpxFromParse()
608 for (i = 0;i < nbatoms;i++) in xmlRegEpxFromParse()
618 transitions[stateno * (nbatoms + 1) + atomno + 1] = in xmlRegEpxFromParse()
621 transdata[stateno * nbatoms + atomno] = in xmlRegEpxFromParse()
632 for (j = 0;j < nbatoms + 1;j++) { in xmlRegEpxFromParse()
633 printf("%02d ", transitions[i * (nbatoms + 1) + j]); in xmlRegEpxFromParse()
660 ret->nbstrings = nbatoms; in xmlRegEpxFromParse()