Lines Matching refs:rIndex
270 void ONDXNode::Read(SvStream &rStream, ODbaseIndex& rIndex) in Read() argument
275 if (rIndex.getHeader().db_keytype) in Read()
284 sal_uInt16 nLen = rIndex.getHeader().db_keylen; in Read()
293 …aKey = ONDXKey(::rtl::OUString(aBuf.GetBuffer(),aBuf.Len(),rIndex.m_pTable->getConnection()->getTe… in Read()
307 const ODbaseIndex& rIndex = rPage.GetIndex(); in Write() local
308 if (!rIndex.isUnique() || rPage.IsLeaf()) in Write()
313 if (rIndex.getHeader().db_keytype) // double in Write()
317 memset(aNodeData.aData,0,rIndex.getHeader().db_keylen); in Write()
318 rStream.Write((sal_uInt8*)aNodeData.aData,rIndex.getHeader().db_keylen); in Write()
325 memset(aNodeData.aData,0x20,rIndex.getHeader().db_keylen); in Write()
329 ByteString aText(sValue.getStr(), rIndex.m_pTable->getConnection()->getTextEncoding()); in Write()
330 strncpy(aNodeData.aData,aText.GetBuffer(),std::min(rIndex.getHeader().db_keylen, aText.Len())); in Write()
332 rStream.Write((sal_uInt8*)aNodeData.aData,rIndex.getHeader().db_keylen); in Write()
498 if(i < rPage.rIndex.getHeader().db_maxkeys) in operator <<()
528 rNode.GetChild(&rIndex, this); in PrintPage()
534 else if (rIndex.getHeader().db_keytype) in PrintPage()
540 …Record(), (const char* )ByteString(rKey.getValue().getString().getStr(), rIndex.m_pTable->getConne… in PrintPage()
547 GetChild(&rIndex)->PrintPage(); in PrintPage()
551 rNode.GetChild(&rIndex,this)->PrintPage(); in PrintPage()
562 return Count() == rIndex.getHeader().db_maxkeys; in IsFull()