Home
last modified time | relevance | path

Searched refs:copylen (Results 1 – 9 of 9) sorted by relevance

/external/dropbear/
Drandom.c183 unsigned int copylen; in genrandom() local
200 copylen = MIN(len, SHA1_HASH_SIZE); in genrandom()
201 memcpy(buf, hash, copylen); in genrandom()
202 len -= copylen; in genrandom()
203 buf += copylen; in genrandom()
/external/openssl/crypto/asn1/
Dbio_asn1.c101 int copylen; member
172 ctx->copylen = 0; in asn1_bio_init()
241 ctx->copylen = inl; in asn1_bio_write()
265 if (inl > ctx->copylen) in asn1_bio_write()
266 wrmax = ctx->copylen; in asn1_bio_write()
273 ctx->copylen -= ret; in asn1_bio_write()
277 if (ctx->copylen == 0) in asn1_bio_write()
/external/elfutils/libebl/
Deblwstrtab.c347 size_t copylen; in ebl_wstrtabfinalize() local
370 copylen = sizeof (wchar_t) * nulllen; in ebl_wstrtabfinalize()
371 copystrings (st->root, &endp, &copylen); in ebl_wstrtabfinalize()
372 assert (copylen == (st->total + nulllen) * sizeof (wchar_t)); in ebl_wstrtabfinalize()
Deblgstrtab.c353 size_t copylen; in ebl_gstrtabfinalize() local
376 copylen = nulllen; in ebl_gstrtabfinalize()
377 copystrings (st->root, &endp, &copylen); in ebl_gstrtabfinalize()
378 assert (copylen == st->total * st->width + nulllen); in ebl_gstrtabfinalize()
Deblstrtab.c354 size_t copylen = nulllen; in ebl_strtabfinalize() local
355 copystrings (st->root, &endp, &copylen); in ebl_strtabfinalize()
356 assert (copylen == st->total + nulllen); in ebl_strtabfinalize()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DSuballocatedIntVector.java287 int copylen=m_blocksize-offset-1; in insertElementAt() local
297 System.arraycopy(block, offset , block, offset+1, copylen); in insertElementAt()
356 int copylen=m_blocksize-offset-1; in removeElementAt() local
361 System.arraycopy(block, offset+1, block, offset, copylen); in removeElementAt()
/external/quake/quake/src/WinQuake/
Dnet_ipx.cpp451 int copylen; in IPX_Read() local
471 copylen = ntohs(rcvbuf->header.length) - (sizeof(int) + sizeof(IPXheader)); in IPX_Read()
472 if (len < copylen) in IPX_Read()
473 Sys_Error("IPX_Read: buffer too small (%d vs %d)\n", len, copylen); in IPX_Read()
474 Q_memcpy(buf, rcvbuf->data, copylen); in IPX_Read()
491 return copylen; in IPX_Read()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/channel/
DChannelManager.java933 int copylen = 0; in getChannelData() local
978 copylen = (stdoutAvail > len) ? len : stdoutAvail; in getChannelData()
979 System.arraycopy(c.stdoutBuffer, c.stdoutReadpos, target, off, copylen); in getChannelData()
980 c.stdoutReadpos += copylen; in getChannelData()
992 copylen = (stderrAvail > len) ? len : stderrAvail; in getChannelData()
993 System.arraycopy(c.stderrBuffer, c.stderrReadpos, target, off, copylen); in getChannelData()
994 c.stderrReadpos += copylen; in getChannelData()
1006 return copylen; in getChannelData()
1051 return copylen; in getChannelData()
/external/ppp/pppd/plugins/rp-pppoe/
Dif.c630 int seglen, copylen; in receivePacket() local
659 *size = copylen = ((hdr.bh_caplen < sizeof(PPPoEPacket)) ? in receivePacket()
661 memcpy(pkt, bpfBuffer + bpfOffset + hdr.bh_hdrlen, copylen); in receivePacket()