Lines Matching defs:file
8 * file name: gentest.c
16 * This program writes a little data file for testing the udata API.
80 "\tcreate the test file " DATA_NAME "." DATA_TYPE " unless the -r option is given.\n"
84 "\t\t-r or --genres generate resource file testtable32.txt instead of UData test \n"
95 /* printf("Generating the test memory mapped file\n"); */
101 /* Create data file ----------------------------------------------------- */
118 /* write the data to the file */
126 fprintf(stderr, "gentest: error %d writing the output file\n", *errorCode);
139 /* Create Java file ----------------------------------------------------- */
144 char file[512];
145 FILE *out;
148 uprv_strcpy(file,outputDir);
150 file[strlen(file)-1]!=U_FILE_SEP_CHAR) {
151 uprv_strcat(file,U_FILE_SEP_STRING);
153 uprv_strcat(file,"DebugUtilitiesData.java");
154 out = fopen(file, "w");
155 /*puts(file);*/
156 printf("%s: Generating %s\n", progname, file);
158 fprintf(stderr, "%s: Couldn't create resource test file %s\n",
159 progname, file);
164 fprintf(out, "/* NOTE: this file is AUTOMATICALLY GENERATED by gentest.\n"