Home
last modified time | relevance | path

Searched refs:amount (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/
DDnaBlockData.java81 int amount = inputStream.readInt(); in DnaBlockData() local
82 if (amount <= 0) { in DnaBlockData()
85 String[] names = new String[amount]; in DnaBlockData()
86 for (int i = 0; i < amount; ++i) { in DnaBlockData()
97 amount = inputStream.readInt(); in DnaBlockData()
98 if (amount <= 0) { in DnaBlockData()
101 String[] types = new String[amount]; in DnaBlockData()
102 for (int i = 0; i < amount; ++i) { in DnaBlockData()
113 int[] lengths = new int[amount];//theamount is the same as int types in DnaBlockData()
114 for (int i = 0; i < amount; ++i) { in DnaBlockData()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/font/
DKerning.java45 private int amount; field in Kerning
56 return amount; in getAmount()
59 public void setAmount(int amount) { in setAmount() argument
60 this.amount = amount; in setAmount()
66 oc.write(amount, "amount", 0); in write()
72 amount = ic.readInt("amount", 0); in read()
/external/kernel-headers/original/linux/
Dpercpu_counter.h29 static inline void percpu_counter_init(struct percpu_counter *fbc, s64 amount) in percpu_counter_init() argument
32 fbc->count = amount; in percpu_counter_init()
41 void percpu_counter_mod(struct percpu_counter *fbc, s32 amount);
70 static inline void percpu_counter_init(struct percpu_counter *fbc, s64 amount) in percpu_counter_init() argument
72 fbc->count = amount; in percpu_counter_init()
80 percpu_counter_mod(struct percpu_counter *fbc, s32 amount) in percpu_counter_mod() argument
83 fbc->count += amount; in percpu_counter_mod()
/external/wpa_supplicant_8/src/crypto/
Dtls_nss.c50 static PRInt32 nss_io_read(PRFileDesc *fd, void *buf, PRInt32 amount) in nss_io_read() argument
52 wpa_printf(MSG_DEBUG, "NSS: I/O read(%d)", amount); in nss_io_read()
57 static PRInt32 nss_io_write(PRFileDesc *fd, const void *buf, PRInt32 amount) in nss_io_write() argument
59 wpa_printf(MSG_DEBUG, "NSS: I/O write(%d)", amount); in nss_io_write()
72 static PRInt32 nss_io_recv(PRFileDesc *fd, void *buf, PRInt32 amount, in nss_io_recv() argument
78 wpa_printf(MSG_DEBUG, "NSS: I/O recv(%d)", amount); in nss_io_recv()
86 if (end - conn->pull_buf_offset < amount) in nss_io_recv()
87 amount = end - conn->pull_buf_offset; in nss_io_recv()
88 os_memcpy(buf, conn->pull_buf_offset, amount); in nss_io_recv()
89 conn->pull_buf_offset += amount; in nss_io_recv()
[all …]
/external/chromium/net/base/
Dsdch_filter.cc258 int amount = OutputBufferExcess(dest_buffer, available_space); in ReadFilteredData() local
259 *dest_len += amount; in ReadFilteredData()
260 dest_buffer += amount; in ReadFilteredData()
261 available_space -= amount; in ReadFilteredData()
305 amount = OutputBufferExcess(dest_buffer, available_space); in ReadFilteredData()
306 *dest_len += amount; in ReadFilteredData()
307 dest_buffer += amount; in ReadFilteredData()
308 available_space -= amount; in ReadFilteredData()
377 size_t amount = std::min(available_space, in OutputBufferExcess() local
380 amount); in OutputBufferExcess()
[all …]
/external/icu4c/i18n/
Dhebrwcal.cpp211 void HebrewCalendar::add(UCalendarDateFields field, int32_t amount, UErrorCode& status) in add() argument
227 if (amount > 0) { in add()
229 month += amount; in add()
243 month += amount; in add()
263 Calendar::add(field, amount, status); in add()
271 void HebrewCalendar::add(EDateFields field, int32_t amount, UErrorCode& status) in add() argument
273 add((UCalendarDateFields)field, amount, status); in add()
308 void HebrewCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) in roll() argument
321 int32_t newMonth = month + (amount % yearLength); in roll()
327 if (amount > 0 && month < ADAR_1 && newMonth >= ADAR_1) { in roll()
[all …]
Dcurramt.cpp20 CurrencyAmount::CurrencyAmount(const Formattable& amount, const UChar* isoCode, in CurrencyAmount() argument
22 Measure(amount, new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount()
25 CurrencyAmount::CurrencyAmount(double amount, const UChar* isoCode, in CurrencyAmount() argument
27 Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount()
Dhebrwcal.h243 virtual void add(UCalendarDateFields field, int32_t amount, UErrorCode& status);
247 virtual void add(EDateFields field, int32_t amount, UErrorCode& status);
261 virtual void roll(UCalendarDateFields field, int32_t amount, UErrorCode& status);
274 virtual void roll(EDateFields field, int32_t amount, UErrorCode& status);
Dchnsecal.cpp336 void ChineseCalendar::add(UCalendarDateFields field, int32_t amount, UErrorCode& status) { in add() argument
339 if (amount != 0) { in add()
345 offsetMonth(moon, dom, amount); in add()
349 Calendar::add(field, amount, status); in add()
358 void ChineseCalendar::add(EDateFields field, int32_t amount, UErrorCode& status) { in add() argument
359 add((UCalendarDateFields)field, amount, status); in add()
366 void ChineseCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) { in roll() argument
369 if (amount != 0) { in roll()
408 int32_t newM = (m + amount) % n; in roll()
419 Calendar::roll(field, amount, status); in roll()
[all …]
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);
Dgregocal.cpp817 GregorianCalendar::roll(EDateFields field, int32_t amount, UErrorCode& status) { in roll() argument
818 roll((UCalendarDateFields) field, amount, status); in roll()
822 GregorianCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) in roll() argument
824 if((amount == 0) || U_FAILURE(status)) { in roll()
881 woy += amount; in roll()
905 Calendar::roll(field, amount, status); in roll()
914 amount * kOneDay, monthLen); in roll()
920 __FILE__, __LINE__,amount, cMonthLen, cMonthStart+msIntoMonth); in roll()
928 Calendar::roll(field, amount, status); in roll()
933 __FILE__, __LINE__,amount); in roll()
[all …]
/external/sonivox/arm-wt-22k/host_src/
Deas_hostmm.c187 void *EAS_HWMemCpy (void *dest, const void *src, EAS_I32 amount) in EAS_HWMemCpy() argument
189 if (amount < 0) { in EAS_HWMemCpy()
190 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x1a54b6e8, 0x00000004 , amount); in EAS_HWMemCpy()
193 return memcpy(dest, src, (size_t) amount); in EAS_HWMemCpy()
204 void *EAS_HWMemSet (void *dest, int val, EAS_I32 amount) in EAS_HWMemSet() argument
206 if (amount < 0) { in EAS_HWMemSet()
207 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x1a54b6e8, 0x00000005 , amount); in EAS_HWMemSet()
210 return memset(dest, val, (size_t) amount); in EAS_HWMemSet()
221 EAS_I32 EAS_HWMemCmp (const void *s1, const void *s2, EAS_I32 amount) in EAS_HWMemCmp() argument
223 if (amount < 0) { in EAS_HWMemCmp()
[all …]
/external/speex/libspeex/
Dscal.c140 float amount; in speex_decorrelate() local
147 amount = .01*strength; in speex_decorrelate()
174 beta = 1.-.3*amount*amount; in speex_decorrelate()
175 if (amount>1) in speex_decorrelate()
176 beta = 1-sqrt(.4*amount); in speex_decorrelate()
178 beta = 1-0.63246*amount; in speex_decorrelate()
200 max_alpha = pow(.96+.04*(amount-1),order); in speex_decorrelate()
231 float coef = M_PI*0.075063 * 0.93763 * amount * .8 * 0.707; in speex_decorrelate()
/external/srec/shared/src/
DCircularBuffer.c149 int CircularBufferUnwrite(CircularBuffer* buffer, size_t amount) in CircularBufferUnwrite() argument
153 if (available < amount) in CircularBufferUnwrite()
154 amount = available; in CircularBufferUnwrite()
155 buffer->size -= amount; in CircularBufferUnwrite()
156 return amount; in CircularBufferUnwrite()
/external/chromium-trace/trace-viewer/src/model/
Dthread.js150 shiftTimestampsForward: function(amount) { argument
151 SliceGroup.prototype.shiftTimestampsForward.call(this, amount); argument
156 slice.start += amount;
163 sample.start += amount;
167 this.kernelSlices.shiftTimestampsForward(amount);
168 this.asyncSlices.shiftTimestampsForward(amount);
Dcpu.js48 shiftTimestampsForward: function(amount) { argument
50 this.slices[sI].start = (this.slices[sI].start + amount);
52 this.counters[id].shiftTimestampsForward(amount);
Dasync_slice_group.js85 shiftTimestampsForward: function(amount) { argument
88 slice.start = (slice.start + amount);
90 slice.subSlices[sJ].start += amount;
Dprocess_base.js55 shiftTimestampsForward: function(amount) { argument
57 this.threads[tid].shiftTimestampsForward(amount);
59 this.counters[id].shiftTimestampsForward(amount);
/external/libxslt/libxslt/
Dnumbers.c543 int amount = 0; in xsltNumberFormatGetAnyLevel() local
614 array[amount++] = (double) cnt; in xsltNumberFormatGetAnyLevel()
620 return(amount); in xsltNumberFormatGetAnyLevel()
633 int amount = 0; in xsltNumberFormatGetMultipleLevel() local
686 array[amount++] = (double)cnt; in xsltNumberFormatGetMultipleLevel()
687 if (amount >= max) in xsltNumberFormatGetMultipleLevel()
695 return amount; in xsltNumberFormatGetMultipleLevel()
704 int amount = 0; in xsltNumberFormatGetValue() local
718 amount++; in xsltNumberFormatGetValue()
723 return amount; in xsltNumberFormatGetValue()
[all …]
/external/skia/gm/
Dcolorfilterimagefilter.cpp21 static SkImageFilter* make_blur(float amount, SkImageFilter* input = NULL) { in make_blur() argument
22 return new SkBlurImageFilter(amount, amount, input); in make_blur()
25 static SkImageFilter* make_brightness(float amount, SkImageFilter* input = NULL) { in make_brightness() argument
26 SkScalar amount255 = SkScalarMul(SkFloatToScalar(amount), SkIntToScalar(255)); in make_brightness()
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
Dhttp_header_util.py70 def consume(state, amount=1): argument
75 if state.head + amount > len(state.data):
78 result = state.data[state.head:state.head + amount]
79 state.head = state.head + amount
/external/sonivox/arm-fm-22k/host_src/
Deas_hostmm.c163 void *EAS_HWMemCpy (void *dest, const void *src, EAS_I32 amount) in EAS_HWMemCpy() argument
165 return memcpy(dest, src, (size_t) amount); in EAS_HWMemCpy()
176 void *EAS_HWMemSet (void *dest, int val, EAS_I32 amount) in EAS_HWMemSet() argument
178 return memset(dest, val, (size_t) amount); in EAS_HWMemSet()
189 EAS_I32 EAS_HWMemCmp (const void *s1, const void *s2, EAS_I32 amount) in EAS_HWMemCmp() argument
191 return (EAS_I32) memcmp(s1, s2, (size_t) amount); in EAS_HWMemCmp()
/external/sonivox/arm-hybrid-22k/host_src/
Deas_hostmm.c163 void *EAS_HWMemCpy (void *dest, const void *src, EAS_I32 amount) in EAS_HWMemCpy() argument
165 return memcpy(dest, src, (size_t) amount); in EAS_HWMemCpy()
176 void *EAS_HWMemSet (void *dest, int val, EAS_I32 amount) in EAS_HWMemSet() argument
178 return memset(dest, val, (size_t) amount); in EAS_HWMemSet()
189 EAS_I32 EAS_HWMemCmp (const void *s1, const void *s2, EAS_I32 amount) in EAS_HWMemCmp() argument
191 return (EAS_I32) memcmp(s1, s2, (size_t) amount); in EAS_HWMemCmp()
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/
DBaseCodeCursor.java58 protected final void advance(int amount) { in advance() argument
59 cursor += amount; in advance()
/external/icu4c/i18n/unicode/
Dcurramt.h47 CurrencyAmount(const Formattable& amount, const UChar* isoCode,
60 CurrencyAmount(double amount, const UChar* isoCode,

12345678910>>...14