Lines Matching refs:openFileName
456 char *openFileName = NULL;
476 openFileName = (char *) uprv_malloc(dirlen + filelen + 2);
477 openFileName[0] = '\0';
502 openFileName = (char *) uprv_malloc(dirlen + filelen + 2);
505 if(openFileName == NULL) {
510 openFileName[0] = '\0';
512 * append the input dir to openFileName if the first char in
523 uprv_strcpy(openFileName, inputDir);
524 openFileName[dirlen] = U_FILE_SEP_CHAR;
526 openFileName[dirlen + 1] = '\0';
528 openFileName = (char *) uprv_malloc(dirlen + filelen + 1);
531 if(openFileName == NULL) {
536 uprv_strcpy(openFileName, inputDir);
541 uprv_strcat(openFileName, filename);
543 ucbuf = ucbuf_open(openFileName, &cp,getShowWarning(),TRUE, status);
546 fprintf(stderr, "couldn't open file %s\n", openFileName == NULL ? filename : openFileName);
550 fprintf(stderr, "An error occured processing file %s. Error: %s\n", openFileName == NULL ? filename : openFileName,u_errorName(*status));
615 if (openFileName != NULL) {
616 uprv_free(openFileName);