Lines Matching refs:rc
71 int rc; in testXmlwriterFilename() local
85 rc = xmlTextWriterStartDocument(writer, NULL, MY_ENCODING, NULL); in testXmlwriterFilename()
86 if (rc < 0) { in testXmlwriterFilename()
94 rc = xmlTextWriterStartElement(writer, BAD_CAST "EXAMPLE"); in testXmlwriterFilename()
95 if (rc < 0) { in testXmlwriterFilename()
107 rc = xmlTextWriterWriteComment(writer, tmp); in testXmlwriterFilename()
108 if (rc < 0) { in testXmlwriterFilename()
116 rc = xmlTextWriterStartElement(writer, BAD_CAST "ORDER"); in testXmlwriterFilename()
117 if (rc < 0) { in testXmlwriterFilename()
124 rc = xmlTextWriterWriteAttribute(writer, BAD_CAST "version", in testXmlwriterFilename()
126 if (rc < 0) { in testXmlwriterFilename()
133 rc = xmlTextWriterWriteAttribute(writer, BAD_CAST "xml:lang", in testXmlwriterFilename()
135 if (rc < 0) { in testXmlwriterFilename()
143 rc = xmlTextWriterWriteFormatComment(writer, in testXmlwriterFilename()
146 if (rc < 0) { in testXmlwriterFilename()
154 rc = xmlTextWriterStartElement(writer, BAD_CAST "HEADER"); in testXmlwriterFilename()
155 if (rc < 0) { in testXmlwriterFilename()
162 rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "X_ORDER_ID", in testXmlwriterFilename()
164 if (rc < 0) { in testXmlwriterFilename()
171 rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "CUSTOMER_ID", in testXmlwriterFilename()
173 if (rc < 0) { in testXmlwriterFilename()
181 rc = xmlTextWriterWriteElement(writer, BAD_CAST "NAME_1", tmp); in testXmlwriterFilename()
182 if (rc < 0) { in testXmlwriterFilename()
191 rc = xmlTextWriterWriteElement(writer, BAD_CAST "NAME_2", tmp); in testXmlwriterFilename()
192 if (rc < 0) { in testXmlwriterFilename()
200 rc = xmlTextWriterEndElement(writer); in testXmlwriterFilename()
201 if (rc < 0) { in testXmlwriterFilename()
208 rc = xmlTextWriterStartElement(writer, BAD_CAST "ENTRIES"); in testXmlwriterFilename()
209 if (rc < 0) { in testXmlwriterFilename()
216 rc = xmlTextWriterStartElement(writer, BAD_CAST "ENTRY"); in testXmlwriterFilename()
217 if (rc < 0) { in testXmlwriterFilename()
224 rc = xmlTextWriterWriteElement(writer, BAD_CAST "ARTICLE", in testXmlwriterFilename()
226 if (rc < 0) { in testXmlwriterFilename()
233 rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "ENTRY_NO", "%d", in testXmlwriterFilename()
235 if (rc < 0) { in testXmlwriterFilename()
242 rc = xmlTextWriterEndElement(writer); in testXmlwriterFilename()
243 if (rc < 0) { in testXmlwriterFilename()
250 rc = xmlTextWriterStartElement(writer, BAD_CAST "ENTRY"); in testXmlwriterFilename()
251 if (rc < 0) { in testXmlwriterFilename()
258 rc = xmlTextWriterWriteElement(writer, BAD_CAST "ARTICLE", in testXmlwriterFilename()
260 if (rc < 0) { in testXmlwriterFilename()
267 rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "ENTRY_NO", "%d", in testXmlwriterFilename()
269 if (rc < 0) { in testXmlwriterFilename()
276 rc = xmlTextWriterEndElement(writer); in testXmlwriterFilename()
277 if (rc < 0) { in testXmlwriterFilename()
284 rc = xmlTextWriterEndElement(writer); in testXmlwriterFilename()
285 if (rc < 0) { in testXmlwriterFilename()
292 rc = xmlTextWriterStartElement(writer, BAD_CAST "FOOTER"); in testXmlwriterFilename()
293 if (rc < 0) { in testXmlwriterFilename()
300 rc = xmlTextWriterWriteElement(writer, BAD_CAST "TEXT", in testXmlwriterFilename()
302 if (rc < 0) { in testXmlwriterFilename()
309 rc = xmlTextWriterEndElement(writer); in testXmlwriterFilename()
310 if (rc < 0) { in testXmlwriterFilename()
320 rc = xmlTextWriterEndDocument(writer); in testXmlwriterFilename()
321 if (rc < 0) { in testXmlwriterFilename()
339 int rc; in testXmlwriterMemory() local
364 rc = xmlTextWriterStartDocument(writer, NULL, MY_ENCODING, NULL); in testXmlwriterMemory()
365 if (rc < 0) { in testXmlwriterMemory()
373 rc = xmlTextWriterStartElement(writer, BAD_CAST "EXAMPLE"); in testXmlwriterMemory()
374 if (rc < 0) { in testXmlwriterMemory()
386 rc = xmlTextWriterWriteComment(writer, tmp); in testXmlwriterMemory()
387 if (rc < 0) { in testXmlwriterMemory()
395 rc = xmlTextWriterStartElement(writer, BAD_CAST "ORDER"); in testXmlwriterMemory()
396 if (rc < 0) { in testXmlwriterMemory()
403 rc = xmlTextWriterWriteAttribute(writer, BAD_CAST "version", in testXmlwriterMemory()
405 if (rc < 0) { in testXmlwriterMemory()
412 rc = xmlTextWriterWriteAttribute(writer, BAD_CAST "xml:lang", in testXmlwriterMemory()
414 if (rc < 0) { in testXmlwriterMemory()
422 rc = xmlTextWriterWriteFormatComment(writer, in testXmlwriterMemory()
425 if (rc < 0) { in testXmlwriterMemory()
433 rc = xmlTextWriterStartElement(writer, BAD_CAST "HEADER"); in testXmlwriterMemory()
434 if (rc < 0) { in testXmlwriterMemory()
441 rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "X_ORDER_ID", in testXmlwriterMemory()
443 if (rc < 0) { in testXmlwriterMemory()
450 rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "CUSTOMER_ID", in testXmlwriterMemory()
452 if (rc < 0) { in testXmlwriterMemory()
460 rc = xmlTextWriterWriteElement(writer, BAD_CAST "NAME_1", tmp); in testXmlwriterMemory()
461 if (rc < 0) { in testXmlwriterMemory()
470 rc = xmlTextWriterWriteElement(writer, BAD_CAST "NAME_2", tmp); in testXmlwriterMemory()
472 if (rc < 0) { in testXmlwriterMemory()
480 rc = xmlTextWriterEndElement(writer); in testXmlwriterMemory()
481 if (rc < 0) { in testXmlwriterMemory()
487 rc = xmlTextWriterStartElement(writer, BAD_CAST "ENTRIES"); in testXmlwriterMemory()
488 if (rc < 0) { in testXmlwriterMemory()
495 rc = xmlTextWriterStartElement(writer, BAD_CAST "ENTRY"); in testXmlwriterMemory()
496 if (rc < 0) { in testXmlwriterMemory()
503 rc = xmlTextWriterWriteElement(writer, BAD_CAST "ARTICLE", in testXmlwriterMemory()
505 if (rc < 0) { in testXmlwriterMemory()
512 rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "ENTRY_NO", "%d", in testXmlwriterMemory()
514 if (rc < 0) { in testXmlwriterMemory()
521 rc = xmlTextWriterEndElement(writer); in testXmlwriterMemory()
522 if (rc < 0) { in testXmlwriterMemory()
528 rc = xmlTextWriterStartElement(writer, BAD_CAST "ENTRY"); in testXmlwriterMemory()
529 if (rc < 0) { in testXmlwriterMemory()
536 rc = xmlTextWriterWriteElement(writer, BAD_CAST "ARTICLE", in testXmlwriterMemory()
538 if (rc < 0) { in testXmlwriterMemory()
545 rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "ENTRY_NO", "%d", in testXmlwriterMemory()
547 if (rc < 0) { in testXmlwriterMemory()
554 rc = xmlTextWriterEndElement(writer); in testXmlwriterMemory()
555 if (rc < 0) { in testXmlwriterMemory()
561 rc = xmlTextWriterEndElement(writer); in testXmlwriterMemory()
562 if (rc < 0) { in testXmlwriterMemory()
568 rc = xmlTextWriterStartElement(writer, BAD_CAST "FOOTER"); in testXmlwriterMemory()
569 if (rc < 0) { in testXmlwriterMemory()
576 rc = xmlTextWriterWriteElement(writer, BAD_CAST "TEXT", in testXmlwriterMemory()
578 if (rc < 0) { in testXmlwriterMemory()
585 rc = xmlTextWriterEndElement(writer); in testXmlwriterMemory()
586 if (rc < 0) { in testXmlwriterMemory()
595 rc = xmlTextWriterEndDocument(writer); in testXmlwriterMemory()
596 if (rc < 0) { in testXmlwriterMemory()
625 int rc; in testXmlwriterDoc() local
641 rc = xmlTextWriterStartDocument(writer, NULL, MY_ENCODING, NULL); in testXmlwriterDoc()
642 if (rc < 0) { in testXmlwriterDoc()
649 rc = xmlTextWriterStartElement(writer, BAD_CAST "EXAMPLE"); in testXmlwriterDoc()
650 if (rc < 0) { in testXmlwriterDoc()
661 rc = xmlTextWriterWriteComment(writer, tmp); in testXmlwriterDoc()
662 if (rc < 0) { in testXmlwriterDoc()
669 rc = xmlTextWriterStartElement(writer, BAD_CAST "ORDER"); in testXmlwriterDoc()
670 if (rc < 0) { in testXmlwriterDoc()
676 rc = xmlTextWriterWriteAttribute(writer, BAD_CAST "version", in testXmlwriterDoc()
678 if (rc < 0) { in testXmlwriterDoc()
684 rc = xmlTextWriterWriteAttribute(writer, BAD_CAST "xml:lang", in testXmlwriterDoc()
686 if (rc < 0) { in testXmlwriterDoc()
693 rc = xmlTextWriterWriteFormatComment(writer, in testXmlwriterDoc()
696 if (rc < 0) { in testXmlwriterDoc()
704 rc = xmlTextWriterStartElement(writer, BAD_CAST "HEADER"); in testXmlwriterDoc()
705 if (rc < 0) { in testXmlwriterDoc()
711 rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "X_ORDER_ID", in testXmlwriterDoc()
713 if (rc < 0) { in testXmlwriterDoc()
720 rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "CUSTOMER_ID", in testXmlwriterDoc()
722 if (rc < 0) { in testXmlwriterDoc()
730 rc = xmlTextWriterWriteElement(writer, BAD_CAST "NAME_1", tmp); in testXmlwriterDoc()
731 if (rc < 0) { in testXmlwriterDoc()
739 rc = xmlTextWriterWriteElement(writer, BAD_CAST "NAME_2", tmp); in testXmlwriterDoc()
740 if (rc < 0) { in testXmlwriterDoc()
747 rc = xmlTextWriterEndElement(writer); in testXmlwriterDoc()
748 if (rc < 0) { in testXmlwriterDoc()
754 rc = xmlTextWriterStartElement(writer, BAD_CAST "ENTRIES"); in testXmlwriterDoc()
755 if (rc < 0) { in testXmlwriterDoc()
761 rc = xmlTextWriterStartElement(writer, BAD_CAST "ENTRY"); in testXmlwriterDoc()
762 if (rc < 0) { in testXmlwriterDoc()
768 rc = xmlTextWriterWriteElement(writer, BAD_CAST "ARTICLE", in testXmlwriterDoc()
770 if (rc < 0) { in testXmlwriterDoc()
776 rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "ENTRY_NO", "%d", in testXmlwriterDoc()
778 if (rc < 0) { in testXmlwriterDoc()
785 rc = xmlTextWriterEndElement(writer); in testXmlwriterDoc()
786 if (rc < 0) { in testXmlwriterDoc()
792 rc = xmlTextWriterStartElement(writer, BAD_CAST "ENTRY"); in testXmlwriterDoc()
793 if (rc < 0) { in testXmlwriterDoc()
799 rc = xmlTextWriterWriteElement(writer, BAD_CAST "ARTICLE", in testXmlwriterDoc()
801 if (rc < 0) { in testXmlwriterDoc()
807 rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "ENTRY_NO", "%d", in testXmlwriterDoc()
809 if (rc < 0) { in testXmlwriterDoc()
816 rc = xmlTextWriterEndElement(writer); in testXmlwriterDoc()
817 if (rc < 0) { in testXmlwriterDoc()
823 rc = xmlTextWriterEndElement(writer); in testXmlwriterDoc()
824 if (rc < 0) { in testXmlwriterDoc()
830 rc = xmlTextWriterStartElement(writer, BAD_CAST "FOOTER"); in testXmlwriterDoc()
831 if (rc < 0) { in testXmlwriterDoc()
837 rc = xmlTextWriterWriteElement(writer, BAD_CAST "TEXT", in testXmlwriterDoc()
839 if (rc < 0) { in testXmlwriterDoc()
845 rc = xmlTextWriterEndElement(writer); in testXmlwriterDoc()
846 if (rc < 0) { in testXmlwriterDoc()
855 rc = xmlTextWriterEndDocument(writer); in testXmlwriterDoc()
856 if (rc < 0) { in testXmlwriterDoc()
877 int rc; in testXmlwriterTree() local
913 rc = xmlTextWriterStartDocument(writer, NULL, MY_ENCODING, NULL); in testXmlwriterTree()
914 if (rc < 0) { in testXmlwriterTree()
925 rc = xmlTextWriterWriteComment(writer, tmp); in testXmlwriterTree()
926 if (rc < 0) { in testXmlwriterTree()
933 rc = xmlTextWriterStartElement(writer, BAD_CAST "ORDER"); in testXmlwriterTree()
934 if (rc < 0) { in testXmlwriterTree()
940 rc = xmlTextWriterWriteAttribute(writer, BAD_CAST "version", in testXmlwriterTree()
942 if (rc < 0) { in testXmlwriterTree()
949 rc = xmlTextWriterWriteAttribute(writer, BAD_CAST "xml:lang", in testXmlwriterTree()
951 if (rc < 0) { in testXmlwriterTree()
959 rc = xmlTextWriterWriteFormatComment(writer, in testXmlwriterTree()
962 if (rc < 0) { in testXmlwriterTree()
970 rc = xmlTextWriterStartElement(writer, BAD_CAST "HEADER"); in testXmlwriterTree()
971 if (rc < 0) { in testXmlwriterTree()
977 rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "X_ORDER_ID", in testXmlwriterTree()
979 if (rc < 0) { in testXmlwriterTree()
986 rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "CUSTOMER_ID", in testXmlwriterTree()
988 if (rc < 0) { in testXmlwriterTree()
996 rc = xmlTextWriterWriteElement(writer, BAD_CAST "NAME_1", tmp); in testXmlwriterTree()
997 if (rc < 0) { in testXmlwriterTree()
1005 rc = xmlTextWriterWriteElement(writer, BAD_CAST "NAME_2", tmp); in testXmlwriterTree()
1006 if (rc < 0) { in testXmlwriterTree()
1013 rc = xmlTextWriterEndElement(writer); in testXmlwriterTree()
1014 if (rc < 0) { in testXmlwriterTree()
1020 rc = xmlTextWriterStartElement(writer, BAD_CAST "ENTRIES"); in testXmlwriterTree()
1021 if (rc < 0) { in testXmlwriterTree()
1027 rc = xmlTextWriterStartElement(writer, BAD_CAST "ENTRY"); in testXmlwriterTree()
1028 if (rc < 0) { in testXmlwriterTree()
1034 rc = xmlTextWriterWriteElement(writer, BAD_CAST "ARTICLE", in testXmlwriterTree()
1036 if (rc < 0) { in testXmlwriterTree()
1042 rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "ENTRY_NO", "%d", in testXmlwriterTree()
1044 if (rc < 0) { in testXmlwriterTree()
1051 rc = xmlTextWriterEndElement(writer); in testXmlwriterTree()
1052 if (rc < 0) { in testXmlwriterTree()
1058 rc = xmlTextWriterStartElement(writer, BAD_CAST "ENTRY"); in testXmlwriterTree()
1059 if (rc < 0) { in testXmlwriterTree()
1065 rc = xmlTextWriterWriteElement(writer, BAD_CAST "ARTICLE", in testXmlwriterTree()
1067 if (rc < 0) { in testXmlwriterTree()
1073 rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "ENTRY_NO", "%d", in testXmlwriterTree()
1075 if (rc < 0) { in testXmlwriterTree()
1082 rc = xmlTextWriterEndElement(writer); in testXmlwriterTree()
1083 if (rc < 0) { in testXmlwriterTree()
1089 rc = xmlTextWriterEndElement(writer); in testXmlwriterTree()
1090 if (rc < 0) { in testXmlwriterTree()
1096 rc = xmlTextWriterStartElement(writer, BAD_CAST "FOOTER"); in testXmlwriterTree()
1097 if (rc < 0) { in testXmlwriterTree()
1103 rc = xmlTextWriterWriteElement(writer, BAD_CAST "TEXT", in testXmlwriterTree()
1105 if (rc < 0) { in testXmlwriterTree()
1111 rc = xmlTextWriterEndElement(writer); in testXmlwriterTree()
1112 if (rc < 0) { in testXmlwriterTree()
1121 rc = xmlTextWriterEndDocument(writer); in testXmlwriterTree()
1122 if (rc < 0) { in testXmlwriterTree()