/external/guava/guava/src/com/google/common/hash/ |
AbstractStreamingHashFunction.java | 147 if (readBuffer.remaining() <= buffer.remaining()) { 161 while (readBuffer.remaining() >= chunkSize) { 223 if (buffer.remaining() > 0) { 233 if (buffer.remaining() < 8) { 241 while (buffer.remaining() >= chunkSize) { 246 buffer.compact(); // preserve any remaining data that do not make a full chunk
|
/frameworks/base/core/jni/android/opengl/ |
util.cpp | 756 getPointer(JNIEnv *_env, jobject buffer, jint *remaining) 768 *remaining = (limit - position) << elementSizeShift; 803 inline jint remaining() { function in class:android::BufferHelper 836 if (inB.remaining() < ETC1_DECODED_BLOCK_SIZE) { 837 doThrowIAE(env, "in's remaining data < DECODED_BLOCK_SIZE"); 838 } else if (outB.remaining() < ETC1_ENCODED_BLOCK_SIZE) { 839 doThrowIAE(env, "out's remaining data < ENCODED_BLOCK_SIZE"); 861 if (inB.remaining() < ETC1_ENCODED_BLOCK_SIZE) { 862 doThrowIAE(env, "in's remaining data < ENCODED_BLOCK_SIZE"); 863 } else if (outB.remaining() < ETC1_DECODED_BLOCK_SIZE) [all...] |
/external/zlib/src/contrib/untgz/ |
untgz.c | 392 int remaining = 0; local 414 remaining = 0; /* force I/O cleanup */ 470 remaining = getoct(buffer.header.size,12); 471 if (remaining == -1) 477 printf(" %s %9d %s\n",strtime(&tartime),remaining,fname); 505 remaining = getoct(buffer.header.size,12); 506 if (remaining < 0 || remaining >= BLOCKSIZE) 514 if (fname[BLOCKSIZE-1] != 0 || (int)strlen(fname) > remaining) 529 unsigned int bytes = (remaining > BLOCKSIZE) ? BLOCKSIZE : remaining [all...] |
/external/chromium_org/third_party/WebKit/ManualTests/ |
media-controls.html | 82 description: '<p>Should have "Rewind", "Play", "Mute" buttons, timeline with time current and remaining shown.</p>' + 84 '<p>"Play" button should turn into "Pause" when playing, with current and remaining time should changing and the thumb ' + 90 description: '<p>Should have "Rewind", "Play", "Mute" buttons, timeline with time current and remaining shown.</p>' + 92 '<p>"Play" button should turn into "Pause" when playing, with current and remaining time should changing and the thumb ' + 134 '<p>At a certain minimum point, the current and remaining time should disappear, giving up their space to the timeline.</p>' + 135 '<p>Conversely, when sizing the width up, the current and remaining time should come back into their places.', 141 '<p>The controls should have "Rewind", "Play", "Mute" buttons, timeline with time current and remaining shown.</p>', 154 '<p>The controls should have "Rewind", "Pause", "Mute" buttons, timeline with time current and remaining shown,' + 155 'with current and remaining time should changing and the thumb of the timeline gliding smoothly along the track, updated every 200ms or so.</p>' +
|
/external/chromium_org/courgette/ |
streams_unittest.cc | 27 EXPECT_EQ(0U, source.Remaining()); 45 EXPECT_EQ(0U, source.Remaining()); 71 EXPECT_EQ(0U, in.stream(3)->Remaining()); 72 EXPECT_EQ(0U, in.stream(2)->Remaining()); 114 EXPECT_EQ(0U, in.stream(i)->Remaining());
|
/external/chromium_org/third_party/libpng/ |
pngrio.c | 105 png_size_t read, remaining, err; local 107 remaining = length; 110 read = MIN(NEAR_BUF_SIZE, remaining); 123 remaining -= read; 125 while (remaining != 0);
|
/external/linux-tools-perf/perf-3.12.0/arch/metag/lib/ |
memcpy.S | 37 ! the source to the destination until the remaining data has an 8 byte 43 SUB D1Ar3, D1Ar3, #1 ! decrement count of remaining bytes 74 ! If there are any remaining bytes use the byte copy loop, otherwise we are done 175 ! If there are no remaining bytes to copy, we are done. 179 ! address of the remaining bytes, and fall through to the byte copy loop.
|
/external/qemu/distrib/libpng-1.2.46/ |
pngrio.c | 120 png_size_t read, remaining, err; local 122 remaining = length; 125 read = MIN(NEAR_BUF_SIZE, remaining); 138 remaining -= read; 140 while (remaining != 0);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
ByteBufferTest.java | 743 assertEquals(slice.limit(), buf.remaining()); 744 assertEquals(slice.capacity(), buf.remaining()); 779 while (charBuffer.remaining() > 0) { 790 while (charBuffer.remaining() > 0) { 802 while (charBuffer.remaining() > 0) { 803 value = (char) charBuffer.remaining(); 814 while (charBuffer.remaining() > 0) { 815 value = (char) charBuffer.remaining(); 835 while (doubleBuffer.remaining() > 0) { 849 while (doubleBuffer.remaining() > 0) [all...] |
/frameworks/av/media/mtp/ |
MtpDevice.cpp | 463 int remaining = info->mCompressedSize; local 468 writeDataHeader(MTP_OPERATION_SEND_OBJECT, remaining); 471 while (remaining > 0) { 476 remaining -= count; 483 return (remaining == 0 && ret == MTP_RESPONSE_OK); 592 uint32_t remaining = length; local 601 remaining -= initialDataLength; 615 while (remaining > 0 || writeBuffer) { 616 if (remaining > 0) { 618 req->buffer_length = (remaining > sizeof(buffer1) ? sizeof(buffer1) : remaining) 693 uint32_t remaining = length; local [all...] |
/external/chromium_org/components/cronet/android/java/src/org/chromium/net/ |
ChunkedWritableByteChannel.java | 45 int size = buffer.remaining(); 49 if (size <= mInitialBuffer.remaining()) { 105 int bufferSize = buffer.remaining();
|
/external/chromium_org/net/spdy/ |
spdy_buffer.h | 56 // If there are bytes remaining in the buffer, triggers a call to 60 // Returns the remaining (unconsumed) data. 63 // Returns the number of remaining (unconsumed) bytes.
|
spdy_buffer_unittest.cc | 28 // Make a string from the data remaining in |buffer|. 67 // update the remaining data pointer and size appropriately, as well 107 // points to the buffer's remaining data and isn't updated by
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
uoptions.c | 27 int i=1, remaining=1; local 117 argv[remaining++]=arg; 121 return remaining;
|
/external/chromium_org/tools/cr/cr/commands/ |
command.py | 15 accepted remaining arguments. 65 """Adds a remaining argument consumer to the parser. 67 A helper method that commands can use to consume all remaining arguments.
|
/external/chromium_org/tools/xdisplaycheck/ |
xdisplaycheck.cc | 24 struct timespec sleep_time, remaining; local 33 while (nanosleep(&sleep_time, &remaining) == -1 && errno == EINTR) 34 sleep_time = remaining;
|
/external/icu/icu4c/source/tools/toolutil/ |
uoptions.c | 27 int i=1, remaining=1; local 117 argv[remaining++]=arg; 121 return remaining;
|
/external/ipsec-tools/src/racoon/ |
throttle.c | 143 time_t remaining; local 146 remaining = te->penalty - now; 147 new = remaining + isakmp_cfg_config.auth_throttle;
|
/external/smack/src/org/xbill/DNS/ |
TypeBitmap.java | 38 while (in.remaining() > 0) { 39 if (in.remaining() < 2) 46 if (maplength > in.remaining())
|
/frameworks/base/core/java/com/android/internal/app/ |
IBatteryStats.aidl | 38 // Remaining methods are only used in Java. 43 // Return the computed amount of time remaining on battery, in milliseconds. 47 // Return the computed amount of time remaining to fully charge, in milliseconds.
|
/libcore/luni/src/main/java/libcore/io/ |
Posix.java | 116 return preadBytes(fd, buffer, buffer.position(), buffer.remaining(), offset); 118 return preadBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + buffer.position(), buffer.remaining(), offset); 128 return pwriteBytes(fd, buffer, buffer.position(), buffer.remaining(), offset); 130 return pwriteBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + buffer.position(), buffer.remaining(), offset); 140 return readBytes(fd, buffer, buffer.position(), buffer.remaining()); 142 return readBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + buffer.position(), buffer.remaining()); 154 return recvfromBytes(fd, buffer, buffer.position(), buffer.remaining(), flags, srcAddress); 156 return recvfromBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + buffer.position(), buffer.remaining(), flags, srcAddress); 169 return sendtoBytes(fd, buffer, buffer.position(), buffer.remaining(), flags, inetAddress, port); 171 return sendtoBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + buffer.position(), buffer.remaining(), flags, inetAddress, port) [all...] |
/build/tools/releasetools/ |
sparse_img.py | 163 remaining = self.care_map 171 assert ranges.size() == ranges.intersect(remaining).size() 172 remaining = remaining.subtract(ranges) 174 # For all the remaining blocks in the care_map (ie, those that 186 for s, e in remaining:
|
/external/chromium_org/cc/layers/ |
nine_patch_layer_impl_unittest.cc | 74 Region remaining(visible_content_rect); 80 EXPECT_TRUE(remaining.Contains(quad_rect)) << i; 81 remaining.Subtract(Region(quad_rect)); 87 EXPECT_RECT_EQ(expected_remaining, gfx::ToEnclosedRect(remaining.bounds())); 89 EXPECT_TRUE(remaining.bounds().IsEmpty()); 109 EXPECT_TRUE(remaining.bounds().IsEmpty());
|
/external/chromium_org/remoting/client/ |
audio_player_unittest.cc | 164 // Consume: 25 (w/ 75 remaining, offset 25 into packet) 187 // Remaining samples. 193 // Consume: 25, 25 (w/ 40 remaining, offset 30 into packet) 232 // Remaining samples. 238 // Consume: 25, 25, 25 (w/ 5 remaining, offset 25 into packet) 289 // Remaining samples.
|
/frameworks/base/libs/androidfw/ |
BackupData.cpp | 344 int remaining = m_dataEndPos - m_pos; local 345 //ALOGD("ReadEntityData size=%d m_pos=0x%x m_dataEndPos=0x%x remaining=%d\n", 346 // size, m_pos, m_dataEndPos, remaining); 347 if (remaining <= 0) { 350 if (((int)size) > remaining) { 351 size = remaining;
|