/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;
|
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;
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicInlines.h | 106 static inline int4 clamp(int4 amount, int low, int high) { 108 r.x = amount.x < low ? low : (amount.x > high ? high : amount.x); 109 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y); 110 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z) [all...] |
/external/icu4c/i18n/ |
curramt.cpp | 20 CurrencyAmount::CurrencyAmount(const Formattable& amount, const UChar* isoCode, 22 Measure(amount, new CurrencyUnit(isoCode, ec), ec) { 25 CurrencyAmount::CurrencyAmount(double amount, const UChar* isoCode, 27 Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) {
|
/external/skia/include/images/ |
SkImageRef_GlobalPool.h | 25 /** Return the amount specified as the budget for the cache (in bytes). 37 /** Free up (approximately) enough such that the amount used by the cache 38 is <= the specified amount. Since some images may be "in use", the 39 amount actually freed may not always result in a ram usage value <= 40 to the requested amount. In addition, because of the 42 amount.
|
/external/skia/legacy/include/images/ |
SkImageRef_GlobalPool.h | 31 /** Return the amount specified as the budget for the cache (in bytes). 43 /** Free up (approximately) enough such that the amount used by the cache 44 is <= the specified amount. Since some images may be "in use", the 45 amount actually freed may not always result in a ram usage value <= 46 to the requested amount. In addition, because of the 48 amount.
|
/external/kernel-headers/original/linux/ |
percpu_counter.h | 29 static inline void percpu_counter_init(struct percpu_counter *fbc, s64 amount) 32 fbc->count = amount; 41 void percpu_counter_mod(struct percpu_counter *fbc, s32 amount); 70 static inline void percpu_counter_init(struct percpu_counter *fbc, s64 amount) 72 fbc->count = amount; 80 percpu_counter_mod(struct percpu_counter *fbc, s32 amount) 83 fbc->count += 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/icu4c/i18n/unicode/ |
curramt.h | 23 * \brief C++ API: Currency Amount Object. 30 * A currency together with a numeric amount, such as 200 USD. 38 * Construct an object with the given numeric amount and the given 40 * @param amount a numeric object; amount.isNumeric() must be TRUE 43 * @param ec input-output error code. If the amount or the isoCode 47 CurrencyAmount(const Formattable& amount, const UChar* isoCode, 51 * Construct an object with the given numeric amount and the given 53 * @param amount the amount of the given currenc [all...] |
tmutamt.h | 14 * \brief C++ API: time unit amount object. 50 * Construct TimeUnitAmount object with the given numeric amount and the 52 * @param amount a numeric amount. 53 * @param timeUnitField the time unit field on which a time unit amount 61 TimeUnitAmount(double amount, TimeUnit::UTimeUnitFields timeUnitField,
|
/libcore/luni/src/test/resources/ |
recipt.dtd | 7 amount CDATA #IMPLIED
|
/libcore/luni/src/test/resources/systemid/ |
recipt.dtd | 7 amount CDATA #IMPLIED
|
/sdk/emulator/opengl/tests/ut_renderer/ |
ReadBuffer.cpp | 48 void ReadBuffer::consume(size_t amount) 50 assert(amount <= m_validData); 51 m_validData -= amount; 52 m_readPtr += amount;
|
ReadBuffer.h | 27 size_t validData() { return m_validData; } // return the amount of valid data in readptr 28 void consume(size_t amount); // notify that 'amount' data has been consumed;
|
/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...] |
/frameworks/base/core/java/android/util/ |
MathUtils.java | 38 public static int constrain(int amount, int low, int high) { 39 return amount < low ? low : (amount > high ? high : amount); 42 public static long constrain(long amount, long low, long high) { 43 return amount < low ? low : (amount > high ? high : amount); 46 public static float constrain(float amount, float low, float high) { 47 return amount < low ? low : (amount > high ? high : amount) [all...] |
/external/libvpx/libvpx/ |
usage_cx.dox | 5 compressed data. The <code>deadline</code> parameter controls the amount
|
/external/v8/test/mjsunit/tools/ |
tickprocessor-test.gc-state | 18 amount of its parent calls.
|
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
ReadBuffer.cpp | 68 void ReadBuffer::consume(size_t amount) 70 assert(amount <= m_validData); 71 m_validData -= amount; 72 m_readPtr += amount;
|
ReadBuffer.h | 27 size_t validData() { return m_validData; } // return the amount of valid data in readptr 28 void consume(size_t amount); // notify that 'amount' data has been consumed;
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
BaseCodeCursor.java | 56 * Advance the cursor by the indicated amount. 58 protected final void advance(int amount) { 59 cursor += amount;
|
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/ |
BaseCodeCursor.java | 56 * Advance the cursor by the indicated amount. 58 protected final void advance(int amount) { 59 cursor += 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...] |
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.6/lib/gcc/mipsel-linux-android/4.6/include/ |
loongson.h | 463 psllh_u (uint16x4_t s, uint8_t amount) 465 return __builtin_loongson_psllh_u (s, amount); 469 psllh_s (int16x4_t s, uint8_t amount) 471 return __builtin_loongson_psllh_s (s, amount); 475 psllw_u (uint32x2_t s, uint8_t amount) 477 return __builtin_loongson_psllw_u (s, amount); 481 psllw_s (int32x2_t s, uint8_t amount) 483 return __builtin_loongson_psllw_s (s, amount); 488 psrlh_u (uint16x4_t s, uint8_t amount) 490 return __builtin_loongson_psrlh_u (s, amount); [all...] |
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.7/lib/gcc/mipsel-linux-android/4.7/include/ |
loongson.h | 463 psllh_u (uint16x4_t s, uint8_t amount) 465 return __builtin_loongson_psllh_u (s, amount); 469 psllh_s (int16x4_t s, uint8_t amount) 471 return __builtin_loongson_psllh_s (s, amount); 475 psllw_u (uint32x2_t s, uint8_t amount) 477 return __builtin_loongson_psllw_u (s, amount); 481 psllw_s (int32x2_t s, uint8_t amount) 483 return __builtin_loongson_psllw_s (s, amount); 488 psrlh_u (uint16x4_t s, uint8_t amount) 490 return __builtin_loongson_psrlh_u (s, amount); [all...] |