Home
last modified time | relevance | path

Searched refs:EXPAND_SPARE (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/expat/lib/
H A Dxmlparse.c268 #define EXPAND_SPARE 24 macro
3756 if (n > INT_MAX - EXPAND_SPARE) { in storeAtts()
3764 if ((unsigned)(n + EXPAND_SPARE) > (size_t)(-1) / sizeof(XML_Char)) { in storeAtts()
3769 uri = (XML_Char *)MALLOC(parser, (n + EXPAND_SPARE) * sizeof(XML_Char)); in storeAtts()
3772 binding->uriAlloc = n + EXPAND_SPARE; in storeAtts()
4001 if (len > INT_MAX - EXPAND_SPARE) { in addBinding()
4010 if ((unsigned)(len + EXPAND_SPARE) > (size_t)(-1) / sizeof(XML_Char)) { in addBinding()
4016 parser, b->uri, sizeof(XML_Char) * (len + EXPAND_SPARE)); in addBinding()
4020 b->uriAlloc = len + EXPAND_SPARE; in addBinding()
4029 if (len > INT_MAX - EXPAND_SPARE) { in addBinding()
[all …]