/libcore/luni/src/main/java/libcore/base/ |
Streams.java | 52 long skipped = 0; local 53 while (skipped < byteCount) { 54 int toRead = (int) Math.min(byteCount - skipped, buffer.length); 59 skipped += read; 68 return skipped;
|
/external/guava/src/com/google/common/io/ |
LimitInputStream.java | 98 long skipped = in.skip(n); local 99 left -= skipped; 100 return skipped;
|
/libcore/luni/src/main/java/java/util/zip/ |
CheckedInputStream.java | 105 * Skip up to n bytes of data on the underlying input stream. Any skipped 112 * @return the number of bytes skipped. 119 long skipped = 0; local 122 while (skipped != nbytes) { 124 (v = (int) (nbytes - skipped)) > b.length ? b.length : v); 126 return skipped; 129 skipped += x; 131 return skipped;
|
ZipInputStream.java | 357 * @return the number of bytes skipped. 367 long skipped = 0; local 369 while (skipped != value) { 370 long rem = value - skipped; 373 return skipped; 375 skipped += x; 377 return skipped;
|
/libcore/luni/src/main/java/java/io/ |
Reader.java | 217 * @return the number of characters actually skipped. 231 long skipped = 0; local 234 while (skipped < count) { 237 return skipped; 239 skipped += read; 241 return skipped; 243 if (count - skipped < toRead) { 244 toRead = (int) (count - skipped); 247 return skipped;
|
DataInputStream.java | 468 * input is reached before {@code count} bytes where skipped. 472 * @return the number of bytes actually skipped. 479 int skipped = 0; local 481 while (skipped < count && (skip = in.skip(count - skipped)) != 0) { 482 skipped += skip; 485 // if (skipped < 0) { 489 return skipped;
|
/libcore/support/src/test/java/tests/support/ |
Support_StringReader.java | 222 * @return the number of characters actually skipped. 234 long skipped = 0; local 237 skipped = count; 239 skipped = this.count - pos; 242 return skipped;
|
/external/protobuf/src/google/protobuf/io/ |
zero_copy_stream_impl_lite.cc | 191 int skipped = 0; local 192 while (skipped < count) { 193 int bytes = Read(junk, min(count - skipped, 197 return skipped; 199 skipped += bytes; 201 return skipped; 285 int skipped = copying_stream_->Skip(count); local 286 position_ += skipped; 287 return skipped == count;
|
/frameworks/base/core/jni/android/graphics/ |
CreateJavaOutputStreamAdaptor.cpp | 81 jlong skipped = env->CallLongMethod(fJavaInputStream, local 89 if (skipped < 0) { 90 skipped = 0; 93 return (size_t)skipped;
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherInputStream1Test.java | 225 int skipped = (int) cis.skip(2); local 226 int ind = skipped; 227 int got = skipped + cis.read(result, 0, 1); // the number of got bytes
|
/libcore/luni/src/test/java/tests/api/java/io/ |
CharArrayReaderTest.java | 310 long skipped = 0; local 312 skipped = cr.skip(5L); 314 5L, skipped); 315 assertEquals("Test 2: Skip skipped wrong chars;",
|
LineNumberInputStreamTest.java | 272 long skipped = lnis.skip(4); local 273 assertEquals("Test 1: Incorrect number of characters skipped;", 274 4, skipped);
|
LineNumberReaderTest.java | 337 long skipped = lnr.skip(80); local 338 assertEquals("Test 1: Incorrect number of characters skipped;", 339 80, skipped);
|
DataInputStreamTest.java | 475 int skipped = 0; local 478 skipped = dis.skipBytes(50000); 483 assertTrue("Skipped should report " + testLength + " not " 484 + skipped, skipped == testLength);
|
/external/chromium/base/ |
process_util_linux.cc | 124 int skipped = 0; local 126 while (skipped < kSkipLimit) { 142 skipped++; 177 if (skipped >= kSkipLimit) {
|
/external/chromium/net/tools/flip_server/ |
epoll_server.cc | 515 const bool skipped = local 519 << " and should be skipped = " << skipped;
|
/external/freetype/src/autofit/ |
afcjk.c | 1027 FT_Int skipped = 0; local 1043 skipped++; [all...] |
/frameworks/base/core/java/android/widget/ |
TableLayout.java | 574 int skipped = 0; local 598 skipped++; 611 if (skipped > 0 && skipped < count) { 613 extraSpace = skipped * extraSpace / (count - skipped);
|
/frameworks/base/voip/jni/rtp/ |
AudioGroup.cpp | 253 int skipped = (tick - mTick) / mInterval; local 254 mTick += skipped * mInterval; 255 mSequence += skipped; 256 mTimestamp += skipped * mSampleCount; 257 LOGV("stream[%d] skips %d packets", mSocket, skipped);
|
/system/core/adb/ |
file_sync_client.c | 678 int skipped = 0; local 728 skipped++; 733 fprintf(stderr,"%d file%s pushed. %d file%s skipped.\n", 735 skipped, (skipped == 1) ? "" : "s"); 876 int skipped = 0; local 930 skipped++; 935 fprintf(stderr, "%d file%s pulled. %d file%s skipped.\n", 937 skipped, (skipped == 1) ? "" : "s") [all...] |
/dalvik/hit/src/com/android/hit/ |
HprofParser.java | 606 long skipped = mInput.skip(numBytes); local 608 numBytes -= skipped;
|
/external/bluetooth/glib/tests/ |
testglib.c | 882 const gchar *skipped = g_path_skip_root (skip_root_checks[i].filename); local 883 if ((skipped && !skip_root_checks[i].without_root) || 884 (!skipped && skip_root_checks[i].without_root) || 885 ((skipped && skip_root_checks[i].without_root) && 886 strcmp (skipped, skip_root_checks[i].without_root))) 892 (skipped ? skipped : "<NULL>")); [all...] |
/external/chromium/third_party/icu/source/io/ |
uscanf_p.c | 88 UBool fSkipArg; /* TRUE if arg should be skipped */ 425 int32_t skipped; local 430 skipped = u_scanf_skip_leading_ws(input, info->fPadChar); 450 skipped += u_scanf_skip_leading_positive_sign(input, format, &status); 473 return parsePos + skipped; 488 int32_t skipped; local 493 skipped = u_scanf_skip_leading_ws(input, info->fPadChar); 513 skipped += u_scanf_skip_leading_positive_sign(input, format, &status); 536 return parsePos + skipped; 553 int32_t skipped; local 641 int32_t skipped; local 714 int32_t skipped; local 775 int32_t skipped = 0; local 869 int32_t skipped = 0; local 939 int32_t skipped; local 995 int32_t skipped; local 1051 int32_t skipped; local 1098 int32_t skipped; local [all...] |
/external/icu4c/io/ |
uscanf_p.c | 88 UBool fSkipArg; /* TRUE if arg should be skipped */ 425 int32_t skipped; local 430 skipped = u_scanf_skip_leading_ws(input, info->fPadChar); 450 skipped += u_scanf_skip_leading_positive_sign(input, format, &status); 473 return parsePos + skipped; 488 int32_t skipped; local 493 skipped = u_scanf_skip_leading_ws(input, info->fPadChar); 513 skipped += u_scanf_skip_leading_positive_sign(input, format, &status); 536 return parsePos + skipped; 553 int32_t skipped; local 641 int32_t skipped; local 714 int32_t skipped; local 775 int32_t skipped = 0; local 869 int32_t skipped = 0; local 939 int32_t skipped; local 995 int32_t skipped; local 1051 int32_t skipped; local 1098 int32_t skipped; local [all...] |
/external/v8/src/ |
serialize.cc | 1275 int skipped = up_to_offset - bytes_processed_so_far_; local [all...] |