Home
last modified time | relevance | path

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

12

/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/basic/inc/basic/
H A Dsbxvar.hxx449 sal_uInt16 nHash; // Hash-ID for search member in SbxVariable
472 sal_uInt16 GetHashCode() const { return nHash; } in GetHashCode()
/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/basic/source/sbx/
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()
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()
/trunk/main/cli_ure/source/uno_bridge/
H A Dcli_proxy.cxx368 int nHash = m_oid->GetHashCode(); in invokeObject() local
369 retMethod = __box(nHash); in invokeObject()
/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/filter/inc/filter/msfilter/
H A Dmscodec.hxx85 bool VerifyKey( sal_uInt16 nKey, sal_uInt16 nHash ) const;
/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/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/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/oox/inc/oox/core/
H A Dbinarycodec.hxx117 bool verifyKey( sal_uInt16 nKey, sal_uInt16 nHash ) const;
/trunk/main/oox/inc/oox/xls/
H A Dbiffcodec.hxx93 explicit BiffDecoder_XOR( sal_uInt16 nKey, sal_uInt16 nHash );
/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/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/sc/source/filter/excel/
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()
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 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 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 Dxistream.cxx120 XclImpBiff5Decrypter::XclImpBiff5Decrypter( sal_uInt16 nKey, sal_uInt16 nHash ) : in XclImpBiff5Decrypter() argument
122 mnHash( nHash ) in XclImpBiff5Decrypter()
/trunk/main/sc/source/filter/inc/
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 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 Dxestyle.hxx179 virtual bool Equals( const XclFontData& rFontData, sal_uInt32 nHash ) const;
202 virtual bool Equals( const XclFontData& rFontData, sal_uInt32 nHash ) const;
H A Dxistream.hxx103 explicit XclImpBiff5Decrypter( sal_uInt16 nKey, sal_uInt16 nHash );
/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()

Completed in 131 milliseconds

12