Searched refs:attsSize (Results 1 - 2 of 2) sorted by relevance
/external/expat/lib/ |
H A D | xmlparse.c | 656 #define attsSize (parser->m_attsSize) macro 795 attsSize = INIT_ATTS_SIZE; 796 atts = (ATTRIBUTE *)MALLOC(attsSize * sizeof(ATTRIBUTE)); 802 attInfo = (XML_AttrInfo*)MALLOC(attsSize * sizeof(XML_AttrInfo)); 2781 n = XmlGetAttributes(enc, attStr, attsSize, atts); 2782 if (n + nDefaultAtts > attsSize) { 2783 int oldAttsSize = attsSize; 2788 attsSize = n + nDefaultAtts + INIT_ATTS_SIZE; 2789 temp = (ATTRIBUTE *)REALLOC((void *)atts, attsSize * sizeof(ATTRIBUTE)); 2794 temp2 = (XML_AttrInfo *)REALLOC((void *)attInfo, attsSize * sizeo [all...] |
/external/python/cpython2/Modules/expat/ |
H A D | xmlparse.c | 648 #define attsSize (parser->m_attsSize) macro 760 attsSize = INIT_ATTS_SIZE; 761 atts = (ATTRIBUTE *)MALLOC(attsSize * sizeof(ATTRIBUTE)); 767 attInfo = (XML_AttrInfo*)MALLOC(attsSize * sizeof(XML_AttrInfo)); 2745 n = XmlGetAttributes(enc, attStr, attsSize, atts); 2746 if (n + nDefaultAtts > attsSize) { 2747 int oldAttsSize = attsSize; 2752 attsSize = n + nDefaultAtts + INIT_ATTS_SIZE; 2753 temp = (ATTRIBUTE *)REALLOC((void *)atts, attsSize * sizeof(ATTRIBUTE)); 2758 temp2 = (XML_AttrInfo *)REALLOC((void *)attInfo, attsSize * sizeo [all...] |
Completed in 79 milliseconds