Searched refs:STDMIN (Results 1 - 25 of 26) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dmqueue.cpp21 return m_queue.CopyRangeTo2(target, begin, STDMIN(MaxRetrievable(), end), channel, blocking);
26 transferBytes = STDMIN(MaxRetrievable(), transferBytes);
106 len = STDMIN(len, length);
H A Dqueue.cpp44 size_t l = STDMIN(length, MaxSize()-m_tail);
62 size_t len = STDMIN(copyMax, m_tail-m_head);
76 size_t len = STDMIN(copyMax, m_tail-m_head);
113 size_t len = STDMIN(skipMax, m_tail-m_head);
344 size_t len = (size_t)STDMIN(bytesLeft, (lword)m_lazyLength);
384 size_t len = STDMIN(length, m_head->m_head);
516 size_t len = (size_t)STDMIN(bytesLeft, (lword)m_node->CurrentSize()-m_offset);
537 size_t len = (size_t)STDMIN(bytesLeft, (lword)m_lazyLength);
H A Dwords.h81 shiftWords = STDMIN(shiftWords, n);
92 shiftWords = STDMIN(shiftWords, n);
H A Dstrciphr.cpp33 size_t len = STDMIN(m_leftOver, length);
71 size_t len = STDMIN(m_leftOver, length);
188 size_t len = STDMIN(m_leftOver, length);
H A Dgfpcrypt.cpp81 hash.TruncatedFinal(representative+paddingLength, STDMIN(representativeByteLength, digestSize));
103 hash.TruncatedFinal(representative+paddingLength, STDMIN(representativeByteLength, digestSize));
265 return STDMIN(GetSubgroupOrder()-1, Integer::Power2(2*DiscreteLogWorkFactor(GetFieldType()*GetModulus().BitCount())));
H A Dpwdbased.h109 size_t segmentLen = STDMIN(derivedLen, buffer.size());
202 size_t segmentLen = STDMIN(derivedLen, Ai.size());
H A Delgamal.h37 return STDMIN(255U, len-3);
H A Dosrng.h136 while (memcmp(key, seed, STDMIN((unsigned int)BLOCK_CIPHER::BLOCKSIZE, (unsigned int)BLOCK_CIPHER::DEFAULT_KEYLENGTH)) == 0);
H A Dfilters.cpp261 numberOfBytes = STDMIN(numberOfBytes, STDMIN(size_t(m_buffer.end()-m_begin), m_size));
285 size_t len = STDMIN(length, size_t(m_buffer.end()-end));
513 memcpy(m_buf+m_total, begin, STDMIN(length, SaturatingSubtract(m_size, m_total)));
536 xorbuf(m_buf+m_total, begin, STDMIN(length, SaturatingSubtract(m_size, m_total)));
1100 size_t len = (size_t)STDMIN(end-begin, lword(128));
H A Dnetwork.cpp376 , m_buffer(STDMIN(16U*1024U+256, maxBufferSize)), m_skipBytes(0)
398 return m ? STDMIN(m_maxObservedSpeed, float(CRYPTOPP_VC6_INT64 m)) : m_maxObservedSpeed;
H A Dbasecode.cpp219 FILTER_OUTPUT2(2, len = STDMIN(length-m_inputPosition, m_groupSize-m_counter),
H A Design.cpp46 return STDMIN(a_exp_b_mod_c(x, m_e, m_n) >> (2*GetK()+2), MaxImage());
H A Dfiles.cpp73 m_stream->read((char *)m_space, (unsigned int)STDMIN(size, (lword)spaceSize));
H A Dgf2n.cpp244 PolynomialMod2 result((word)0, WORD_BITS*STDMIN(reg.size(), b.reg.size()));
442 size_t i, smallerSize = STDMIN(reg.size(), rhs.reg.size());
722 size_t aSize = STDMIN(a.reg.size(), result.reg.size());
796 CopyWords(result.reg.begin(), b, STDMIN(b.size(), result.reg.size()));
H A Dnbtheory.cpp352 unsigned int sieveSize = STDMIN(Integer(maxSieveSize), (m_last-m_first)/m_step+1).ConvertToLong();
497 PrimeSieve sieve(p, STDMIN(p+PrimeSearchInterval(maxP)*q2, maxP), q2);
536 unsigned int trialDivisorBound = (unsigned int)STDMIN((unsigned long)primeTable[primeTableSize-1], (unsigned long)bits*bits/c_opt);
1051 PrimeSieve sieve(p, STDMIN(p+PrimeSearchInterval(maxP)*12, maxP), 12, delta);
H A Drw.cpp154 y = STDMIN(y, m_n-y);
H A Dzdeflate.cpp146 size_t depth = STDMIN(maxCodeBits, tree[tree[i].parent].depth + 1);
324 unsigned int maxBlockSize = (unsigned int)STDMIN(2UL*DSIZE, 0xffffUL);
373 const byte *scan = m_byteBuffer + m_stringStart, *scanEnd = scan + STDMIN((unsigned int)MAX_MATCH, m_lookahead);
770 m_detectSkip = m_detectSkip ? STDMIN(2*m_detectSkip, 128U) : 1;
H A Dsecblock.h74 memcpy_s(newPointer, sizeof(T)*newSize, p, sizeof(T)*STDMIN(oldSize, newSize));
253 memcpy(newPointer, p, sizeof(T)*STDMIN(oldSize, newSize));
H A Dida.cpp252 size_t len = STDMIN(length, buf.size());
H A Drsa.cpp299 return STDMIN(t, m_n-t);
H A Ddatatest.cpp86 s1 = s1.substr(STDMIN(s1.find(' '), s1.length()));
91 s1 = s1.substr(STDMIN(s1.find(' '), s1.length()));
H A Dasn.cpp465 end = STDMIN(m_length, end);
H A Dfipstest.cpp344 unsigned int sectionSize = STDMIN(phs->SizeOfRawData, phs->Misc.VirtualSize);
H A Dzinflate.cpp136 m_cacheBits = STDMIN(9U, m_maxCodeBits);
H A Dmisc.h180 template <class T> inline const T& STDMIN(const T& a, const T& b) function

Completed in 293 milliseconds

12