Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/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()
49 fileStream->error = "deFile: DE_FILERESULT_ERROR"; in fileIOStream_read()
50 fileStream->status = DE_STREAMSTATUS_ERROR; in fileIOStream_read()
57 fileStream->error = "Uknown: DE_FILERESULT"; in fileIOStream_read()
58 fileStream->status = DE_STREAMSTATUS_ERROR; in fileIOStream_read()
66 FileStream* fileStream = (FileStream*)stream; in fileIOStream_write() local
68 deFileResult result = deFile_write(fileStream->file, buf, bufSize, &_numWritten); in fileIOStream_write()
77 fileStream->error = "deFile: DE_FILERESULT_ERROR"; in fileIOStream_write()
78 fileStream->status = DE_STREAMSTATUS_ERROR; in fileIOStream_write()
[all …]
/third_party/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 …]
/third_party/flutter/skia/third_party/externals/icu/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 …]
/third_party/skia/third_party/externals/icu/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 …]
/third_party/node/deps/icu-small/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 …]
/third_party/typescript/scripts/
Dword2md.ts134 const fileStream = new ActiveXObject("ADODB.Stream");
135 fileStream.Type = 2 /* text */;
149 fileStream.Open();
153 fileStream.Charset = "utf-8";
154 fileStream.WriteText(data);
156 fileStream.Position = 3;
157 fileStream.CopyTo(binaryStream);
162 fileStream.Close();
/third_party/openh264/test/api/
DDataGenerator.cpp24 FileInputStream fileStream; local
26 if (!fileStream.Open ("/sdcard/res/CiscoVT2people_160x96_6fps.yuv")) {
28 if (!fileStream.Open ("res/CiscoVT2people_160x96_6fps.yuv")) {
32 if (fileStream.read (sBuf.data(), kiFrameSize) == kiFrameSize) {
DBaseEncoderTest.cpp124 FileInputStream fileStream; in EncodeFile() local
125 ASSERT_TRUE (fileStream.Open (fileName)); in EncodeFile()
127 EncodeStream (&fileStream, pEncParamExt, cbk); in EncodeFile()
/third_party/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()
/third_party/openh264/test/encoder/
DEncUT_InterfaceTest.cpp92 FileInputStream fileStream; in TEST_F() local
93 ASSERT_TRUE (fileStream.Open ("res/CiscoVT2people_320x192_12fps.yuv")); in TEST_F()
95 while (fileStream.read (buf.data(), frameSize) == frameSize) { in TEST_F()
/third_party/skia/src/core/
DSkTextBlobTrace.cpp98 SkTLazy<SkFILEWStream> fileStream; in dump() local
102 dst = fileStream.init(f.c_str()); in dump()
103 if (!fileStream->isValid()) { in dump()
/third_party/node/test/parallel/
Dtest-crypto-hash.js98 const fileStream = fs.createReadStream(fn); constant
99 fileStream.on('data', function(data) {
102 fileStream.on('close', common.mustCall(function() {
Dtest-crypto-binary-default.js413 const fileStream = fs.createReadStream(fn); constant
414 fileStream.on('data', function(data) {
417 fileStream.on('close', common.mustCall(function() {
/third_party/flutter/skia/tools/viewer/
DParticlesSlide.cpp265 SkFILEWStream fileStream(effect.fName.c_str()); in draw() local
266 if (fileStream.isValid()) { in draw()
267 SkJSONWriter writer(&fileStream, SkJSONWriter::Mode::kPretty); in draw()
273 fileStream.flush(); in draw()
/third_party/skia/tools/viewer/
DParticlesSlide.cpp266 SkFILEWStream fileStream(effect.fName.c_str()); in draw() local
267 if (fileStream.isValid()) { in draw()
268 SkJSONWriter writer(&fileStream, SkJSONWriter::Mode::kPretty); in draw()
274 fileStream.flush(); in draw()
/third_party/flutter/skia/tools/trace/
DChromeTracingTracer.cpp282 SkFILEWStream fileStream(fFilename.c_str()); in flush() local
283 SkJSONWriter writer(&fileStream, SkJSONWriter::Mode::kFast); in flush()
312 fileStream.flush(); in flush()
/third_party/skia/tools/trace/
DChromeTracingTracer.cpp282 SkFILEWStream fileStream(fFilename.c_str()); in flush() local
283 SkJSONWriter writer(&fileStream, SkJSONWriter::Mode::kFast); in flush()
312 fileStream.flush(); in flush()
/third_party/flutter/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()
/third_party/skia/tests/
DStreamTest.cpp324 SkFILEStream fileStream(path.c_str()); in DEF_TEST() local
325 REPORTER_ASSERT(reporter, fileStream.isValid()); in DEF_TEST()
326 if (!fileStream.isValid()) { in DEF_TEST()
329 SkAutoMalloc storage(fileStream.getLength()); in DEF_TEST()
330 for (size_t i = 1; i < fileStream.getLength(); i++) { in DEF_TEST()
331 REPORTER_ASSERT(reporter, fileStream.peek(storage.get(), i) == 0); in DEF_TEST()
/third_party/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()
/third_party/vk-gl-cts/framework/common/
DtcuCommandLine.cpp1258 std::ifstream fileStream(caseFractionMandatoryTestsFilename.c_str(), std::ios_base::binary); in CaseListFilter() local
1259 if (!fileStream.is_open() || !fileStream.good()) in CaseListFilter()
1265 while (std::getline(fileStream, line)) in CaseListFilter()
1275 fileStream.clear(); in CaseListFilter()
1276 fileStream.seekg(0, fileStream.beg); in CaseListFilter()
1277 parseCaseList(m_caseTree, fileStream, false); in CaseListFilter()

12