Lines Matching refs:ptr

96 		if (intern->ptr) {  in xmlwriter_free_resource_ptr()
97 xmlFreeTextWriter(intern->ptr); in xmlwriter_free_resource_ptr()
98 intern->ptr = NULL; in xmlwriter_free_resource_ptr()
687 intern = (xmlwriter_object *) rsrc->ptr; in ZEND_GET_MODULE()
696 xmlTextWriterPtr ptr; in php_xmlwriter_string_arg() local
722 ptr = intern->ptr; in php_xmlwriter_string_arg()
724 if (ptr) { in php_xmlwriter_string_arg()
725 retval = internal_function(ptr, (xmlChar *) name); in php_xmlwriter_string_arg()
738 xmlTextWriterPtr ptr; in php_xmlwriter_end() local
756 ptr = intern->ptr; in php_xmlwriter_end()
758 if (ptr) { in php_xmlwriter_end()
759 retval = internal_function(ptr); in php_xmlwriter_end()
775 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
796 ptr = intern->ptr; in PHP_FUNCTION()
797 if (ptr) { in PHP_FUNCTION()
798 retval = xmlTextWriterSetIndent(ptr, indent); in PHP_FUNCTION()
841 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
865 ptr = intern->ptr; in PHP_FUNCTION()
867 if (ptr) { in PHP_FUNCTION()
868 retval = xmlTextWriterStartAttributeNS(ptr, (xmlChar *)prefix, (xmlChar *)name, (xmlChar *)uri); in PHP_FUNCTION()
885 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
909 ptr = intern->ptr; in PHP_FUNCTION()
911 if (ptr) { in PHP_FUNCTION()
912 retval = xmlTextWriterWriteAttribute(ptr, (xmlChar *)name, (xmlChar *)content); in PHP_FUNCTION()
929 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
954 ptr = intern->ptr; in PHP_FUNCTION()
956 if (ptr) { in PHP_FUNCTION()
957 …retval = xmlTextWriterWriteAttributeNS(ptr, (xmlChar *)prefix, (xmlChar *)name, (xmlChar *)uri, (x… in PHP_FUNCTION()
982 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
1006 ptr = intern->ptr; in PHP_FUNCTION()
1008 if (ptr) { in PHP_FUNCTION()
1009 retval = xmlTextWriterStartElementNS(ptr, (xmlChar *)prefix, (xmlChar *)name, (xmlChar *)uri); in PHP_FUNCTION()
1042 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
1066 ptr = intern->ptr; in PHP_FUNCTION()
1068 if (ptr) { in PHP_FUNCTION()
1070 retval = xmlTextWriterStartElement(ptr, (xmlChar *)name); in PHP_FUNCTION()
1074 xmlTextWriterEndElement(ptr); in PHP_FUNCTION()
1079 retval = xmlTextWriterWriteElement(ptr, (xmlChar *)name, (xmlChar *)content); in PHP_FUNCTION()
1096 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
1120 ptr = intern->ptr; in PHP_FUNCTION()
1122 if (ptr) { in PHP_FUNCTION()
1124 retval = xmlTextWriterStartElementNS(ptr,(xmlChar *)prefix, (xmlChar *)name, (xmlChar *)uri); in PHP_FUNCTION()
1128 retval = xmlTextWriterEndElement(ptr); in PHP_FUNCTION()
1133 …retval = xmlTextWriterWriteElementNS(ptr, (xmlChar *)prefix, (xmlChar *)name, (xmlChar *)uri, (xml… in PHP_FUNCTION()
1166 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
1191 ptr = intern->ptr; in PHP_FUNCTION()
1193 if (ptr) { in PHP_FUNCTION()
1194 retval = xmlTextWriterWritePI(ptr, (xmlChar *)name, (xmlChar *)content); in PHP_FUNCTION()
1210 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
1225 ptr = intern->ptr; in PHP_FUNCTION()
1227 if (ptr) { in PHP_FUNCTION()
1228 retval = xmlTextWriterStartCDATA(ptr); in PHP_FUNCTION()
1277 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
1292 ptr = intern->ptr; in PHP_FUNCTION()
1294 if (ptr) { in PHP_FUNCTION()
1295 retval = xmlTextWriterStartComment(ptr); in PHP_FUNCTION()
1329 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
1350 ptr = intern->ptr; in PHP_FUNCTION()
1352 if (ptr) { in PHP_FUNCTION()
1353 retval = xmlTextWriterStartDocument(ptr, version, enc, alone); in PHP_FUNCTION()
1377 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
1397 ptr = intern->ptr; in PHP_FUNCTION()
1399 if (ptr) { in PHP_FUNCTION()
1400 retval = xmlTextWriterStartDTD(ptr, (xmlChar *)name, (xmlChar *)pubid, (xmlChar *)sysid); in PHP_FUNCTION()
1424 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
1446 ptr = intern->ptr; in PHP_FUNCTION()
1448 if (ptr) { in PHP_FUNCTION()
1449 …retval = xmlTextWriterWriteDTD(ptr, (xmlChar *)name, (xmlChar *)pubid, (xmlChar *)sysid, (xmlChar … in PHP_FUNCTION()
1481 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
1504 ptr = intern->ptr; in PHP_FUNCTION()
1506 if (ptr) { in PHP_FUNCTION()
1507 retval = xmlTextWriterWriteDTDElement(ptr, (xmlChar *)name, (xmlChar *)content); in PHP_FUNCTION()
1540 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
1564 ptr = intern->ptr; in PHP_FUNCTION()
1566 if (ptr) { in PHP_FUNCTION()
1567 retval = xmlTextWriterWriteDTDAttlist(ptr, (xmlChar *)name, (xmlChar *)content); in PHP_FUNCTION()
1583 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
1606 ptr = intern->ptr; in PHP_FUNCTION()
1608 if (ptr) { in PHP_FUNCTION()
1609 retval = xmlTextWriterStartDTDEntity(ptr, isparm, (xmlChar *)name); in PHP_FUNCTION()
1633 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
1663 ptr = intern->ptr; in PHP_FUNCTION()
1665 if (ptr) { in PHP_FUNCTION()
1666 …retval = xmlTextWriterWriteDTDEntity(ptr, pe, (xmlChar *)name, (xmlChar *)pubid, (xmlChar *)sysid,… in PHP_FUNCTION()
1683 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
1710 ptr = xmlNewTextWriterFilename(valid_file, 0); in PHP_FUNCTION()
1712 if (!ptr) { in PHP_FUNCTION()
1717 intern->ptr = ptr; in PHP_FUNCTION()
1736 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
1753 ptr = xmlNewTextWriterMemory(buffer, 0); in PHP_FUNCTION()
1754 if (! ptr) { in PHP_FUNCTION()
1760 intern->ptr = ptr; in PHP_FUNCTION()
1779 xmlTextWriterPtr ptr; in php_xmlwriter_flush() local
1799 ptr = intern->ptr; in php_xmlwriter_flush()
1801 if (ptr) { in php_xmlwriter_flush()
1806 output_bytes = xmlTextWriterFlush(ptr); in php_xmlwriter_flush()