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

1234

/external/icu4c/i18n/
H A Dcurramt.cpp20 CurrencyAmount::CurrencyAmount(const Formattable& amount, const UChar* isoCode, argument
22 Measure(amount, new CurrencyUnit(isoCode, ec), ec) {
25 CurrencyAmount::CurrencyAmount(double amount, const UChar* isoCode, argument
27 Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) {
H A Dtmutamt.cpp24 TimeUnitAmount::TimeUnitAmount(double amount, argument
27 : Measure(Formattable(amount),
H A Dhebrwcal.cpp185 * Add a signed amount to a specified field, using this calendar's rules.
205 * @param amount the amount to add to the field.
211 void HebrewCalendar::add(UCalendarDateFields field, int32_t amount, UErrorCode& status) argument
219 // We can't just do a set(MONTH, get(MONTH) + amount). The
220 // reason is ADAR_1. Suppose amount is +2 and we land in
222 // if amount is -2 and we land in ADAR_1, then we have to
227 if (amount > 0) {
229 month += amount;
243 month += amount;
271 add(EDateFields field, int32_t amount, UErrorCode& status) argument
308 roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) argument
342 roll(EDateFields field, int32_t amount, UErrorCode& status) argument
[all...]
H A Dchnsecal.h151 virtual void add(UCalendarDateFields field, int32_t amount, UErrorCode &status);
152 virtual void add(EDateFields field, int32_t amount, UErrorCode &status);
153 virtual void roll(UCalendarDateFields field, int32_t amount, UErrorCode &status);
154 virtual void roll(EDateFields field, int32_t amount, UErrorCode &status);
H A Dhebrwcal.h233 * (Overrides Calendar) UDate Arithmetic function. Adds the specified (signed) amount
238 * @param amount The amount of date or time to be added to the field.
243 virtual void add(UCalendarDateFields field, int32_t amount, UErrorCode& status);
247 virtual void add(EDateFields field, int32_t amount, UErrorCode& status);
251 * (Overrides Calendar) Rolls up or down by the given amount in the specified field.
255 * @param amount Indicates amount to roll.
261 virtual void roll(UCalendarDateFields field, int32_t amount, UErrorCode& status);
264 * (Overrides Calendar) Rolls up or down by the given amount i
[all...]
H A Dchnsecal.cpp337 void ChineseCalendar::add(UCalendarDateFields field, int32_t amount, UErrorCode& status) { argument
340 if (amount != 0) {
346 offsetMonth(moon, dom, amount);
350 Calendar::add(field, amount, status);
359 void ChineseCalendar::add(EDateFields field, int32_t amount, UErrorCode& status) { argument
360 add((UCalendarDateFields)field, amount, status);
367 void ChineseCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) { argument
370 if (amount != 0) {
409 int32_t newM = (m + amount) % n;
420 Calendar::roll(field, amount, statu
425 roll(EDateFields field, int32_t amount, UErrorCode& status) argument
[all...]
/external/kernel-headers/original/linux/
H A Dpercpu_counter.h29 static inline void percpu_counter_init(struct percpu_counter *fbc, s64 amount) argument
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) argument
72 fbc->count = amount;
80 percpu_counter_mod(struct percpu_counter *fbc, s32 amount) argument
83 fbc->count += amount;
/external/icu4c/i18n/unicode/
H A Dcurramt.h30 * 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 currency
60 CurrencyAmount(double amount, cons
[all...]
H A Dtmutamt.h14 * \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,
/external/apache-xml/src/main/java/org/apache/xml/serializer/
H A Doutput_unknown.properties44 {http\u003a//xml.apache.org/xalan}indent-amount=0
H A Doutput_html.properties40 {http\u003a//xml.apache.org/xalan}indent-amount=0
H A Doutput_xml.properties43 {http\u003a//xml.apache.org/xalan}indent-amount=0
/external/chromium/net/base/
H A Dsdch_filter.cc258 int amount = OutputBufferExcess(dest_buffer, available_space); local
259 *dest_len += amount;
260 dest_buffer += amount;
261 available_space -= amount;
305 amount = OutputBufferExcess(dest_buffer, available_space);
306 *dest_len += amount;
307 dest_buffer += amount;
308 available_space -= amount;
377 size_t amount = std::min(available_space, local
380 amount);
[all...]
/external/sonivox/arm-wt-22k/host_src/
H A Deas_hostmm.c187 void *EAS_HWMemCpy (void *dest, const void *src, EAS_I32 amount) argument
189 if (amount < 0) {
190 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x1a54b6e8, 0x00000004 , amount);
193 return memcpy(dest, src, (size_t) amount);
204 void *EAS_HWMemSet (void *dest, int val, EAS_I32 amount) argument
206 if (amount < 0) {
207 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x1a54b6e8, 0x00000005 , amount);
210 return memset(dest, val, (size_t) amount);
221 EAS_I32 EAS_HWMemCmp (const void *s1, const void *s2, EAS_I32 amount) argument
223 if (amount <
[all...]
/external/srec/shared/src/
H A DCircularBuffer.c149 int CircularBufferUnwrite(CircularBuffer* buffer, size_t amount) argument
153 if (available < amount)
154 amount = available;
155 buffer->size -= amount;
156 return amount;
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dtls_nss.c56 static PRInt32 nss_io_read(PRFileDesc *fd, void *buf, PRInt32 amount) argument
58 wpa_printf(MSG_DEBUG, "NSS: I/O read(%d)", amount);
63 static PRInt32 nss_io_write(PRFileDesc *fd, const void *buf, PRInt32 amount) argument
65 wpa_printf(MSG_DEBUG, "NSS: I/O write(%d)", amount);
78 static PRInt32 nss_io_recv(PRFileDesc *fd, void *buf, PRInt32 amount, argument
84 wpa_printf(MSG_DEBUG, "NSS: I/O recv(%d)", amount);
92 if (end - conn->pull_buf_offset < amount)
93 amount = end - conn->pull_buf_offset;
94 os_memcpy(buf, conn->pull_buf_offset, amount);
95 conn->pull_buf_offset += amount;
110 nss_io_send(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout) argument
133 nss_io_recvfrom(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRIntervalTime timeout) argument
142 nss_io_sendto(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRIntervalTime timeout) argument
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Dtls_nss.c56 static PRInt32 nss_io_read(PRFileDesc *fd, void *buf, PRInt32 amount) argument
58 wpa_printf(MSG_DEBUG, "NSS: I/O read(%d)", amount);
63 static PRInt32 nss_io_write(PRFileDesc *fd, const void *buf, PRInt32 amount) argument
65 wpa_printf(MSG_DEBUG, "NSS: I/O write(%d)", amount);
78 static PRInt32 nss_io_recv(PRFileDesc *fd, void *buf, PRInt32 amount, argument
84 wpa_printf(MSG_DEBUG, "NSS: I/O recv(%d)", amount);
92 if (end - conn->pull_buf_offset < amount)
93 amount = end - conn->pull_buf_offset;
94 os_memcpy(buf, conn->pull_buf_offset, amount);
95 conn->pull_buf_offset += amount;
110 nss_io_send(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout) argument
133 nss_io_recvfrom(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRIntervalTime timeout) argument
142 nss_io_sendto(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRIntervalTime timeout) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dtls_nss.c56 static PRInt32 nss_io_read(PRFileDesc *fd, void *buf, PRInt32 amount) argument
58 wpa_printf(MSG_DEBUG, "NSS: I/O read(%d)", amount);
63 static PRInt32 nss_io_write(PRFileDesc *fd, const void *buf, PRInt32 amount) argument
65 wpa_printf(MSG_DEBUG, "NSS: I/O write(%d)", amount);
78 static PRInt32 nss_io_recv(PRFileDesc *fd, void *buf, PRInt32 amount, argument
84 wpa_printf(MSG_DEBUG, "NSS: I/O recv(%d)", amount);
92 if (end - conn->pull_buf_offset < amount)
93 amount = end - conn->pull_buf_offset;
94 os_memcpy(buf, conn->pull_buf_offset, amount);
95 conn->pull_buf_offset += amount;
110 nss_io_send(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout) argument
133 nss_io_recvfrom(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRIntervalTime timeout) argument
142 nss_io_sendto(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRIntervalTime timeout) argument
[all...]
/external/speex/libspeex/
H A Dscal.c140 float amount; local
147 amount = .01*strength;
174 beta = 1.-.3*amount*amount;
175 if (amount>1)
176 beta = 1-sqrt(.4*amount);
178 beta = 1-0.63246*amount;
200 max_alpha = pow(.96+.04*(amount-1),order);
231 float coef = M_PI*0.075063 * 0.93763 * amount * .8 * 0.707;
/external/chromium/chrome/browser/history/
H A Dvisitsegment_database.h49 // Increase the segment visit count by the provided amount. Return true on
52 int amount);
/external/srec/shared/include/
H A DCircularBuffer.h160 ESR_SHARED_API int CircularBufferUnwrite(CircularBuffer* buffer, size_t amount);
/external/v8/src/
H A Dprettyprinter.h145 void increase_indent(int amount) { indent_ += amount; } argument
146 void decrease_indent(int amount) { indent_ -= amount; } argument
/external/libxslt/libxslt/
H A Dnumbers.c543 int amount = 0; local
614 array[amount++] = (double) cnt;
620 return(amount);
633 int amount = 0; local
686 array[amount++] = (double)cnt;
687 if (amount >= max)
695 return amount;
704 int amount = 0; local
718 amount++;
723 return amount;
740 int amount, i; local
[all...]
/external/sonivox/arm-fm-22k/host_src/
H A Deas_hostmm.c163 void *EAS_HWMemCpy (void *dest, const void *src, EAS_I32 amount) argument
165 return memcpy(dest, src, (size_t) amount);
176 void *EAS_HWMemSet (void *dest, int val, EAS_I32 amount) argument
178 return memset(dest, val, (size_t) amount);
189 EAS_I32 EAS_HWMemCmp (const void *s1, const void *s2, EAS_I32 amount) argument
191 return (EAS_I32) memcmp(s1, s2, (size_t) amount);
/external/sonivox/arm-hybrid-22k/host_src/
H A Deas_hostmm.c163 void *EAS_HWMemCpy (void *dest, const void *src, EAS_I32 amount) argument
165 return memcpy(dest, src, (size_t) amount);
176 void *EAS_HWMemSet (void *dest, int val, EAS_I32 amount) argument
178 return memset(dest, val, (size_t) amount);
189 EAS_I32 EAS_HWMemCmp (const void *s1, const void *s2, EAS_I32 amount) argument
191 return (EAS_I32) memcmp(s1, s2, (size_t) amount);

Completed in 420 milliseconds

1234