/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) {
|
tmutamt.cpp | 24 TimeUnitAmount::TimeUnitAmount(double amount, 27 : Measure(Formattable(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/skia/include/images/ |
SkImageRef_GlobalPool.h | 36 /** Return the amount specified as the budget for the cache (in bytes). 48 /** Free up (approximately) enough such that the amount used by the cache 49 is <= the specified amount. Since some images may be "in use", the 50 amount actually freed may not always result in a ram usage value <= 51 to the requested amount. In addition, because of the 53 amount.
|
/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,
|
/development/tools/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;
|
/libcore/luni/src/test/resources/ |
recipt.dtd | 7 amount CDATA #IMPLIED
|
/libcore/luni/src/test/resources/systemid/ |
recipt.dtd | 7 amount CDATA #IMPLIED
|
/frameworks/compile/libbcc/lib/ScriptCRT/ |
rs_cl.c | 680 extern float __attribute__((overloadable)) clamp(float amount, float low, float high) { 681 return amount < low ? low : (amount > high ? high : amount); 683 extern float2 __attribute__((overloadable)) clamp(float2 amount, float2 low, float2 high) { 685 r.x = amount.x < low.x ? low.x : (amount.x > high.x ? high.x : amount.x); 686 r.y = amount.y < low.y ? low.y : (amount.y > high.y ? high.y : amount.y) [all...] |
rs_core.c | 225 extern uint __attribute__((overloadable, always_inline)) rsClamp(uint amount, uint low, uint high) { 226 return amount < low ? low : (amount > high ? high : amount); 228 extern int __attribute__((overloadable, always_inline)) rsClamp(int amount, int low, int high) { 229 return amount < low ? low : (amount > high ? high : amount); 231 extern ushort __attribute__((overloadable, always_inline)) rsClamp(ushort amount, ushort low, ushort high) { 232 return amount < low ? low : (amount > high ? high : amount) [all...] |
/development/tools/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;
|
/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.
|
/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;
|
/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.
|
/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 float constrain(float amount, float low, float high) { 43 return amount < low ? low : (amount > high ? high : amount); 143 public static float lerp(float start, float stop, float amount) { 144 return start + (stop - start) * amount; [all...] |
/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/bluetooth/bluez/doc/ |
assigned-numbers.txt | 4 Since there are a limited amount of possible RFCOMM channels (1-31)
|
/frameworks/base/media/libeffects/lvm/lib/Common/src/ |
NonLinComp_D16.c | 38 /* The value of K controls the amount of compression and as a side effect the amount */ 39 /* distortion introduced. The amount of compression is signal dependent and the values */ 90 * harmonic distortion. The amount of compression is control by the
|
/system/core/libpixelflinger/tinyutils/ |
VectorImpl.cpp | 245 ssize_t amount = new_capacity - size(); 246 if (amount <= 0) { 273 void* VectorImpl::_grow(size_t where, size_t amount) 275 // LOGV("_grow(this=%p, where=%d, amount=%d) count=%d, capacity=%d", 276 // this, (int)where, (int)amount, (int)mCount, (int)capacity()); 281 const size_t new_size = mCount + amount; 302 void* dest = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; 313 void* to = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; 318 mCount += amount; 323 void VectorImpl::_shrink(size_t where, size_t amount) [all...] |