Searched refs:copylen (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dgetdents_helper.cc54 size_t copylen = std::min(d_name_max, namelen); local
55 strncpy(&entry.d_name[0], name, copylen);
56 entry.d_name[copylen] = 0;
/external/dropbear/
H A Drandom.c183 unsigned int copylen; local
200 copylen = MIN(len, SHA1_HASH_SIZE);
201 memcpy(buf, hash, copylen);
202 len -= copylen;
203 buf += copylen;
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/
H A Dgoobspatch.c165 size_t copylen; local
221 copylen = xzf->read_out_len;
222 if (copylen > len)
223 copylen = len;
224 memcpy(buf, xzf->read_out, copylen);
225 nread += copylen;
226 buf += copylen;
227 len -= copylen;
228 xzf->read_out += copylen;
229 xzf->read_out_len -= copylen;
[all...]
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/
H A Dbio_asn1.c101 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/openssl/crypto/asn1/
H A Dbio_asn1.c101 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/
H A DSuballocatedIntVector.java287 int copylen=m_blocksize-offset-1;
297 System.arraycopy(block, offset , block, offset+1, copylen);
356 int copylen=m_blocksize-offset-1;
361 System.arraycopy(block, offset+1, block, offset, copylen);
/external/elfutils/libebl/
H A Deblgstrtab.c353 size_t copylen; local
376 copylen = nulllen;
377 copystrings (st->root, &endp, &copylen);
378 assert (copylen == st->total * st->width + nulllen);
H A Deblwstrtab.c347 size_t copylen; local
370 copylen = sizeof (wchar_t) * nulllen;
371 copystrings (st->root, &endp, &copylen);
372 assert (copylen == (st->total + nulllen) * sizeof (wchar_t));
H A Deblstrtab.c354 size_t copylen = nulllen; local
355 copystrings (st->root, &endp, &copylen);
356 assert (copylen == st->total + nulllen);
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/channel/
H A DChannelManager.java933 int copylen = 0;
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;
/external/ppp/pppd/plugins/rp-pppoe/
H A Dif.c630 int seglen, copylen; local
659 *size = copylen = ((hdr.bh_caplen < sizeof(PPPoEPacket)) ?
661 memcpy(pkt, bpfBuffer + bpfOffset + hdr.bh_hdrlen, copylen);

Completed in 346 milliseconds