Searched refs:mFile (Results 1 – 10 of 10) sorted by relevance
/hardware/google/aemu/base/ |
D | StdioStream.cpp | 24 mFile(file), mOwnership(ownership) {} in StdioStream() 27 : mFile(other.mFile), mOwnership(other.mOwnership) { in StdioStream() 28 other.mFile = nullptr; in StdioStream() 34 mFile = other.mFile; in operator =() 36 other.mFile = nullptr; in operator =() 45 size_t res = ::fread(buffer, 1, size, mFile); in read() 47 if (!::feof(mFile)) { in read() 48 errno = ::ferror(mFile); in read() 55 size_t res = ::fwrite(buffer, 1, size, mFile); in write() 57 if (!::feof(mFile)) { in write() [all …]
|
D | SharedMemory_win32.cpp | 88 mFile = CreateFileW(objectName, fileOptions, fileShare, NULL, openMode, in openInternal() 90 if (mFile == INVALID_HANDLE_VALUE) { in openInternal() 99 mFile, in openInternal() 142 if (mFile) { in close() 143 CloseHandle(mFile); in close() 144 mFile = invalidHandle(); in close()
|
/hardware/libhardware_legacy/audio/ |
D | AudioDumpInterface.cpp | 267 mBufferSize(1024), mFinalStream(finalStream), mFile(0), mFileCount(0) in AudioStreamOutDump() 289 if(!mFile) { in write() 293 mFile = fopen(name, "wb"); in write() 294 ALOGV("Opening dump file %s, fh %p", name, mFile); in write() 297 if (mFile) { in write() 298 fwrite(buffer, bytes, 1, mFile); in write() 305 ALOGV("AudioStreamOutDump standby(), mFile %p, mFinalStream %p", mFile, mFinalStream); in standby() 362 if (mFile == 0) { in setParameters() 377 if (mFile == 0) { in setParameters() 405 if(mFile) { in Close() [all …]
|
D | AudioDumpInterface.h | 72 FILE *mFile; // output file variable 112 FILE *mFile; // output file variable
|
/hardware/google/aemu/host-common/ |
D | GfxstreamFatalError.cpp | 28 : mFile(file), mFunction(function), mLine(line), mReason(reason) { in AbortMessage() 33 OutputLog(stderr, 'F', mFile, mLine, 0, mOss.str().c_str()); in ~AbortMessage() 35 CreateMetricsLogger()->logMetricEvent(GfxstreamVkAbort{.file = mFile, in ~AbortMessage()
|
/hardware/google/aemu/base/include/aemu/base/files/ |
D | StdioStream.h | 40 FILE* get() const { return mFile; } in get() 47 FILE* mFile; variable
|
D | GzipStreambuf.h | 68 gzFile mFile; variable
|
/hardware/google/graphics/common/libhwc2.1/libdevice/ |
D | ExynosDisplay.h | 1575 mFile(nullptr) {} in mMaxFileCount() 1578 if (mFile) { in ~RotatingLogFileWriter() 1579 fclose(mFile); in ~RotatingLogFileWriter() 1585 if (mFile) { in write() 1586 fwrite(content.string(), 1, content.size(), mFile); in write() 1590 if (mFile) { in flush() 1591 fflush(mFile); in flush() 1605 FILE* mFile; variable
|
D | ExynosDisplay.cpp | 6247 mFile = openLogFile(filename, "ab"); in chooseOpenedFile() 6248 if (mFile == nullptr) { in chooseOpenedFile() 6257 if (mFile == nullptr) { in chooseOpenedFile() 6258 mFile = openLogFile(mPrefixName + std::to_string(mLastFileIndex) + mExtension, in chooseOpenedFile() 6261 if (mFile != nullptr) { in chooseOpenedFile() 6262 auto fileSize = ftell(mFile); in chooseOpenedFile() 6264 fclose(mFile); in chooseOpenedFile() 6265 mFile = nullptr; in chooseOpenedFile()
|
/hardware/google/aemu/base/include/aemu/base/memory/ |
D | SharedMemory.h | 242 handle_type mFile = invalidHandle(); variable
|