Lines Matching defs:file
4 * you may not use this file except in compliance with the License.
221 static int32_t ReadH265File(ifstream &file, char *buf, int32_t len)
223 file.read(buf, len);
224 if (file) {
227 return file.gcount();
299 cout << "Type in file path:";
305 ifstream file(fileName, ios::binary | ios::ate);
306 if (!file) {
310 int32_t fileSize = file.tellg();
311 file.seekg(0, file.beg);
312 DEMO_LOG("Open file succeed.(size=%d)", fileSize);
326 while (file) {
327 bufLen += ReadH265File(file, static_cast<char *>(buf + bufLen), bufSize - bufLen);