Lines Matching refs:getLength
163 ::rtl::ByteSequence outbuf( buf.getLength()*2+1 ); in getAsciiLine()
165 for( int ind = 0; ind < buf.getLength(); ind++ ) in getAsciiLine()
170 outbuf[buf.getLength()*2] = '\0'; in getAsciiLine()
181 OSL_ENSURE( line.getLength() % 2 == 0, "Wrong syntax!\n" ); in getBufFromAsciiLine()
183 ::rtl::ByteSequence aResult(line.getLength()/2); in getBufFromAsciiLine()
185 for( int ind = 0; ind < tmpLine.getLength()/2; ind++ ) in getBufFromAsciiLine()
206 vector< ::rtl::OUString > newOne ( original.getLength() ); in copySequenceToVector()
207 for( int i = 0; i < original.getLength() ; i++ ) in copySequenceToVector()
221 sal_Int32 aNodeCount = aNodeNames.getLength(); in getInfo()
234 if( aPropertyValues.getLength() != aNodeNames.getLength() ) in getInfo()
236 … OSL_ENSURE( aPropertyValues.getLength() == aNodeNames.getLength(), "Problems during reading\n" ); in getInfo()
294 if( aPropertyValues.getLength() != aNodeNames.getLength() ) in useStorage()
296 … OSL_ENSURE( aPropertyValues.getLength() == aNodeNames.getLength(), "Problems during reading\n" ); in useStorage()
322 if( aPropertyValues.getLength() != aNodeNames.getLength() ) in getEncodedMP()
324 … OSL_ENSURE( aPropertyValues.getLength() == aNodeNames.getLength(), "Problems during reading\n" ); in getEncodedMP()
346 sal_Bool bHasMaster = ( aEncoded.getLength() > 0 || bAcceptEmpty ); in setEncodedMP()
496 …OSL_ENSURE( aMasterPasswd.getLength() == RTL_DIGEST_LENGTH_MD5 * 2, "Wrong master password format!… in decodeMasterPassword()
520 …ource.insert(ivSource.end(), encodedName.getStr(), encodedName.getStr() + encodedName.getLength()); in prepareIV()
529 if( aMasterPasswd.getLength() ) in DecodePasswords()
551 ::rtl::ByteSequence resSeq( aSeq.getLength() ); in DecodePasswords()
553 … result = rtl_cipher_decode ( aDecoder, (sal_uInt8*)aSeq.getArray(), aSeq.getLength(), in DecodePasswords()
554 … (sal_uInt8*)resSeq.getArray(), resSeq.getLength() ); in DecodePasswords()
556 …::rtl::OUString aPasswd( ( sal_Char* )resSeq.getArray(), resSeq.getLength(), RTL_TEXTENCODING_UTF8… in DecodePasswords()
582 if( aMasterPasswd.getLength() ) in EncodePasswords()
605 ::rtl::ByteSequence resSeq(aSeq.getLength()+1); in EncodePasswords()
607 … result = rtl_cipher_encode ( aEncoder, (sal_uInt8*)aSeq.getStr(), aSeq.getLength()+1, in EncodePasswords()
608 … (sal_uInt8*)resSeq.getArray(), resSeq.getLength() ); in EncodePasswords()
683 for ( int nURLInd = 0; nURLInd < aPersistent.getLength(); nURLInd++ ) in doChangeMasterPassword()
684 for ( int nNameInd = 0; nNameInd< aPersistent[nURLInd].UserList.getLength(); nNameInd++ ) in doChangeMasterPassword()
873 if( aUsrRec.getLength() ) in createUrlRecord()
899 if( !m_aContainer.empty() && aURL.getLength() ) in find()
922 if ( tmpUrl.getStr()[tmpUrl.getLength() - 1] != (sal_Unicode)'/' ) in find()
935 while( shorterUrl( aUrl ) && aUrl.getLength() ); in find()
989 if( !m_aMasterPasswd.getLength() && aHandler.is() ) in GetMasterPassword()
997 else if ( !aEncodedMP.getLength() ) in GetMasterPassword()
1009 if ( aPass.getLength() ) in GetMasterPassword()
1052 if ( !m_aMasterPasswd.getLength() ) in GetMasterPassword()
1072 if( aInd > 0 && aUrl.getLength()-1 == aInd ) in remove()
1073 aUrl = aUrl.copy( 0, aUrl.getLength() - 1 ); in remove()
1114 if( aInd > 0 && aUrl.getLength()-1 == aInd ) in removePersistent()
1115 aUrl = aUrl.copy( 0, aUrl.getLength() - 1 ); in removePersistent()
1199 sal_Int32 oldLen = aUsers.getLength(); in getAllPersistent()
1204 if( aUsers.getLength() ) in getAllPersistent()
1206 sal_Int32 oldLen = aResult.getLength(); in getAllPersistent()
1227 if ( !aEncodedMP.getLength() ) in authorizateWithMasterPassword()
1241 if ( m_aMasterPasswd.getLength() ) in authorizateWithMasterPassword()
1249 bResult = ( aPass.getLength() && aPass.equals( m_aMasterPasswd ) ); in authorizateWithMasterPassword()
1251 } while( !bResult && aPass.getLength() ); in authorizateWithMasterPassword()
1258 bResult = ( GetMasterPassword( xTmpHandler ).getLength() > 0 ); in authorizateWithMasterPassword()
1288 if( m_aMasterPasswd.getLength() || m_pStorageFile->getEncodedMP( aEncodedMP ) ) in changeMasterPassword()
1297 if ( aPass.getLength() ) in changeMasterPassword()
1389 if( m_pStorageFile->getEncodedMP( aEncodedMP ) && aEncodedMP.getLength() ) in useDefaultMasterPassword()
1396 if ( aPass.getLength() ) in useDefaultMasterPassword()
1409 for ( int nURLInd = 0; nURLInd < aPersistent.getLength(); nURLInd++ ) in useDefaultMasterPassword()
1410 … for ( int nNameInd = 0; nNameInd< aPersistent[nURLInd].UserList.getLength(); nNameInd++ ) in useDefaultMasterPassword()
1435 …orageFile->useStorage() && m_pStorageFile->getEncodedMP( aEncodedMP ) && !aEncodedMP.getLength() ); in isDefaultMasterPasswordUsed()