Home
last modified time | relevance | path

Searched refs:inputDir (Results 1 – 13 of 13) sorted by relevance

/external/honggfuzz/
Dinput.c81 PLOG_W("readdir('%s')", hfuzz->io.inputDir); in input_getDirStatsAndRewind()
89 snprintf(fname, sizeof(fname), "%s/%s", hfuzz->io.inputDir, entry->d_name); in input_getDirStatsAndRewind()
123 LOG_W("No usable files in the input directory '%s'", hfuzz->io.inputDir); in input_getDirStatsAndRewind()
126 LOG_D("Re-read the '%s', maxFileSz:%zu, number of usable files:%zu", hfuzz->io.inputDir, in input_getDirStatsAndRewind()
150 PLOG_W("readdir_r('%s')", run->global->io.inputDir); in input_getNext()
158 LOG_E("input_getDirStatsAndRewind('%s')", run->global->io.inputDir); in input_getNext()
164 snprintf(fname, PATH_MAX, "%s/%s", run->global->io.inputDir, entry->d_name); in input_getNext()
182 if (!hfuzz->io.inputDir) { in input_init()
187 int dir_fd = open(hfuzz->io.inputDir, O_DIRECTORY | O_RDONLY | O_CLOEXEC); in input_init()
189 PLOG_W("open('%s', O_DIRECTORY|O_RDONLY|O_CLOEXEC)", hfuzz->io.inputDir); in input_init()
[all …]
Dcmdline.c254 .inputDir = NULL, in cmdlineParse()
485 hfuzz->io.inputDir = optarg; in cmdlineParse()
707 hfuzz->display.cmdline_txt, hfuzz->exe.cmdline[0], hfuzz->io.inputDir, in cmdlineParse()
Dhonggfuzz.h188 const char* inputDir; member
/external/icu/icu4c/source/tools/genrb/
Dgenrb.cpp34 void processFile(const char *filename, const char* cp, const char *inputDir, const char *outputDir,
123 const char *inputDir = NULL; in main() local
250 inputDir = options[SOURCEDIR].value; in main()
330 } else if (inputDir) { in main()
331 poolFileName.append(inputDir, status); in main()
515 if (inputDir) { in main()
516 theCurrentFileName.append(inputDir, status); in main()
527 processFile(arg, encoding, inputDir, outputDir, NULL, in main()
555 const char *inputDir, const char *outputDir, const char *packageName, in processFile() argument
579 if(inputDir == NULL) { in processFile()
[all …]
Dderb.cpp77 const char *inputDir = "."; in main() local
162 inputDir = options[7].value; /* we'll use users resources */ in main()
206 UBool fromICUData = !uprv_strcmp(inputDir, "-"); in main()
224 infile.append(inputDir, status); in main()
237 bundle = ures_open(fromICUData ? 0 : inputDir, locale.data(), &status); in main()
Dgenrb.h44 const char *inputDir,
Dparse.h32 struct SRBRoot* parse(UCHARBUF *buf, const char* inputDir, const char* outputDir,
Dparse.cpp681 GenrbImporter(const char *in, const char *out) : inputDir(in), outputDir(out) {} in GenrbImporter()
689 const char *inputDir; member in __anon59bcf73a0211::GenrbImporter
712 if(inputDir == NULL) { in getRules()
725 inputDir = inputDirBuf.data(); in getRules()
728 int32_t dirlen = (int32_t)uprv_strlen(inputDir); in getRules()
730 if((filename[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')) { in getRules()
742 openFileName.append(inputDir, dirlen, errorCode); in getRules()
743 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in getRules()
767 … parse(ucbuf.getAlias(), inputDir, outputDir, filename.data(), FALSE, FALSE, &errorCode)); in getRules()
1972 parse(UCHARBUF *buf, const char *inputDir, const char *outputDir, const char *filename, in parse() argument
[all …]
/external/cldr/tools/java/org/unicode/cldr/icu/
DSupplementalMapper.java51 private String inputDir; field in SupplementalMapper
117 private SupplementalMapper(String inputDir) { in SupplementalMapper() argument
118 this.inputDir = inputDir; in SupplementalMapper()
121 public static SupplementalMapper create(String inputDir) { in create() argument
122 SupplementalMapper mapper = new SupplementalMapper(inputDir); in create()
296 File dir = new File(inputDir + category); in loadValues()
306 String inputFile = new File(inputDir, category + ".xml").getAbsolutePath(); in loadValues()
/external/cldr/tools/java/org/unicode/cldr/tool/
DConvertXTB.java61 private File inputDir; field in ConvertXTB
90 private ConvertXTB(String inputDir, String outputDir, String checkFilter) { in ConvertXTB() argument
91 xtbDir = new File(inputDir, "xtb"); in ConvertXTB()
92 this.inputDir = new File(inputDir); in ConvertXTB()
461 File wsbFile = new File(inputDir, locale + '/' + locale + ".wsb"); in loadOldMessages()
593 String inputDir = null; in main() local
596 inputDir = option.getValue(); in main()
612 ConvertXTB converter = new ConvertXTB(inputDir, outputDir, testFilter); in main()
DVettingAdder.java191 …public void fixXML(String inputDir, String inputFile, String outputDir, String outputFile) throws … in fixXML() argument
192 BufferedReader in = FileUtilities.openUTF8Reader(inputDir, inputFile); in fixXML()
/external/icu/icu4c/source/tools/toolutil/
Ducbuf.cpp640 ucbuf_resolveFileName(const char* inputDir, const char* fileName, char* target, int32_t* len, UErro… in ucbuf_resolveFileName() argument
648 if(inputDir == NULL || fileName == NULL || len==NULL || (target==NULL && *len>0)){ in ucbuf_resolveFileName()
654 dirlen = (int32_t)uprv_strlen(inputDir); in ucbuf_resolveFileName()
656 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in ucbuf_resolveFileName()
676 if( (fileName[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')){ in ucbuf_resolveFileName()
677 uprv_strcpy(target, inputDir); in ucbuf_resolveFileName()
689 uprv_strcpy(target, inputDir); in ucbuf_resolveFileName()
Ducbuf.h214 ucbuf_resolveFileName(const char* inputDir, const char* fileName, char* target, int32_t* len, UErro…