Home
last modified time | relevance | path

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

/php-src/ext/xmlwriter/tests/
H A Dbug79344.phpt7 $writer = new XMLWriter;
8 $writer->openMemory();
9 $writer->setIndent(true);
10 $writer->startElement('foo');
12 $writer->writeAttributeNS(null, 'test1', null, 'test1');
13 $writer->startAttributeNS(null, 'test2', null);
14 $writer->text('test2');
15 $writer->endAttribute();
17 $writer->endElement();
18 echo $writer->outputMemory();
H A Dxmlwriter_toMemory_flush_combinations.phpt8 $writer = XMLWriter::toMemory();
9 var_dump($writer->flush(empty: false));
10 $writer->startElement('foo');
11 var_dump($writer->flush(empty: false));
12 $writer->endElement();
13 var_dump($writer->flush(empty: false));
14 var_dump($writer->flush());
15 var_dump($writer->flush());
H A Dxmlwriter_toMemory_normal_usage.phpt8 $writer = XMLWriter::toMemory();
9 $writer->startElement("root");
10 $writer->writeAttribute("align", "left");
11 $writer->writeComment("hello");
12 $writer->endElement();
13 echo $writer->outputMemory();
H A Dxmlwriter_toStream_invalidate_stream.phpt10 $writer = XMLWriter::toStream($h);
11 $writer->startElement("root");
13 $writer->writeAttribute("align", "left");
14 $writer->endElement();
15 var_dump($writer->flush());
16 unset($writer);
H A Dxmlwriter_toStream_normal_usage.phpt10 $writer = XMLWriter::toStream($h);
11 $writer->startElement("root");
12 $writer->writeAttribute("align", "left");
13 $writer->writeComment("hello");
14 $writer->endElement();
15 $amount = $writer->flush();
20 unset($writer);
H A Dxmlwriter_toMemory_custom_constructor.phpt17 $writer = CustomXMLWriter::toMemory();
18 var_dump($writer);
19 $writer->startElement("root");
20 $writer->endElement();
21 echo $writer->outputMemory();
H A Dxmlwriter_toStream_custom_constructor.phpt19 $writer = CustomXMLWriter::toStream($h);
20 var_dump($writer);
21 $writer->startElement("root");
22 $writer->endElement();
23 $writer->flush();
H A Dxmlwriter_toStream_encoding_utf8.phpt10 $writer = XMLWriter::toStream($h);
11 $writer->startDocument(encoding: "UTF-8");
12 $writer->writeComment('ééé');
13 unset($writer);
H A Dxmlwriter_toStream_encoding_shiftjis.phpt10 $writer = XMLWriter::toStream($h);
11 $writer->startDocument(encoding: "SHIFT_JIS");
12 $writer->writeComment("\u{3041}\u{3041}\u{3041}");
13 unset($writer);
/php-src/ext/xmlwriter/
H A Dphp_xmlwriter.stub.php13 function xmlwriter_start_comment(XMLWriter $writer): bool {} argument
15 function xmlwriter_end_comment(XMLWriter $writer): bool {} argument
19 function xmlwriter_end_attribute(XMLWriter $writer): bool {} argument
29 function xmlwriter_end_element(XMLWriter $writer): bool {} argument
31 function xmlwriter_full_end_element(XMLWriter $writer): bool {} argument
41 function xmlwriter_end_pi(XMLWriter $writer): bool {} argument
45 function xmlwriter_start_cdata(XMLWriter $writer): bool {} argument
47 function xmlwriter_end_cdata(XMLWriter $writer): bool {} argument
57 function xmlwriter_end_document(XMLWriter $writer): bool {} argument
63 function xmlwriter_end_dtd(XMLWriter $writer): bool {} argument
[all …]
H A Dphp_xmlwriter_arginfo.h12 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
17 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
22 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
28 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
35 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
41 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
48 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
64 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
70 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
78 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
[all …]
H A Dphp_xmlwriter.c32 typedef int (*xmlwriter_read_int_t)(xmlTextWriterPtr writer);
184 intern->ptr = writer; in xml_writer_create_static()
188 xmlFreeTextWriter(writer); in xml_writer_create_static()
871 if (!writer) { in PHP_METHOD()
905 xmlTextWriterPtr writer = xmlNewTextWriter(output_buffer); in xml_writer_create_in_memory() local
906 if (!writer) { in xml_writer_create_in_memory()
912 return writer; in xml_writer_create_in_memory()
956 xmlTextWriterPtr writer = xml_writer_create_in_memory(&output); in PHP_METHOD() local
959 if (!writer) { in PHP_METHOD()
1006 xmlTextWriterPtr writer = xmlNewTextWriter(output_buffer); in PHP_METHOD() local
[all …]
/php-src/ext/standard/tests/file/
H A Dbug41815.phpt9 $writer = fopen($filename, "wt");
12 fwrite($writer, "foo");
18 fclose($writer);
/php-src/ext/sockets/
H A Dconversions.h82 from_zval_write_field *writer,
H A Dconversions.c1478 from_zval_write_field *writer, in from_zval_run_conversions() argument
1505 writer(container, structure, &ctx); in from_zval_run_conversions()
/php-src/main/streams/
H A Dcast.c42 int (*writer)(void *, const char *, int); member
49 FILE *file = funopen(cookie, funcs->reader, funcs->writer, funcs->seeker, funcs->closer); in fopencookie()
/php-src/ext/phar/tests/zip/files/
H A Dcorrupt_zipmaker.php.inc6 * ZIP archive writer
33 * ZIP archive writer
38 * @var int Current position in the writer
/php-src/ext/dba/tests/setup/
H A Dsetup_dba_tests.inc169 … dba_close($db_writer); // when the writer is open at least db3 would fail because of buffered io.
/php-src/ext/phar/tests/zip/
H A Dbug48791.phpt12 …ttp://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http:…
/php-src/build/
H A Dphp.m41357 ssize_t writer(void *cookie, const char *buffer, size_t size)
1364 cookie_io_functions_t funcs = {reader, writer, seeker, closer};
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます4120 >>>62 string writer Writer
4122 !:mime application/vnd.sun.xml.writer
4125 !:mime application/vnd.sun.xml.writer.template
4128 !:mime application/vnd.sun.xml.writer.web
4131 !:mime application/vnd.sun.xml.writer.global
30598 !:mime application/vnd.stardivision.writer
30602 !:mime application/vnd.stardivision.writer-global
36171 >>18 ubyte !1 \b, writer version %u
H A Dmagic4120 >>>62 string writer Writer
4122 !:mime application/vnd.sun.xml.writer
4125 !:mime application/vnd.sun.xml.writer.template
4128 !:mime application/vnd.sun.xml.writer.web
4131 !:mime application/vnd.sun.xml.writer.global
30598 !:mime application/vnd.stardivision.writer
30602 !:mime application/vnd.stardivision.writer-global
36171 >>18 ubyte !1 \b, writer version %u

Completed in 232 milliseconds