| 8018 | } |
| 8019 | |
| 8020 | static const XML_Char *FASTCALL |
| 8021 | poolCopyString(STRING_POOL *pool, const XML_Char *s) { |
| 8022 | do { |
| 8023 | if (! poolAppendChar(pool, *s)) |
| 8024 | return NULL; |
| 8025 | } while (*s++); |
| 8026 | s = pool->start; |
| 8027 | poolFinish(pool); |
| 8028 | return s; |
| 8029 | } |
| 8030 | |
| 8031 | static const XML_Char * |
| 8032 | poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n) { |
no outgoing calls
no test coverage detected
searching dependent graphs…