/libcore/luni/src/main/java/java/io/ |
PipedReader.java | 267 int copyLength = 0; 270 copyLength = count > this.buffer.length - out ? this.buffer.length - out : count; 271 System.arraycopy(this.buffer, out, buffer, offset, copyLength); 272 out += copyLength; 287 if (copyLength == count || in == -1) { 288 return copyLength; 291 int charsCopied = copyLength; 293 copyLength = in - out > count - copyLength ? count - copyLength : in - out [all...] |
BufferedInputStream.java | 285 int copylength = count - pos >= byteCount ? byteCount : count - pos; local 286 System.arraycopy(localBuf, pos, buffer, offset, copylength); 287 pos += copylength; 288 if (copylength == byteCount || localIn.available() == 0) { 289 return copylength; 291 offset += copylength; 292 required = byteCount - copylength;
|
PushbackInputStream.java | 181 int copiedBytes = 0, copyLength = 0, newOffset = offset; 184 copyLength = (buf.length - pos >= length) ? length : buf.length 186 System.arraycopy(buf, pos, buffer, newOffset, copyLength); 187 newOffset += copyLength; 188 copiedBytes += copyLength; 190 pos += copyLength; 193 if (copyLength == length) {
|
PushbackReader.java | 189 int copyLength = 0; 193 copyLength = (buf.length - pos >= count) ? count : buf.length 195 System.arraycopy(buf, pos, buffer, newOffset, copyLength); 196 newOffset += copyLength; 197 copiedChars += copyLength; 199 pos += copyLength; 202 if (copyLength == count) {
|
/libcore/luni/src/main/java/java/util/ |
Arrays.java | [all...] |
/dalvik/vm/ |
Misc.cpp | 587 size_t copyLength = srcLength; 590 copyLength = size - 1; 594 strncpy(dst, src, copyLength); 595 dst[copyLength] = '\0';
|
/external/icu4c/common/ |
locdispnames.cpp | 331 int32_t copyLength=uprv_min(length, destCapacity); 332 if(copyLength>0 && s != NULL) { 333 u_memcpy(dest, s, copyLength);
|
ustrcase.c | 539 int32_t copyLength= destLength<=destCapacity ? destLength : destCapacity; 540 if(copyLength>0) { 541 uprv_memmove(dest, temp, copyLength*U_SIZEOF_UCHAR);
|
uresbund.c | [all...] |
/external/icu4c/i18n/ |
uregex.cpp | 665 int32_t copyLength = fullLength; 666 if (copyLength < destCapacity) { 667 dest[copyLength] = 0; 668 } else if (copyLength == destCapacity) { 671 copyLength = destCapacity; 678 if (copyLength > 0) { 679 u_memcpy(dest, ®exp->fText[startIx], copyLength); [all...] |
usearch.cpp | 2908 int32_t copylength = strsrch->search->matchedLength; local [all...] |