/third_party/node/deps/v8/src/heap/ |
H A D | memory-chunk-inl.h | 15 ExternalBackingStoreType type, size_t amount) { in IncrementExternalBackingStoreBytes() 17 base::CheckedIncrement(&external_backing_store_bytes_[type], amount); in IncrementExternalBackingStoreBytes() 18 owner()->IncrementExternalBackingStoreBytes(type, amount); in IncrementExternalBackingStoreBytes() 23 ExternalBackingStoreType type, size_t amount) { in DecrementExternalBackingStoreBytes() 25 base::CheckedDecrement(&external_backing_store_bytes_[type], amount); in DecrementExternalBackingStoreBytes() 26 owner()->DecrementExternalBackingStoreBytes(type, amount); in DecrementExternalBackingStoreBytes() 33 size_t amount) { in MoveExternalBackingStoreBytes() 36 base::CheckedDecrement(&(from->external_backing_store_bytes_[type]), amount); in MoveExternalBackingStoreBytes() 37 base::CheckedIncrement(&(to->external_backing_store_bytes_[type]), amount); in MoveExternalBackingStoreBytes() 39 amount); in MoveExternalBackingStoreBytes() 14 IncrementExternalBackingStoreBytes( ExternalBackingStoreType type, size_t amount) IncrementExternalBackingStoreBytes() argument 22 DecrementExternalBackingStoreBytes( ExternalBackingStoreType type, size_t amount) DecrementExternalBackingStoreBytes() argument 30 MoveExternalBackingStoreBytes(ExternalBackingStoreType type, MemoryChunk* from, MemoryChunk* to, size_t amount) MoveExternalBackingStoreBytes() argument [all...] |
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | int128.h | 232 inline uint128 operator<<(const uint128& val, int amount) { in operator <<() argument 234 if (amount < 64) { in operator <<() 235 if (amount == 0) { in operator <<() 238 uint64 new_hi = (Uint128High64(val) << amount) | in operator <<() 239 (Uint128Low64(val) >> (64 - amount)); in operator <<() 240 uint64 new_lo = Uint128Low64(val) << amount; in operator <<() 242 } else if (amount < 128) { in operator <<() 243 return uint128(Uint128Low64(val) << (amount - 64), 0); in operator <<() 249 inline uint128 operator>>(const uint128& val, int amount) { in operator >>() argument 251 if (amount < 6 in operator >>() 266 operator <<=(int amount) operator <<=() argument 283 operator >>=(int amount) operator >>=() argument [all...] |
/third_party/mesa3d/src/util/ |
H A D | bitset.h | 110 __bitset_rotate_right(BITSET_WORD *x, unsigned amount, unsigned n) in __bitset_rotate_right() argument 112 assert(amount < BITSET_WORDBITS); in __bitset_rotate_right() 114 if (amount == 0) in __bitset_rotate_right() 118 x[i] = (x[i] >> amount) | (x[i + 1] << (BITSET_WORDBITS - amount)); in __bitset_rotate_right() 121 x[n - 1] = x[n - 1] >> amount; in __bitset_rotate_right() 125 __bitset_rotate_left(BITSET_WORD *x, unsigned amount, unsigned n) 127 assert(amount < BITSET_WORDBITS); 129 if (amount == 0) 133 x[i] = (x[i] << amount) | ( [all...] |
/third_party/libwebsockets/lib/roles/http/server/ |
H A D | fops-zip.c | 169 lws_filepos_t amount; in lws_fops_zip_scan() local 176 if (lws_vfs_file_read(priv->zip_fop_fd, &amount, buf, in lws_fops_zip_scan() 180 if (amount != ZE_DIRECTORY_LENGTH) in lws_fops_zip_scan() 206 if (lws_vfs_file_read(priv->zip_fop_fd, &amount, buf, in lws_fops_zip_scan() 210 if (amount != ZC_DIRECTORY_LENGTH) in lws_fops_zip_scan() 237 &amount, buf, (unsigned int)len)) in lws_fops_zip_scan() 239 if ((int)amount != len) in lws_fops_zip_scan() 252 &amount, buf, in lws_fops_zip_scan() 255 if (amount != ZL_HEADER_LENGTH) in lws_fops_zip_scan() 497 lws_fops_zip_read(lws_fop_fd_t fd, lws_filepos_t *amount, uint8_ argument [all...] |
/third_party/openssl/test/ |
H A D | bio_prefix_text.c | 39 static size_t amount = 0; variable 86 if (!BIO_write_ex(chain[amount - 1], buf, bytes_in, &bytes)) in run_pipe() 97 size_t n = amount; in setup_bio_chain() 129 BIO_free_all(chain[amount - 1]); in cleanup() 164 amount = strtoul(arg, &endptr, 10); in setup() 171 if (amount < 1) { in setup() 209 if (idx >= amount) { in setup() 211 progname, idx, amount - 1); in setup() 240 if (idx >= amount) { in setup() 242 progname, idx, amount in setup() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_apulsator.c | 35 double amount; member 46 double amount; member 70 { "amount", "set modulation", OFFSET(amount), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0, 1, FLAGS }, 125 return val * lfo->amount; in lfo_get_value() 137 const double amount = s->amount; in filter_frame() local 162 procL *= lfo_get_value(&s->lfoL) * 0.5 + amount / 2; in filter_frame() 163 procR *= lfo_get_value(&s->lfoR) * 0.5 + amount / 2; in filter_frame() 165 outL = procL + inL * (1 - amount); in filter_frame() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | 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) in add() argument 222 // We can't just do a set(MONTH, get(MONTH) + amount). The in add() 223 // reason is ADAR_1. Suppose amount is +2 and we land in in add() 225 // if amount is -2 and we land in ADAR_1, then we have to in add() 230 if (amount > 0) { in add() 232 month += amount; in add() 246 month += amount; in add() 274 add(EDateFields field, int32_t amount, UErrorCode& status) add() argument 311 roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) roll() argument 345 roll(EDateFields field, int32_t amount, UErrorCode& status) roll() argument [all...] |
H A D | curramt.cpp | 22 CurrencyAmount::CurrencyAmount(const Formattable& amount, ConstChar16Ptr isoCode, in CurrencyAmount() argument 24 Measure(amount, new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount() 27 CurrencyAmount::CurrencyAmount(double amount, ConstChar16Ptr isoCode, in CurrencyAmount() argument 29 Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | 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) in add() argument 222 // We can't just do a set(MONTH, get(MONTH) + amount). The in add() 223 // reason is ADAR_1. Suppose amount is +2 and we land in in add() 225 // if amount is -2 and we land in ADAR_1, then we have to in add() 230 if (amount > 0) { in add() 232 month += amount; in add() 246 month += amount; in add() 274 add(EDateFields field, int32_t amount, UErrorCode& status) add() argument 311 roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) roll() argument 345 roll(EDateFields field, int32_t amount, UErrorCode& status) roll() argument [all...] |
H A D | curramt.cpp | 22 CurrencyAmount::CurrencyAmount(const Formattable& amount, ConstChar16Ptr isoCode, in CurrencyAmount() argument 24 Measure(amount, new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount() 27 CurrencyAmount::CurrencyAmount(double amount, ConstChar16Ptr isoCode, in CurrencyAmount() argument 29 Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount()
|
/third_party/libwebsockets/include/libwebsockets/ |
H A D | lws-vfs.h | 113 int (*LWS_FOP_READ)(lws_fop_fd_t fop_fd, lws_filepos_t *amount, 115 /**< Read from file, on exit *amount is set to amount actually read */ 116 int (*LWS_FOP_WRITE)(lws_fop_fd_t fop_fd, lws_filepos_t *amount, 118 /**< Write to file, on exit *amount is set to amount actually written */ 227 * \param amount: how much to read (rewritten by call) 232 lws_vfs_file_read(lws_fop_fd_t fop_fd, lws_filepos_t *amount, in lws_vfs_file_read() argument 235 return fop_fd->fops->LWS_FOP_READ(fop_fd, amount, buf, len); in lws_vfs_file_read() 241 * \param amount 246 lws_vfs_file_write(lws_fop_fd_t fop_fd, lws_filepos_t *amount, uint8_t *buf, lws_filepos_t len) lws_vfs_file_write() argument [all...] |
/third_party/skia/src/core/ |
H A D | SkFontStream.cpp | 40 static bool read(SkStream* stream, void* buffer, size_t amount) { in read() argument 41 return stream->read(buffer, amount) == amount; in read() 44 static bool skip(SkStream* stream, size_t amount) { in skip() argument 45 return stream->skip(amount) == amount; in skip() 78 size_t amount = sizeof(SkSharedTTHeader) + ttcIndex * sizeof(uint32_t); in count_tables() local 79 header = (SkSharedTTHeader*)storage.reset(amount); in count_tables() 80 if (!read(stream, header, amount)) { in count_tables()
|
/third_party/curl/lib/ |
H A D | headers.c | 43 size_t amount, in copy_header_external() 50 h->amount = amount; in copy_header_external() 72 size_t amount = 0; in curl_easy_header() local 86 /* we need a first round to count amount of this header */ in curl_easy_header() 92 amount++; in curl_easy_header() 97 if(!amount) in curl_easy_header() 99 else if(nameindex >= amount) in curl_easy_header() 102 if(nameindex == amount - 1) in curl_easy_header() 120 copy_header_external(hs, nameindex, amount, e_pic in curl_easy_header() 41 copy_header_external(struct Curl_header_store *hs, size_t index, size_t amount, struct Curl_llist_element *e, struct curl_header *hout) copy_header_external() argument 136 size_t amount = 0; curl_easy_nextheader() local [all...] |
H A D | gopher.c | 142 ssize_t amount, k; in gopher_do() local 188 result = Curl_nwrite(data, FIRSTSOCKET, sel, k, &amount); in gopher_do() 190 result = Curl_client_write(data, CLIENTWRITE_HEADER, sel, amount); in gopher_do() 194 k -= amount; in gopher_do() 195 sel += amount; in gopher_do() 230 result = Curl_nwrite(data, FIRSTSOCKET, "\r\n", 2, &amount); in gopher_do()
|
/third_party/curl/tests/libtest/ |
H A D | lib1591.c | 39 size_t amount = nmemb * size; /* Total bytes curl wants */ in read_callback() local 45 if(amount > strlen(data)-consumed) { in read_callback() 46 amount = strlen(data); in read_callback() 49 consumed += amount; in read_callback() 51 memcpy(ptr, data, amount); in read_callback() 52 return amount; in read_callback()
|
H A D | lib1940.c | 56 if(header->amount > 1) { in showem() 59 size_t amount = header->amount; in showem() local 62 (int)index, (int)amount); in showem() 64 if(++index == amount) in showem()
|
/third_party/curl/src/ |
H A D | tool_urlglob.c | 67 static int multiply(curl_off_t *amount, curl_off_t with) in multiply() argument 70 DEBUGASSERT(*amount >= 0); in multiply() 72 if((with <= 0) || (*amount <= 0)) { in multiply() 78 if(__builtin_mul_overflow(*amount, with, &sum)) in multiply() 81 sum = *amount * with; in multiply() 82 if(sum/with != *amount) in multiply() 86 *amount = sum; in multiply() 91 size_t *posp, curl_off_t *amount, in glob_set() 127 if(multiply(amount, pat->content.Set.size + 1)) in glob_set() 186 size_t *posp, curl_off_t *amount, in glob_range() 90 glob_set(struct URLGlob *glob, char **patternp, size_t *posp, curl_off_t *amount, int globindex) glob_set() argument 185 glob_range(struct URLGlob *glob, char **patternp, size_t *posp, curl_off_t *amount, int globindex) glob_range() argument 373 glob_parse(struct URLGlob *glob, char *pattern, size_t pos, curl_off_t *amount) glob_parse() argument 459 curl_off_t amount = 0; glob_url() local [all...] |
/third_party/vixl/src/ |
H A D | code-buffer-vixl.h | 177 bool HasSpaceFor(size_t amount) const { in HasSpaceFor() 178 return GetRemainingBytes() >= amount; in HasSpaceFor() 181 void EnsureSpaceFor(size_t amount, bool* has_grown) { in EnsureSpaceFor() argument 182 bool is_full = !HasSpaceFor(amount); in EnsureSpaceFor() 183 if (is_full) Grow(capacity_ * 2 + amount); in EnsureSpaceFor() 187 void EnsureSpaceFor(size_t amount) { in EnsureSpaceFor() argument 189 EnsureSpaceFor(amount, &placeholder); in EnsureSpaceFor()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | curramt.cpp | 22 CurrencyAmount::CurrencyAmount(const Formattable& amount, ConstChar16Ptr isoCode, in CurrencyAmount() argument 24 Measure(amount, new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount() 27 CurrencyAmount::CurrencyAmount(double amount, ConstChar16Ptr isoCode, in CurrencyAmount() argument 29 Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount()
|
H A D | hebrwcal.cpp | 190 * Add a signed amount to a specified field, using this calendar's rules. 210 * @param amount the amount to add to the field. 216 void HebrewCalendar::add(UCalendarDateFields field, int32_t amount, UErrorCode& status) in add() argument 225 // We can't just do a set(MONTH, get(MONTH) + amount). The in add() 226 // reason is ADAR_1. Suppose amount is +2 and we land in in add() 228 // if amount is -2 and we land in ADAR_1, then we have to in add() 233 if (amount > 0) { in add() 235 month += amount; in add() 249 month += amount; in add() 277 add(EDateFields field, int32_t amount, UErrorCode& status) add() argument 314 roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) roll() argument 349 roll(EDateFields field, int32_t amount, UErrorCode& status) roll() argument [all...] |
/third_party/libwebsockets/lib/plat/unix/ |
H A D | unix-file.c | 148 _lws_plat_file_read(lws_fop_fd_t fop_fd, lws_filepos_t *amount, in _lws_plat_file_read() argument 155 *amount = 0; in _lws_plat_file_read() 162 *amount = (lws_filepos_t)n; in _lws_plat_file_read() 168 _lws_plat_file_write(lws_fop_fd_t fop_fd, lws_filepos_t *amount, in _lws_plat_file_write() argument 175 *amount = 0; in _lws_plat_file_write() 180 *amount = (lws_filepos_t)n; in _lws_plat_file_write()
|
/third_party/ffmpeg/libavcodec/ |
H A D | noise_bsf.c | 98 av_log(ctx, AV_LOG_ERROR, "Error in parsing expr for amount: %s\n", s->amount_str); in noise_init() 129 int i, ret, amount, drop = 0; in noise() local 154 amount = 0; in noise() 156 amount = (s->state % 10001 + 1); in noise() 158 amount = (int)res; in noise() 175 av_log(ctx, AV_LOG_VERBOSE, "Stream #%d packet %d pts %"PRId64" - amount %d drop %d\n", in noise() 176 pkt->stream_index, (unsigned int)s->var_values[VAR_N], pkt->pts, amount, drop); in noise() 184 if (amount) { in noise() 194 if (amount && s->state % amount in noise() [all...] |
/third_party/skia/modules/skottie/src/text/ |
H A D | TextAnimator.cpp | 116 float amount) const { in modulateProps() 120 modulated_props.position += static_cast<SkV3>(fTextProps.position) * amount; in modulateProps() 121 modulated_props.rotation += fTextProps.rotation * amount; in modulateProps() 122 modulated_props.tracking += fTextProps.tracking * amount; in modulateProps() 124 (static_cast<SkV3>(fTextProps.scale) * 0.01f - SkV3{1,1,1}) * amount; in modulateProps() 127 modulated_props.blur += fTextProps.blur * amount; in modulateProps() 128 modulated_props.line_spacing += fTextProps.line_spacing * amount; in modulateProps() 140 // Colors and opacity are overridden, and use a clamped amount value. in modulateProps() 141 const auto clamped_amount = std::max(amount, 0.0f); in modulateProps()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | 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. 449 public void add(int field, int amount) in add() argument 454 // We can't just do a set(MONTH, get(MONTH) + amount). The in add() 455 // reason is ADAR_1. Suppose amount is +2 and we land in in add() 457 // if amount is -2 and we land in ADAR_1, then we have to in add() 462 if (amount > 0) { in add() 464 month += amount; in add() 478 month += amount; in add() 536 roll(int field, int amount) roll() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | 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) in add() argument 430 // We can't just do a set(MONTH, get(MONTH) + amount). The in add() 431 // reason is ADAR_1. Suppose amount is +2 and we land in in add() 433 // if amount is -2 and we land in ADAR_1, then we have to in add() 438 if (amount > 0) { in add() 440 month += amount; in add() 454 month += amount; in add() 510 roll(int field, int amount) roll() argument [all...] |