Home | History | Annotate | Download | only in src

Lines Matching defs:atts

1456     const xmlChar **atts;
1460 if (ctxt->atts == NULL) {
1462 atts = (const xmlChar **)
1464 if (atts == NULL) goto mem_error;
1465 ctxt->atts = atts;
1472 atts = (const xmlChar **) xmlRealloc((void *) ctxt->atts,
1474 if (atts == NULL) goto mem_error;
1475 ctxt->atts = atts;
8143 const xmlChar **atts = ctxt->atts;
8180 if (xmlStrEqual(atts[i], attname)) {
8187 * Add the pair to atts
8189 if (atts == NULL) {
8191 atts = (const xmlChar **)
8193 if (atts == NULL) {
8199 ctxt->atts = atts;
8205 n = (const xmlChar **) xmlRealloc((void *) atts,
8213 atts = n;
8214 ctxt->atts = atts;
8217 atts[nbatts++] = attname;
8218 atts[nbatts++] = attvalue;
8219 atts[nbatts] = NULL;
8220 atts[nbatts + 1] = NULL;
8252 ctxt->sax->startElement(ctxt->userData, name, atts);
8257 if (atts != NULL) {
8260 if (atts[i] != NULL)
8261 xmlFree((xmlChar *) atts[i]);
8833 const xmlChar **atts = ctxt->atts;
9025 * Add the pair to atts
9027 if ((atts == NULL) || (nbatts + 5 > maxatts)) {
9034 atts = ctxt->atts;
9037 atts[nbatts++] = attname;
9038 atts[nbatts++] = aprefix;
9039 atts[nbatts++] = NULL; /* the URI will be fetched later */
9040 atts[nbatts++] = attvalue;
9042 atts[nbatts++] = attvalue;
9126 if ((attname == atts[j]) && (aprefix == atts[j+1]))
9131 if ((atts == NULL) || (nbatts + 5 > maxatts)) {
9136 atts = ctxt->atts;
9138 atts[nbatts++] = attname;
9139 atts[nbatts++] = aprefix;
9141 atts[nbatts++] = NULL;
9143 atts[nbatts++] = xmlGetNamespace(ctxt, aprefix);
9144 atts[nbatts++] = defaults->values[5 * i + 2];
9145 atts[nbatts++] = defaults->values[5 * i + 3];
9165 if (atts[i + 1] != NULL) {
9166 nsname = xmlGetNamespace(ctxt, atts[i + 1]);
9170 atts[i + 1], atts[i], localname);
9172 atts[i + 2] = nsname;
9182 if (atts[i] == atts[j]) {
9183 if (atts[i+1] == atts[j+1]) {
9184 xmlErrAttributeDup(ctxt, atts[i+1], atts[i]);
9187 if ((nsname != NULL) && (atts[j + 2] == nsname)) {
9190 atts[i], nsname, NULL);
9214 nbatts / 5, nbdef, atts);
9217 nsname, 0, NULL, nbatts / 5, nbdef, atts);
9225 if ((ctxt->attallocs[j] != 0) && (atts[i] != NULL))
9226 xmlFree((xmlChar *) atts[i]);
9237 if ((ctxt->attallocs[j] != 0) && (atts[i] != NULL))
9238 xmlFree((xmlChar *) atts[i]);