Home | History | Annotate | Download | only in examples

Lines Matching refs:rc

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