/external/curl/lib/ |
gopher.c | 83 ssize_t amount, k; local 119 result = Curl_write(conn, sockfd, sel, k, &amount); 121 result = Curl_client_write(conn, CLIENTWRITE_HEADER, sel, amount); 125 k -= amount; 126 sel += amount;
|
/external/valgrind/none/tests/s390x/ |
dfp-2.c | 54 void iedtr(_Decimal64 in, long amount) 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) 73 asm volatile (".insn rrf, 0xb3fe0000, %[out], %[amount], %[in], 0\n\t" 75 :[in]"f"(in), [amount]"d"(amount)); 79 printf(", %ld -> ", amount); [all...] |
/external/skia/src/core/ |
SkFontStream.cpp | 40 static bool read(SkStream* stream, void* buffer, size_t amount) { 41 return stream->read(buffer, amount) == amount; 44 static bool skip(SkStream* stream, size_t amount) { 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)) {
|
/frameworks/base/libs/hwui/ |
GradientCache.cpp | 190 float amount, uint8_t*& dst) const { 191 float oppAmount = 1.0f - amount; 192 float a = start.a * oppAmount + end.a * amount; 193 *dst++ = uint8_t(OECF(start.r * oppAmount + end.r * amount) * 255.0f); 194 *dst++ = uint8_t(OECF(start.g * oppAmount + end.g * amount) * 255.0f); 195 *dst++ = uint8_t(OECF(start.b * oppAmount + end.b * amount) * 255.0f); 200 float amount, uint8_t*& dst) const { 201 float oppAmount = 1.0f - amount; 202 float a = start.a * oppAmount + end.a * amount; 206 *d++ = (start.r * oppAmount + end.r * amount); 255 float amount = (pos - startPos) \/ distance; local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
output_unknown.properties | 44 {http\u003a//xml.apache.org/xalan}indent-amount=0
|
/external/icu/icu4c/source/i18n/ |
tmutamt.cpp | 26 TimeUnitAmount::TimeUnitAmount(double amount, 29 : Measure(Formattable(amount),
|
hebrwcal.h | 235 * (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 in the specified field [all...] |
hebrwcal.cpp | 188 * 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) 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; [all...] |
/frameworks/base/tools/aapt/ |
IndentPrinter.h | 13 void indent(int amount = 1) { 14 mIndent += amount;
|
/packages/apps/Settings/src/com/android/settings/ |
AppProgressPreference.java | 33 public void setProgress(int amount) { 34 mProgress = amount;
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
FakeClock.java | 79 * Increment the current time by {@code amount} unit of time. 82 * @param amount The amount of time units to increment by. 84 public void increment(TimeUnit unit, long amount) { 85 mCurrentTimeMillis += unit.toMillis(amount);
|
/platform_testing/libraries/app-helpers/handheld/src/android/platform/test/helpers/handheld/ |
AbstractGmailHelper.java | 155 * @param amount The amount to scroll 158 public abstract void scrollMailbox(Direction direction, float amount, boolean scrollToEnd); 166 * @param amount The amount to scroll 169 public abstract void scrollEmail(Direction direction, float amount, boolean scrollToEnd);
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/lns/ |
lns-big-delta.d | 10 \[0x.*\] Advance PC by fixed size amount 0 to 0x0 15 \[0x.*\] Advance PC by fixed size amount . to 0x.*
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcessStatsPreference.java | 51 double amount = avg ? (statsForeground ? entry.mRunWeight : entry.mBgWeight) * weightToRam local 53 setSummary(Formatter.formatShortFileSize(getContext(), (long) amount)); 54 setProgress((int) (100 * amount / maxMemory));
|
ProcStatsPackageEntry.java | 166 public static CharSequence getFrequency(float amount, Context context) { 167 if (amount > ALWAYS_THRESHOLD) { 169 Utils.formatPercentage((int) (amount * 100))); 170 } else if (amount > SOMETIMES_THRESHOLD) { 172 Utils.formatPercentage((int) (amount * 100))); 175 Utils.formatPercentage((int) (amount * 100)));
|
/external/autotest/client/site_tests/hardware_TPMTakeOwnership/ |
hardware_TPMTakeOwnership.py | 59 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/vixl/src/ |
code-buffer-vixl.h | 154 bool HasSpaceFor(size_t amount) const { 155 return GetRemainingBytes() >= amount; 158 void EnsureSpaceFor(size_t amount, bool* has_grown) { 159 bool is_full = !HasSpaceFor(amount); 160 if (is_full) Grow(capacity_ * 2 + amount); 164 void EnsureSpaceFor(size_t amount) { 166 EnsureSpaceFor(amount, &dummy);
|
/external/zopfli/src/zopfli/ |
hash.c | 95 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;
|
/frameworks/rs/driver/runtime/arch/ |
generic.c | 20 extern short __attribute__((overloadable, always_inline)) rsClamp(short amount, short low, short high); 30 extern T __attribute__((overloadable)) clamp(T amount, T low, T high) { \ 31 return amount < low ? low : (amount > high ? high : amount); \ 34 extern T##2 __attribute__((overloadable)) clamp(T##2 amount, T##2 low, T##2 high) { \ 36 r.x = amount.x < low.x ? low.x : (amount.x > high.x ? high.x : amount.x); \ 37 r.y = amount.y < low.y ? low.y : (amount.y > high.y ? high.y : amount.y); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
HebrewCalendar.java | 400 * 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) 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; [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
HebrewCalendar.java | 422 * 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) 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; [all...] |
/system/core/libpixelflinger/codeflinger/ |
Arm64Assembler.cpp | 374 uint32_t amount; local 380 amount = mAddrMode.reg_imm_shift; 386 amount = 0; 397 case opADD: *mPC++ = A64_ADD_W(Rd, Rn, Rm, shift, amount); break; 398 case opAND: *mPC++ = A64_AND_W(Rd, Rn, Rm, shift, amount); break; 399 case opORR: *mPC++ = A64_ORR_W(Rd, Rn, Rm, shift, amount); break; 400 case opMVN: *mPC++ = A64_ORN_W(Rd, Rn, Rm, shift, amount); break; 401 case opSUB: *mPC++ = A64_SUB_W(Rd, Rn, Rm, shift, amount, s);break; 472 int amount = mAddrMode.reg_imm_shift; local 473 *mPC++ = A64_ADD_X_Wm_SXTW(Rd, Rn, Rm, amount); 478 int amount = 0; local 488 int amount = 0; local [all...] |
/libcore/ojluni/src/main/java/java/time/chrono/ |
ChronoPeriodImpl.java | 177 ChronoPeriodImpl amount = validateAmount(amountToAdd); local 180 Math.addExact(years, amount.years), 181 Math.addExact(months, amount.months), 182 Math.addExact(days, amount.days)); 187 ChronoPeriodImpl amount = validateAmount(amountToSubtract); local 190 Math.subtractExact(years, amount.years), 191 Math.subtractExact(months, amount.months), 192 Math.subtractExact(days, amount.days)); 196 * Obtains an instance of {@code ChronoPeriodImpl} from a temporal amount. 198 * @param amount the temporal amount to convert, not nul [all...] |
/external/sonivox/arm-wt-22k/host_src/ |
eas_hostmm.c | 185 void *EAS_HWMemCpy (void *dest, const void *src, EAS_I32 amount) 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) 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) 221 if (amount < 0) [all...] |
/external/valgrind/memcheck/tests/vbit-test/ |
vbits.h | 90 vbits_t shl_vbits(vbits_t, unsigned amount); 91 vbits_t shr_vbits(vbits_t, unsigned amount); 92 vbits_t sar_vbits(vbits_t, unsigned amount);
|