Home
last modified time | relevance | path

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

/external/libvncserver/libvncserver/
Dultra.c134 int bytesToCopy = UPDATE_BUF_SIZE - cl->ublen; in rfbSendOneRectEncodingUltra() local
136 if (i + bytesToCopy > cl->afterEncBufLen) { in rfbSendOneRectEncodingUltra()
137 bytesToCopy = cl->afterEncBufLen - i; in rfbSendOneRectEncodingUltra()
140 memcpy(&cl->updateBuf[cl->ublen], &cl->afterEncBuf[i], bytesToCopy); in rfbSendOneRectEncodingUltra()
142 cl->ublen += bytesToCopy; in rfbSendOneRectEncodingUltra()
143 i += bytesToCopy; in rfbSendOneRectEncodingUltra()
Dzlib.c232 int bytesToCopy = UPDATE_BUF_SIZE - cl->ublen; in rfbSendOneRectEncodingZlib() local
234 if (i + bytesToCopy > zlibAfterBufLen) { in rfbSendOneRectEncodingZlib()
235 bytesToCopy = zlibAfterBufLen - i; in rfbSendOneRectEncodingZlib()
238 memcpy(&cl->updateBuf[cl->ublen], &zlibAfterBuf[i], bytesToCopy); in rfbSendOneRectEncodingZlib()
240 cl->ublen += bytesToCopy; in rfbSendOneRectEncodingZlib()
241 i += bytesToCopy; in rfbSendOneRectEncodingZlib()
Dzrle.c219 int bytesToCopy = UPDATE_BUF_SIZE - cl->ublen; in rfbSendRectEncodingZRLE() local
221 if (i + bytesToCopy > ZRLE_BUFFER_LENGTH(&zos->out)) { in rfbSendRectEncodingZRLE()
222 bytesToCopy = ZRLE_BUFFER_LENGTH(&zos->out) - i; in rfbSendRectEncodingZRLE()
225 memcpy(cl->updateBuf+cl->ublen, (uint8_t*)zos->out.start + i, bytesToCopy); in rfbSendRectEncodingZRLE()
227 cl->ublen += bytesToCopy; in rfbSendRectEncodingZRLE()
228 i += bytesToCopy; in rfbSendRectEncodingZRLE()
Drre.c136 int bytesToCopy = UPDATE_BUF_SIZE - cl->ublen; in rfbSendRectEncodingRRE() local
138 if (i + bytesToCopy > cl->afterEncBufLen) { in rfbSendRectEncodingRRE()
139 bytesToCopy = cl->afterEncBufLen - i; in rfbSendRectEncodingRRE()
142 memcpy(&cl->updateBuf[cl->ublen], &cl->afterEncBuf[i], bytesToCopy); in rfbSendRectEncodingRRE()
144 cl->ublen += bytesToCopy; in rfbSendRectEncodingRRE()
145 i += bytesToCopy; in rfbSendRectEncodingRRE()
Dcorre.c169 int bytesToCopy = UPDATE_BUF_SIZE - cl->ublen; in rfbSendSmallRectEncodingCoRRE() local
171 if (i + bytesToCopy > cl->afterEncBufLen) { in rfbSendSmallRectEncodingCoRRE()
172 bytesToCopy = cl->afterEncBufLen - i; in rfbSendSmallRectEncodingCoRRE()
175 memcpy(&cl->updateBuf[cl->ublen], &cl->afterEncBuf[i], bytesToCopy); in rfbSendSmallRectEncodingCoRRE()
177 cl->ublen += bytesToCopy; in rfbSendSmallRectEncodingCoRRE()
178 i += bytesToCopy; in rfbSendSmallRectEncodingCoRRE()
/external/skia/src/utils/
DSkFrontBufferedStream.cpp108 const size_t bytesToCopy = SkTMin(size, fBufferedSoFar - fOffset); in readFromBuffer() local
110 memcpy(dst, fBuffer + fOffset, bytesToCopy); in readFromBuffer()
115 fOffset += bytesToCopy; in readFromBuffer()
118 return bytesToCopy; in readFromBuffer()
/external/jmonkeyengine/engine/src/jogg/com/jme3/audio/plugins/
DOGGLoader.java220 int bytesToCopy = getOggTotalBytes( dataBytes.length ); in readToBuffer() local
222 ByteBuffer data = BufferUtils.createByteBuffer(bytesToCopy); in readToBuffer()
223 data.put(dataBytes, 0, bytesToCopy).flip(); in readToBuffer()
/external/guava/guava/src/com/google/common/hash/
DAbstractStreamingHashFunction.java170 int bytesToCopy = bufferSize - buffer.position(); in putBytes() local
171 for (int i = 0; i < bytesToCopy; i++) { in putBytes()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.lucene_1.9.1.v20100518-1140.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...