Home
last modified time | relevance | path

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

12345678910>>...54

/third_party/protobuf/src/google/protobuf/stubs/
Dint128.h232 inline uint128 operator<<(const uint128& val, int amount) {
234 if (amount < 64) {
235 if (amount == 0) {
238 uint64 new_hi = (Uint128High64(val) << amount) |
239 (Uint128Low64(val) >> (64 - amount));
240 uint64 new_lo = Uint128Low64(val) << amount;
242 } else if (amount < 128) {
243 return uint128(Uint128Low64(val) << (amount - 64), 0);
249 inline uint128 operator>>(const uint128& val, int amount) {
251 if (amount < 64) {
[all …]
/third_party/typescript/tests/baselines/reference/
DobjectCreationOfElementAccessExpression.symbols5 private amount: number;
6 >amount : Symbol(Food.amount, Decl(objectCreationOfElementAccessExpression.ts, 0, 12))
11 this.amount = 100;
12 >this.amount : Symbol(Food.amount, Decl(objectCreationOfElementAccessExpression.ts, 0, 12))
14 >amount : Symbol(Food.amount, Decl(objectCreationOfElementAccessExpression.ts, 0, 12))
20 this.amount -= amountToEat;
21 >this.amount : Symbol(Food.amount, Decl(objectCreationOfElementAccessExpression.ts, 0, 12))
23 >amount : Symbol(Food.amount, Decl(objectCreationOfElementAccessExpression.ts, 0, 12))
26 if (this.amount <= 0) {
27 >this.amount : Symbol(Food.amount, Decl(objectCreationOfElementAccessExpression.ts, 0, 12))
[all …]
DobjectCreationOfElementAccessExpression.types5 private amount: number;
6 >amount : number
11 this.amount = 100;
12 >this.amount = 100 : 100
13 >this.amount : number
15 >amount : number
22 this.amount -= amountToEat;
23 >this.amount -= amountToEat : number
24 >this.amount : number
26 >amount : number
[all …]
DobjectCreationOfElementAccessExpression.js3 private amount: number;
5 this.amount = 100;
8 this.amount -= amountToEat; field in Food
9 if (this.amount <= 0) { field in Food
10 this.amount = 0;
77 this.amount = 100;
80 this.amount -= amountToEat;
81 if (this.amount <= 0) {
82 this.amount = 0;
DmatchReturnTypeInAllBranches.types65 * @param {number} amount The amount of ice cream to e at.
68 public eatIceCream(amount: number): boolean {
69 >eatIceCream : (amount: number) => boolean
70 >amount : number
72 this.iceCreamRemaining -= amount;
73 >this.iceCreamRemaining -= amount : number
77 >amount : number
/third_party/mesa3d/src/util/
Dbitset.h110 __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) in __bitset_rotate_left() argument
127 assert(amount < BITSET_WORDBITS); in __bitset_rotate_left()
129 if (amount == 0) in __bitset_rotate_left()
133 x[i] = (x[i] << amount) | (x[i - 1] >> (BITSET_WORDBITS - amount)); in __bitset_rotate_left()
136 x[0] = x[0] << amount; in __bitset_rotate_left()
[all …]
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/
Dpesto_demo.dart497 return _buildItemRow(ingredient.amount, ingredient.description);
559 const RecipeIngredient({this.amount, this.description});
561 final String amount;
582 RecipeIngredient(amount: '1 whole', description: 'Chicken'),
583 RecipeIngredient(amount: '1/2 cup', description: 'Butter'),
584 RecipeIngredient(amount: '1 tbsp', description: 'Onion powder'),
585 RecipeIngredient(amount: '1 tbsp', description: 'Freshly ground pepper'),
586 RecipeIngredient(amount: '1 tsp', description: 'Salt'),
602 RecipeIngredient(amount: '3 cups', description: 'Beet greens'),
617 RecipeIngredient(amount: '1/4 cup ', description: 'Pasta'),
[all …]
/third_party/ffmpeg/libavfilter/
Daf_apulsator.c34 double amount; member
45 double amount; member
69 …{ "amount", "set modulation", OFFSET(amount), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0, …
124 return val * lfo->amount; in lfo_get_value()
136 const double amount = s->amount; in filter_frame() local
161 procL *= lfo_get_value(&s->lfoL) * 0.5 + amount / 2; in filter_frame()
162 procR *= lfo_get_value(&s->lfoR) * 0.5 + amount / 2; in filter_frame()
164 outL = procL + inL * (1 - amount); in filter_frame()
165 outR = procR + inR * (1 - amount); in filter_frame()
223 s->lfoL.amount = s->amount; in config_input()
[all …]
/third_party/libwebsockets/lib/roles/http/server/
Dfops-zip.c169 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_t *buf, in lws_fops_zip_read() argument
[all …]
/third_party/ffmpeg/libavcodec/
Dnoise_bsf.c31 int amount; member
39 int amount = s->amount > 0 ? s->amount : (s->state % 10001 + 1); in noise() local
42 if (amount <= 0) in noise()
63 if (s->state % amount == 0) in noise()
73 { "amount", NULL, OFFSET(amount), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, FLAGS },
/third_party/openssl/test/
Dbio_prefix_text.c39 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 - 1); in setup()
/third_party/libwebsockets/include/libwebsockets/
Dlws-vfs.h113 int (*LWS_FOP_READ)(lws_fop_fd_t fop_fd, lws_filepos_t *amount,
116 int (*LWS_FOP_WRITE)(lws_fop_fd_t fop_fd, lws_filepos_t *amount,
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()
246 lws_vfs_file_write(lws_fop_fd_t fop_fd, lws_filepos_t *amount, in lws_vfs_file_write() argument
249 return fop_fd->fops->LWS_FOP_WRITE(fop_fd, amount, buf, len); in lws_vfs_file_write()
264 _lws_plat_file_read(lws_fop_fd_t fop_fd, lws_filepos_t *amount,
267 _lws_plat_file_write(lws_fop_fd_t fop_fd, lws_filepos_t *amount,
272 uint8_t **buf, lws_filepos_t *amount);
/third_party/flutter/skia/modules/skottie/src/text/
DRangeSelector.cpp108 void operator()(float amount, size_t offset, size_t count) const { in operator ()() argument
109 (this->*fProc)(amount, offset, count); in operator ()()
114 void add_proc(float amount, size_t offset, size_t count) const { in add_proc() argument
115 if (!amount || !count) return; in add_proc()
118 dst->coverage = SkTPin<float>(dst->coverage + amount, -1, 1); in add_proc()
123 void domain_map_proc(float amount, size_t offset, size_t count) const { in domain_map_proc() argument
129 (this->*fMappedProc)(amount, span.fOffset, span.fCount); in domain_map_proc()
133 using ProcT = void(CoverageProcessor::*)(float amount, size_t offset, size_t count) const;
310 const auto amount = SkTPin<float>(fAmount / 100, -1, 1); in modulateCoverage() local
331 coverage_proc(amount * generator.lo, 0 , count_lo); in modulateCoverage()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dhebrwcal.cpp214 void HebrewCalendar::add(UCalendarDateFields field, int32_t amount, UErrorCode& status) in add() argument
230 if (amount > 0) { in add()
232 month += amount; in add()
246 month += amount; in add()
266 Calendar::add(field, amount, status); in add()
274 void HebrewCalendar::add(EDateFields field, int32_t amount, UErrorCode& status) in add() argument
276 add((UCalendarDateFields)field, amount, status); in add()
311 void HebrewCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) in roll() argument
324 int32_t newMonth = month + (amount % yearLength); in roll()
330 if (amount > 0 && month < ADAR_1 && newMonth >= ADAR_1) { in roll()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dhebrwcal.cpp214 void HebrewCalendar::add(UCalendarDateFields field, int32_t amount, UErrorCode& status) in add() argument
230 if (amount > 0) { in add()
232 month += amount; in add()
246 month += amount; in add()
266 Calendar::add(field, amount, status); in add()
274 void HebrewCalendar::add(EDateFields field, int32_t amount, UErrorCode& status) in add() argument
276 add((UCalendarDateFields)field, amount, status); in add()
311 void HebrewCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) in roll() argument
324 int32_t newMonth = month + (amount % yearLength); in roll()
330 if (amount > 0 && month < ADAR_1 && newMonth >= ADAR_1) { in roll()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dhebrwcal.cpp214 void HebrewCalendar::add(UCalendarDateFields field, int32_t amount, UErrorCode& status) in add() argument
230 if (amount > 0) { in add()
232 month += amount; in add()
246 month += amount; in add()
266 Calendar::add(field, amount, status); in add()
274 void HebrewCalendar::add(EDateFields field, int32_t amount, UErrorCode& status) in add() argument
276 add((UCalendarDateFields)field, amount, status); in add()
311 void HebrewCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) in roll() argument
324 int32_t newMonth = month + (amount % yearLength); in roll()
330 if (amount > 0 && month < ADAR_1 && newMonth >= ADAR_1) { in roll()
[all …]
/third_party/icu/icu4c/source/i18n/
Dhebrwcal.cpp214 void HebrewCalendar::add(UCalendarDateFields field, int32_t amount, UErrorCode& status) in add() argument
230 if (amount > 0) { in add()
232 month += amount; in add()
246 month += amount; in add()
266 Calendar::add(field, amount, status); in add()
274 void HebrewCalendar::add(EDateFields field, int32_t amount, UErrorCode& status) in add() argument
276 add((UCalendarDateFields)field, amount, status); in add()
311 void HebrewCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) in roll() argument
324 int32_t newMonth = month + (amount % yearLength); in roll()
330 if (amount > 0 && month < ADAR_1 && newMonth >= ADAR_1) { in roll()
[all …]
/third_party/flutter/skia/src/core/
DSkFontStream.cpp40 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/skia/src/core/
DSkFontStream.cpp40 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/typescript/tests/cases/compiler/
DobjectCreationOfElementAccessExpression.ts2 private amount: number; property in Food
4 this.amount = 100;
7 this.amount -= amountToEat;
8 if (this.amount <= 0) {
9 this.amount = 0;
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DHebrewCalendar.java425 public void add(int field, int amount) in add() argument
438 if (amount > 0) { in add()
440 month += amount; in add()
454 month += amount; in add()
474 super.add(field, amount); in add()
510 public void roll(int field, int amount) in roll() argument
520 int newMonth = month + (amount % yearLength); in roll()
526 if (amount > 0 && month < ADAR_1 && newMonth >= ADAR_1) { in roll()
528 } else if (amount < 0 && month > ADAR_1 && newMonth <= ADAR_1) { in roll()
537 super.roll(field, amount); in roll()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DHebrewCalendar.java449 public void add(int field, int amount) in add() argument
462 if (amount > 0) { in add()
464 month += amount; in add()
478 month += amount; in add()
498 super.add(field, amount); in add()
536 public void roll(int field, int amount) in roll() argument
546 int newMonth = month + (amount % yearLength); in roll()
552 if (amount > 0 && month < ADAR_1 && newMonth >= ADAR_1) { in roll()
554 } else if (amount < 0 && month > ADAR_1 && newMonth <= ADAR_1) { in roll()
563 super.roll(field, amount); in roll()
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/
Dint128.h412 int128& operator<<=(int amount);
413 int128& operator>>=(int amount);
589 constexpr uint128 operator<<(uint128 lhs, int amount);
590 constexpr uint128 operator>>(uint128 lhs, int amount);
597 inline uint128& uint128::operator<<=(int amount) {
598 *this = *this << amount;
602 inline uint128& uint128::operator>>=(int amount) {
603 *this = *this >> amount;
903 constexpr uint128 operator<<(uint128 lhs, int amount) {
905 return static_cast<unsigned __int128>(lhs) << amount;
[all …]
/third_party/skia/modules/skottie/src/text/
DTextAnimator.cpp116 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()
141 const auto clamped_amount = std::max(amount, 0.0f); in modulateProps()
/third_party/node/deps/npm/node_modules/detect-indent/
Dindex.js102 const amount = getMostUsed(indents); constant
106 if (!amount) {
111 indent = ' '.repeat(amount);
114 indent = '\t'.repeat(amount);
118 amount,

12345678910>>...54