Lines Matching refs:m_aHandle
63 oslFileHandle m_aHandle; member in FileEmitContext
81 m_aHandle( NULL ), in FileEmitContext()
93 if( osl_openFile( aURL.pData, &m_aHandle, osl_File_OpenFlag_Write ) == osl_File_E_None ) in FileEmitContext()
95 if( osl_setFileSize( m_aHandle, 0 ) != osl_File_E_None ) in FileEmitContext()
98 osl_closeFile( m_aHandle ); in FileEmitContext()
99 m_aHandle = NULL; in FileEmitContext()
102 else if( osl_openFile( aURL.pData, &m_aHandle, in FileEmitContext()
115 if( m_aHandle ) in ~FileEmitContext()
116 osl_closeFile( m_aHandle ); in ~FileEmitContext()
157 if( ! m_aHandle ) in write()
162 return (osl_writeFile( m_aHandle, pBuf, nWrite, &nWritten ) == osl_File_E_None) in write()
169 if( m_aHandle ) in getCurPos()
171 if( osl_getFilePos( m_aHandle, &nFileSize ) != osl_File_E_None ) in getCurPos()