/external/apache-http/src/org/apache/http/impl/io/ |
AbstractSessionOutputBuffer.java | 153 int remaining = s.length(); local 154 while (remaining > 0) { 156 chunk = Math.min(chunk, remaining); 164 remaining -= chunk;
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/audio/plugins/ |
WAVLoader.java | 104 int remaining = size - 16; local 105 if (remaining > 0){ 106 in.skipBytes(remaining); 115 data.put(buf, 0, Math.min(read, data.remaining()) );
|
/external/llvm/tools/llvm-ar/ |
llvm-ar.cpp | 39 // llvm-ar remaining positional arguments. 167 // getMembers - Copy over remaining items in RestOfArgs to our Members vector 544 // Keep a list of the paths remaining to be moved 545 std::set<sys::Path> remaining(Paths); 550 I != E && !remaining.empty(); ++I ) { 552 std::find(remaining.begin(),remaining.end(),I->getPath()); 553 if (found != remaining.end()) { 556 remaining.erase(found); 605 std::set<sys::Path> remaining(Paths) [all...] |
/external/webkit/Source/WebCore/editing/ |
SpellChecker.cpp | 122 int remaining = distance; local 127 if (remaining < last) { 128 iterator.setOffsetInLeafNode(iterator.offsetInLeafNode() + remaining); 132 remaining -= last;
|
/frameworks/ex/variablespeed/jni/ |
ring_buffer.cc | 110 int remaining = num_frames - wrapped; local 112 num_channels_ * remaining * sizeof(destination[0])); 145 int remaining = num_frames - wrapped; local 147 num_channels_ * remaining * sizeof(source[0]));
|
/libcore/luni/src/main/java/java/nio/ |
DoubleArrayBuffer.java | 68 if (doubleCount > remaining()) {
|
FloatArrayBuffer.java | 68 if (floatCount > remaining()) {
|
IntArrayBuffer.java | 68 if (intCount > remaining()) {
|
LongArrayBuffer.java | 68 if (longCount > remaining()) {
|
ShortArrayBuffer.java | 68 if (shortCount > remaining()) {
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
SSLEngineDataStream.java | 53 available += srcs[i].remaining();
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
SmsMessageTest.java | 138 private void assertRemaining(int messageLength, int remaining) { 140 assertTrue(checkRemaining(SEPTETS_SKT, messageLength, remaining) 141 || checkRemaining(SmsMessage.MAX_USER_DATA_SEPTETS, messageLength, remaining)); 143 assertTrue(checkRemaining(SEPTETS_KT, messageLength, remaining) 144 || checkRemaining(SmsMessage.MAX_USER_DATA_SEPTETS, messageLength, remaining)); 146 assertTrue(checkRemaining(SmsMessage.MAX_USER_DATA_SEPTETS, messageLength, remaining)); 150 private boolean checkRemaining(int total, int messageLength, int remaining) { 151 return total - messageLength == remaining;
|
/libcore/luni/src/main/java/java/nio/charset/ |
CharsetDecoder.java | 154 * This method decodes the remaining byte sequence of the given byte buffer 186 int length = (int) (in.remaining() * averageCharsPerByte); 228 * original output is full and doesn't have remaining. allocate more space 260 * is no further input and no remaining bytes in the input buffer then this 284 * remaining input to be treated as malformed input. 334 int remaining = in.remaining(); local 336 if (endOfInput && remaining > 0) { 337 result = CoderResult.malformedForLength(remaining); 352 if (out.remaining() < replacementChars.length()) [all...] |
/external/icu4c/common/ |
ubidiwrt.c | 97 int32_t remaining=destSize; local 102 if(--remaining<0) { 109 --remaining; 112 return destSize-remaining; 117 return destSize-remaining; 121 int32_t remaining=destSize; local 130 remaining-=i; 131 if(remaining<0) { 138 --remaining; 142 return destSize-remaining; [all...] |
/external/opencv/cxcore/src/ |
cxnorm.cpp | 143 int remaining = block_size; \ 153 int limit = MIN( remaining, size.width - x ); \ 154 remaining -= limit; \ 157 if( remaining == 0 ) \ 159 remaining = block_size; \ 222 int remaining = block_size; \ 233 int limit = MIN( remaining, size.width - x ); \ 234 remaining -= limit; \ 238 if( remaining == 0 ) \ 240 remaining = block_size; [all...] |
/external/icu4c/tools/toolutil/ |
ucbuf.c | 43 int32_t remaining; member in struct:UCHARBUF 185 buf->remaining-=inputRead; 195 buf->remaining-=inputRead; 200 buf->remaining = 0; 221 (UBool)(buf->remaining==0),error); 290 (UBool)(buf->remaining==0),&error1); 308 outputWritten=((buf->remaining>cbufSize)? cbufSize:inputRead+offset); 328 if(buf->remaining==0){ 348 if(buf->remaining==0){ 499 buf->remaining=fileSize-buf->signatureLength [all...] |
/external/webkit/Source/WebCore/platform/network/ |
BlobResourceHandle.cpp | 317 // Adjust the total remaining size in order not to go beyond the range. 331 int remaining = length; local 332 while (remaining) { 337 // If there is no more remaining data to read, we are done. 344 bytesRead = readDataSync(item, buf + offset, remaining); 346 bytesRead = readFileSync(item, buf + offset, remaining); 352 remaining -= bytesRead; 360 result = length - remaining; 373 long long remaining = item.length - m_currentItemReadSize; local 374 int bytesToRead = (length > remaining) ? static_cast<int>(remaining) : length [all...] |
/external/elfutils/src/ |
ranlib.c | 107 int remaining; local 108 (void) argp_parse (&argp, argc, argv, ARGP_IN_ORDER, &remaining, NULL); 114 if (remaining == argc) 124 status |= handle_file (argv[remaining]); 125 while (++remaining < argc);
|
/external/elfutils/tests/ |
allregs.c | 175 int remaining; local 181 (void) argp_parse (dwfl_standard_argp (), argc, argv, 0, &remaining, &dwfl); local 188 if (remaining == argc) 217 const char *arg = argv[remaining++]; 224 while (remaining < argc);
|
/libcore/luni/src/test/java/libcore/java/security/ |
ProviderTest.java | 43 Map<String,Set<String>> remaining local 45 for (Entry<String,Set<String>> entry : remaining.entrySet()) { 74 // remove from remaining, assert unknown if missing 75 Set<String> algorithms = remaining.get(type); 88 remaining.remove(type); 110 assertEquals("Missing algorithms", Collections.EMPTY_MAP, remaining);
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/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...] |
/dalvik/vm/ |
StdioConverter.cpp | 260 int remaining = data->count - (start - data->buf); local 261 memmove(data->buf, start, remaining); 262 data->count = remaining;
|
/external/chromium/base/threading/ |
platform_thread_posix.cc | 142 struct timespec sleep_time, remaining; local 151 while (nanosleep(&sleep_time, &remaining) == -1 && errno == EINTR) 152 sleep_time = remaining;
|
/external/chromium/chrome/browser/net/ |
view_http_cache_job_factory.cc | 162 int remaining = static_cast<int>(data_.size()) - data_offset_; local 163 if (buf_size > remaining) 164 buf_size = remaining;
|