Lines Matching refs:filename
56 parseMappings(const char *filename, UBool reportError, UErrorCode *pErrorCode);
59 parseNormalizationCorrections(const char *filename, UErrorCode *pErrorCode);
138 char* filename = NULL; in main() local
204 … filename = (char* ) uprv_malloc(uprv_strlen(srcDir) + 300); /* hopefully this should be enough */ in main()
208 filename[0] = '.'; in main()
209 filename[1] = U_FILE_SEP_CHAR; in main()
210 uprv_strcpy(filename+2,srcDir); in main()
212 uprv_strcpy(filename, srcDir); in main()
215 basename=filename+uprv_strlen(filename); in main()
216 if(basename>filename && *(basename-1)!=U_FILE_SEP_CHAR) { in main()
225 parseMappings(filename,FALSE, &errorCode); in main()
227 …fprintf(stderr, "Could not open file %s for reading. Error: %s \n", filename, u_errorName(errorCod… in main()
233 uprv_strcpy(filename,icuUniDataDir); in main()
234 basename=filename+uprv_strlen(filename); in main()
235 if(basename>filename && *(basename-1)!=U_FILE_SEP_CHAR) { in main()
242 parseNormalizationCorrections(filename,&errorCode); in main()
244 fprintf(stderr,"Could not open file %s for reading \n", filename); in main()
264 uprv_free(filename); in main()
321 parseNormalizationCorrections(const char *filename, UErrorCode *pErrorCode) { in parseNormalizationCorrections() argument
328 … u_parseDelimitedFile(filename, ';', fields, 4, normalizationCorrectionsLineFn, NULL, pErrorCode); in parseNormalizationCorrections()
333 …fprintf(stderr, "gensprep error: u_parseDelimitedFile(\"%s\") failed - %s\n", filename, u_errorNam… in parseNormalizationCorrections()
349 const char* filename = (const char*) context; in strprepProfileLineFn() local
418 fprintf(stderr, "gensprep error parsing %s line %s at %s. Error: %s\n",filename, in strprepProfileLineFn()
426 parseMappings(const char *filename, UBool reportError, UErrorCode *pErrorCode) { in parseMappings() argument
433 … u_parseDelimitedFile(filename, ';', fields, 3, strprepProfileLineFn, (void*)filename, pErrorCode); in parseMappings()
438 …fprintf(stderr, "gensprep error: u_parseDelimitedFile(\"%s\") failed - %s\n", filename, u_errorNam… in parseMappings()