Lines Matching defs:out
165 This example first creates a UChar String out of the Unicode chars.
222 // Print it out
234 "Sample 03: C: print out all converters\n");
342 // simply ran out of space - we'll reset the target ptr the next
350 // Break out of the loop (by force)
362 } while (source < sourceLimit); // while simply out of space
365 printf("%d letters out of %d total UChars.\n", letters, total);
481 printf("%d letters out of %d total UChars.\n", letters, total);
546 // Print it out
626 /* print out the original source */
647 /* Converter starts out with the SUBSTITUTE callback set. */
669 /* print out the original source */
727 /* print out the original source */
748 /* Converter starts out with the SUBSTITUTE callback set. */
751 /* from the 'bottom' innermost, out
827 /* print out the original source */
870 FILE *out;
890 out = fopen("data40.utf16", "wb");
891 if(!out)
931 // simply ran out of space - we'll reset the target ptr the next
939 // Break out of the loop (by force)
944 assert(fwrite(uBuf, sizeof(uBuf[0]), (target-uBuf), out) ==
947 } while (source < sourceLimit); // while simply out of space
950 printf("%d bytes in, %d UChars out.\n", inbytes, total);
956 fclose(out);
965 // 46- C, UTF16 -> latin2 [data40.utf16 -> data46.out]
972 "Sample 46: C: convert data40.utf16 from UTF16 to latin2 [data46.out]\n");
975 FILE *out;
996 out = fopen("data46.out", "wb");
997 if(!out)
999 fprintf(stderr, "Couldn't create file 'data46.out'.\n");
1037 // simply ran out of space - we'll reset the target ptr the next
1045 // Break out of the loop (by force)
1049 assert(fwrite(buf, sizeof(buf[0]), (target-buf), out) ==
1052 } while (source < sourceLimit); // while simply out of space
1055 printf("%d Uchars (%d bytes) in, %d chars out.\n", inchars, inchars * sizeof(UChar), total);
1061 fclose(out);
1082 UChar *target = output, *out;
1092 out = output;
1094 ++out; // ignore initial U+FEFF
1096 while(out != target) {
1097 printf("%04x ", *out++);
1128 convsample_46(); // C, UTF16 -> latin3 [data41.utf16 -> data46.out]