Lines Matching refs:m_pMemoStream
464 ,m_pMemoStream(NULL) in ODbaseTable()
487 ,m_pMemoStream(NULL) in ODbaseTable()
539 …m_pMemoStream = createStream_simpleError( aURL.GetMainURL(INetURLObject::NO_DECODE), STREAM_READWR… in construct()
540 if ( !m_pMemoStream ) in construct()
543 …m_pMemoStream = createStream_simpleError( aURL.GetMainURL(INetURLObject::NO_DECODE), STREAM_READ |… in construct()
545 if (m_pMemoStream) in construct()
561 if (m_pMemoStream) in construct()
564 m_pMemoStream->Seek(STREAM_SEEK_TO_END); in construct()
565 nFileSize = m_pMemoStream->Tell(); in construct()
566 m_pMemoStream->Seek(STREAM_SEEK_TO_BEGIN); in construct()
569 m_pMemoStream->SetBufferSize(nFileSize > 1000000 ? 32768 : in construct()
582 m_pMemoStream->SetNumberFormatInt(NUMBERFORMAT_INT_LITTLEENDIAN); in ReadMemoHeader()
583 …m_pMemoStream->RefreshBuffer(); // sicherstellen das die Kopfinformationen tatsaechlich neu gele… in ReadMemoHeader()
584 m_pMemoStream->Seek(0L); in ReadMemoHeader()
586 (*m_pMemoStream) >> m_aMemoHeader.db_next; in ReadMemoHeader()
592 m_pMemoStream->Seek(20L); in ReadMemoHeader()
593 (*m_pMemoStream) >> m_aMemoHeader.db_size; in ReadMemoHeader()
601 m_pMemoStream->Seek(m_aMemoHeader.db_size); in ReadMemoHeader()
602 m_pMemoStream->Read(sHeader,4); in ReadMemoHeader()
604 …if ((m_pMemoStream->GetErrorCode() != ERRCODE_NONE) || ((sal_uInt8)sHeader[0]) != 0xFF || ((sal_uI… in ReadMemoHeader()
619 m_pMemoStream->Seek(6L); in ReadMemoHeader()
620 m_pMemoStream->SetNumberFormatInt(NUMBERFORMAT_INT_BIGENDIAN); in ReadMemoHeader()
621 (*m_pMemoStream) >> m_aMemoHeader.db_size; in ReadMemoHeader()
1016 if (nBlockNo > 0 && m_pMemoStream) // Daten aus Memo-Datei lesen, nur wenn in fetchRow()
1042 if (m_pMemoStream && m_pMemoStream->IsWritable()) in FileClose()
1043 m_pMemoStream->Flush(); in FileClose()
1045 delete m_pMemoStream; in FileClose()
1046 m_pMemoStream = NULL; in FileClose()
1441 …m_pMemoStream = createStream_simpleError( aFile.GetMainURL(INetURLObject::NO_DECODE),STREAM_READWR… in CreateMemoFile()
1443 if (!m_pMemoStream) in CreateMemoFile()
1449 m_pMemoStream->SetFiller('\0'); in CreateMemoFile()
1450 m_pMemoStream->SetStreamSize(512); in CreateMemoFile()
1452 m_pMemoStream->Seek(0L); in CreateMemoFile()
1453 (*m_pMemoStream) << long(1); // Zeiger auf ersten freien Block in CreateMemoFile()
1455 m_pMemoStream->Flush(); in CreateMemoFile()
1456 delete m_pMemoStream; in CreateMemoFile()
1457 m_pMemoStream = NULL; in CreateMemoFile()
1551 if (HasMemoFields() && m_pMemoStream) in InsertRow()
1553 m_pMemoStream->Seek(STREAM_SEEK_TO_END); in InsertRow()
1554 nMemoFileSize = m_pMemoStream->Tell(); in InsertRow()
1561 if (HasMemoFields() && m_pMemoStream) in InsertRow()
1562 m_pMemoStream->SetStreamSize(nMemoFileSize); // alte Groesse restaurieren in InsertRow()
1601 if (HasMemoFields() && m_pMemoStream) in UpdateRow()
1603 m_pMemoStream->Seek(STREAM_SEEK_TO_END); in UpdateRow()
1604 nMemoFileSize = m_pMemoStream->Tell(); in UpdateRow()
1608 if (HasMemoFields() && m_pMemoStream) in UpdateRow()
1609 m_pMemoStream->SetStreamSize(nMemoFileSize); // alte Groesse restaurieren in UpdateRow()
2016 if (!m_pMemoStream || !WriteMemo(rRow.get()[nPos]->get(), nBlockNo)) in UpdateBuffer()
2103 m_pMemoStream->Seek(rBlockNr * m_aMemoHeader.db_size); in WriteMemo()
2104 m_pMemoStream->SeekRel(4L); in WriteMemo()
2105 m_pMemoStream->Read(sHeader,4); in WriteMemo()
2129 sal_uIntPtr nStreamSize = m_pMemoStream->Seek(STREAM_SEEK_TO_END); in WriteMemo()
2133 m_pMemoStream->SetStreamSize(rBlockNr * m_aMemoHeader.db_size); in WriteMemo()
2134 m_pMemoStream->Seek(STREAM_SEEK_TO_END); in WriteMemo()
2138 m_pMemoStream->Seek(rBlockNr * m_aMemoHeader.db_size); in WriteMemo()
2147 m_pMemoStream->Write( aStr.getStr(), aStr.getLength() ); in WriteMemo()
2148 (*m_pMemoStream) << cEOF << cEOF; in WriteMemo()
2154 (*m_pMemoStream) << (sal_uInt8)0xFF in WriteMemo()
2158 (*m_pMemoStream) << (sal_uInt8)0x00 in WriteMemo()
2166 (*m_pMemoStream) << (sal_uInt8) 0x00; // Picture in WriteMemo()
2168 (*m_pMemoStream) << (sal_uInt8) 0x01; // Memo in WriteMemo()
2174 (*m_pMemoStream) << (sal_uInt8) 0x00; in WriteMemo()
2180 m_pMemoStream->Write(nHeader,4); in WriteMemo()
2182 m_pMemoStream->Write( aValue.getConstArray(), aValue.getLength() ); in WriteMemo()
2184 m_pMemoStream->Write( aStr.getStr(), aStr.getLength() ); in WriteMemo()
2185 m_pMemoStream->Flush(); in WriteMemo()
2193 sal_uIntPtr nStreamSize = m_pMemoStream->Seek(STREAM_SEEK_TO_END); in WriteMemo()
2197 m_pMemoStream->Seek(0L); in WriteMemo()
2198 (*m_pMemoStream) << m_aMemoHeader.db_next; in WriteMemo()
2199 m_pMemoStream->Flush(); in WriteMemo()
2745 m_pMemoStream->Seek(nBlockNo * m_aMemoHeader.db_size); in ReadMemo()
2758 m_pMemoStream->Read(&aBuf,512); in ReadMemo()
2768 } while (!bReady && !m_pMemoStream->IsEof() && aBStr.Len() < STRING_MAXLEN); in ReadMemo()
2778 m_pMemoStream->Read(sHeader,4); in ReadMemo()
2809 (*m_pMemoStream) >> nLength; in ReadMemo()
2824 m_pMemoStream->Read(aBStr.AllocBuffer(STRING_MAXLEN),STRING_MAXLEN); in ReadMemo()
2832 m_pMemoStream->Read(aBStr.AllocBuffer(static_cast<xub_StrLen>(nLength)),nLength); in ReadMemo()
2842 m_pMemoStream->Read(aData.getArray(),nLength); in ReadMemo()