Searched refs:thePrefs (Results 26 - 50 of 60) sorted by relevance

123

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/
H A DHTTPDownload.cpp165 if (checkDownloadNewer && thePrefs::GetLastHTTPDownloadURL(file_id) == url) {
198 const CProxyData* proxy_data = thePrefs::GetProxyData();
295 thePrefs::SetLastHTTPDownloadURL(m_file_id, m_url);
H A DPartFileConvert.cpp305 sint64 freespace = CPath::GetFreeSpaceAt(thePrefs::GetTempDir());
377 sint64 freespace = CPath::GetFreeSpaceAt(thePrefs::GetTempDir());
424 if (!file->LoadPartFile(thePrefs::GetTempDir(), file->GetPartMetFileName(), false)) {
438 theApp->downloadqueue->AddDownload(file, thePrefs::AddNewFilesPaused(), 0);
H A Damuled.cpp559 if (!thePrefs::AcceptExternalConnections()) {
562 } else if (thePrefs::ECPassword().IsEmpty()) {
618 glob_prefs->GetCategory(0)->title = GetCatTitle(thePrefs::GetAllcatFilter());
619 glob_prefs->GetCategory(0)->path = thePrefs::GetIncomingDir();
H A DCommentDialogLst.cpp91 if (!thePrefs::IsCommentFiltered(it->Comment)) {
H A DUploadBandwidthThrottler.cpp296 if (thePrefs::GetMaxUpload() == UNLIMITED) {
300 allowedDataRate = thePrefs::GetMaxUpload() * 1024;
H A DChatSelector.cpp248 ci->AddText( thePrefs::GetUserNick(), COLOR_GREEN, false );
289 ci->AddText( thePrefs::GetUserNick(), COLOR_GREEN, false );
H A DUploadQueue.cpp300 float kBpsUpPerClient = (float)thePrefs::GetSlotAllocation();
301 if (thePrefs::GetMaxUpload() == UNLIMITED) {
305 if (thePrefs::GetMaxUpload() >= 10) {
306 nMaxSlots = (uint16)floor((float)thePrefs::GetMaxUpload() / kBpsUpPerClient + 0.5);
496 if (m_waitinglist.size() >= (thePrefs::GetQueueSize())) {
H A DPartFile.cpp279 m_fullname = thePrefs::GetTempDir().JoinPaths(m_partmetfilename);
291 if (thePrefs::GetAllocFullFile()) {
302 SetFilePath(thePrefs::GetTempDir());
304 if (thePrefs::GetAllocFullFile()) {
306 CThreadScheduler::AddTask(new CAllocateFileTask(this, thePrefs::AddNewFilesPaused()));
1369 if ( (m_nTotalBufferData > thePrefs::GetFileBufferSize()) ||
1412 (GetSourceCount() >= (thePrefs::GetMaxSourcePerFile()*.8))) {
1428 if (GetSourceCount() >= (thePrefs::GetMaxSourcePerFile()*.8 )) {
1452 (GetSourceCount() >= (thePrefs::GetMaxSourcePerFile()*.8 )) ) {
1546 thePrefs
[all...]
H A DThreadTasks.cpp36 #include "Preferences.h" // Needed for thePrefs
430 targetPath = thePrefs::GetIncomingDir();
536 uint64_t minFree = thePrefs::IsCheckDiskspaceEnabled() ? thePrefs::GetMinFreeDiskSpace() : 0;
537 int64_t freeSpace = CPath::GetFreeSpaceAt(thePrefs::GetTempDir());
H A DCatDialog.cpp88 CastChild(IDC_INCOMING, wxTextCtrl)->SetValue(thePrefs::GetIncomingDir().GetRaw());
H A DClientTCPSocket.cpp34 #include "Preferences.h" // Needed for thePrefs
366 if (thePrefs::ParanoidFilter() && !IsLowID(m_client->GetUserIDHybrid()) && (GetRemoteIP() != wxUINT32_SWAP_ALWAYS(m_client->GetUserIDHybrid()))) {
455 if (thePrefs::GetMaxSourcePerFile() >
843 if (thePrefs::CanSeeShares() == vsfaEverybody || (thePrefs::CanSeeShares() == vsfaFriends && m_client->IsFriend())) {
896 if ((thePrefs::CanSeeShares()==vsfaEverybody) || ((thePrefs::CanSeeShares()==vsfaFriends) && m_client->IsFriend())) {
927 if (thePrefs::CanSeeShares()==vsfaEverybody || (thePrefs::CanSeeShares()==vsfaFriends && m_client->IsFriend())) {
1098 if (thePrefs
[all...]
H A DGenericClientListCtrl.cpp838 if (theApp->amuledlg->m_IP2Country->IsEnabled() && thePrefs::IsGeoIPEnabled()) {
891 if ( thePrefs::ShowProgBar() ) {
915 if ( thePrefs::UseFlatBar() ) {
1321 s_StatusBar.Set3dDepth( thePrefs::Get3DDepth() );
1385 bool bFlat = thePrefs::UseFlatBar();
1403 s_StatusBar.Set3dDepth( thePrefs::Get3DDepth() );
H A DServerUDPSocket.cpp70 if (pServer && thePrefs::IsServerCryptLayerUDPEnabled() &&
364 if (!rawpacket && thePrefs::IsServerCryptLayerUDPEnabled() && host->GetServerKeyUDP() != 0 && host->SupportsObfuscationUDP()) {
H A DEMSocket.cpp48 if (!thePrefs::GetAddress().IsEmpty()) {
54 if (host.Hostname(thePrefs::GetAddress())) {
H A DSharedFileList.cpp39 #include "Preferences.h" // Needed for thePrefs
342 sharedPaths.push_back(thePrefs::GetIncomingDir());
347 const thePrefs::PathList& shared = theApp->glob_prefs->shareddir_list;
405 } else if (CheckDirectory(thePrefs::GetTempDir().GetRaw(), directory)) {
417 if (thePrefs::ShareHiddenFiles()) {
H A DSharedFilesCtrl.cpp38 #include "Preferences.h" // Needed for thePrefs
172 m_menu->Enable(MP_GETHOSTNAMESOURCEED2KLINK, !thePrefs::GetYourHostname().IsEmpty());
173 m_menu->Enable(MP_GETHOSTNAMECRYPTSOURCEED2KLINK, !thePrefs::GetYourHostname().IsEmpty());
200 feed = CFormat(_("Feedback from: %s (%s)\n\n")) % thePrefs::GetUserNick() % theApp->GetFullMuleVersion();
641 bool bFlat = thePrefs::UseFlatBar();
H A Damule-gui.cpp215 if (thePrefs::ShowVersionOnTitle()) {
H A DClientList.cpp40 #include "Preferences.h" // Needed for thePrefs
693 if(m_nBuddyStatus == Disconnected && Kademlia::CKademlia::GetPrefs()->GetFindBuddy() && !thePrefs::IsClientCryptLayerRequired()) {
848 if (theApp->GetPublicIP() == nContactIP && thePrefs::GetPort() == contact->GetTCPPort()) {
880 if (theApp->GetPublicIP() == nContactIP && thePrefs::GetPort() == contact->GetTCPPort()) {
918 if (theApp->GetPublicIP() == nContactIP && thePrefs::GetPort() == contact->GetTCPPort()) {
H A Damule-remote-gui.cpp179 int sStatsUpdate = thePrefs::GetStatsInterval();
265 InitLocale(m_locale, StrLang2wx(thePrefs::GetLanguageID()));
278 return thePrefs::IsSecureIdentEnabled(); // good enough
385 if (thePrefs::IsGeoIPEnabled()) {
521 if (thePrefs::GetNetworkED2K() && thePrefs::GetNetworkKademlia()) {
523 } else if (thePrefs::GetNetworkED2K()) {
525 } else if (thePrefs::GetNetworkKademlia()) {
2202 if (thePrefs::GetMaxClientVersions() != 0) {
2203 request.AddTag(CECTag(EC_TAG_STATTREE_CAPPING, (uint8)thePrefs
[all...]
H A DDownloadClient.cpp41 #include "Preferences.h" // Needed for thePrefs
193 thePrefs::GetMaxSourcePerFileSoft() > uSources &&
652 if (thePrefs::GetDropSlowSources()) {
1278 if (thePrefs::GetEffectiveUDPPort() == 0) {
1403 if (thePrefs::IsClientCryptLayerSupported()) {
1405 if ((RequestsCryptLayer() || thePrefs::IsClientCryptLayerRequested()) && HasObfuscatedConnectionBeenEstablished()) {
H A DLogger.cpp96 return ( cat.IsEnabled() && thePrefs::GetVerbose() );
H A DSearchFile.cpp33 #include "Preferences.h" // Needed for thePrefs
58 if (!m_clientID || !m_clientPort || !IsGoodIP(m_clientID, thePrefs::FilterLanIPs())) {
H A DStatistics.cpp41 #include "Preferences.h" // Needed for thePrefs
232 : m_graphRunningAvgDown(thePrefs::GetStatsAverageMinutes() * 60 * 1000, true),
233 m_graphRunningAvgUp(thePrefs::GetStatsAverageMinutes() * 60 * 1000, true),
234 m_graphRunningAvgKad(thePrefs::GetStatsAverageMinutes() * 60 * 1000, true)
240 average_minutes = thePrefs::GetStatsAverageMinutes();
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/kademlia/kademlia/
H A DPrefs.h114 uint16_t GetInternKadPort() const throw() { return thePrefs::GetUDPPort(); }
H A DSearch.cpp602 taglist.push_back(new CTagVarInt(TAG_SOURCEPORT, thePrefs::GetPort()));
619 taglist.push_back(new CTagVarInt(TAG_SOURCEPORT, thePrefs::GetPort()));
634 taglist.push_back(new CTagVarInt(TAG_SOURCEPORT, thePrefs::GetPort()));
779 packetdata.WriteUInt16(thePrefs::GetPort());
811 packetdata.WriteUInt16(thePrefs::GetPort());
946 bFilterComment = thePrefs::IsMessageFiltered(strComment);

Completed in 132 milliseconds

123