/libcore/ojluni/src/main/java/java/time/temporal/ |
ChronoUnit.java | 265 public <R extends Temporal> R addTo(R temporal, long amount) { 266 return (R) temporal.plus(amount, this);
|
/frameworks/base/libs/hwui/ |
Caches.cpp | 145 uint32_t Caches::getOverdrawColor(uint32_t amount) const { 150 if (amount < 1) amount = 1; 151 if (amount > 4) amount = 4; 154 return sOverdrawColors[overdrawColorIndex][amount - 1];
|
GradientCache.h | 158 float amount, uint8_t*& dst) const; 161 float amount, uint8_t*& dst) const; 163 float amount, uint8_t*& dst) const;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/ |
ThreadsTest.java | 144 /** whether {@link #amount} is milliseconds to wait in an 149 /** amount to wait (see above) */ 150 private final long amount; field in class:ThreadsTest.Parker 173 this.amount = absolute ? parkMillis : parkMillis * 1000000; 183 long amount = this.amount; local 188 UNSAFE.park(true, start + amount); 190 UNSAFE.park(false, amount); 206 * @param maxWaitMillis the maximum amount of time to 257 * specified amount of time and then unparks an indicated thread [all...] |
/prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9.x/include/ |
loongson.h | 463 psllh_u (uint16x4_t s, uint8_t amount) 465 return __builtin_loongson_psllh_u (s, amount); 469 psllh_s (int16x4_t s, uint8_t amount) 471 return __builtin_loongson_psllh_s (s, amount); 475 psllw_u (uint32x2_t s, uint8_t amount) 477 return __builtin_loongson_psllw_u (s, amount); 481 psllw_s (int32x2_t s, uint8_t amount) 483 return __builtin_loongson_psllw_s (s, amount); 488 psrlh_u (uint16x4_t s, uint8_t amount) 490 return __builtin_loongson_psrlh_u (s, amount); [all...] |
/prebuilts/gcc/linux-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9.x/include/ |
loongson.h | 463 psllh_u (uint16x4_t s, uint8_t amount) 465 return __builtin_loongson_psllh_u (s, amount); 469 psllh_s (int16x4_t s, uint8_t amount) 471 return __builtin_loongson_psllh_s (s, amount); 475 psllw_u (uint32x2_t s, uint8_t amount) 477 return __builtin_loongson_psllw_u (s, amount); 481 psllw_s (int32x2_t s, uint8_t amount) 483 return __builtin_loongson_psllw_s (s, amount); 488 psrlh_u (uint16x4_t s, uint8_t amount) 490 return __builtin_loongson_psrlh_u (s, amount); [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
AudioRecordTest.java | 519 int amount = samplesRead == 0 ? numChannels : local 521 int ret = record.read(shortData, 0, amount); 522 assertEquals(TEST_NAME, amount, ret); 663 int amount = samplesRead == 0 ? numChannels : local 665 int ret = record.read(shortData, 0, amount); 666 assertEquals(TEST_NAME, amount, ret); 853 int amount = samplesRead == 0 ? numChannels : local 895 int amount = samplesRead == 0 ? numChannels : local 922 int amount = samplesRead == 0 ? numChannels : local 948 int amount = samplesRead == 0 ? numChannels : local [all...] |
/frameworks/base/core/java/android/util/proto/ |
EncodedBuffer.java | 85 * The amount of data in the last buffer. 164 public void skipRead(int amount) { 165 if (amount < 0) { 166 throw new RuntimeException("skipRead with negative amount=" + amount); 168 if (amount == 0) { 171 if (amount <= mChunkSize - mReadIndex) { 172 mReadIndex += amount; 174 amount -= mChunkSize - mReadIndex; 175 mReadIndex = amount % mChunkSize [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/aarch64/ |
diagnostic.l | 25 [^:]*:27: Error: shift amount out of range 0 to 4 at operand 3 -- `add x0,x0,x7,uxtx#5' 27 [^:]*:29: Error: shift amount out of range 0 to 31 at operand 3 -- `add w0,wzr,w7,asr#32' 28 [^:]*:30: Error: invalid post-increment amount at operand 2 -- `st2 \{v0.4s,v1.4s\},\[sp\],#24' 29 [^:]*:31: Error: invalid shift amount at operand 2 -- `ldr q0,\[x0,w0,uxtw#5\]' 31 [^:]*:33: Error: shift amount expected to be 0 or 12 at operand 3 -- `adds x1,sp,2134,lsl#4' 32 [^:]*:34: Error: shift amount should be a multiple of 16 at operand 2 -- `movz w0,2134,lsl#8' 33 [^:]*:35: Error: shift amount out of range 0 to 16 at operand 2 -- `movz w0,2134,lsl#32' 34 [^:]*:36: Error: shift amount should be a multiple of 16 at operand 2 -- `movz x0,2134,lsl#47' 37 [^:]*:39: Error: invalid shift amount at operand 3 -- `shll v1.4s,v2.4h,#15' 38 [^:]*:40: Error: invalid shift amount at operand 3 -- `shll v1.4s,v2.4h,#32 [all...] |
/build/make/tools/droiddoc/templates-pdk/assets/ |
carousel.js | 224 var amount = slideWidth; 225 animateSlide(amount, 'left'); 229 var amount = slideWidth; 230 animateSlide(amount, 'right'); 236 function animateSlide(amount,dir) { 239 if (amount == slideWidth ) { 242 motionDistance = amount;
|
/packages/apps/TV/src/com/android/tv/tuner/source/ |
FileTsStreamer.java | 353 * @param amount number of bytes to read 357 public int readAt(long pos, byte[] buffer, int offset, int amount) throws IOException { 360 while (mBytesFetched < pos + amount && mStreaming) { 384 int bytesToCopyInFirstPass = amount; 389 if (bytesToCopyInFirstPass < amount) { 391 amount - bytesToCopyInFirstPass); 393 mLastReadPosition = pos + amount; 395 return amount; 420 * Keeps reading data in from a {@link StreamProvider} to hold enough amount for buffering.
|
TunerTsStreamer.java | 371 * @param amount number of bytes to read 375 public int readAt(long pos, byte[] buffer, int offset, int amount) throws IOException { 385 if (mBytesFetched < pos + amount) { 396 int endPos = (int) ((pos + amount) % CIRCULAR_BUFFER_SIZE); 399 if (firstLength < amount) { 401 amount - firstLength); 404 return amount;
|
/libcore/ojluni/src/main/java/java/time/ |
Period.java | 95 * A date-based amount of time in the ISO-8601 calendar system, 98 * This class models a quantity or amount of time in terms of years, months and days. 121 * The period is modeled as a directed amount of time, meaning that individual parts of the 195 * The resulting period will be day-based, with the amount of days 225 * @param years the amount of years, may be negative 226 * @param months the amount of months, may be negative 227 * @param days the amount of days, may be negative 236 * Obtains an instance of {@code Period} from a temporal amount. 238 * This obtains a period based on the specified amount. 239 * A {@code TemporalAmount} represents an amount of time, which may b [all...] |
LocalDateTime.java | 1680 long amount = date.daysUntil(end.date); local [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
OrientationHelper.java | 172 * Offsets all children's positions by the given amount. 174 * @param amount Value to add to each child's layout parameters 176 public abstract void offsetChildren(int amount); 190 * @param offset offset amount 263 public void offsetChildren(int amount) { 264 mLayoutManager.offsetChildrenHorizontal(amount); 361 public void offsetChildren(int amount) { 362 mLayoutManager.offsetChildrenVertical(amount);
|
/frameworks/base/core/jni/android/graphics/ |
CreateJavaOutputStreamAdaptor.cpp | 39 size_t amount = this->doSkip(size - amountSkipped); local 40 if (0 == amount) { 42 amount = this->doRead(&tmp, 1); 43 if (0 == amount) { 49 amountSkipped += amount;
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
OrientationHelper.java | 171 * Offsets all children's positions by the given amount. 173 * @param amount Value to add to each child's layout parameters 175 public abstract void offsetChildren(int amount); 189 * @param offset offset amount 262 public void offsetChildren(int amount) { 263 mLayoutManager.offsetChildrenHorizontal(amount); 360 public void offsetChildren(int amount) { 361 mLayoutManager.offsetChildrenVertical(amount);
|
/external/icu/icu4c/source/i18n/ |
chnsecal.cpp | 374 void ChineseCalendar::add(UCalendarDateFields field, int32_t amount, UErrorCode& status) { 377 if (amount != 0) { 383 offsetMonth(moon, dom, amount); 387 Calendar::add(field, amount, status); 396 void ChineseCalendar::add(EDateFields field, int32_t amount, UErrorCode& status) { 397 add((UCalendarDateFields)field, amount, status); 404 void ChineseCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) { 407 if (amount != 0) { 446 int32_t newM = (m + amount) % n; 457 Calendar::roll(field, amount, status) [all...] |
/system/core/libutils/ |
VectorImpl.cpp | 379 void* VectorImpl::_grow(size_t where, size_t amount) 381 // ALOGV("_grow(this=%p, where=%d, amount=%d) count=%d, capacity=%d", 382 // this, (int)where, (int)amount, (int)mCount, (int)capacity()); 385 "[%p] _grow: where=%d, amount=%d, count=%d", 386 this, (int)where, (int)amount, (int)mCount); // caller already checked 389 LOG_ALWAYS_FATAL_IF(!safe_add(&new_size, mCount, amount), "new_size overflow"); 432 void* dest = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; 445 void* to = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; 454 void VectorImpl::_shrink(size_t where, size_t amount) 459 // ALOGV("_shrink(this=%p, where=%d, amount=%d) count=%d, capacity=%d" [all...] |
/build/soong/cmd/soong_zip/ |
rate_limit.go | 103 case amount := <-r.finished: 105 curMemory += int64(amount) 109 case amount := <-r.released: 110 curMemory -= int64(amount)
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
ChineseCalendar.java | 544 public void add(int field, int amount) { 547 if (amount != 0) { 551 offsetMonth(moon, dom, amount); 555 super.add(field, amount); 563 public void roll(int field, int amount) { 566 if (amount != 0) { 601 int newM = (m + amount) % n; 612 super.roll(field, amount); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
ChineseCalendar.java | 561 public void add(int field, int amount) { 564 if (amount != 0) { 568 offsetMonth(moon, dom, amount); 572 super.add(field, amount); 581 public void roll(int field, int amount) { 584 if (amount != 0) { 619 int newM = (m + amount) % n; 630 super.roll(field, amount); [all...] |
/external/libchrome/base/metrics/ |
histogram_delta_serialization.cc | 117 int amount) { 120 inconsistent_snapshot_histogram_->Add(std::abs(amount));
|
/external/skia/bench/ |
ImageFilterCollapse.cpp | 100 static sk_sp<SkColorFilter> make_brightness(float amount) { 101 SkScalar amount255 = amount * 255;
|
/external/v8/src/compiler/ |
frame.h | 196 void IncreaseSPDelta(int amount) { sp_delta_ += amount; }
|