HomeSort by relevance Sort by last modified time
    Searched defs:amount (Results 1 - 25 of 76) sorted by null

1 2 3 4

  /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/jmonkeyengine/engine/src/core/com/jme3/font/
Kerning.java 45 private int amount; field in class:Kerning
56 return amount;
59 public void setAmount(int amount) {
60 this.amount = amount;
66 oc.write(amount, "amount", 0);
72 amount = ic.readInt("amount", 0);
  /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::__anon4919::SubtractFromOffset
758 explicit AddToOffset(size_t amount)
759 : amount(amount) {}
762 offset += amount;
765 size_t amount; member in struct:net::__anon4919::AddToOffset
    [all...]
  /external/oprofile/daemon/liblegacy/
opd_sample_files.c 41 int amount = LRU_AMOUNT; local
49 if (!--amount)
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/
DnaBlockData.java 81 int amount = inputStream.readInt(); local
82 if (amount <= 0) {
83 throw new BlenderFileException("The names amount number should be positive!");
85 String[] names = new String[amount];
86 for (int i = 0; i < amount; ++i) {
97 amount = inputStream.readInt();
98 if (amount <= 0) {
99 throw new BlenderFileException("The types amount number should be positive!");
101 String[] types = new String[amount];
102 for (int i = 0; i < amount; ++i) {
    [all...]
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/font/plugins/
BitmapFontLoader.java 149 int amount = 0; local
156 }else if (tokens[i].equals("amount")){
157 amount = Integer.parseInt(tokens[i + 1]);
162 ch.addKerning(second, amount);
  /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;
  /external/oprofile/daemon/
opd_sfile.c 606 int amount = LRU_AMOUNT; local
613 if (!--amount)
  /external/skia/src/pdf/
SkPDFFont.cpp 183 size_t amount; local
184 while ((amount = srcStream->read(buf, kBufSize)) > 0) {
185 dynamicStream.write(buf, amount);
187 amount = 0;
188 dynamicStream.write(&amount, 1); // NULL terminator.
    [all...]
  /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;
  /frameworks/base/libs/hwui/
GradientCache.cpp 215 void GradientCache::mixBytes(GradientColor& start, GradientColor& end, float amount,
217 float oppAmount = 1.0f - amount;
218 const float alpha = start.a * oppAmount + end.a * amount;
221 *dst++ = uint8_t(a * (start.r * oppAmount + end.r * amount));
222 *dst++ = uint8_t(a * (start.g * oppAmount + end.g * amount));
223 *dst++ = uint8_t(a * (start.b * oppAmount + end.b * amount));
227 void GradientCache::mixFloats(GradientColor& start, GradientColor& end, float amount,
229 float oppAmount = 1.0f - amount;
230 const float a = start.a * oppAmount + end.a * amount;
233 *d++ = a * (start.r * oppAmount + end.r * amount);
282 float amount = (pos - startPos) \/ distance; local
    [all...]
  /libcore/luni/src/test/java/tests/api/org/apache/harmony/kernel/dalvik/
ThreadsTest.java 144 /** whether {@link #amount} is milliseconds to wait in an
149 /** amount to wait (see above) */
150 private final long amount; field in class:ThreadsTest.Parker
173 this.amount = absolute ? parkMillis : parkMillis * 1000000;
183 long amount = this.amount; local
188 UNSAFE.park(true, start + amount);
190 UNSAFE.park(false, amount);
206 * @param maxWaitMillis the maximum amount of time to
257 * specified amount of time and then unparks an indicated thread
    [all...]
  /external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
MaterialLoader.java 181 int amount = Integer.parseInt(split[1]); local
182 textures[texUnit].setAnisotropicFilter(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...]
  /external/v8/src/
heap-inl.h 446 // after we have accumulated a certain amount we failed to flatten.
465 int amount = amount_of_external_allocated_memory_ + change_in_bytes; local
468 if (amount > amount_of_external_allocated_memory_) {
469 amount_of_external_allocated_memory_ = amount;
479 if (amount >= 0) {
480 amount_of_external_allocated_memory_ = amount;
  /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 208 const TimeUnitAmount* amount = dynamic_cast<const TimeUnitAmount*>(formatObj); local
209 if (amount != NULL){
210 Hashtable* countToPattern = fTimeUnitToCountToPatterns[amount->getTimeUnitField()];
212 const Formattable& amtNumber = amount->getNumber();
    [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/icu4c/test/intltest/
caltest.cpp 1924 int32_t amount; local
    [all...]
  /external/libvpx/libvpx/examples/includes/PHP-Markdown-Extra-1.2.3/
markdown.php 1617 $amount = $this->tab_width - variable
    [all...]

Completed in 1695 milliseconds

1 2 3 4