/aoo42x/main/svl/source/misc/ |
H A D | inethist.cxx | 96 void initialize (sal_uInt16 nLru, sal_uInt32 nHash = 0) in initialize() 98 m_nHash = nHash; in initialize() 114 sal_Bool operator== (sal_uInt32 nHash) const in operator ==() 116 return (m_nHash == nHash); in operator ==() 118 sal_Bool operator< (sal_uInt32 nHash) const in operator <() 120 return (m_nHash < nHash); in operator <() 136 void initialize (sal_uInt16 nThis, sal_uInt32 nHash = 0) in initialize() 138 m_nHash = nHash; in initialize() 173 sal_uInt16 find (sal_uInt32 nHash) const; 303 if (m_pHash[m] == nHash) in find() [all …]
|
/aoo42x/main/idl/source/cmptools/ |
H A D | hash.cxx | 89 sal_uInt32 nHash; in Test_Insert() local 96 nHash = HashFunc( pElement ); in Test_Insert() 97 nIndex = nHash % nMax; in Test_Insert() 113 nIndex = (sal_uInt16)(nIndex + nHash + 7) % nMax; in Test_Insert() 193 sal_uInt32 nHash = 0; // hash value in HashFunc() local 200 nHash ^= sal_uInt32(*pStr - 'A' + 26) << nShift; in HashFunc() 202 nHash ^= sal_uInt32(*pStr - 'a') << nShift; in HashFunc() 209 return( nHash ); in HashFunc()
|
/aoo42x/main/sc/source/filter/inc/ |
H A D | namebuff.hxx | 49 sal_uInt32 nHash; member in StringHashEntry 69 nHash = MakeHashCode( r ); in StringHashEntry() 76 nHash = MakeHashCode( aString ); in operator =() 83 nHash = MakeHashCode( r ); in operator =() 89 nHash = r.nHash; in operator =() 96 return ( nHash == r.nHash && aString == r.aString ); in operator ==()
|
H A D | lotrange.hxx | 41 sal_uInt32 nHash; member in LotusRange 85 return ( nHash == rRef.nHash && nColStart == rRef.nColStart && in operator ==() 93 return ( nHash != rRef.nHash || nColStart != rRef.nColStart || in operator !=()
|
H A D | xestyle.hxx | 179 virtual bool Equals( const XclFontData& rFontData, sal_uInt32 nHash ) const; 202 virtual bool Equals( const XclFontData& rFontData, sal_uInt32 nHash ) const;
|
/aoo42x/main/vcl/source/glyphs/ |
H A D | glyphcache.cxx | 108 size_t nHash = nFontId << 8; in operator ()() local 109 nHash += rFontSelData.mnHeight; in operator ()() 110 nHash += rFontSelData.mnOrientation; in operator ()() 111 nHash += rFontSelData.mbVertical; in operator ()() 112 nHash += rFontSelData.meItalic; in operator ()() 113 nHash += rFontSelData.meWeight; in operator ()() 115 nHash += rFontSelData.meLanguage; in operator ()() 117 return nHash; in operator ()()
|
/aoo42x/main/comphelper/source/misc/ |
H A D | docpasswordhelper.cxx | 222 sal_uInt32 nHash = GetWordHashAsUINT32( aUString ); in GetWordHashAsSequence() local 224 aResult[0] = ( nHash >> 24 ); in GetWordHashAsSequence() 225 aResult[1] = ( ( nHash >> 16 ) & 0xFF ); in GetWordHashAsSequence() 226 aResult[2] = ( ( nHash >> 8 ) & 0xFF ); in GetWordHashAsSequence() 227 aResult[3] = ( nHash & 0xFF ); in GetWordHashAsSequence() 262 sal_uInt16 nHash = GetXLHashAsUINT16( aUString, nEnc ); in GetXLHashAsSequence() local 264 aResult[0] = ( nHash >> 8 ); in GetXLHashAsSequence() 265 aResult[1] = ( nHash & 0xFF ); in GetXLHashAsSequence()
|
/aoo42x/main/unotools/source/misc/ |
H A D | fontdefs.cxx | 577 int nHash = 0; in operator ()() local 582 default: nHash = (p[0]<<16) - (p[1]<<8) + p[2]; in operator ()() 583 nHash += nLen; in operator ()() 586 case 3: nHash += (p[2]<<16); // fall through in operator ()() 587 case 2: nHash += (p[1]<<8); // fall through in operator ()() 588 case 1: nHash += p[0]; // fall through in operator ()() 592 return nHash; in operator ()()
|
/aoo42x/main/oox/source/core/ |
H A D | binarycodec.cxx | 96 sal_uInt16 nHash = static_cast< sal_uInt16 >( nLen ); in lclGetHash() local 98 nHash ^= 0xCE4B; in lclGetHash() 106 nHash ^= cChar; in lclGetHash() 108 return nHash; in lclGetHash() 212 bool BinaryCodec_XOR::verifyKey( sal_uInt16 nKey, sal_uInt16 nHash ) const in verifyKey() 214 return (nKey == mnBaseKey) && (nHash == mnHash); in verifyKey()
|
/aoo42x/main/basic/source/sbx/ |
H A D | sbxvar.cxx | 80 nHash = 0; in SbxVariable() 105 nHash = r.nHash; in SbxVariable() 111 nHash = 0; in SbxVariable() 128 nHash = 0; in SbxVariable() 219 nHash = MakeHashCode( rName ); in SetName() 527 nHash = MakeHashCode( maName ); in LoadData()
|
H A D | sbxarray.cxx | 379 sal_uInt16 nHash = pVar->GetHashCode(); in Merge() local 383 if( (*pRef2)->GetHashCode() == nHash in Merge() 462 sal_uInt16 nHash = SbxVariable::MakeHashCode( rName ); in Find() local 472 if( ( !nVarHash || nVarHash == nHash ) in Find()
|
/aoo42x/main/sc/source/filter/excel/ |
H A D | xicontent.cxx | 1023 sal_uInt16 nKey, nHash; in lclReadFilepass5() local 1024 rStrm >> nKey >> nHash; in lclReadFilepass5() 1025 xDecr.reset( new XclImpBiff5Decrypter( nKey, nHash ) ); in lclReadFilepass5() 1244 sal_uInt16 nHash; in ReadPasswordHash() local 1245 rStrm >> nHash; in ReadPasswordHash() 1248 pSheet->mnPasswordHash = nHash; in ReadPasswordHash() 1265 const sal_uInt16 nHash = itr->second.mnPasswordHash; in Apply() local 1266 if (nHash) in Apply() 1269 aPass[0] = (nHash >> 8) & 0xFF; in Apply() 1270 aPass[1] = nHash & 0xFF; in Apply()
|
H A D | xestyle.cxx | 938 nHash += rFontData.mnWeight * 3; in lclCalcHash() 939 nHash += rFontData.mnCharSet * 5; in lclCalcHash() 940 nHash += rFontData.mnFamily * 7; in lclCalcHash() 941 nHash += rFontData.mnHeight * 11; in lclCalcHash() 942 nHash += rFontData.mnUnderline * 13; in lclCalcHash() 943 nHash += rFontData.mnEscapem * 17; in lclCalcHash() 944 if( rFontData.mbItalic ) nHash += 19; in lclCalcHash() 945 if( rFontData.mbStrikeout ) nHash += 23; in lclCalcHash() 946 if( rFontData.mbOutline ) nHash += 29; in lclCalcHash() 947 if( rFontData.mbShadow ) nHash += 31; in lclCalcHash() [all …]
|
H A D | xestring.cxx | 91 sal_uInt32 nHash = rVec.size(); in lclHashVector() local 94 (nHash *= 31) += rHasher( *aIt ); in lclHashVector() 95 return static_cast< sal_uInt16 >( nHash ^ (nHash >> 16) ); in lclHashVector()
|
H A D | xecontent.cxx | 141 sal_uInt16 nHash = xString->GetHash(); in Insert() local 142 (nHash ^= (nHash / EXC_SST_HASHTABLE_SIZE)) %= EXC_SST_HASHTABLE_SIZE; in Insert() 144 XclExpHashVec& rVec = maHashTab[ nHash ]; in Insert()
|
/aoo42x/main/filter/source/msfilter/ |
H A D | mscodec.cxx | 106 sal_uInt16 nHash = static_cast< sal_uInt16 >( nLen ); in lclGetHash() local 108 nHash ^= 0xCE4B; in lclGetHash() 116 nHash ^= cChar; in lclGetHash() 118 return nHash; in lclGetHash() 203 bool MSCodec_Xor95::VerifyKey( sal_uInt16 nKey, sal_uInt16 nHash ) const in VerifyKey() 205 return (nKey == mnKey) && (nHash == mnHash); in VerifyKey()
|
/aoo42x/main/oox/source/xls/ |
H A D | biffcodec.cxx | 81 BiffDecoder_XOR::BiffDecoder_XOR( sal_uInt16 nKey, sal_uInt16 nHash ) : in BiffDecoder_XOR() argument 84 mnHash( nHash ) in BiffDecoder_XOR() 274 sal_uInt16 nBaseKey, nHash; in lclReadFilePass_XOR() local 275 rStrm >> nBaseKey >> nHash; in lclReadFilePass_XOR() 276 xDecoder.reset( new BiffDecoder_XOR( nBaseKey, nHash ) ); in lclReadFilePass_XOR()
|
/aoo42x/main/idl/source/prj/ |
H A D | database.cxx | 278 sal_uInt32 nHash; in FindId() local 279 if( pIdTable->Test( rIdName, &nHash ) ) in FindId() 281 *pVal = pIdTable->Get( nHash )->GetValue(); in FindId() 300 sal_uInt32 nHash; in InsertId() local 301 if( pIdTable->Insert( rIdName, &nHash ) ) in InsertId() 303 pIdTable->Get( nHash )->SetValue( nVal ); in InsertId()
|
/aoo42x/main/sc/source/filter/lotus/ |
H A D | tool.cxx | 394 nHash = static_cast<sal_uInt32>(nColStart); in MakeHash() 395 nHash += static_cast<sal_uInt32>(nColEnd) << 6; in MakeHash() 396 nHash += static_cast<sal_uInt32>(nRowStart) << 12; in MakeHash() 397 nHash += static_cast<sal_uInt32>(nRowEnd ) << 16; in MakeHash()
|
/aoo42x/main/sw/source/core/swg/ |
H A D | swblocks.cxx | 155 sal_uInt16 nHash = Hash( s ); in GetIndex() local 159 if( pName->nHashS == nHash in GetIndex() 169 sal_uInt16 nHash = Hash( rLong ); in GetLongIndex() local 173 if( pName->nHashL == nHash in GetLongIndex()
|
/aoo42x/main/basctl/source/inc/ |
H A D | bastypes.hxx | 302 size_t nHash = (size_t) rKey.GetDocument().hashCode(); in operator ()() local 303 nHash += (size_t) ::rtl::OUString( rKey.GetLibName() ).hashCode(); in operator ()() 304 return nHash; in operator ()()
|
/aoo42x/main/vcl/inc/ |
H A D | graphite_cache.hxx | 192 size_t nHash = (*(rope)).hashCode(); in getSegment() local 193 GrRMEntry range = m_ropeMap.equal_range(nHash); in getSegment()
|
/aoo42x/main/basic/source/runtime/ |
H A D | stdobj.cxx | 65 sal_uInt16 nHash; // Hashcode member 634 if( !p->nHash ) in SbiStdObject() 638 p->nHash = SbxVariable::MakeHashCode( aName_ ); in SbiStdObject() 690 && ( p->nHash == nHash_ ) in Find()
|
/aoo42x/main/sw/source/core/doc/ |
H A D | doccomp.cxx | 127 sal_uLong nNext, nHash; member 131 : nNext( 0 ), nHash( 0 ), pLine(0) {} in _HashData() 348 pDataArr[0].nHash = 0, in Hash() 385 pDataArr[i].nHash = nH; in CalcHashValue() 390 else if( pDataArr[i].nHash == nH && in CalcHashValue()
|
/aoo42x/main/svx/source/unodraw/ |
H A D | unoprov.cxx | 887 size_t nHash = aStr.hashCode() & (HASHARRAYSIZE-1); in UHashMap() local 889 m_aHashList[nHash].Insert(pMap); in UHashMap() 898 size_t nHash = rCompareString.hashCode() & (HASHARRAYSIZE-1); in getId() local 900 UHashMapEntryList& rList = m_aHashList[nHash]; in getId()
|