Home
last modified time | relevance | path

Searched refs:inputFile (Results 1 – 25 of 56) sorted by relevance

123

/external/libxaac/test/
Dixheaacd_fileifc.c40 transport->inputFile = NULL; in FileWrapper_Open()
51 transport->inputFile = fopen(fileName, "rb"); in FileWrapper_Open()
52 if (!transport->inputFile) { in FileWrapper_Open()
63 transport->inputFile = fopen(fileName, "rb"); in FileWrapper_Open()
64 if (!transport->inputFile) { in FileWrapper_Open()
80 transport->inputFile = fopen(fileName, "rb"); in FileWrapper_Open()
81 if (!transport->inputFile) { in FileWrapper_Open()
93 *length = fread(buffer, 1, bufSize, transport->inputFile); in FileWrapper_Read()
154 *length = fread(buffer, 1, bufSize, transport->inputFile); in FileWrapper_Read()
169 if (transport->inputFile) in FileWrapper_Close()
[all …]
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/gdiff/
DGdiff.java79 RandomAccessFile inputFile, in patch() argument
128 copyFromOriginal(buffer, inputFile, output, copyOffset, copyLength, maxCopyLength); in patch()
133 copyFromOriginal(buffer, inputFile, output, copyOffset, copyLength, maxCopyLength); in patch()
138 copyFromOriginal(buffer, inputFile, output, copyOffset, copyLength, maxCopyLength); in patch()
146 copyFromOriginal(buffer, inputFile, output, copyOffset, copyLength, maxCopyLength); in patch()
151 copyFromOriginal(buffer, inputFile, output, copyOffset, copyLength, maxCopyLength); in patch()
156 copyFromOriginal(buffer, inputFile, output, copyOffset, copyLength, maxCopyLength); in patch()
161 copyFromOriginal(buffer, inputFile, output, copyOffset, copyLength, maxCopyLength); in patch()
206 RandomAccessFile inputFile, in copyFromOriginal() argument
222 inputFile.seek(inputOffset); in copyFromOriginal()
[all …]
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/gdiff/
DGdiffTest.java55 File inputFile = File.createTempFile("testExample", null); in testExample() local
56 FileOutputStream writeInputFile = new FileOutputStream(inputFile); in testExample()
59 RandomAccessFile readInputFile = new RandomAccessFile(inputFile, "r"); in testExample()
104 File inputFile = File.createTempFile("testExample", null); in testOpcodes() local
105 FileOutputStream writeInputFile = new FileOutputStream(inputFile); in testOpcodes()
108 RandomAccessFile readInputFile = new RandomAccessFile(inputFile, "r"); in testOpcodes()
127 File inputFile = File.createTempFile("testExample", null); in testInlineDataCommands() local
128 FileOutputStream writeInputFile = new FileOutputStream(inputFile); in testInlineDataCommands()
130 RandomAccessFile readInputFile = new RandomAccessFile(inputFile, "r"); in testInlineDataCommands()
312 File inputFile = File.createTempFile("testExample", null); in checkExpectedIOException() local
[all …]
/external/parameter-framework/upstream/test/test-subsystem/
DTESTSubsystemObject.cpp82 std::ifstream inputFile; in receiveFromHW() local
84 inputFile.open(_strFilePath.c_str()); in receiveFromHW()
86 if (!inputFile.is_open()) { in receiveFromHW()
91 receiveFromFile(inputFile); in receiveFromHW()
93 inputFile.close(); in receiveFromHW()
126 void CTESTSubsystemObject::receiveFromFile(std::ifstream &inputFile) in receiveFromFile() argument
136 inputFile >> strValue; in receiveFromFile()
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/
DIcu4jTransformRules.java37 File inputFile = new File(dirNames[i]); in createInputFileGenerator() local
39 if (isValidDir(inputFile)) { in createInputFileGenerator()
40 inputFileGenerator = new DirectoryInputFileGenerator(inputFile); in createInputFileGenerator()
41 } else if (isValidFile(inputFile)) { in createInputFileGenerator()
42 inputFileGenerator = new FilesInputFileGenerator(inputFile); in createInputFileGenerator()
44 throw new IllegalArgumentException("Input arg [" + inputFile + "] does not exist."); in createInputFileGenerator()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveEntry.java313 public CpioArchiveEntry(final File inputFile, final String entryName) { in CpioArchiveEntry() argument
314 this(FORMAT_NEW, inputFile, entryName); in CpioArchiveEntry()
338 public CpioArchiveEntry(final short format, final File inputFile, in CpioArchiveEntry() argument
340 this(format, entryName, inputFile.isFile() ? inputFile.length() : 0); in CpioArchiveEntry()
341 if (inputFile.isDirectory()){ in CpioArchiveEntry()
343 } else if (inputFile.isFile()){ in CpioArchiveEntry()
347 + inputFile.getName()); in CpioArchiveEntry()
350 setTime(inputFile.lastModified() / 1000); in CpioArchiveEntry()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
DStatisticsTool.java53 private InputFile inputFile; field in StatisticsTool
124 bufMax = nextBuffer(inputFile); in nextChar()
146 String filename = inputFile.getPath(); in dumpNGrams()
160 …System.out.println(inputFile.getFilename() + ": " + ngrams.getUniqueNGrams() + "/" + ngrams.getTot… in dumpNGrams()
166 NGramList stats = new NGramList(inputFile); in dumpNGrams()
193 String filename = inputFile.getPath(); in writeStatistics()
195 String outputFileName = filename.substring(0, extension) + "-" + inputFile.getEncoding() + in writeStatistics()
234 char[] unicodes = inputFile.decode(allBytes); in writeStatistics()
255 byte[] byteMap = inputFile.encode(unicodes); in writeStatistics()
276 inputFile = file; in collectStatistics()
[all …]
/external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/
DMergeMojo.java95 final File inputFile = new File(fileSet.getDirectory(), in load() local
97 if (inputFile.isDirectory()) { in load()
103 + inputFile.getAbsolutePath()); in load()
104 loader.load(inputFile); in load()
107 + inputFile.getAbsolutePath(), e); in load()
/external/honggfuzz/libhfuzz/
Dfetch.c25 static const uint8_t* inputFile = NULL; variable
30 if ((inputFile = mmap(NULL, _HF_INPUT_MAX_SIZE, PROT_READ, MAP_SHARED, _HF_INPUT_FD, 0)) == in init()
52 *buf_ptr = inputFile; in HonggfuzzFetchData()
58 return (inputFile != NULL); in fetchIsInputAvailable()
Dpersistent.c43 static const uint8_t* inputFile = NULL; variable
48 if ((inputFile = mmap(NULL, _HF_INPUT_MAX_SIZE, PROT_READ, MAP_SHARED, _HF_INPUT_FD, 0)) == in initializePersistent()
/external/deqp-deps/glslang/StandAlone/
Dspirv-remap.cpp158 void execute(const std::vector<std::string>& inputFile, const std::string& outputDir, in execute() argument
161 for (auto it = inputFile.cbegin(); it != inputFile.cend(); ++it) { in execute()
173 std::cout << "Done: " << inputFile.size() << " file(s) processed" << std::endl; in execute()
177 void parseCmdLine(int argc, char** argv, std::vector<std::string>& inputFile, in parseCmdLine() argument
235 inputFile.push_back(argv[a]); in parseCmdLine()
316 std::vector<std::string> inputFile; in main() local
332 parseCmdLine(argc, argv, inputFile, outputDir, opts, verbosity); in main()
340 execute(inputFile, outputDir, opts, verbosity); in main()
/external/honggfuzz/netbsd/
Darch.c81 char inputFile[PATH_MAX]; in arch_launchChild() local
82 snprintf(inputFile, sizeof(inputFile), "/dev/fd/%d", run->dynamicFileCopyFd); in arch_launchChild()
89 args[x] = inputFile; in arch_launchChild()
93 run->global->exe.cmdline[x], inputFile); in arch_launchChild()
102 run->global->exe.persistent ? "PERSISTENT_MODE" : inputFile); in arch_launchChild()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ar/
DArArchiveEntry.java114 public ArArchiveEntry(final File inputFile, final String entryName) { in ArArchiveEntry() argument
116 this(entryName, inputFile.isFile() ? inputFile.length() : 0, in ArArchiveEntry()
117 0, 0, DEFAULT_MODE, inputFile.lastModified() / 1000); in ArArchiveEntry()
/external/honggfuzz/posix/
Darch.c151 char inputFile[PATH_MAX]; in arch_launchChild() local
152 snprintf(inputFile, sizeof(inputFile), "/dev/fd/%d", run->dynamicFileCopyFd); in arch_launchChild()
159 args[x] = inputFile; in arch_launchChild()
163 run->global->exe.cmdline[x], inputFile); in arch_launchChild()
171 LOG_D("Launching '%s' on file '%s'", args[0], inputFile); in arch_launchChild()
/external/cldr/tools/java/org/unicode/cldr/icu/
DMapperUtils.java38 public static void parseFile(File inputFile, ContentHandler handler) { in parseFile() argument
41 if (inputFile == null) { in parseFile()
45 try (InputStream fis = InputStreamFactory.createInputStream(inputFile)) { in parseFile()
49 is.setSystemId(inputFile.toString()); in parseFile()
53 System.err.println("Error loading " + inputFile.getAbsolutePath()); in parseFile()
DDayPeriodsMapper.java28 File inputFile = new File(supplementalDir, "dayPeriods.xml"); in fillFromCldr() local
29 MapperUtils.parseFile(inputFile, handler); in fillFromCldr()
/external/antlr/tool/src/test/java/org/antlr/test/
DBaseTest.java402 String inputFile = new File(tmpdir, "input").getAbsolutePath(); in execClass() local
403 StreamVacuum stdoutVacuum = new StreamVacuum(stdoutIn, inputFile); in execClass()
404 StreamVacuum stderrVacuum = new StreamVacuum(stderrIn, inputFile); in execClass()
414 mainMethod.invoke(null, (Object)new String[] { inputFile }); in execClass()
456 String inputFile = new File(tmpdir, "input").getAbsolutePath(); in execClass() local
459 className, inputFile in execClass()
465 StreamVacuum stdoutVacuum = new StreamVacuum(process.getInputStream(), inputFile); in execClass()
466 StreamVacuum stderrVacuum = new StreamVacuum(process.getErrorStream(), inputFile); in execClass()
594 String inputFile; field in BaseTest.StreamVacuum
595 public StreamVacuum(InputStream in, String inputFile) { in StreamVacuum() argument
[all …]
/external/honggfuzz/linux/
Darch.c141 char inputFile[PATH_MAX]; in arch_launchChild() local
142 snprintf(inputFile, sizeof(inputFile), "/dev/fd/%d", run->dynamicFileCopyFd); in arch_launchChild()
149 args[x] = inputFile; in arch_launchChild()
153 run->global->exe.cmdline[x], inputFile); in arch_launchChild()
162 run->global->exe.persistent ? "PERSISTENT_MODE" : inputFile); in arch_launchChild()
/external/bcc/src/cc/frontends/p4/compiler/
Dp4toEbpf.py76 def compileP4(inputFile, gen_file, isRouter, preprocessor_args): argument
77 h = HLIR(inputFile)
85 basename = os.path.basename(inputFile)
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/
DMain.java90 for (File inputFile : inputFileGenerator.generate()) { in execute()
91 System.out.println("Processing: " + inputFile); in execute()
93 String source = readSource(inputFile); in execute()
95 inputFile, parser, source, new PrintWriter(reportWriter), compilerOptions in execute()
99 List<Rule> ruleList = ruleSet.getRuleList(inputFile); in execute()
107 compilationUnitHandler.getCompilationUnit(), inputFile); in execute()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/output/
DBasicOutputSourceFileGenerator.java36 public File generate(CompilationUnit cu, File inputFile) { in generate() argument
37 String sourceFileName = inputFile.getName(); in generate()
/external/clang/www/demo/
Dindex.cgi347 my $inputFile = writeIntoFile( $extension, $source );
359 "stkrc $stats -o $bytecodeFile $inputFile > $outputFile 2>&1",
366 "llvm-gcc -emit-llvm -W -Wall -O2 $stats -o $bytecodeFile -c $inputFile > $outputFile 2>&1",
441 chomp( $lines = `wc -l < $inputFile` );
456 unlink( $inputFile, $bytecodeFile, $outputFile, $disassemblyFile );
/external/cldr/tools/java/org/unicode/cldr/tool/
DExtractIsoCurrencyData.java32 final String inputFile = CldrUtility.getProperty("input"); in main() local
34 if (inputFile == null) { in main()
37 in = FileUtilities.openUTF8Reader("", inputFile); in main()
/external/boringssl/src/util/fipstools/delocate/
Ddelocate_test.go57 var inputs []inputFile
59 inputs = append(inputs, inputFile{
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipArchiveEntry.java224 public ZipArchiveEntry(final File inputFile, final String entryName) { in ZipArchiveEntry() argument
225 this(inputFile.isDirectory() && !entryName.endsWith("/") ? in ZipArchiveEntry()
227 if (inputFile.isFile()){ in ZipArchiveEntry()
228 setSize(inputFile.length()); in ZipArchiveEntry()
230 setTime(inputFile.lastModified()); in ZipArchiveEntry()

123