/external/deqp/framework/delibs/destream/ |
D | deFileStream.c | 37 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/ |
D | filestrm.c | 73 T_FileStream_close(FileStream* fileStream) in T_FileStream_close() argument 75 if (fileStream != 0) in T_FileStream_close() 76 fclose((FILE*)fileStream); in T_FileStream_close() 103 T_FileStream_read(FileStream* fileStream, void* addr, int32_t len) in T_FileStream_read() argument 105 return fread(addr, 1, len, (FILE*)fileStream); in T_FileStream_read() 109 T_FileStream_write(FileStream* fileStream, const void* addr, int32_t len) in T_FileStream_write() argument 112 return fwrite(addr, 1, len, (FILE*)fileStream); in T_FileStream_write() 116 T_FileStream_rewind(FileStream* fileStream) in T_FileStream_rewind() argument 118 rewind((FILE*)fileStream); in T_FileStream_rewind() 122 T_FileStream_putc(FileStream* fileStream, int32_t ch) in T_FileStream_putc() argument [all …]
|
D | filestrm.h | 40 T_FileStream_close(FileStream* fileStream); 51 T_FileStream_read(FileStream* fileStream, void* addr, int32_t len); 54 T_FileStream_write(FileStream* fileStream, const void* addr, int32_t len); 57 T_FileStream_rewind(FileStream* fileStream); 61 T_FileStream_readLine(FileStream* fileStream, char* buffer, int32_t length); 64 T_FileStream_writeLine(FileStream* fileStream, const char* buffer); 67 T_FileStream_putc(FileStream* fileStream, int32_t ch); 70 T_FileStream_getc(FileStream* fileStream); 73 T_FileStream_ungetc(int32_t ch, FileStream *fileStream); 76 T_FileStream_peek(FileStream* fileStream); [all …]
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
D | NonVolatileStore.cpp | 77 int fileStream = open (filename, O_RDONLY); in nfc_hal_nv_co_read() local 78 if (fileStream >= 0) in nfc_hal_nv_co_read() 81 size_t actualReadCrc = read (fileStream, &checksum, sizeof(checksum)); in nfc_hal_nv_co_read() 82 size_t actualReadData = read (fileStream, p_buf, nbytes); in nfc_hal_nv_co_read() 83 close (fileStream); in nfc_hal_nv_co_read() 125 int fileStream = 0; in nfc_hal_nv_co_write() local 136 fileStream = open (filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in nfc_hal_nv_co_write() 137 if (fileStream >= 0) in nfc_hal_nv_co_write() 140 size_t actualWrittenCrc = write (fileStream, &checksum, sizeof(checksum)); in nfc_hal_nv_co_write() 141 size_t actualWrittenData = write (fileStream, p_buf, nbytes); in nfc_hal_nv_co_write() [all …]
|
/external/libnfc-nci/src/adaptation/ |
D | libmain.c | 103 int fileStream = open (filename, O_RDONLY); in nfa_nv_co_read() local 104 if (fileStream >= 0) in nfa_nv_co_read() 107 size_t actualReadCrc = read (fileStream, &checksum, sizeof(checksum)); in nfa_nv_co_read() 108 size_t actualReadData = read (fileStream, pBuffer, nbytes); in nfa_nv_co_read() 109 close (fileStream); in nfa_nv_co_read() 162 int fileStream = 0; in nfa_nv_co_write() local 164 fileStream = open (filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in nfa_nv_co_write() 165 if (fileStream >= 0) in nfa_nv_co_write() 168 size_t actualWrittenCrc = write (fileStream, &checksum, sizeof(checksum)); in nfa_nv_co_write() 169 size_t actualWrittenData = write (fileStream, pBuffer, nbytes); in nfa_nv_co_write() [all …]
|
D | CrcChecksum.cpp | 102 int fileStream = open (filename, O_RDONLY); in crcChecksumVerifyIntegrity() local 103 if (fileStream >= 0) in crcChecksumVerifyIntegrity() 107 size_t actualReadCrc = read (fileStream, &checksum, sizeof(checksum)); in crcChecksumVerifyIntegrity() 111 ssize_t actualReadData = read (fileStream, buffer, sizeof(buffer)); in crcChecksumVerifyIntegrity() 117 close (fileStream); in crcChecksumVerifyIntegrity()
|
/external/skia/bench/ |
D | SkipZeroesBench.cpp | 56 SkFILEStream fileStream(fullPath.c_str()); in onDelayedSetup() local 57 fValid = fileStream.isValid() && fileStream.getLength() > 0; in onDelayedSetup() 59 const size_t size = fileStream.getLength(); in onDelayedSetup() 61 if (fileStream.read(data, size) < size) { in onDelayedSetup()
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/ |
D | InputFile.java | 32 private FileInputStream fileStream; field in InputFile 59 fileStream = new FileInputStream(file); in open() 60 inputStream = new InputStreamReader(fileStream, "UTF8"); in open() 73 fileStream.close(); in close()
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/tools/ |
D | ExecFileLoader.java | 111 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/skia/tests/ |
D | StreamTest.cpp | 297 SkFILEStream fileStream(GetResourcePath("baby_tux.webp").c_str()); in DEF_TEST() local 298 REPORTER_ASSERT(reporter, fileStream.isValid()); in DEF_TEST() 299 if (!fileStream.isValid()) { in DEF_TEST() 302 SkAutoMalloc storage(fileStream.getLength()); in DEF_TEST() 303 for (size_t i = 1; i < fileStream.getLength(); i++) { in DEF_TEST() 304 REPORTER_ASSERT(reporter, fileStream.peek(storage.get(), i) == 0); in DEF_TEST()
|
/external/pdfium/fpdfsdk/src/fpdfxfa/ |
D | fpdfxfa_doc.cpp | 925 CFPDF_FileStream fileStream(pFileHandler); in _ExportSubmitFile() local 931 fileStream.WriteBlock((const FX_CHAR*)content, 0, content.GetLength()); in _ExportSubmitFile() 932 pDocHandler->SavePackage(m_pXFADoc, ws, &fileStream); in _ExportSubmitFile() 938 fileStream.Flush(); in _ExportSubmitFile() 943 fileStream.Flush(); in _ExportSubmitFile() 948 fileStream.Flush(); in _ExportSubmitFile() 953 fileStream.Flush(); in _ExportSubmitFile() 957 fileStream.Flush(); in _ExportSubmitFile() 962 fileStream.Flush(); in _ExportSubmitFile() 993 pDocHandler->SavePackage(m_pXFADoc, ws, &fileStream); in _ExportSubmitFile() [all …]
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/ |
D | DetectingViewer.java | 130 FileInputStream fileStream = null; in openFile() local 133 fileStream = new FileInputStream(file); in openFile() 139 return new BufferedInputStream(fileStream); in openFile()
|
/external/opencv3/samples/winrt/OcvImageProcessing/OcvImageProcessing/ |
D | MainPage.xaml.cpp | 61 IRandomAccessStreamWithContentType^ fileStream = thisTask.get(); in MainPage() 62 return BitmapDecoder::CreateAsync(fileStream); in MainPage()
|
/external/skia/platform_tools/android/apps/visualbenchsdl/src/main/java/org/libsdl/app/ |
D | SDLActivity.java | 750 InputStream fileStream; in openAPKExpansionInputStream() local 752 fileStream = (InputStream)expansionFileMethod.invoke(expansionFile, fileName); in openAPKExpansionInputStream() 759 if (fileStream == null) { in openAPKExpansionInputStream() 764 return fileStream; in openAPKExpansionInputStream()
|
/external/icu/icu4c/source/tools/genrb/ |
D | wrtxml.cpp | 65 static int32_t write_utf8_file(FileStream* fileStream, UnicodeString outString) in write_utf8_file() argument 91 int32_t ret = T_FileStream_write(fileStream, dest, len); in write_utf8_file()
|
/external/lzma/CPP/7zip/UI/Common/ |
D | OpenArchive.cpp | 2653 CMyComPtr<IInStream> fileStream; in OpenStreamOrFile() local 2664 fileStream = fileStreamSpec; in OpenStreamOrFile() 2670 op.stream = fileStream; in OpenStreamOrFile() 2719 op.stream = fileStream; in OpenStreamOrFile()
|
/external/chromium-trace/catapult/third_party/mocha/ |
D | mocha.js | 4167 self.fileStream = fs.createWriteStream(options.reporterOptions.output); 4202 if (this.fileStream) { 4203 this.fileStream.end(function() { 4225 if (this.fileStream) { 4226 this.fileStream.write(line + '\n');
|
/external/chromium-trace/catapult/tracing/third_party/mocha/ |
D | mocha.js | 4167 self.fileStream = fs.createWriteStream(options.reporterOptions.output); 4202 if (this.fileStream) { 4203 this.fileStream.end(function() { 4225 if (this.fileStream) { 4226 this.fileStream.write(line + '\n');
|