Searched refs:m_attsSize (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Modules/expat/ |
D | xmlparse.c | 593 int m_attsSize; member 903 parser->m_attsSize = INIT_ATTS_SIZE; in parserCreate() 905 = (ATTRIBUTE *)MALLOC(parser, parser->m_attsSize * sizeof(ATTRIBUTE)); in parserCreate() 912 parser, parser->m_attsSize * sizeof(XML_AttrInfo)); in parserCreate() 3068 n = XmlGetAttributes(enc, attStr, parser->m_attsSize, parser->m_atts); in storeAtts() 3069 if (n + nDefaultAtts > parser->m_attsSize) { in storeAtts() 3070 int oldAttsSize = parser->m_attsSize; in storeAtts() 3075 parser->m_attsSize = n + nDefaultAtts + INIT_ATTS_SIZE; in storeAtts() 3077 parser->m_attsSize * sizeof(ATTRIBUTE)); in storeAtts() 3079 parser->m_attsSize = oldAttsSize; in storeAtts() [all …]
|
/external/expat/lib/ |
D | xmlparse.c | 594 int m_attsSize; member 913 parser->m_attsSize = INIT_ATTS_SIZE; in parserCreate() 915 = (ATTRIBUTE *)MALLOC(parser, parser->m_attsSize * sizeof(ATTRIBUTE)); in parserCreate() 922 parser, parser->m_attsSize * sizeof(XML_AttrInfo)); in parserCreate() 3089 n = XmlGetAttributes(enc, attStr, parser->m_attsSize, parser->m_atts); in storeAtts() 3090 if (n + nDefaultAtts > parser->m_attsSize) { in storeAtts() 3091 int oldAttsSize = parser->m_attsSize; in storeAtts() 3096 parser->m_attsSize = n + nDefaultAtts + INIT_ATTS_SIZE; in storeAtts() 3098 parser->m_attsSize * sizeof(ATTRIBUTE)); in storeAtts() 3100 parser->m_attsSize = oldAttsSize; in storeAtts() [all …]
|
/external/python/cpython2/Modules/expat/ |
D | xmlparse.c | 624 int m_attsSize; member 955 parser->m_attsSize = INIT_ATTS_SIZE; in parserCreate() 956 parser->m_atts = (ATTRIBUTE *)MALLOC(parser, parser->m_attsSize * sizeof(ATTRIBUTE)); in parserCreate() 962 parser->m_attInfo = (XML_AttrInfo*)MALLOC(parser, parser->m_attsSize * sizeof(XML_AttrInfo)); in parserCreate() 3207 n = XmlGetAttributes(enc, attStr, parser->m_attsSize, parser->m_atts); in storeAtts() 3208 if (n + nDefaultAtts > parser->m_attsSize) { in storeAtts() 3209 int oldAttsSize = parser->m_attsSize; in storeAtts() 3214 parser->m_attsSize = n + nDefaultAtts + INIT_ATTS_SIZE; in storeAtts() 3215 …temp = (ATTRIBUTE *)REALLOC(parser, (void *)parser->m_atts, parser->m_attsSize * sizeof(ATTRIBUTE)… in storeAtts() 3217 parser->m_attsSize = oldAttsSize; in storeAtts() [all …]
|