Home
last modified time | relevance | path

Searched refs:nHash (Results 1 – 25 of 44) sorted by relevance

12

/trunk/main/svl/source/misc/
H A Dinethist.cxx96 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 …]
/trunk/main/idl/source/cmptools/
H A Dhash.cxx89 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()
/trunk/main/sc/source/filter/inc/
H A Dnamebuff.hxx49 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 Dlotrange.hxx41 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 Dxestyle.hxx179 virtual bool Equals( const XclFontData& rFontData, sal_uInt32 nHash ) const;
202 virtual bool Equals( const XclFontData& rFontData, sal_uInt32 nHash ) const;
/trunk/main/vcl/source/glyphs/
H A Dglyphcache.cxx108 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 ()()
/trunk/main/comphelper/source/misc/
H A Ddocpasswordhelper.cxx222 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()
/trunk/main/unotools/source/misc/
H A Dfontdefs.cxx577 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 ()()
/trunk/main/oox/source/core/
H A Dbinarycodec.cxx96 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()
/trunk/main/basic/source/sbx/
H A Dsbxvar.cxx80 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 Dsbxarray.cxx379 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()
/trunk/main/sc/source/filter/excel/
H A Dxicontent.cxx1023 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 Dxestyle.cxx938 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 Dxestring.cxx91 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 Dxecontent.cxx141 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()
/trunk/main/filter/source/msfilter/
H A Dmscodec.cxx106 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()
/trunk/main/oox/source/xls/
H A Dbiffcodec.cxx81 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()
/trunk/main/idl/source/prj/
H A Ddatabase.cxx278 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()
/trunk/main/sc/source/filter/lotus/
H A Dtool.cxx394 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()
/trunk/main/sw/source/core/swg/
H A Dswblocks.cxx155 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()
/trunk/main/basctl/source/inc/
H A Dbastypes.hxx302 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 ()()
/trunk/main/vcl/inc/
H A Dgraphite_cache.hxx192 size_t nHash = (*(rope)).hashCode(); in getSegment() local
193 GrRMEntry range = m_ropeMap.equal_range(nHash); in getSegment()
/trunk/main/basic/source/runtime/
H A Dstdobj.cxx65 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()
/trunk/main/sw/source/core/doc/
H A Ddoccomp.cxx127 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()
/trunk/main/svx/source/unodraw/
H A Dunoprov.cxx887 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()

Completed in 394 milliseconds

12