Lines Matching refs:numclasses
233 xdr->numclasses = xdr->maxclasses = 0; in JS_XDRInitBase()
599 uintN numclasses, maxclasses; in JS_XDRRegisterClass() local
602 numclasses = xdr->numclasses; in JS_XDRRegisterClass()
604 if (numclasses == maxclasses) { in JS_XDRRegisterClass()
613 JS_ASSERT(numclasses && numclasses < maxclasses); in JS_XDRRegisterClass()
617 registry[numclasses] = clasp; in JS_XDRRegisterClass()
626 entry->index = numclasses; in JS_XDRRegisterClass()
628 *idp = CLASS_INDEX_TO_ID(numclasses); in JS_XDRRegisterClass()
629 xdr->numclasses = ++numclasses; in JS_XDRRegisterClass()
636 uintN i, numclasses; in JS_XDRFindClassIdByName() local
638 numclasses = xdr->numclasses; in JS_XDRFindClassIdByName()
639 if (numclasses >= 10) { in JS_XDRFindClassIdByName()
646 numclasses); in JS_XDRFindClassIdByName()
648 for (i = 0; i < numclasses; i++) { in JS_XDRFindClassIdByName()
669 for (i = 0; i < numclasses; i++) { in JS_XDRFindClassIdByName()
681 if (i >= xdr->numclasses) in JS_XDRFindClassById()