Home | History | Annotate | Download | only in libxml2

Lines Matching full:atts

1439     const xmlChar **atts;
1443 if (ctxt->atts == NULL) {
1445 atts = (const xmlChar **)
1447 if (atts == NULL) goto mem_error;
1448 ctxt->atts = atts;
1455 atts = (const xmlChar **) xmlRealloc((void *) ctxt->atts,
1457 if (atts == NULL) goto mem_error;
1458 ctxt->atts = atts;
7965 const xmlChar **atts = ctxt->atts;
8002 if (xmlStrEqual(atts[i], attname)) {
8009 * Add the pair to atts
8011 if (atts == NULL) {
8013 atts = (const xmlChar **)
8015 if (atts == NULL) {
8021 ctxt->atts = atts;
8027 n = (const xmlChar **) xmlRealloc((void *) atts,
8035 atts = n;
8036 ctxt->atts = atts;
8039 atts[nbatts++] = attname;
8040 atts[nbatts++] = attvalue;
8041 atts[nbatts] = NULL;
8042 atts[nbatts + 1] = NULL;
8074 ctxt->sax->startElement(ctxt->userData, name, atts);
8079 if (atts != NULL) {
8082 if (atts[i] != NULL)
8083 xmlFree((xmlChar *) atts[i]);
8648 const xmlChar **atts = ctxt->atts;
8840 * Add the pair to atts
8842 if ((atts == NULL) || (nbatts + 5 > maxatts)) {
8849 atts = ctxt->atts;
8852 atts[nbatts++] = attname;
8853 atts[nbatts++] = aprefix;
8854 atts[nbatts++] = NULL; /* the URI will be fetched later */
8855 atts[nbatts++] = attvalue;
8857 atts[nbatts++] = attvalue;
8939 if ((attname == atts[j]) && (aprefix == atts[j+1]))
8944 if ((atts == NULL) || (nbatts + 5 > maxatts)) {
8949 atts = ctxt->atts;
8951 atts[nbatts++] = attname;
8952 atts[nbatts++] = aprefix;
8954 atts[nbatts++] = NULL;
8956 atts[nbatts++] = xmlGetNamespace(ctxt, aprefix);
8957 atts[nbatts++] = defaults->values[5 * i + 2];
8958 atts[nbatts++] = defaults->values[5 * i + 3];
8978 if (atts[i + 1] != NULL) {
8979 nsname = xmlGetNamespace(ctxt, atts[i + 1]);
8983 atts[i + 1], atts[i], localname);
8985 atts[i + 2] = nsname;
8995 if (atts[i] == atts[j]) {
8996 if (atts[i+1] == atts[j+1]) {
8997 xmlErrAttributeDup(ctxt, atts[i+1], atts[i]);
9000 if ((nsname != NULL) && (atts[j + 2] == nsname)) {
9003 atts[i], nsname, NULL);
9027 nbatts / 5, nbdef, atts);
9030 nsname, 0, NULL, nbatts / 5, nbdef, atts);
9038 if ((ctxt->attallocs[j] != 0) && (atts[i] != NULL))
9039 xmlFree((xmlChar *) atts[i]);
9050 if ((ctxt->attallocs[j] != 0) && (atts[i] != NULL))
9051 xmlFree((xmlChar *) atts[i]);