Lines Matching refs:nbAttrs
305 int nbAttrs; /* the number of attributes */
1188 int nbAttrs = 0;
1198 if (nbAttrs < MAX_ATTR)
1199 attrs[nbAttrs++] = attr;
1201 nbAttrs++;
1227 ret->nbAttrs = 0;
1228 if (nbAttrs > 0) {
1230 if (nbAttrs < 4)
1233 ret->maxAttrs = nbAttrs;
1240 } else if (ret->maxAttrs < nbAttrs) {
1243 tmp = (xmlAttrPtr *) xmlRealloc(ret->attrs, nbAttrs *
1250 ret->maxAttrs = nbAttrs;
1252 ret->nbAttrs = nbAttrs;
1253 if (nbAttrs < MAX_ATTR) {
1254 memcpy(ret->attrs, attrs, sizeof(xmlAttrPtr) * nbAttrs);
1257 nbAttrs = 0;
1259 ret->attrs[nbAttrs++] = attr;
1264 ret->nbAttrLeft = ret->nbAttrs;
1305 if (state->nbAttrs > 0) {
1312 ret->nbAttrs = 0;
1315 } else if (ret->maxAttrs < state->nbAttrs) {
1322 ret->nbAttrs = 0;
1329 state->nbAttrs * sizeof(xmlAttrPtr));
1361 if (state1->nbAttrs != state2->nbAttrs)
1368 for (i = 0; i < state1->nbAttrs; i++) {
9101 for (i = 0; i < ctxt->state->nbAttrs; i++) {
9143 for (i = 0; i < ctxt->state->nbAttrs; i++) {
9814 for (i = 0; i < state->nbAttrs; i++) {