/libcore/luni/src/main/java/java/io/ |
ByteArrayInputStream.java | 177 int copylen = this.count - pos < length ? this.count - pos : length; 178 System.arraycopy(this.buf, pos, buffer, offset, copylen); 179 pos += copylen; 180 return copylen;
|
StringBufferInputStream.java | 111 int copylen = count - pos < length ? count - pos : length; 112 for (int i = 0; i < copylen; i++) { 115 pos += copylen; 116 return copylen;
|
/external/dropbear/ |
random.c | 183 unsigned int copylen; local 200 copylen = MIN(len, SHA1_HASH_SIZE); 201 memcpy(buf, hash, copylen); 202 len -= copylen; 203 buf += copylen;
|
/external/openssl/crypto/asn1/ |
bio_asn1.c | 101 int copylen; member in struct:BIO_ASN1_BUF_CTX_t 172 ctx->copylen = 0; 241 ctx->copylen = inl; 265 if (inl > ctx->copylen) 266 wrmax = ctx->copylen; 273 ctx->copylen -= ret; 277 if (ctx->copylen == 0)
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
SuballocatedIntVector.java | 287 int copylen=m_blocksize-offset-1; local 297 System.arraycopy(block, offset , block, offset+1, copylen); 356 int copylen=m_blocksize-offset-1; local 361 System.arraycopy(block, offset+1, block, offset, copylen);
|
/external/elfutils/libebl/ |
eblgstrtab.c | 353 size_t copylen; local 376 copylen = nulllen; 377 copystrings (st->root, &endp, ©len); 378 assert (copylen == st->total * st->width + nulllen);
|
eblwstrtab.c | 347 size_t copylen; local 370 copylen = sizeof (wchar_t) * nulllen; 371 copystrings (st->root, &endp, ©len); 372 assert (copylen == (st->total + nulllen) * sizeof (wchar_t));
|
eblstrtab.c | 354 size_t copylen = nulllen; local 355 copystrings (st->root, &endp, ©len); 356 assert (copylen == st->total + nulllen);
|
/external/quake/quake/src/WinQuake/ |
net_ipx.cpp | 451 int copylen;
local 471 copylen = ntohs(rcvbuf->header.length) - (sizeof(int) + sizeof(IPXheader));
472 if (len < copylen)
473 Sys_Error("IPX_Read: buffer too small (%d vs %d)\n", len, copylen);
474 Q_memcpy(buf, rcvbuf->data, copylen);
491 return copylen;
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/channel/ |
ChannelManager.java | 933 int copylen = 0; local 978 copylen = (stdoutAvail > len) ? len : stdoutAvail; 979 System.arraycopy(c.stdoutBuffer, c.stdoutReadpos, target, off, copylen); 980 c.stdoutReadpos += copylen; 992 copylen = (stderrAvail > len) ? len : stderrAvail; 993 System.arraycopy(c.stderrBuffer, c.stderrReadpos, target, off, copylen); 994 c.stderrReadpos += copylen; 1006 return copylen; 1051 return copylen; [all...] |
/external/ppp/pppd/plugins/rp-pppoe/ |
if.c | 630 int seglen, copylen; local 659 *size = copylen = ((hdr.bh_caplen < sizeof(PPPoEPacket)) ? 661 memcpy(pkt, bpfBuffer + bpfOffset + hdr.bh_hdrlen, copylen);
|