/external/libcap/libcap/ |
cap_file.c | 35 unsigned tocopy, i; local 41 tocopy = VFS_CAP_U32_1; 48 tocopy = VFS_CAP_U32_2; 68 for (i=0; i < tocopy; i++) { 93 unsigned tocopy, i; local 104 tocopy = VFS_CAP_U32_1; 112 tocopy = VFS_CAP_U32_2; 120 tocopy = VFS_CAP_U32_2; 132 for (eff_not_zero = 0, i = 0; i < tocopy; i++) { 148 for (i=0; i < tocopy; i++) [all...] |
/external/skia/src/pdf/ |
SkDeflate.cpp | 106 size_t tocopy = local 108 memcpy(fImpl->fInBuffer + fImpl->fInBufferIndex, buffer, tocopy); 109 len -= tocopy; 110 buffer += tocopy; 111 fImpl->fInBufferIndex += tocopy;
|
/cts/tests/tests/media/libaudiojni/ |
audio-record-native.cpp | 314 size_t tocopy = min(size, b->mSize - b->mOffset); local 315 // ALOGD("buffer:%p size:%zu b->mSize:%zu b->mOffset:%zu tocopy:%zu ", 316 // buffer, size, b->mSize, b->mOffset, tocopy); 317 memcpy(buffer, (char *)b->mData + b->mOffset, tocopy); 318 buffer = (char *)buffer + tocopy; 319 size -= tocopy; 320 b->mOffset += tocopy; 381 size_t tocopy = min(mReadBlob->mSize - mReadBlob->mOffset, b->mSize - b->mOffset); local 383 (char *)b->mData + b->mOffset, tocopy); 384 b->mOffset += tocopy; [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
LocalsArraySet.java | 81 * @param toCopy {@code non-null;} instance to copy. 83 private LocalsArraySet(LocalsArraySet toCopy) { 84 super(toCopy.getMaxLocals() > 0); 86 primary = toCopy.primary.copy(); 87 secondaries = new ArrayList(toCopy.secondaries.size()); 89 int sz = toCopy.secondaries.size(); 91 LocalsArray la = toCopy.secondaries.get(i);
|
/external/okhttp/okio/okio/src/main/java/okio/ |
Okio.java | 75 int toCopy = (int) Math.min(byteCount, head.limit - head.pos); 76 out.write(head.data, head.pos, toCopy); 78 head.pos += toCopy; 79 byteCount -= toCopy; 80 source.size -= toCopy;
|
Buffer.java | 156 int toCopy = (int) Math.min(s.limit - pos, byteCount); 157 out.write(s.data, pos, toCopy); 158 byteCount -= toCopy; 208 int toCopy = (int) Math.min(byteCount, s.limit - s.pos); 209 out.write(s.data, s.pos, toCopy); 211 s.pos += toCopy; 212 size -= toCopy; 213 byteCount -= toCopy; 742 int toCopy = Math.min(byteCount, s.limit - s.pos); 743 System.arraycopy(s.data, s.pos, sink, offset, toCopy); [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableSortedMultisetTest.java | 489 TestArrayList<String> toCopy = new TestArrayList<String>(); 491 ImmutableSortedMultiset.copyOf(Ordering.natural(), toCopy); 492 assertTrue(toCopy.toArrayCalled); 517 SortedMultiset<String> toCopy = EasyMock.createMock(SortedMultiset.class); 519 EasyMock.expect((Comparator<Comparable>) toCopy.comparator()) 521 EasyMock.expect(toCopy.entrySet()).andReturn(entrySet); 522 EasyMock.replay(toCopy); 524 ImmutableSortedMultiset.copyOfSorted(toCopy); 525 EasyMock.verify(toCopy);
|
/frameworks/compile/slang/ |
slang_rs_reflect_utils.cpp | 408 std::size_t toCopy = 1; 411 toCopy = length - start; 414 toCopy = p - start; 419 if (indentLength + lengthOfCommentOnLine + toCopy >= maxPerLine) { 428 *this << s.substr(start, toCopy); 432 lengthOfCommentOnLine += toCopy;
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
OptimizingLineBreaker.java | 144 int toCopy = Math.min(size, lineBreaks.breaks.length); 145 System.arraycopy(lineBreaks.breaks, 0, breaks, 0, toCopy); 146 System.arraycopy(lineBreaks.widths, 0, widths, 0, toCopy); 147 System.arraycopy(lineBreaks.flags, 0, flags, 0, toCopy);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
VLoadTest.java | 46 int toCopy = w; 49 while (toCopy > 0) { 52 //android.util.Log.v("rs", "x " + x + ", y " + y + ", toCopy " + toCopy); 75 toCopy -= maxsize;
|
GetSetTest.java | 62 int toCopy = tw; 65 while (toCopy > 0) { 76 toCopy --; [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
ar.c | 999 bfd_size_type tocopy = size - ncopied; 1001 if (tocopy > BUFSIZE) 1002 tocopy = BUFSIZE; 1004 nread = bfd_bread (cbuf, tocopy, abfd); 1005 if (nread != tocopy) 1015 ncopied += tocopy; 1035 bfd_size_type nread, tocopy; 1077 tocopy = size - ncopied; 1078 if (tocopy > BUFSIZE) 1079 tocopy = BUFSIZE 996 bfd_size_type tocopy = size - ncopied; local 1032 bfd_size_type nread, tocopy; local [all...] |
objcopy.c | 1528 int tocopy; local [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
PduComposer.java | [all...] |
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
PduComposer.java | [all...] |
/art/runtime/native/ |
java_lang_StringFactory.cc | 70 ThrowNullPointerException("toCopy == null");
|
/external/libchrome/base/ |
tuple_unittest.cc | 86 CopyLogger(const CopyLogger& tocopy) { ++TimesConstructed; ++TimesCopied; }
|
/external/libweave/third_party/chromium/base/ |
tuple_unittest.cc | 87 CopyLogger(const CopyLogger& tocopy) { ++TimesConstructed; ++TimesCopied; }
|
/external/e2fsprogs/lib/ext2fs/ |
extent.c | 833 int tocopy; local 897 tocopy = ext2fs_le16_to_cpu(eh->eh_entries); 906 tocopy = ext2fs_le16_to_cpu(eh->eh_entries) / 2; 911 tocopy, ext2fs_le16_to_cpu(eh->eh_entries), 915 if (!tocopy) { 952 neweh->eh_entries = ext2fs_cpu_to_le16(tocopy); 960 (ext2fs_le16_to_cpu(eh->eh_entries) - tocopy), 961 sizeof(struct ext3_extent_idx) * tocopy); 986 path->entries -= tocopy; 987 path->left -= tocopy; [all...] |
/external/icu/icu4c/source/common/ |
loclikely.cpp | 314 const int32_t toCopy = 324 toCopy); 326 capacityRemaining -= toCopy; 345 const int32_t toCopy = 351 toCopy); [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
SyncStorageEngine.java | 254 * @param toCopy AuthorityInfo to be copied. 256 AuthorityInfo(AuthorityInfo toCopy) { 257 target = toCopy.target; 258 ident = toCopy.ident; 259 enabled = toCopy.enabled; 260 syncable = toCopy.syncable; 261 backoffTime = toCopy.backoffTime; 262 backoffDelay = toCopy.backoffDelay; 263 delayUntil = toCopy.delayUntil; 265 for (PeriodicSync sync : toCopy.periodicSyncs) [all...] |
/external/libmtp/src/ |
libusb-glue.c | 1036 unsigned long tocopy = wantlen; local [all...] |
/libcore/libart/src/main/java/java/lang/ |
StringFactory.java | 224 public static native String newStringFromString(String toCopy);
|
/prebuilts/go/darwin-x86/src/reflect/ |
all_test.go | 560 for tocopy := 1; tocopy <= 7; tocopy++ { 561 aa.SetLen(tocopy) 564 for i := 0; i < tocopy; i++ { 566 t.Errorf("(i) tocopy=%d a[%d]=%d, b[%d]=%d", 567 tocopy, i, a[i], i, b[i]) 570 for i := tocopy; i < len(b); i++ { 573 t.Errorf("(ii) tocopy=%d a[%d]=%d, b[%d]=%d, c[%d]=%d", 574 tocopy, i, a[i], i, b[i], i, c[i] [all...] |
/prebuilts/go/linux-x86/src/reflect/ |
all_test.go | 560 for tocopy := 1; tocopy <= 7; tocopy++ { 561 aa.SetLen(tocopy) 564 for i := 0; i < tocopy; i++ { 566 t.Errorf("(i) tocopy=%d a[%d]=%d, b[%d]=%d", 567 tocopy, i, a[i], i, b[i]) 570 for i := tocopy; i < len(b); i++ { 573 t.Errorf("(ii) tocopy=%d a[%d]=%d, b[%d]=%d, c[%d]=%d", 574 tocopy, i, a[i], i, b[i], i, c[i] [all...] |