Lines Matching refs:m_aHeader
71 …m_aHeader.db_pagecount = m_aHeader.db_rootpage = m_aHeader.db_keytype = m_aHeader.db_maxkeys = m_a… in ODbaseIndex()
72 m_aHeader.db_name[0] = '\0'; in ODbaseIndex()
81 ,m_aHeader(_rHeader) in ODbaseIndex()
101 OSL_ENSURE(m_aHeader.db_name[0] != '\0',"Invalid name for the column!"); in refreshColumns()
102 aVector.push_back(::rtl::OUString::createFromAscii(m_aHeader.db_name)); in refreshColumns()
140 m_nRootPage = m_aHeader.db_rootpage; in getRoot()
141 m_nPageCount = m_aHeader.db_pagecount; in getRoot()
191 if (m_aHeader.db_keytype == 0) in ConvertToKey()
312 if (bSave && (m_aHeader.db_rootpage != m_nRootPage || in Release()
313 m_aHeader.db_pagecount != m_nPageCount)) in Release()
315 m_aHeader.db_rootpage = m_nRootPage; in Release()
316 m_aHeader.db_pagecount = m_nPageCount; in Release()
359 rStream.Read(&rIndex.m_aHeader,PAGE_SIZE); in operator >>()
368 rIndex.m_nRootPage = rIndex.m_aHeader.db_rootpage; in operator >>()
369 rIndex.m_nPageCount = rIndex.m_aHeader.db_pagecount; in operator >>()
381 …OSL_VERIFY_EQUALS( rStream.Write(&rIndex.m_aHeader,PAGE_SIZE), PAGE_SIZE, "Write not successful: W… in operator <<()
577 memset(&m_aHeader,0,sizeof(m_aHeader)); in CreateImpl()
584 m_aHeader.db_keytype = (nType == DataType::VARCHAR || nType == DataType::CHAR) ? 0 : 1; in CreateImpl()
585 …m_aHeader.db_keylen = (m_aHeader.db_keytype) ? 8 : (sal_uInt16)getINT32(xTableCol->getPropertyVal… in CreateImpl()
586 m_aHeader.db_keylen = (( m_aHeader.db_keylen - 1) / 4 + 1) * 4; in CreateImpl()
587 m_aHeader.db_maxkeys = (PAGE_SIZE - 4) / (8 + m_aHeader.db_keylen); in CreateImpl()
588 if ( m_aHeader.db_maxkeys < 3 ) in CreateImpl()
596 …strncpy(m_aHeader.db_name,aCol.GetBuffer(),std::min((sal_uInt16)sizeof(m_aHeader.db_name), aCol.Le… in CreateImpl()
597 m_aHeader.db_unique = m_IsUnique ? 1: 0; in CreateImpl()
598 m_aHeader.db_keyrec = m_aHeader.db_keylen + 8; in CreateImpl()
634 …ORowSetValue aValue(m_aHeader.db_keytype ? ORowSetValue(xRow->getDouble(1)) : ORowSetValue(xRow->g… in CreateImpl()