Home
last modified time | relevance | path

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

/external/libvpx/libvpx/third_party/libwebm/
Dmkvreader.cpp15 MkvReader::MkvReader() : m_file(NULL), reader_owns_file_(true) {} in MkvReader()
17 MkvReader::MkvReader(FILE* fp) : m_file(fp), reader_owns_file_(false) { in MkvReader()
24 m_file = NULL; in ~MkvReader()
31 if (m_file) in Open()
35 const errno_t e = fopen_s(&m_file, fileName, "rb"); in Open()
40 m_file = fopen(fileName, "rb"); in Open()
42 if (m_file == NULL) in Open()
49 if (m_file == NULL) in GetFileSize()
52 int status = _fseeki64(m_file, 0L, SEEK_END); in GetFileSize()
57 m_length = _ftelli64(m_file); in GetFileSize()
[all …]
Dmkvreader.hpp39 FILE* m_file; member in mkvparser::MkvReader
/external/deqp/framework/common/
DtcuResource.cpp51 m_file = fopen(filename, "rb"); in FileResource()
52 if (!m_file) in FileResource()
58 fclose(m_file); in ~FileResource()
63 int numRead = (int)fread(dst, 1, numBytes, m_file); in read()
69 long curPos = ftell(m_file); in getSize()
70 fseek(m_file, 0, SEEK_END); in getSize()
71 int size = (int)ftell(m_file); in getSize()
72 fseek(m_file, curPos, SEEK_SET); in getSize()
78 return (int)ftell(m_file); in getPosition()
83 fseek(m_file, (size_t)position, SEEK_SET); in setPosition()
DtcuResource.hpp123 FILE* m_file; member in tcu::FileResource
/external/deqp/execserver/
DxsPosixFileReader.cpp34 : m_file (DE_NULL) in FileReader()
48 m_file = deFile_create(filename, DE_FILEMODE_OPEN|DE_FILEMODE_READ); in start()
49 XS_CHECK(m_file); in start()
53 if (!deFile_setFlags(m_file, DE_FILE_NONBLOCKING)) in start()
55 deFile_destroy(m_file); in start()
56 m_file = DE_NULL; in start()
73 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead); in run()
111 deFile_destroy(m_file); in stop()
112 m_file = DE_NULL; in stop()
DxsPosixTestProcess.cpp41 : m_file (DE_NULL) in CaseListWriter()
53 m_file = dst; in start()
61 if (!deFile_setFlags(m_file, DE_FILE_NONBLOCKING)) in start()
74 …deFileResult result = deFile_write(m_file, &m_caseList[0] + pos, m_caseList.size()-pos, &numWritt… in run()
95 m_file = DE_NULL; in stop()
99 : m_file (DE_NULL) in PipeReader()
116 m_file = file; in start()
128 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead); in run()
166 m_file = DE_NULL; in stop()
DxsPosixTestProcess.hpp52 deFile* m_file; member in xs::posix::CaseListWriter
69 deFile* m_file; member in xs::posix::PipeReader
DxsPosixFileReader.hpp50 deFile* m_file; member in xs::posix::FileReader
/external/opencv3/modules/imgcodecs/src/
Dbitstrm.cpp78 m_file = 0; in RBaseStream()
96 if( m_file == 0 ) in readBlock()
103 fseek( m_file, m_block_pos, SEEK_SET ); in readBlock()
104 size_t readed = fread( m_start, 1, m_block_size, m_file ); in readBlock()
118 m_file = fopen( filename.c_str(), "rb" ); in open()
119 if( m_file ) in open()
125 return m_file != 0; in open()
145 if( m_file ) in close()
147 fclose( m_file ); in close()
148 m_file = 0; in close()
[all …]
Dgrfmt_exr.cpp82 m_file = 0; in ExrDecoder()
95 if( m_file ) in close()
97 delete m_file; in close()
98 m_file = 0; in close()
113 m_file = new InputFile( m_filename.c_str() ); in readHeader()
115 if( !m_file ) // probably paranoid in readHeader()
118 m_datawindow = m_file->header().dataWindow(); in readHeader()
126 if( hasChromaticities( m_file->header() )) in readHeader()
127 m_chroma = chromaticities( m_file->header() ); in readHeader()
129 const ChannelList &channels = m_file->header().channels(); in readHeader()
[all …]
Dbitstrm.hpp83 FILE* m_file; member in cv::RBaseStream
139 FILE* m_file; member in cv::WBaseStream
Dgrfmt_exr.hpp87 InputFile *m_file; member in cv::ExrDecoder
/external/testng/src/main/java/org/testng/reporters/
DFileStringBuffer.java32 private File m_file; field in FileStringBuffer
60 copy(new StringReader(s.toString()), new FileWriter(m_file, true /* append */)); in append()
75 if (m_file == null) { in toWriter()
80 copy(new FileReader(m_file), bw); in toWriter()
109 if (m_file == null) { in flushToFile()
111 m_file = File.createTempFile("testng", "fileStringBuffer"); in flushToFile()
112 m_file.deleteOnExit(); in flushToFile()
113 p("Created temp file " + m_file); in flushToFile()
119 p("Size " + m_sb.length() + ", flushing to " + m_file); in flushToFile()
120 try (FileWriter fw = new FileWriter(m_file, true /* append */)) { in flushToFile()
[all …]
/external/opencv/otherlibs/highgui/
Dbitstrm.cpp99 m_file = 0; in RBaseStream()
117 assert( m_file != 0 ); in ReadBlock()
127 fseek( m_file, m_block_pos, SEEK_SET ); in ReadBlock()
128 readed = fread( m_start, 1, m_block_size, m_file ); in ReadBlock()
146 m_file = fopen( filename, "rb" ); in Open()
148 if( m_file ) in Open()
153 return m_file != 0; in Open()
158 if( m_file ) in Close()
160 fclose( m_file ); in Close()
161 m_file = 0; in Close()
[all …]
Dgrfmt_exr.cpp102 m_file = new InputFile( filename ); in GrFmtExrReader()
115 if( m_file ) in Close()
117 delete m_file; in Close()
118 m_file = 0; in Close()
128 if( !m_file ) // probably paranoid in ReadHeader()
131 m_datawindow = m_file->header().dataWindow(); in ReadHeader()
139 if( hasChromaticities( m_file->header() )) in ReadHeader()
140 m_chroma = chromaticities( m_file->header() ); in ReadHeader()
142 const ChannelList &channels = m_file->header().channels(); in ReadHeader()
306 m_file->setFrameBuffer( frame ); in ReadData()
[all …]
Dbitstrm.h82 FILE* m_file; variable
180 FILE* m_file; variable
Dgrfmt_exr.h76 InputFile *m_file; variable