Searched refs:amount (Results 1 - 25 of 274) sorted by relevance

1234567891011

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
H A DAtomicJavaBean.java21 private float amount; field in class:AtomicJavaBean
25 return amount;
28 public void setAmount(float amount) { argument
29 this.amount = amount;
H A DBigDecimalJavaBean.java22 private float amount; field in class:BigDecimalJavaBean
33 return amount;
36 public void setAmount(float amount) { argument
37 this.amount = amount;
H A DIncompleteJavaBean.java21 private float amount; field in class:IncompleteJavaBean
29 amount += number;
/external/tpm2/
H A DEntropy.c36 // >= 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;
/external/icu/icu4c/source/i18n/
H A Dcurramt.cpp22 CurrencyAmount::CurrencyAmount(const Formattable& amount, ConstChar16Ptr isoCode, argument
24 Measure(amount, new CurrencyUnit(isoCode, ec), ec) {
27 CurrencyAmount::CurrencyAmount(double amount, ConstChar16Ptr isoCode, argument
29 Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) {
H A Dtmutamt.cpp26 TimeUnitAmount::TimeUnitAmount(double amount, argument
29 : Measure(Formattable(amount),
H A Dhebrwcal.h235 * (Overrides Calendar) UDate Arithmetic function. Adds the specified (signed) amount
240 * @param amount The amount of date or time to be added to the field.
245 virtual void add(UCalendarDateFields field, int32_t amount, UErrorCode& status);
249 virtual void add(EDateFields field, int32_t amount, UErrorCode& status);
253 * (Overrides Calendar) Rolls up or down by the given amount in the specified field.
257 * @param amount Indicates amount to roll.
263 virtual void roll(UCalendarDateFields field, int32_t amount, UErrorCode& status);
266 * (Overrides Calendar) Rolls up or down by the given amount i
[all...]
H A Dhebrwcal.cpp188 * Add a signed amount to a specified field, using this calendar's rules.
208 * @param amount the amount to add to the field.
214 void HebrewCalendar::add(UCalendarDateFields field, int32_t amount, UErrorCode& status) argument
222 // We can't just do a set(MONTH, get(MONTH) + amount). The
223 // reason is ADAR_1. Suppose amount is +2 and we land in
225 // if amount is -2 and we land in ADAR_1, then we have to
230 if (amount > 0) {
232 month += amount;
246 month += amount;
274 add(EDateFields field, int32_t amount, UErrorCode& status) argument
311 roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) argument
345 roll(EDateFields field, int32_t amount, UErrorCode& status) argument
[all...]
/external/snakeyaml/src/test/java/examples/
H A DSelectiveConstructorTest.java58 .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) { argument
78 this.amount = amount;
90 return amount;
93 public void setAmount(int amount) { argument
94 this.amount = amount;
[all...]
/external/protobuf/src/google/protobuf/stubs/
H A Dint128.h230 inline uint128 operator<<(const uint128& val, int amount) { argument
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) { argument
249 if (amount < 6
264 operator <<=(int amount) argument
281 operator >>=(int amount) argument
[all...]
/external/icu/icu4c/source/i18n/unicode/
H A Dcurramt.h32 * 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, ConstChar16Ptr isoCode,
53 * Construct an object with the given numeric amount and the given
55 * @param amount the amount of the given currency
62 CurrencyAmount(double amount, ConstChar16Pt
[all...]
/external/zopfli/src/zopfli/
H A Dzlib_container.c36 size_t amount = size > sums_overflow ? sums_overflow : size; local
37 size -= amount;
38 while (amount > 0) {
41 amount--;
H A Dhash.c95 size_t amount = 0; local
110 amount = h->same[(pos - 1) & ZOPFLI_WINDOW_MASK] - 1;
112 while (pos + amount + 1 < end &&
113 array[pos] == array[pos + amount + 1] && amount < (unsigned short)(-1)) {
114 amount++;
116 h->same[hpos] = amount;
/external/autotest/client/site_tests/hardware_TPMTakeOwnership/
H A Dhardware_TPMTakeOwnership.py59 def _sleep(self, amount):
60 """Sleeps for 'amount' of time and logs a message.
63 amount: an integer or float in seconds.
65 time.sleep(amount)
66 if amount >= 1:
67 logging.debug('Slept for %0.2f second', amount)
68 elif amount >= 0.001:
69 logging.debug('Slept for %0.2f millisecond', (amount * 1000))
71 logging.debug('Slept for %0.2f microsecond', (amount * 1000000))
/external/curl/lib/
H A Dgopher.c84 ssize_t amount, k; local
120 result = Curl_write(conn, sockfd, sel, k, &amount);
122 result = Curl_client_write(conn, CLIENTWRITE_HEADER, sel, amount);
126 k -= amount;
127 sel += amount;
/external/valgrind/none/tests/s390x/
H A Ddfp-2.c54 void iedtr(_Decimal64 in, long amount) argument
58 asm volatile (".insn rrf, 0xb3f60000, %[out], %[amount], %[in], 0\n\t"
60 :[in]"f"(in), [amount]"d"(amount));
64 printf(", %ld -> ", amount);
69 void iextr(_Decimal128 in, long amount) argument
73 asm volatile (".insn rrf, 0xb3fe0000, %[out], %[amount], %[in], 0\n\t"
75 :[in]"f"(in), [amount]"d"(amount));
79 printf(", %ld -> ", amount);
212 sldt(_Decimal64 in, unsigned long amount) argument
228 slxt(_Decimal128 in, unsigned long amount) argument
244 srdt(_Decimal64 in, unsigned long amount) argument
260 srxt(_Decimal128 in, unsigned long amount) argument
[all...]
/external/skia/src/core/
H A DSkFontStream.cpp40 static bool read(SkStream* stream, void* buffer, size_t amount) { argument
41 return stream->read(buffer, amount) == amount;
44 static bool skip(SkStream* stream, size_t amount) { argument
45 return stream->skip(amount) == amount;
78 size_t amount = sizeof(SkSharedTTHeader) + ttcIndex * sizeof(uint32_t); local
79 header = (SkSharedTTHeader*)storage.reset(amount);
80 if (!read(stream, header, amount)) {
/external/skqp/src/core/
H A DSkFontStream.cpp40 static bool read(SkStream* stream, void* buffer, size_t amount) { argument
41 return stream->read(buffer, amount) == amount;
44 static bool skip(SkStream* stream, size_t amount) { argument
45 return stream->skip(amount) == amount;
78 size_t amount = sizeof(SkSharedTTHeader) + ttcIndex * sizeof(uint32_t); local
79 header = (SkSharedTTHeader*)storage.reset(amount);
80 if (!read(stream, header, amount)) {
/external/apache-xml/src/main/java/org/apache/xml/serializer/
H A Doutput_unknown.properties44 {http\u003a//xml.apache.org/xalan}indent-amount=0
/external/libchrome/base/metrics/
H A Dhistogram_flattener.h38 // argument |amount| is the non-zero discrepancy.
39 virtual void InconsistencyDetectedInLoggedCount(int amount) = 0;
/external/vixl/src/
H A Dcode-buffer-vixl.h159 bool HasSpaceFor(size_t amount) const {
160 return GetRemainingBytes() >= amount;
163 void EnsureSpaceFor(size_t amount, bool* has_grown) { argument
164 bool is_full = !HasSpaceFor(amount);
165 if (is_full) Grow(capacity_ * 2 + amount);
169 void EnsureSpaceFor(size_t amount) { argument
171 EnsureSpaceFor(amount, &dummy);
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DHebrewCalendar.java400 * Add a signed amount to a specified field, using this calendar's rules.
420 * @param amount the amount to add to the field.
425 public void add(int field, int amount) argument
430 // We can't just do a set(MONTH, get(MONTH) + amount). The
431 // reason is ADAR_1. Suppose amount is +2 and we land in
433 // if amount is -2 and we land in ADAR_1, then we have to
438 if (amount > 0) {
440 month += amount;
454 month += amount;
510 roll(int field, int amount) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DHebrewCalendar.java422 * Add a signed amount to a specified field, using this calendar's rules.
442 * @param amount the amount to add to the field.
448 public void add(int field, int amount) argument
453 // We can't just do a set(MONTH, get(MONTH) + amount). The
454 // reason is ADAR_1. Suppose amount is +2 and we land in
456 // if amount is -2 and we land in ADAR_1, then we have to
461 if (amount > 0) {
463 month += amount;
477 month += amount;
534 roll(int field, int amount) argument
[all...]
/external/libchrome/base/
H A Dsys_info_unittest.cc30 // The maxmimal amount of virtual memory can be zero which means unlimited.
44 const int64_t amount = SysInfo::AmountOfAvailablePhysicalMemory(info); local
46 EXPECT_GT(amount, static_cast<int64_t>(info.free) * 1024);
47 EXPECT_LT(amount / 1024, info.available);
53 const int64_t amount = SysInfo::AmountOfAvailablePhysicalMemory(info); local
55 EXPECT_GT(amount, static_cast<int64_t>(info.free) * 1024);
56 EXPECT_LT(amount / 1024, info.total);
/external/sonivox/arm-wt-22k/host_src/
H A Deas_hostmm.c185 void *EAS_HWMemCpy (void *dest, const void *src, EAS_I32 amount) argument
187 if (amount < 0) {
188 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x1a54b6e8, 0x00000004 , amount);
191 return memcpy(dest, src, (size_t) amount);
202 void *EAS_HWMemSet (void *dest, int val, EAS_I32 amount) argument
204 if (amount < 0) {
205 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x1a54b6e8, 0x00000005 , amount);
208 return memset(dest, val, (size_t) amount);
219 EAS_I32 EAS_HWMemCmp (const void *s1, const void *s2, EAS_I32 amount) argument
221 if (amount <
[all...]

Completed in 767 milliseconds

1234567891011