Lines Matching refs:mem
1743 xmlChar *mem; in PHP_FUNCTION() local
1778 mem = (xmlChar*) xmlBufferContent(buf); in PHP_FUNCTION()
1779 if (!mem) { in PHP_FUNCTION()
1783 RETVAL_STRING(mem, 1); in PHP_FUNCTION()
1791 xmlDocDumpFormatMemory(docp, &mem, &size, format); in PHP_FUNCTION()
1795 if (!size || !mem) { in PHP_FUNCTION()
1798 RETVAL_STRINGL(mem, size, 1); in PHP_FUNCTION()
1799 xmlFree(mem); in PHP_FUNCTION()
2267 xmlChar *mem = NULL; in PHP_FUNCTION() local
2313 mem = (xmlChar*) xmlBufferContent(buf); in PHP_FUNCTION()
2314 if (!mem) { in PHP_FUNCTION()
2317 RETVAL_STRINGL((const char*) mem, size, 1); in PHP_FUNCTION()
2326 htmlDocDumpMemoryFormat(docp, &mem, &size, format); in PHP_FUNCTION()
2328 htmlDocDumpMemory(docp, &mem, &size); in PHP_FUNCTION()
2330 if (!size || !mem) { in PHP_FUNCTION()
2333 RETVAL_STRINGL((const char*) mem, size, 1); in PHP_FUNCTION()
2335 if (mem) in PHP_FUNCTION()
2336 xmlFree(mem); in PHP_FUNCTION()