Searched refs:UnsignedMin (Results 1 - 22 of 22) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/ |
H A D | rng.cpp | 72 xorbuf(dtbuf, (byte *)&tstamp1, UnsignedMin(sizeof(tstamp1), S)); 75 xorbuf(dtbuf, (byte *)&tstamp2, UnsignedMin(sizeof(tstamp2), S)); 96 xorbuf(dtbuf, (byte *)&c, UnsignedMin(sizeof(c), S)); 98 xorbuf(dtbuf+S-UnsignedMin(sizeof(t), S), (byte *)&t, UnsignedMin(sizeof(t), S)); 111 size_t len = UnsignedMin(S, size);
|
H A D | randpool.cpp | 52 size_t len = UnsignedMin(16, size);
|
H A D | winpipes.cpp | 95 if (ReadFile(h, buf, UnsignedMin((DWORD)128*1024, bufLen), &m_lastResult, &m_overlapped)) 169 if (WriteFile(h, buf, UnsignedMin((DWORD)128*1024, bufLen), &written, &m_overlapped))
|
H A D | md2.cpp | 63 unsigned int L = UnsignedMin(16U-m_count, len);
|
H A D | cmac.cpp | 68 unsigned int len = UnsignedMin(blockSize - m_counter, length);
|
H A D | dmac.h | 51 m_subkeys.resize(2*UnsignedMin((unsigned int)T::BLOCKSIZE, m_subkeylength));
|
H A D | network.cpp | 99 lword curMaxSize = UnsignedMin(ComputeCurrentTransceiveLimit(), maxSize - byteCount); 182 size_t flushSize = UnsignedMin(curBufSize - targetSize, ComputeCurrentTransceiveLimit()); 334 m_putSize = UnsignedMin(m_dataEnd - m_dataBegin, maxSize - byteCount); 453 size_t blockedBytes = UnsignedMin(length, m_buffer.CurrentSize() - targetSize);
|
H A D | socketft.cpp | 191 int result = send(m_s, (const char *)buf, UnsignedMin(INT_MAX, bufLen), flags); 199 int result = recv(m_s, (char *)buf, UnsignedMin(INT_MAX, bufLen), flags); 334 WSABUF wsabuf = {UnsignedMin((u_long)128*1024, bufLen), (char *)buf}; 415 WSABUF wsabuf = {UnsignedMin((u_long)128*1024, bufLen), (char *)buf};
|
H A D | mqueue.cpp | 68 contiguousSize = UnsignedMin(contiguousSize, MaxRetrievable());
|
H A D | osrng.h | 132 hash.TruncatedFinal(seed, UnsignedMin(hash.DigestSize(), seed.size()));
|
H A D | files.cpp | 71 m_space = HelpCreatePutSpace(target, channel, 1, UnsignedMin(size_t(0)-1, size), spaceSize);
|
H A D | network.h | 198 void SetMaxBufferSize(size_t maxBufferSize) {m_maxBufferSize = maxBufferSize; m_buffer.SetNodeSize(UnsignedMin(maxBufferSize, 16U*1024U+256U));}
|
H A D | zinflate.cpp | 245 size_t len = UnsignedMin(length, m_window.size() - m_current); 475 size = UnsignedMin(m_storedLen, size);
|
H A D | modes.cpp | 117 size_t blocks = UnsignedMin(iterationCount, 256U-lsb);
|
H A D | wait.cpp | 253 thread.count = UnsignedMin(WAIT_OBJECTS_PER_THREAD, m_handles.size() - i*WAIT_OBJECTS_PER_THREAD);
|
H A D | filters.cpp | 1067 size_t i = UnsignedMin(m_length, m_count+begin); 1068 size_t len = UnsignedMin(m_length-i, end-begin); 1088 transferBytes = UnsignedMin(transferBytes, m_length - m_count);
|
H A D | misc.h | 185 template <class T1, class T2> inline const T1 UnsignedMin(const T1& a, const T2& b) function 346 return UnsignedMin(4U, sizeof(T)); 1070 memcpy_s(&value, sizeof(value), str.data(), UnsignedMin(str.size(), sizeof(value)));
|
H A D | ida.cpp | 248 SecByteBlock buf(UnsignedMin(256, length));
|
H A D | queue.cpp | 105 size_t len = UnsignedMin(m_tail-m_head, transferMax);
|
H A D | cryptlib.cpp | 273 size_t len = UnsignedMin(buffer.size(), length);
|
H A D | nbtheory.cpp | 45 testEntriesEnd = UnsignedMin(54U, primeTable.size());
|
H A D | zdeflate.cpp | 351 unsigned int accepted = UnsignedMin(maxBlockSize-(m_stringStart+m_lookahead), length);
|
Completed in 122 milliseconds