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

1 2 3 4 5 6 7 8 91011>>

  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
AtomicJavaBean.java 21 private float amount; field in class:AtomicJavaBean
25 return amount;
28 public void setAmount(float amount) {
29 this.amount = amount;
BigDecimalJavaBean.java 22 private float amount; field in class:BigDecimalJavaBean
33 return amount;
36 public void setAmount(float amount) {
37 this.amount = amount;
IncompleteJavaBean.java 21 private float amount; field in class:IncompleteJavaBean
29 amount += number;
  /external/tpm2/
Entropy.c 36 // >= 0 the returned amount of entropy (bytes)
41 uint32_t amount // amount requested
46 if(amount == 0)
58 if(amount > sizeof(rndNum))
59 amount = sizeof(rndNum);
60 memcpy(entropy, &rndNum, amount);
62 return (int32_t)amount;
  /frameworks/rs/driver/runtime/arch/
clamp.c 25 extern T __attribute__((overloadable)) clamp(T amount, T low, T high) { \
26 return amount < low ? low : (amount > high ? high : amount); \
46 extern T##2 __attribute__((overloadable)) clamp(T##2 amount, T##2 low, T##2 high) { \
48 r.x = amount.x < low.x ? low.x : (amount.x > high.x ? high.x : amount.x); \
49 r.y = amount.y < low.y ? low.y : (amount.y > high.y ? high.y : amount.y);
    [all...]
  /libcore/ojluni/src/test/java/time/tck/java/time/
MockSimplePeriod.java 89 * The amount of the period.
91 private final long amount; field in class:MockSimplePeriod
98 * Obtains a {@code MockSimplePeriod} from an amount and unit.
102 * @param amount the amount of the period, measured in terms of the unit, positive or negative
107 public static MockSimplePeriod of(long amount, TemporalUnit unit) {
108 return new MockSimplePeriod(amount, unit);
111 private MockSimplePeriod(long amount, TemporalUnit unit) {
116 this.amount = amount;
    [all...]
  /libcore/ojluni/src/test/java/time/test/java/time/
MockSimplePeriod.java 89 * The amount of the period.
91 private final long amount; field in class:MockSimplePeriod
98 * Obtains a {@code MockSimplePeriod} from an amount and unit.
102 * @param amount the amount of the period, measured in terms of the unit, positive or negative
107 public static MockSimplePeriod of(long amount, TemporalUnit unit) {
108 return new MockSimplePeriod(amount, unit);
111 private MockSimplePeriod(long amount, TemporalUnit unit) {
116 this.amount = amount;
    [all...]
  /frameworks/rs/cpu_ref/
rsCpuIntrinsicInlines.h 85 static inline int4 clamp(int4 amount, int low, int high) {
87 r.x = amount.x < low ? low : (amount.x > high ? high : amount.x);
88 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y);
89 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z)
    [all...]
  /external/icu/icu4c/source/i18n/
curramt.cpp 22 CurrencyAmount::CurrencyAmount(const Formattable& amount, const UChar* isoCode,
24 Measure(amount, new CurrencyUnit(isoCode, ec), ec) {
27 CurrencyAmount::CurrencyAmount(double amount, const UChar* isoCode,
29 Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) {
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/aarch64/
movi.s 48 .macro all_8bit_imm_movi_sft dst, from=0, to=255, shift_op, amount
49 movi \dst, \from, \shift_op \amount
51 all_8bit_imm_movi_sft \dst, "(\from+1)", \to, \shift_op, \amount
56 // MOVI <Vd>.<T>, #<imm8>, MSL #<amount>
58 .irp amount, 8, 16
61 all_8bit_imm_movi_sft v7.\T, 0, 63, MSL, \amount
62 all_8bit_imm_movi_sft v7.\T, 64, 127, MSL, \amount
63 all_8bit_imm_movi_sft v7.\T, 128, 191, MSL, \amount
64 all_8bit_imm_movi_sft v7.\T, 192, 255, MSL, \amount
70 // MOVI <Vd>.<T>, #<imm8> {, LSL #<amount>}
    [all...]
addsub.s 27 .macro adjust_rm op, rd, rn, rm_r, rm_n, extend, amount
34 .ifb \amount
37 \op \rd, \rn, W\()\rm_n, \extend #\amount
45 .ifb \amount
48 \op \rd, \rn, \rm_r\()\rm_n, \extend #\amount
55 .macro do_addsub_ext type, op, Rn, reg, extend, amount
61 .ifb \amount
64 adjust_rm \op, \reg\()16, \Rn, \reg, 1, \extend, \amount
73 .ifb \amount
76 adjust_rm \op, \reg\()ZR, \Rn, \reg, 1, \extend, \amount
    [all...]
  /external/snakeyaml/src/test/java/examples/
SelectiveConstructorTest.java 58 .load("- 1\n- 2\n- !!examples.MyPersistentObject {amount: 222, id: persistent}");
69 private int amount; field in class:MyPersistentObject
73 this.amount = 222;
76 public MyPersistentObject(String id, int amount) {
78 this.amount = amount;
90 return amount;
93 public void setAmount(int amount) {
94 this.amount = amount;
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/touch/
OverScroll.java 38 * @param amount The original amount overscrolled.
39 * @param max The maximum amount that the View can overscroll.
40 * @return The dampened overscroll amount.
42 public static int dampedScroll(float amount, int max) {
43 if (Float.compare(amount, 0) == 0) return 0;
45 float f = amount / max;
  /frameworks/base/core/java/android/util/
MathUtils.java 35 public static int constrain(int amount, int low, int high) {
36 return amount < low ? low : (amount > high ? high : amount);
39 public static long constrain(long amount, long low, long high) {
40 return amount < low ? low : (amount > high ? high : amount);
43 public static float constrain(float amount, float low, float high) {
44 return amount < low ? low : (amount > high ? high : amount)
    [all...]
  /libcore/ojluni/src/main/java/java/time/temporal/
Temporal.java 229 * Returns an object of the same type as this object with an amount added.
231 * This adjusts this temporal, adding according to the rules of the specified amount.
232 * The amount is typically a {@link java.time.Period} but may be any other type implementing
253 * return amount.addTo(this);
256 * @param amount the amount to add, not null
261 default Temporal plus(TemporalAmount amount) {
262 return amount.addTo(this);
290 * @param amountToAdd the amount of the specified unit to add, may be negative
291 * @param unit the unit of the amount to add, not nul
    [all...]
  /dalvik/dx/src/com/android/dx/io/instructions/
BaseCodeCursor.java 54 * Advance the cursor by the indicated amount.
56 protected final void advance(int amount) {
57 cursor += amount;
  /external/protobuf/src/google/protobuf/stubs/
int128.h 230 inline uint128 operator<<(const uint128& val, int amount) {
232 if (amount < 64) {
233 if (amount == 0) {
236 uint64 new_hi = (Uint128High64(val) << amount) |
237 (Uint128Low64(val) >> (64 - amount));
238 uint64 new_lo = Uint128Low64(val) << amount;
240 } else if (amount < 128) {
241 return uint128(Uint128Low64(val) << (amount - 64), 0);
247 inline uint128 operator>>(const uint128& val, int amount) {
249 if (amount < 64)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
NotificationUtils.java 46 public static float interpolate(float start, float end, float amount) {
47 return start * (1.0f - amount) + end * amount;
50 public static int interpolateColors(int startColor, int endColor, float amount) {
52 (int) interpolate(Color.alpha(startColor), Color.alpha(endColor), amount),
53 (int) interpolate(Color.red(startColor), Color.red(endColor), amount),
54 (int) interpolate(Color.green(startColor), Color.green(endColor), amount),
55 (int) interpolate(Color.blue(startColor), Color.blue(endColor), amount));
  /frameworks/base/tools/aapt2/text/
Utf8Iterator.cpp 50 void Utf8Iterator::Skip(int amount) {
51 while (amount > 0 && HasNext()) {
53 --amount;
Utf8Iterator.h 36 void Skip(int amount);
  /frameworks/base/core/jni/android/graphics/
Utils.cpp 53 ssize_t amount; local
60 // we want to return amount that was skipped
72 amount = newOffset - oldOffset;
74 amount = fAsset->read(buffer, size);
77 if (amount < 0) {
78 amount = 0;
80 return amount;
  /external/icu/icu4c/source/i18n/unicode/
curramt.h 25 * \brief C++ API: Currency Amount Object.
32 * A currency together with a numeric amount, such as 200 USD.
40 * Construct an object with the given numeric amount and the given
42 * @param amount a numeric object; amount.isNumeric() must be TRUE
45 * @param ec input-output error code. If the amount or the isoCode
49 CurrencyAmount(const Formattable& amount, const UChar* isoCode,
53 * Construct an object with the given numeric amount and the given
55 * @param amount the amount of the given currenc
    [all...]
  /external/libchrome/base/metrics/
histogram_flattener.h 38 // argument |amount| is the non-zero discrepancy.
39 virtual void InconsistencyDetectedInLoggedCount(int amount) = 0;
  /external/zopfli/src/zopfli/
zlib_container.c 36 size_t amount = size > sums_overflow ? sums_overflow : size; local
37 size -= amount;
38 while (amount > 0) {
41 amount--;
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/lns/
lns-common-1-alt.d 13 \[0x.*\] Advance PC by fixed size amount .* to .*
17 \[0x.*\] Advance PC by fixed size amount .* to .*
22 \[0x.*\] Advance PC by fixed size amount .* to .*
27 \[0x.*\] Advance PC by fixed size amount .* to .*
31 \[0x.*\] Advance PC by fixed size amount .* to .*
35 \[0x.*\] Advance PC by fixed size amount .* to .*
39 \[0x.*\] Advance PC by fixed size amount .* to .*
41 \[0x.*\] Advance PC by fixed size amount .* to .*

Completed in 840 milliseconds

1 2 3 4 5 6 7 8 91011>>