/frameworks/compile/libbcc/lib/ScriptCRT/ |
clamp.c | 20 extern float __attribute__((overloadable)) clamp(float amount, float low, float high) { 21 return amount < low ? low : (amount > high ? high : amount); 24 extern float2 __attribute__((overloadable)) clamp(float2 amount, float2 low, float2 high) { 26 r.x = amount.x < low.x ? low.x : (amount.x > high.x ? high.x : amount.x); 27 r.y = amount.y < low.y ? low.y : (amount.y > high.y ? high.y : amount.y) [all...] |
rs_core.c | 193 extern uint __attribute__((overloadable, always_inline)) rsClamp(uint amount, uint low, uint high) { 194 return amount < low ? low : (amount > high ? high : amount); 196 extern int __attribute__((overloadable, always_inline)) rsClamp(int amount, int low, int high) { 197 return amount < low ? low : (amount > high ? high : amount); 199 extern ushort __attribute__((overloadable, always_inline)) rsClamp(ushort amount, ushort low, ushort high) { 200 return amount < low ? low : (amount > high ? high : amount) [all...] |
/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;
|
/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 | 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/ |
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/policy/src/com/android/internal/policy/impl/ |
KeyguardViewCallback.java | 26 * Request the wakelock to be poked for the default amount of time. 31 * Request the wakelock to be poked for a specific amount of time. 32 * @param millis The amount of time in millis.
|
/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...] |
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.4.3/lib/gcc/mipsel-linux-android/4.4.3/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...] |