Home
last modified time | relevance | path

Searched refs:remaining (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/external/chromium/chrome/browser/safe_browsing/
Dprotocol_parser.cc258 int remaining = length; in ParseChunk() local
266 while (remaining > 0) { in ParseChunk()
273 remaining -= line_len; in ParseChunk()
298 if (remaining < chunk_len) in ParseChunk()
320 remaining -= chunk_len; in ParseChunk()
321 DCHECK_LE(0, remaining); in ParseChunk()
324 DCHECK(remaining == 0); in ParseChunk()
335 int remaining = data_len; in ParseAddChunk() local
342 DCHECK_EQ(0, remaining % hash_len); in ParseAddChunk()
343 prefix_count = remaining / hash_len; in ParseAddChunk()
[all …]
Dprotocol_parser.h119 int* remaining,
122 static int ReadChunkId(const char** data, int* remaining);
124 const char** data, int* remaining, SBEntry* entry, int count);
/external/chromium/chrome/browser/chromeos/
Dlow_battery_observer.cc33 base::TimeDelta remaining = object->battery_time_to_empty(); in PowerChanged() local
34 int remaining_minutes = remaining.InMinutes(); in PowerChanged()
40 bool line_power = object->line_power_on() || remaining == base::TimeDelta(); in PowerChanged()
64 Show(remaining, urgent); in PowerChanged()
68 Show(remaining, urgent); in PowerChanged()
73 void LowBatteryObserver::Show(base::TimeDelta remaining, bool urgent) { in Show() argument
75 TimeFormat::TimeRemaining(remaining)), urgent, true); in Show()
76 remaining_ = remaining.InMinutes(); in Show()
/external/webkit/Source/WebCore/rendering/mathml/
DRenderMathMLOperator.cpp231 int remaining = half - gGlyphHeight; in updateFromElement() local
232 while (remaining > 0) { in updateFromElement()
233 if (remaining < gGlyphHeight) { in updateFromElement()
234 createGlyph(stretchyCharacters[index].extensionGlyph, remaining); in updateFromElement()
235 remaining = 0; in updateFromElement()
238 remaining -= gGlyphHeight; in updateFromElement()
246 remaining = half - gGlyphHeight; in updateFromElement()
249 remaining++; in updateFromElement()
252 while (remaining > 0) { in updateFromElement()
253 if (remaining < gGlyphHeight) { in updateFromElement()
[all …]
/external/oprofile/daemon/
Dopd_trans.c55 if (!trans->remaining) { in pop_buffer_value()
68 trans->remaining--; in pop_buffer_value()
76 if (trans->remaining >= size) in enough_remaining()
90 trans->remaining = 0; in opd_put_sample()
147 trans->remaining = 0; in code_ctx_switch()
174 trans->remaining = 0; in code_cpu_switch()
188 trans->remaining = 0; in code_cookie_switch()
294 .remaining = count, in opd_process_samples()
324 while (trans.remaining) { in opd_process_samples()
332 if (!trans.remaining) { in opd_process_samples()
/external/icu4c/common/
Dustr_wcs.c154 int32_t remaining = intTargetCapacity; in _strToWCS() local
164 retVal = uprv_mbstowcs(pIntTarget,(tempBuf+nulLen),remaining); in _strToWCS()
169 }else if(retVal== remaining){/* should never occur */ in _strToWCS()
177 remaining=intTargetCapacity; in _strToWCS()
181 remaining-=numWritten; in _strToWCS()
192 remaining -=(retVal+nulVal); in _strToWCS()
338 int32_t remaining =cStackCap; in _strFromWCS() local
351 if(remaining < (nulLen * MB_CUR_MAX)){ in _strFromWCS()
361 remaining = cStackCap-(pCSrc - pCSave); in _strFromWCS()
367 retVal = uprv_wcstombs(pCSrc,pSrc,remaining); in _strFromWCS()
[all …]
Dubidiwrt.c97 int32_t remaining=destSize; in doWriteForward() local
102 if(--remaining<0) { in doWriteForward()
109 --remaining; in doWriteForward()
112 return destSize-remaining; in doWriteForward()
117 return destSize-remaining; in doWriteForward()
121 int32_t remaining=destSize; in doWriteForward() local
130 remaining-=i; in doWriteForward()
131 if(remaining<0) { in doWriteForward()
138 --remaining; in doWriteForward()
142 return destSize-remaining; in doWriteForward()
/external/srec/portable/src/
Dptimer.c212 struct itimerspec remaining; in PTimerStop() local
216 if (timer_gettime(timer->timer, &remaining) != 0) return ESR_NOT_SUPPORTED; in PTimerStop()
220 timer->elapsed = (asr_uint32_t) ((TIMER_MAX_VAL - remaining.it_value.tv_sec) * SECOND2MSECOND in PTimerStop()
221 - remaining.it_value.tv_nsec / MSECOND2NSECOND); in PTimerStop()
239 struct itimerspec remaining; in PTimerGetElapsed() local
240 if (timer_gettime(timer->timer, &remaining) != 0) return ESR_NOT_SUPPORTED; in PTimerGetElapsed()
241 *elapsed = (asr_uint32_t) ((TIMER_MAX_VAL - remaining.it_value.tv_sec) * SECOND2MSECOND in PTimerGetElapsed()
242 - remaining.it_value.tv_nsec / MSECOND2NSECOND); in PTimerGetElapsed()
/external/opencv/cxcore/src/
Dcxnorm.cpp143 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/zlib/contrib/untgz/
Duntgz.c392 int remaining = 0; in tar() local
414 remaining = 0; /* force I/O cleanup */ in tar()
470 remaining = getoct(buffer.header.size,12); in tar()
471 if (remaining == -1) in tar()
477 printf(" %s %9d %s\n",strtime(&tartime),remaining,fname); in tar()
505 remaining = getoct(buffer.header.size,12); in tar()
506 if (remaining < 0 || remaining >= BLOCKSIZE) in tar()
514 if (fname[BLOCKSIZE-1] != 0 || (int)strlen(fname) > remaining) in tar()
529 unsigned int bytes = (remaining > BLOCKSIZE) ? BLOCKSIZE : remaining; in tar()
542 remaining -= bytes; in tar()
[all …]
/external/apache-http/src/org/apache/http/entity/
DInputStreamEntity.java90 long remaining = this.length; in writeTo() local
91 while (remaining > 0) { in writeTo()
92 l = instream.read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining)); in writeTo()
97 remaining -= l; in writeTo()
/external/skia/src/core/
DSkWriter32.cpp145 size_t remaining = fSingleBlockSize - fSize; in readFromStream() local
146 if (length > remaining) { in readFromStream()
147 length = remaining; in readFromStream()
156 size_t remaining = length; in readFromStream() local
158 while (remaining != 0) { in readFromStream()
159 size_t n = remaining; in readFromStream()
165 remaining -= bytes; in readFromStream()
170 return length - remaining; in readFromStream()
/external/llvm/tools/llvm-ar/
Dllvm-ar.cpp545 std::set<sys::Path> remaining(Paths); in doMove() local
550 I != E && !remaining.empty(); ++I ) { in doMove()
552 std::find(remaining.begin(),remaining.end(),I->getPath()); in doMove()
553 if (found != remaining.end()) { in doMove()
556 remaining.erase(found); in doMove()
605 std::set<sys::Path> remaining(Paths); in doReplaceOrInsert() local
612 I != E && !remaining.empty(); ++I ) { in doReplaceOrInsert()
617 std::set<sys::Path>::iterator found = remaining.end(); in doReplaceOrInsert()
618 for (std::set<sys::Path>::iterator RI = remaining.begin(), in doReplaceOrInsert()
619 RE = remaining.end(); RI != RE; ++RI ) { in doReplaceOrInsert()
[all …]
/external/qemu/distrib/libpng-1.2.19/
Dpngrio.c96 png_size_t read, remaining, err; in png_default_read_data() local
98 remaining = length; in png_default_read_data()
101 read = MIN(NEAR_BUF_SIZE, remaining); in png_default_read_data()
114 remaining -= read; in png_default_read_data()
116 while (remaining != 0); in png_default_read_data()
Dpngwio.c90 png_size_t written, remaining, err; in png_default_write_data() local
92 remaining = length; in png_default_write_data()
95 written = MIN(NEAR_BUF_SIZE, remaining); in png_default_write_data()
108 remaining -= written; in png_default_write_data()
110 while (remaining != 0); in png_default_write_data()
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/
DByteBufferTest.java743 assertEquals(slice.limit(), buf.remaining()); in testSlice()
744 assertEquals(slice.capacity(), buf.remaining()); in testSlice()
779 while (charBuffer.remaining() > 0) { in testAsCharBuffer()
790 while (charBuffer.remaining() > 0) { in testAsCharBuffer()
802 while (charBuffer.remaining() > 0) { in testAsCharBuffer()
803 value = (char) charBuffer.remaining(); in testAsCharBuffer()
814 while (charBuffer.remaining() > 0) { in testAsCharBuffer()
815 value = (char) charBuffer.remaining(); in testAsCharBuffer()
835 while (doubleBuffer.remaining() > 0) { in testAsDoubleBuffer()
849 while (doubleBuffer.remaining() > 0) { in testAsDoubleBuffer()
[all …]
/external/apache-http/src/org/apache/http/impl/io/
DContentLengthInputStream.java206 long remaining = Math.min(n, this.contentLength - this.pos); in skip() local
209 while (remaining > 0) { in skip()
210 int l = read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining)); in skip()
215 remaining -= l; in skip()
/external/libpng/
Dpngrio.c120 png_size_t read, remaining, err; in png_default_read_data() local
122 remaining = length; in png_default_read_data()
125 read = MIN(NEAR_BUF_SIZE, remaining); in png_default_read_data()
138 remaining -= read; in png_default_read_data()
140 while (remaining != 0); in png_default_read_data()
Dpngwio.c98 png_size_t written, remaining, err; in png_default_write_data() local
100 remaining = length; in png_default_write_data()
103 written = MIN(NEAR_BUF_SIZE, remaining); in png_default_write_data()
118 remaining -= written; in png_default_write_data()
120 while (remaining != 0); in png_default_write_data()
/external/qemu/distrib/sdl-1.2.12/src/audio/macosx/
DSDL_coreaudio.c98 UInt32 remaining, len; in audioCallback() local
115 remaining = ioData->mDataByteSize; in audioCallback()
117 while (remaining > 0) { in audioCallback()
129 if (len > remaining) in audioCallback()
130 len = remaining; in audioCallback()
133 remaining -= len; in audioCallback()
/external/llvm/test/FrontendC/
D2002-07-14-MiscTests.c30 static int remaining; variable
34 if (size>remaining) in localmalloc()
37 remaining = 32768; in localmalloc()
/external/chromium/net/url_request/
Durl_request_simple_job.cc43 int remaining = static_cast<int>(data_.size()) - data_offset_; in ReadRawData() local
44 if (buf_size > remaining) in ReadRawData()
45 buf_size = remaining; in ReadRawData()
/external/chromium/chrome/browser/download/
Ddownload_item_model.cc45 TimeDelta remaining; in GetStatusText() local
49 } else if (download_->TimeRemaining(&remaining)) { in GetStatusText()
51 TimeFormat::TimeRemainingShort(remaining) : in GetStatusText()
52 TimeFormat::TimeRemaining(remaining); in GetStatusText()
/external/webkit/Source/WebCore/platform/network/
DBlobResourceHandle.cpp331 int remaining = length; in readSync() local
332 while (remaining) { in readSync()
344 bytesRead = readDataSync(item, buf + offset, remaining); in readSync()
346 bytesRead = readFileSync(item, buf + offset, remaining); in readSync()
352 remaining -= bytesRead; in readSync()
360 result = length - remaining; in readSync()
373 long long remaining = item.length - m_currentItemReadSize; in readDataSync() local
374 int bytesToRead = (length > remaining) ? static_cast<int>(remaining) : length; in readDataSync()
/external/icu4c/tools/toolutil/
Ducbuf.c43 int32_t remaining; member
185 buf->remaining-=inputRead; in ucbuf_fillucbuf()
195 buf->remaining-=inputRead; in ucbuf_fillucbuf()
200 buf->remaining = 0; in ucbuf_fillucbuf()
221 (UBool)(buf->remaining==0),error); in ucbuf_fillucbuf()
290 (UBool)(buf->remaining==0),&error1); in ucbuf_fillucbuf()
308 outputWritten=((buf->remaining>cbufSize)? cbufSize:inputRead+offset); in ucbuf_fillucbuf()
328 if(buf->remaining==0){ in ucbuf_getc()
348 if(buf->remaining==0){ in ucbuf_getc32()
499 buf->remaining=fileSize-buf->signatureLength; in ucbuf_open()
[all …]

12345678910>>...13