Home
last modified time | relevance | path

Searched refs:fileStream (Results 1 – 17 of 17) sorted by relevance

/external/deqp/framework/delibs/destream/
DdeFileStream.c37 FileStream* fileStream = (FileStream*)stream; in fileIOStream_read() local
40 deFileResult result = deFile_read(fileStream->file, buf, bufSize, &_numRead); in fileIOStream_read()
50 fileStream->error = "deFile: DE_FILERESULT_ERROR"; in fileIOStream_read()
51 fileStream->status = DE_STREAMSTATUS_ERROR; in fileIOStream_read()
60 fileStream->error = "Uknown: DE_FILERESULT"; in fileIOStream_read()
61 fileStream->status = DE_STREAMSTATUS_ERROR; in fileIOStream_read()
70 FileStream* fileStream = (FileStream*)stream; in fileIOStream_write() local
72 deFileResult result = deFile_write(fileStream->file, buf, bufSize, &_numWritten); in fileIOStream_write()
82 fileStream->error = "deFile: DE_FILERESULT_ERROR"; in fileIOStream_write()
83 fileStream->status = DE_STREAMSTATUS_ERROR; in fileIOStream_write()
[all …]
/external/icu/icu4c/source/tools/toolutil/
Dfilestrm.cpp75 T_FileStream_close(FileStream* fileStream) in T_FileStream_close() argument
77 if (fileStream != 0) in T_FileStream_close()
78 fclose((FILE*)fileStream); in T_FileStream_close()
105 T_FileStream_read(FileStream* fileStream, void* addr, int32_t len) in T_FileStream_read() argument
107 return static_cast<int32_t>(fread(addr, 1, len, (FILE*)fileStream)); in T_FileStream_read()
111 T_FileStream_write(FileStream* fileStream, const void* addr, int32_t len) in T_FileStream_write() argument
114 return static_cast<int32_t>(fwrite(addr, 1, len, (FILE*)fileStream)); in T_FileStream_write()
118 T_FileStream_rewind(FileStream* fileStream) in T_FileStream_rewind() argument
120 rewind((FILE*)fileStream); in T_FileStream_rewind()
124 T_FileStream_putc(FileStream* fileStream, int32_t ch) in T_FileStream_putc() argument
[all …]
Dfilestrm.h42 T_FileStream_close(FileStream* fileStream);
53 T_FileStream_read(FileStream* fileStream, void* addr, int32_t len);
56 T_FileStream_write(FileStream* fileStream, const void* addr, int32_t len);
59 T_FileStream_rewind(FileStream* fileStream);
63 T_FileStream_readLine(FileStream* fileStream, char* buffer, int32_t length);
66 T_FileStream_writeLine(FileStream* fileStream, const char* buffer);
69 T_FileStream_putc(FileStream* fileStream, int32_t ch);
72 T_FileStream_getc(FileStream* fileStream);
75 T_FileStream_ungetc(int32_t ch, FileStream *fileStream);
78 T_FileStream_peek(FileStream* fileStream);
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DFileProcessor.java51 FileInputStream fileStream = new FileInputStream(fileName); in process() local
52 InputStreamReader reader = new InputStreamReader(fileStream, CldrUtility.UTF8); in process()
62 FileInputStream fileStream = new FileInputStream(directory + File.separator + fileName); in process() local
63 InputStreamReader reader = new InputStreamReader(fileStream, CldrUtility.UTF8); in process()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
DInputFile.java34 private FileInputStream fileStream; field in InputFile
61 fileStream = new FileInputStream(file); in open()
62 inputStream = new InputStreamReader(fileStream, "UTF8"); in open()
75 fileStream.close(); in close()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/tools/
DExecFileLoader.java111 final FileOutputStream fileStream = new FileOutputStream(file, append); in save() local
113 fileStream.getChannel().lock(); in save()
114 final OutputStream bufferedStream = new BufferedOutputStream(fileStream); in save()
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_docenvironment.cpp728 RetainPtr<IFX_SeekableStream> fileStream = MakeSeekableStream(pFileHandler); in ExportSubmitFile() local
732 fileStream->WriteBlock(kContent, 0, strlen(kContent)); in ExportSubmitFile()
735 ToNode(ffdoc->GetXFADoc()->GetXFAObject(XFA_HASHCODE_Data)), fileStream, in ExportSubmitFile()
748 fileStream->Flush(); in ExportSubmitFile()
754 fileStream->Flush(); in ExportSubmitFile()
760 fileStream->Flush(); in ExportSubmitFile()
766 fileStream->Flush(); in ExportSubmitFile()
800 fileStream, nullptr); in ExportSubmitFile()
804 fileStream, nullptr); in ExportSubmitFile()
/external/skia/tools/viewer/
DParticlesSlide.cpp250 SkFILEWStream fileStream(effect.fName.c_str()); in draw() local
251 if (fileStream.isValid()) { in draw()
252 SkJSONWriter writer(&fileStream, SkJSONWriter::Mode::kPretty); in draw()
258 fileStream.flush(); in draw()
/external/skia/tools/trace/
DSkChromeTracingTracer.cpp299 SkFILEWStream fileStream(fFilename.c_str()); in flush() local
300 SkJSONWriter writer(&fileStream, SkJSONWriter::Mode::kFast); in flush()
328 fileStream.flush(); in flush()
/external/skqp/tools/trace/
DSkChromeTracingTracer.cpp299 SkFILEWStream fileStream(fFilename.c_str()); in flush() local
300 SkJSONWriter writer(&fileStream, SkJSONWriter::Mode::kFast); in flush()
328 fileStream.flush(); in flush()
/external/skia/tests/
DStreamTest.cpp316 SkFILEStream fileStream(path.c_str()); in DEF_TEST() local
317 REPORTER_ASSERT(reporter, fileStream.isValid()); in DEF_TEST()
318 if (!fileStream.isValid()) { in DEF_TEST()
321 SkAutoMalloc storage(fileStream.getLength()); in DEF_TEST()
322 for (size_t i = 1; i < fileStream.getLength(); i++) { in DEF_TEST()
323 REPORTER_ASSERT(reporter, fileStream.peek(storage.get(), i) == 0); in DEF_TEST()
/external/skqp/tests/
DStreamTest.cpp316 SkFILEStream fileStream(path.c_str()); in DEF_TEST() local
317 REPORTER_ASSERT(reporter, fileStream.isValid()); in DEF_TEST()
318 if (!fileStream.isValid()) { in DEF_TEST()
321 SkAutoMalloc storage(fileStream.getLength()); in DEF_TEST()
322 for (size_t i = 1; i < fileStream.getLength(); i++) { in DEF_TEST()
323 REPORTER_ASSERT(reporter, fileStream.peek(storage.get(), i) == 0); in DEF_TEST()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/
DDetectingViewer.java132 FileInputStream fileStream = null; in openFile() local
135 fileStream = new FileInputStream(file); in openFile()
141 return new BufferedInputStream(fileStream); in openFile()
/external/cldr/tools/java/org/unicode/cldr/draft/
DFileUtilities.java158 FileInputStream fileStream = new FileInputStream(fileName); in process() local
159 InputStreamReader reader = new InputStreamReader(fileStream, UTF8); in process()
169 … FileInputStream fileStream = new FileInputStream(directory + File.separator + fileName); in process() local
170 InputStreamReader reader = new InputStreamReader(fileStream, UTF8); in process()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DSevenZFile.java988 InputStream fileStream = new BoundedInputStream(currentFolderInputStream, file.getSize()); in buildDecodingStream() local
990fileStream = new CRC32VerifyingInputStream(fileStream, file.getSize(), file.getCrcValue()); in buildDecodingStream()
993 deferredBlockStreams.add(fileStream); in buildDecodingStream()
/external/icu/icu4c/source/tools/genrb/
Dwrtxml.cpp67 static int32_t write_utf8_file(FileStream* fileStream, UnicodeString outString) in write_utf8_file() argument
93 int32_t ret = T_FileStream_write(fileStream, dest, len); in write_utf8_file()
/external/lzma/CPP/7zip/UI/Common/
DOpenArchive.cpp2969 CMyComPtr<IInStream> fileStream; in OpenStreamOrFile() local
2981 fileStream = fileStreamSpec; in OpenStreamOrFile()
2987 op.stream = fileStream; in OpenStreamOrFile()
3038 op.stream = fileStream; in OpenStreamOrFile()