/frameworks/base/core/jni/android/graphics/ |
Utils.cpp | 32 ssize_t amount; local 39 // we want to return amount that was skipped 51 amount = newOffset - oldOffset; 53 amount = fAsset->read(buffer, size); 54 if (amount <= 0) { 55 SkDebugf("---- fAsset->read(%d) returned %d\n", size, amount); 59 if (amount < 0) { 60 amount = 0; 62 return amount;
|
CreateJavaOutputStreamAdaptor.cpp | 120 size_t amount = this->doSkip(size - amountSkipped); local 121 if (0 == amount) { 123 amount = this->doRead(&tmp, 1); 124 if (0 == amount) { 129 amountSkipped += amount;
|
Typeface.cpp | 81 ssize_t amount; local 89 // we want to return amount that was skipped 98 amount = newOffset - oldOffset; 102 amount = fAsset->read(buffer, size); 105 if (amount < 0) 106 amount = 0; 107 return amount;
|
/external/chromium/net/base/ |
sdch_filter.cc | 258 int amount = OutputBufferExcess(dest_buffer, available_space); local 259 *dest_len += amount; 260 dest_buffer += amount; 261 available_space -= amount; 305 amount = OutputBufferExcess(dest_buffer, available_space); 306 *dest_len += amount; 307 dest_buffer += amount; 308 available_space -= amount; 377 size_t amount = std::min(available_space, local 380 amount); [all...] |
net_util.cc | 743 explicit SubtractFromOffset(size_t amount) 744 : amount(amount) {} 747 if (offset >= amount) 748 offset -= amount; 754 size_t amount; member in struct:net::__anon3569::SubtractFromOffset 758 explicit AddToOffset(size_t amount) 759 : amount(amount) {} 762 offset += amount; 765 size_t amount; member in struct:net::__anon3569::AddToOffset [all...] |
/external/oprofile/daemon/liblegacy/ |
opd_sample_files.c | 41 int amount = LRU_AMOUNT; local 49 if (!--amount)
|
/frameworks/base/core/jni/ |
android_ddm_DdmHandleNativeHeap.cpp | 77 int amount = 0; local 80 amount = read(fd, ptr, MAPS_FILE_SIZE); 81 if (amount <= 0) { 87 header.mapSize += amount;
|
/sdk/chimpchat/src/com/android/chimpchat/adb/ |
LinearInterpolator.java | 101 private static float lerp(float start, float stop, float amount) { 102 return start + (stop - start) * amount; 115 float amount = (float) (1.0 / steps); local 120 float newX = lerp(start.getX(), end.getX(), amount * i); 121 float newY = lerp(start.getY(), end.getY(), amount * i);
|
/frameworks/base/core/java/android/webkit/ |
ByteArrayBuilder.java | 59 int amount = Math.min(length, c.mArray.length - c.mLength); local 60 System.arraycopy(array, offset, c.mArray, c.mLength, amount); 61 c.mLength += amount; 62 length -= amount; 63 offset += amount;
|
StreamLoader.java | 179 int amount = mDataStream.read(mData); local 180 if (amount > 0) { 181 mLoadListener.data(mData, amount);
|
/development/samples/BrowserPlugin/jni/audio/ |
AudioPlugin.cpp | 71 size_t amount = fread(buffer->bufferData, 1, buffer->size, play->file); local 72 buffer->size = amount; 73 if (amount == 0) {
|
/external/oprofile/daemon/ |
opd_sfile.c | 606 int amount = LRU_AMOUNT; local 613 if (!--amount)
|
/external/speex/libspeex/ |
scal.c | 140 float amount; local 147 amount = .01*strength; 174 beta = 1.-.3*amount*amount; 175 if (amount>1) 176 beta = 1-sqrt(.4*amount); 178 beta = 1-0.63246*amount; 200 max_alpha = pow(.96+.04*(amount-1),order); 231 float coef = M_PI*0.075063 * 0.93763 * amount * .8 * 0.707;
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
ImageSourceCG.cpp | 59 size_t amount = min<size_t>(count, sourceSize - position); local 60 memcpy(buffer, source, amount); 61 return amount;
|
/libcore/luni/src/test/java/tests/api/org/apache/harmony/kernel/dalvik/ |
ThreadsTest.java | 126 /** whether {@link #amount} is milliseconds to wait in an 131 /** amount to wait (see above) */ 132 private final long amount; field in class:ThreadsTest.Parker 154 this.amount = absolute ? parkMillis : parkMillis * 1000000; 159 long amount = this.amount; local 163 UNSAFE.park(true, start + amount); 165 UNSAFE.park(false, amount); 181 * @param maxWaitMillis the maximum amount of time to 231 * specified amount of time and then unparks an indicated thread [all...] |
/external/v8/src/ |
heap-inl.h | 427 // after we have accumulated a certain amount we failed to flatten. 446 int amount = amount_of_external_allocated_memory_ + change_in_bytes; local 449 if (amount > amount_of_external_allocated_memory_) { 450 amount_of_external_allocated_memory_ = amount; 460 if (amount >= 0) { 461 amount_of_external_allocated_memory_ = amount;
|
/external/chromium/chrome/browser/download/ |
download_util.cc | 682 string16 amount = received_size; local 686 base::i18n::AdjustStringForLocaleDirection(&amount); 694 amount = l10n_util::GetStringFUTF16(IDS_DOWNLOAD_TAB_PROGRESS_SIZE, 698 amount.assign(received_size); 713 base::i18n::AdjustStringForLocaleDirection(&amount); 715 IDS_DOWNLOAD_TAB_PROGRESS_STATUS_TIME_UNKNOWN, speed_text, amount); 718 speed_text, amount, time_remaining); [all...] |
/external/libxslt/libxslt/ |
numbers.c | 543 int amount = 0; local 614 array[amount++] = (double) cnt; 620 return(amount); 633 int amount = 0; local 686 array[amount++] = (double)cnt; 687 if (amount >= max) 695 return amount; 704 int amount = 0; local 718 amount++; 723 return amount; 740 int amount, i; local [all...] |
/system/core/sh/ |
expand.c | 491 int amount; local 505 amount = startp - expdest; 506 STADJUST(amount, expdest); 584 amount = ((str - 1) - (loc - startp)) - expdest; 585 STADJUST(amount, expdest); 591 amount = loc - expdest; 592 STADJUST(amount, expdest); 723 int amount = (expdest - stackblock() - patloc) + 1; local 724 STADJUST(-amount, expdest);
|
/external/icu4c/i18n/ |
tmutfmt.cpp | 205 const TimeUnitAmount* amount = dynamic_cast<const TimeUnitAmount*>(formatObj); local 206 if (amount != NULL){ 207 Hashtable* countToPattern = fTimeUnitToCountToPatterns[amount->getTimeUnitField()]; 209 const Formattable& amtNumber = amount->getNumber(); [all...] |
/external/icu4c/test/intltest/ |
caltest.cpp | 1836 int32_t amount; local [all...] |
/external/opencv/ml/src/ |
ml_inner_functions.cpp | 161 int amount = sample->rows; local 172 for( i = 0; i < amount; i++ ) 183 /* Generates <sample> of <amount> points from a discrete variate xi, 185 CV_IMPL void cvRandSeries( float probs[], int len, int sample[], int amount ) 187 CvMat* univals = cvCreateMat(1, amount, CV_32FC1); 199 for( i = 0; i < amount; i++ ) 221 int amount = sample->rows; local 225 int* sample_clsnum = (int*)cvAlloc( amount * sizeof(int) ); 233 classes = cvCreateMat(1, amount, CV_32FC1); 238 cvRandSeries(weights, clsnum, sample_clsnum, amount); [all...] |
/external/skia/src/pdf/ |
SkPDFFont.cpp | 165 size_t amount; local 166 while ((amount = srcStream->read(buf, bufSize)) > 0) 167 dynamicStream.write(buf, amount); 168 amount = 0; 169 dynamicStream.write(&amount, 1); // NULL terminator. [all...] |
/external/libvpx/examples/includes/PHP-Markdown-Extra-1.2.3/ |
markdown.php | 1617 $amount = $this->tab_width - variable [all...] |
/external/qemu/ |
arm-dis.c | 1599 int amount = (given & 0xf80) >> 7; local [all...] |