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()
486 if( aMasterPasswd.getLength() ) in DecodePasswords()
493 …OSL_ENSURE( aMasterPasswd.getLength() == RTL_DIGEST_LENGTH_MD5 * 2, "Wrong master password format!… in DecodePasswords()
507 ::rtl::ByteSequence resSeq( aSeq.getLength() ); in DecodePasswords()
509 … result = rtl_cipher_decode ( aDecoder, (sal_uInt8*)aSeq.getArray(), aSeq.getLength(), in DecodePasswords()
510 … (sal_uInt8*)resSeq.getArray(), resSeq.getLength() ); in DecodePasswords()
512 …::rtl::OUString aPasswd( ( sal_Char* )resSeq.getArray(), resSeq.getLength(), RTL_TEXTENCODING_UTF8… in DecodePasswords()
538 if( aMasterPasswd.getLength() ) in EncodePasswords()
547 …OSL_ENSURE( aMasterPasswd.getLength() == RTL_DIGEST_LENGTH_MD5 * 2, "Wrong master password format!… in EncodePasswords()
559 ::rtl::ByteSequence resSeq(aSeq.getLength()+1); in EncodePasswords()
561 … result = rtl_cipher_encode ( aEncoder, (sal_uInt8*)aSeq.getStr(), aSeq.getLength()+1, in EncodePasswords()
562 … (sal_uInt8*)resSeq.getArray(), resSeq.getLength() ); in EncodePasswords()
795 if( aUsrRec.getLength() ) in createUrlRecord()
821 if( !m_aContainer.empty() && aURL.getLength() ) in find()
840 if ( tmpUrl.getStr()[tmpUrl.getLength() - 1] != (sal_Unicode)'/' ) in find()
852 while( shorterUrl( aUrl ) && aUrl.getLength() ); in find()
906 if( !m_aMasterPasswd.getLength() && aHandler.is() ) in GetMasterPassword()
914 else if ( !aEncodedMP.getLength() ) in GetMasterPassword()
926 if ( aPass.getLength() ) in GetMasterPassword()
952 if ( !m_aMasterPasswd.getLength() ) in GetMasterPassword()
972 if( aInd > 0 && aUrl.getLength()-1 == aInd ) in remove()
973 aUrl = aUrl.copy( 0, aUrl.getLength() - 1 ); in remove()
1014 if( aInd > 0 && aUrl.getLength()-1 == aInd ) in removePersistent()
1015 aUrl = aUrl.copy( 0, aUrl.getLength() - 1 ); in removePersistent()
1102 sal_Int32 oldLen = aUsers.getLength(); in getAllPersistent()
1107 if( aUsers.getLength() ) in getAllPersistent()
1109 sal_Int32 oldLen = aResult.getLength(); in getAllPersistent()
1130 if ( !aEncodedMP.getLength() ) in authorizateWithMasterPassword()
1144 if ( m_aMasterPasswd.getLength() ) in authorizateWithMasterPassword()
1152 bResult = ( aPass.getLength() && aPass.equals( m_aMasterPasswd ) ); in authorizateWithMasterPassword()
1154 } while( !bResult && aPass.getLength() ); in authorizateWithMasterPassword()
1161 bResult = ( GetMasterPassword( xTmpHandler ).getLength() > 0 ); in authorizateWithMasterPassword()
1191 if( m_aMasterPasswd.getLength() || m_pStorageFile->getEncodedMP( aEncodedMP ) ) in changeMasterPassword()
1200 if ( aPass.getLength() ) in changeMasterPassword()
1214 for ( int nURLInd = 0; nURLInd < aPersistent.getLength(); nURLInd++ ) in changeMasterPassword()
1215 … for ( int nNameInd = 0; nNameInd< aPersistent[nURLInd].UserList.getLength(); nNameInd++ ) in changeMasterPassword()
1307 if( m_pStorageFile->getEncodedMP( aEncodedMP ) && aEncodedMP.getLength() ) in useDefaultMasterPassword()
1314 if ( aPass.getLength() ) in useDefaultMasterPassword()
1327 for ( int nURLInd = 0; nURLInd < aPersistent.getLength(); nURLInd++ ) in useDefaultMasterPassword()
1328 … for ( int nNameInd = 0; nNameInd< aPersistent[nURLInd].UserList.getLength(); nNameInd++ ) in useDefaultMasterPassword()
1353 …orageFile->useStorage() && m_pStorageFile->getEncodedMP( aEncodedMP ) && !aEncodedMP.getLength() ); in isDefaultMasterPasswordUsed()