Lines Matching refs:result
106 GnomeVFSResult result; in readBytes() local
124 result = gnome_vfs_read( m_handle, aData.getArray(), in readBytes()
126 } while( result == GNOME_VFS_ERROR_INTERRUPTED ); in readBytes()
128 if (result != GNOME_VFS_OK && in readBytes()
129 result != GNOME_VFS_ERROR_EOF) in readBytes()
130 throwOnError( result ); in readBytes()
132 if (result == GNOME_VFS_ERROR_EOF) in readBytes()
158 GnomeVFSResult result; in skipBytes() local
163 result = gnome_vfs_seek( m_handle, GNOME_VFS_SEEK_CURRENT, nBytesToSkip ); in skipBytes()
165 if ( result == GNOME_VFS_ERROR_BAD_PARAMETERS || in skipBytes()
166 result == GNOME_VFS_ERROR_NOT_SUPPORTED ) in skipBytes()
169 throwOnError( result ); in skipBytes()
201 GnomeVFSResult result; in seek() local
210 result = gnome_vfs_seek( m_handle, GNOME_VFS_SEEK_START, location ); in seek()
212 if (result == GNOME_VFS_ERROR_EOF) in seek()
215 throwOnError( result ); in seek()
268 GnomeVFSResult result = GNOME_VFS_OK; in writeBytes() local
278 result = gnome_vfs_write( m_handle, p, toWrite, &bytesWritten ); in writeBytes()
279 if( result == GNOME_VFS_ERROR_INTERRUPTED ) in writeBytes()
281 throwOnError( result ); in writeBytes()
322 void Stream::throwOnError( GnomeVFSResult result ) in throwOnError() argument
328 if( result != GNOME_VFS_OK ) { in throwOnError()
330 ( gnome_vfs_result_to_string( result ) ); in throwOnError()
333 gnome_vfs_result_to_string( result ), result ); in throwOnError()