Home
last modified time | relevance | path

Searched refs:bytesToCopy (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/dports/lang/squeak/Squeak-4.10.2.2614-src/unix/plugins/SoundPlugin/zzz/
H A DFifo.h155 if (bytesToCopy >= headroom) in Buffer_write()
159 bytesToCopy -= headroom; in Buffer_write()
161 if (bytesToCopy) in Buffer_write()
164 iptr= bytesToCopy; in Buffer_write()
165 bytesCopied += bytesToCopy; in Buffer_write()
171 iptr += bytesToCopy; in Buffer_write()
189 if (bytesToCopy >= headroom) in Buffer_read()
193 bytesToCopy -= headroom; in Buffer_read()
195 if (bytesToCopy) in Buffer_read()
198 optr= bytesToCopy; in Buffer_read()
[all …]
/dports/security/cryptlib/cryptlib-3.4.3/envelope/
H A Ddecode.c900 ENSURES( bytesToCopy > 0 && bytesToCopy <= length ); in copyData()
928 bytesToCopy ); in copyData()
980 ENSURES( bytesToCopy > 0 && bytesToCopy <= length ); in copyData()
1234 ( bytesToCopy > 0 && bytesToCopy <= OOB_BUFFER_SIZE ) ) ); in copyFromDeenvelope()
1265 ENSURES( bytesToCopy > 0 && bytesToCopy <= maxLength && \ in copyFromDeenvelope()
1328 bytesToCopy >= 0 && bytesToCopy <= originalInLength && \ in copyFromDeenvelope()
1360 ENSURES( bytesToCopy >= 0 && bytesToCopy <= maxLength && \ in copyFromDeenvelope()
1399 ENSURES( bytesToCopy > 0 && bytesToCopy < MAX_BUFFER_SIZE ); in copyFromDeenvelope()
1414 REQUIRES( bytesToCopy > 0 && bytesToCopy <= OOB_BUFFER_SIZE ); in copyFromDeenvelope()
1573 REQUIRES( bytesToCopy > 0 && bytesToCopy < MAX_BUFFER_SIZE && \ in syncDeenvelopeData()
[all …]
H A Dencode.c599 int bytesToCopy; in flushEnvelopeData() local
724 int bytesToCopy, status; in copyToEnvelope() local
788 ENSURES( bytesToCopy > 0 && \ in copyToEnvelope()
822 if( bytesToCopy > length ) in copyToEnvelope()
823 bytesToCopy = length; in copyToEnvelope()
831 bytesToCopy ); in copyToEnvelope()
838 if( bytesToCopy < length ) in copyToEnvelope()
856 return( bytesToCopy ); in copyToEnvelope()
912 ENSURES( bytesToCopy >= 0 && bytesToCopy <= envelopeInfoPtr->bufPos ); in copyFromEnvelope()
917 if( bytesToCopy > 0 ) in copyFromEnvelope()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel.Channels/System/ServiceModel/Channels/
H A DXmlBufferedByteStreamReader.cs47 int bytesToCopy = Math.Min(bufferedMessageData.Buffer.Count - this.offset, count); in ReadContentAsBase64()
49 if (bytesToCopy == 0) in ReadContentAsBase64()
55 … Buffer.BlockCopy(this.bufferedMessageData.Buffer.Array, this.offset, buffer, index, bytesToCopy); in ReadContentAsBase64()
56 this.offset += bytesToCopy; in ReadContentAsBase64()
58 return bytesToCopy; in ReadContentAsBase64()
63 int bytesToCopy = bufferedMessageData.Buffer.Count; in OnToByteArray()
64 byte[] buffer = new byte[bytesToCopy]; in OnToByteArray()
65 ….bufferedMessageData.Buffer.Array, this.bufferedMessageData.Buffer.Offset, buffer, 0, bytesToCopy); in OnToByteArray()
/dports/security/sha/sha-1.0.4/
H A Dsha384.c307 uint32_t bytesToCopy; in SHA384Update() local
315 bytesToCopy = bufferBytesLeft; in SHA384Update()
316 if (bytesToCopy > len) in SHA384Update()
317 bytesToCopy = len; in SHA384Update()
327 data += bytesToCopy; in SHA384Update()
328 len -= bytesToCopy; in SHA384Update()
364 bytesToCopy = bufferBytesLeft; in SHA384Update()
365 if (bytesToCopy > len) in SHA384Update()
366 bytesToCopy = len; in SHA384Update()
376 data += bytesToCopy; in SHA384Update()
[all …]
H A Dsha512.c307 uint32_t bytesToCopy; in SHA512Update() local
315 bytesToCopy = bufferBytesLeft; in SHA512Update()
316 if (bytesToCopy > len) in SHA512Update()
317 bytesToCopy = len; in SHA512Update()
327 data += bytesToCopy; in SHA512Update()
328 len -= bytesToCopy; in SHA512Update()
364 bytesToCopy = bufferBytesLeft; in SHA512Update()
365 if (bytesToCopy > len) in SHA512Update()
366 bytesToCopy = len; in SHA512Update()
376 data += bytesToCopy; in SHA512Update()
[all …]
H A Dsha256.c325 uint32_t bytesToCopy; in SHA256Update() local
332 bytesToCopy = bufferBytesLeft; in SHA256Update()
333 if (bytesToCopy > len) in SHA256Update()
334 bytesToCopy = len; in SHA256Update()
341 data += bytesToCopy; in SHA256Update()
342 len -= bytesToCopy; in SHA256Update()
372 bytesToCopy = bufferBytesLeft; in SHA256Update()
373 if (bytesToCopy > len) in SHA256Update()
374 bytesToCopy = len; in SHA256Update()
381 data += bytesToCopy; in SHA256Update()
[all …]
/dports/sysutils/duff/duff-0.5.2/src/
H A Dsha384.c307 uint32_t bytesToCopy; in SHA384Update() local
315 bytesToCopy = bufferBytesLeft; in SHA384Update()
316 if (bytesToCopy > len) in SHA384Update()
317 bytesToCopy = len; in SHA384Update()
327 data += bytesToCopy; in SHA384Update()
328 len -= bytesToCopy; in SHA384Update()
364 bytesToCopy = bufferBytesLeft; in SHA384Update()
365 if (bytesToCopy > len) in SHA384Update()
366 bytesToCopy = len; in SHA384Update()
376 data += bytesToCopy; in SHA384Update()
[all …]
H A Dsha512.c307 uint32_t bytesToCopy; in SHA512Update() local
315 bytesToCopy = bufferBytesLeft; in SHA512Update()
316 if (bytesToCopy > len) in SHA512Update()
317 bytesToCopy = len; in SHA512Update()
327 data += bytesToCopy; in SHA512Update()
328 len -= bytesToCopy; in SHA512Update()
364 bytesToCopy = bufferBytesLeft; in SHA512Update()
365 if (bytesToCopy > len) in SHA512Update()
366 bytesToCopy = len; in SHA512Update()
376 data += bytesToCopy; in SHA512Update()
[all …]
H A Dsha256.c325 uint32_t bytesToCopy; in SHA256Update() local
332 bytesToCopy = bufferBytesLeft; in SHA256Update()
333 if (bytesToCopy > len) in SHA256Update()
334 bytesToCopy = len; in SHA256Update()
341 data += bytesToCopy; in SHA256Update()
342 len -= bytesToCopy; in SHA256Update()
372 bytesToCopy = bufferBytesLeft; in SHA256Update()
373 if (bytesToCopy > len) in SHA256Update()
374 bytesToCopy = len; in SHA256Update()
381 data += bytesToCopy; in SHA256Update()
[all …]
/dports/devel/hadoop/hadoop-1.2.1/src/core/org/apache/hadoop/fs/
H A DFSOutputSummer.java105 int bytesToCopy = buf.length-count; in write1() local
106 bytesToCopy = (len<bytesToCopy) ? len : bytesToCopy; in write1()
107 sum.update(b, off, bytesToCopy); in write1()
108 System.arraycopy(b, off, buf, count, bytesToCopy); in write1()
109 count += bytesToCopy; in write1()
114 return bytesToCopy; in write1()
/dports/security/keepassxc/keepassxc-2.6.6/src/streams/
H A DHashedBlockStream.cpp115 int bytesToCopy = qMin(bytesRemaining, static_cast<qint64>(m_buffer.size() - m_bufferPos)); in readData() local
117 memcpy(data + offset, m_buffer.constData() + m_bufferPos, bytesToCopy); in readData()
119 offset += bytesToCopy; in readData()
120 m_bufferPos += bytesToCopy; in readData()
121 bytesRemaining -= bytesToCopy; in readData()
194 int bytesToCopy = qMin(bytesRemaining, static_cast<qint64>(m_blockSize - m_buffer.size())); in writeData() local
196 m_buffer.append(data + offset, bytesToCopy); in writeData()
198 offset += bytesToCopy; in writeData()
199 bytesRemaining -= bytesToCopy; in writeData()
H A DSymmetricCipherStream.cpp111 int bytesToCopy = qMin(bytesRemaining, static_cast<qint64>(m_buffer.size() - m_bufferPos)); in readData() local
113 memcpy(data + offset, m_buffer.constData() + m_bufferPos, bytesToCopy); in readData()
115 offset += bytesToCopy; in readData()
116 m_bufferPos += bytesToCopy; in readData()
117 bytesRemaining -= bytesToCopy; in readData()
199 int bytesToCopy = qMin(bytesRemaining, static_cast<qint64>(blockSize() - m_buffer.size())); in writeData() local
201 m_buffer.append(data + offset, bytesToCopy); in writeData()
203 offset += bytesToCopy; in writeData()
204 bytesRemaining -= bytesToCopy; in writeData()
H A DHmacBlockStream.cpp114 … qint64 bytesToCopy = qMin(bytesRemaining, static_cast<qint64>(m_buffer.size() - m_bufferPos)); in readData() local
116 memcpy(data + offset, m_buffer.constData() + m_bufferPos, static_cast<size_t>(bytesToCopy)); in readData()
118 offset += bytesToCopy; in readData()
119 m_bufferPos += bytesToCopy; in readData()
120 bytesRemaining -= bytesToCopy; in readData()
193 … qint64 bytesToCopy = qMin(bytesRemaining, static_cast<qint64>(m_blockSize - m_buffer.size())); in writeData() local
195 m_buffer.append(data + offset, static_cast<int>(bytesToCopy)); in writeData()
197 offset += bytesToCopy; in writeData()
198 bytesRemaining -= bytesToCopy; in writeData()
/dports/security/keepassx-devel/keepassx-55869e8/src/streams/
H A DHashedBlockStream.cpp117 int bytesToCopy = qMin(bytesRemaining, static_cast<qint64>(m_buffer.size() - m_bufferPos)); in readData() local
119 memcpy(data + offset, m_buffer.constData() + m_bufferPos, bytesToCopy); in readData()
121 offset += bytesToCopy; in readData()
122 m_bufferPos += bytesToCopy; in readData()
123 bytesRemaining -= bytesToCopy; in readData()
196 int bytesToCopy = qMin(bytesRemaining, static_cast<qint64>(m_blockSize - m_buffer.size())); in writeData() local
198 m_buffer.append(data + offset, bytesToCopy); in writeData()
200 offset += bytesToCopy; in writeData()
201 bytesRemaining -= bytesToCopy; in writeData()
H A DSymmetricCipherStream.cpp113 int bytesToCopy = qMin(bytesRemaining, static_cast<qint64>(m_buffer.size() - m_bufferPos)); in readData() local
115 memcpy(data + offset, m_buffer.constData() + m_bufferPos, bytesToCopy); in readData()
117 offset += bytesToCopy; in readData()
118 m_bufferPos += bytesToCopy; in readData()
119 bytesRemaining -= bytesToCopy; in readData()
203 …int bytesToCopy = qMin(bytesRemaining, static_cast<qint64>(m_cipher->blockSize() - m_buffer.size()… in writeData() local
205 m_buffer.append(data + offset, bytesToCopy); in writeData()
207 offset += bytesToCopy; in writeData()
208 bytesRemaining -= bytesToCopy; in writeData()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/platform/
H A DSharedBuffer.cpp143 unsigned bytesToCopy = min(length, segmentFreeSpace); in append() local
146 memcpy(segment, data, bytesToCopy); in append()
147 if (static_cast<unsigned>(length) == bytesToCopy) in append()
150 length -= bytesToCopy; in append()
151 data += bytesToCopy; in append()
154 bytesToCopy = min(length, segmentSize); in append()
205 unsigned bytesToCopy = min(bytesLeft, segmentSize); in buffer() local
206 memcpy(destination, m_segments[i], bytesToCopy); in buffer()
207 destination += bytesToCopy; in buffer()
208 bytesLeft -= bytesToCopy; in buffer()
/dports/audio/liblastfm-qt5/liblastfm-1.0.9-5-g4433165/src/fingerprint/
H A DSha256.cpp325 uint32_t bytesToCopy; in SHA256Update() local
332 bytesToCopy = bufferBytesLeft; in SHA256Update()
333 if (bytesToCopy > len) in SHA256Update()
334 bytesToCopy = len; in SHA256Update()
341 data += bytesToCopy; in SHA256Update()
342 len -= bytesToCopy; in SHA256Update()
372 bytesToCopy = bufferBytesLeft; in SHA256Update()
373 if (bytesToCopy > len) in SHA256Update()
374 bytesToCopy = len; in SHA256Update()
381 data += bytesToCopy; in SHA256Update()
[all …]
/dports/devel/tcllibc/tcllib-1.20/modules/sha1/
H A Dsha256.c359 uint32_t bytesToCopy; in SHA256Update() local
373 bytesToCopy = bufferBytesLeft; in SHA256Update()
374 if (bytesToCopy > len) in SHA256Update()
375 bytesToCopy = len; in SHA256Update()
382 dataPtr += bytesToCopy; in SHA256Update()
383 len -= bytesToCopy; in SHA256Update()
413 bytesToCopy = bufferBytesLeft; in SHA256Update()
414 if (bytesToCopy > len) in SHA256Update()
415 bytesToCopy = len; in SHA256Update()
423 dataPtr += bytesToCopy; in SHA256Update()
[all …]
/dports/devel/tcllib/tcllib-1.20/modules/sha1/
H A Dsha256.c359 uint32_t bytesToCopy; in SHA256Update() local
373 bytesToCopy = bufferBytesLeft; in SHA256Update()
374 if (bytesToCopy > len) in SHA256Update()
375 bytesToCopy = len; in SHA256Update()
382 dataPtr += bytesToCopy; in SHA256Update()
383 len -= bytesToCopy; in SHA256Update()
413 bytesToCopy = bufferBytesLeft; in SHA256Update()
414 if (bytesToCopy > len) in SHA256Update()
415 bytesToCopy = len; in SHA256Update()
423 dataPtr += bytesToCopy; in SHA256Update()
[all …]
/dports/textproc/luceneplusplus/LucenePlusPlus-rel_3.0.8/src/test/index/
H A DMockIndexInput.cpp28 int32_t bytesToCopy = bytesInBuffer >= remainder ? remainder : bytesInBuffer; in readInternal() local
29 MiscUtils::arrayCopy(buffer.get(), bufferOffset, b, offset, bytesToCopy); in readInternal()
30 offset += bytesToCopy; in readInternal()
31 start += bytesToCopy; in readInternal()
32 remainder -= bytesToCopy; in readInternal()
/dports/audio/libao/libao-1.2.0/src/plugins/macosx/
H A Dao_macosx.c146 unsigned int firstFrag = bytesToCopy; in audioCallback()
156 if (firstFrag < bytesToCopy) { in audioCallback()
160 memcpy(outBuffer,sample,bytesToCopy); in audioCallback()
162 if(bytesToCopy < outBufSize) /* the stopping case */ in audioCallback()
163 memset(outBuffer+bytesToCopy, 0, outBufSize-bytesToCopy); in audioCallback()
165 internal->validByteCount -= bytesToCopy; in audioCallback()
614 unsigned int bytesToCopy; in ao_plugin_play() local
651 bytesToCopy = MIN(num_bytes, emptyByteCount); in ao_plugin_play()
656 num_bytes -= bytesToCopy; in ao_plugin_play()
657 output_samples += bytesToCopy; in ao_plugin_play()
[all …]
/dports/games/scummvm-tools/scummvm-tools-2.5.0/engines/mohawk/
H A Dutils.cpp36 void copyBytes(Common::File *src, Common::File *outputFile, uint32 bytesToCopy) { in copyBytes() argument
39 if (src->pos() + bytesToCopy > src->size()) { in copyBytes()
41 src->pos(), bytesToCopy, src->size()); in copyBytes()
44 while (bytesToCopy > 0) { in copyBytes()
45 size_t bytesCopied = src->read_noThrow(tempBuffer, MIN<uint32>(bytesToCopy, BUF_SIZE)); in copyBytes()
47 bytesToCopy -= bytesCopied; in copyBytes()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/
H A DFSOutputSummer.java129 int bytesToCopy = buf.length-count; in write1() local
130 bytesToCopy = (len<bytesToCopy) ? len : bytesToCopy; in write1()
131 System.arraycopy(b, off, buf, count, bytesToCopy); in write1()
132 count += bytesToCopy; in write1()
137 return bytesToCopy; in write1()
/dports/lang/mono/mono-5.10.1.57/external/api-doc-tools/external/Lucene.Net.Light/src/core/Store/
H A DRAMInputStream.cs86 int bytesToCopy = len < remainInBuffer?len:remainInBuffer; in ReadBytes()
87 Array.Copy(currentBuffer, bufferPosition, b, offset, bytesToCopy); in ReadBytes()
88 offset += bytesToCopy; in ReadBytes()
89 len -= bytesToCopy; in ReadBytes()
90 bufferPosition += bytesToCopy; in ReadBytes()

12345678910>>...13