/third_party/ffmpeg/libavfilter/ |
D | framequeue.c | 25 static inline FFFrameBucket *bucket(FFFrameQueue *fq, size_t idx) in bucket() argument 27 return &fq->queue[(fq->tail + idx) & (fq->allocated - 1)]; in bucket() 34 static void check_consistency(FFFrameQueue *fq) in check_consistency() argument 40 av_assert0(fq->queued == fq->total_frames_head - fq->total_frames_tail); in check_consistency() 41 for (i = 0; i < fq->queued; i++) in check_consistency() 42 nb_samples += bucket(fq, i)->frame->nb_samples; in check_consistency() 43 av_assert0(nb_samples == fq->total_samples_head - fq->total_samples_tail); in check_consistency() 47 void ff_framequeue_init(FFFrameQueue *fq, FFFrameQueueGlobal *fqg) in ff_framequeue_init() argument 49 fq->queue = &fq->first_bucket; in ff_framequeue_init() 50 fq->allocated = 1; in ff_framequeue_init() [all …]
|
D | framequeue.h | 118 void ff_framequeue_init(FFFrameQueue *fq, FFFrameQueueGlobal *fqg); 123 void ff_framequeue_free(FFFrameQueue *fq); 129 int ff_framequeue_add(FFFrameQueue *fq, AVFrame *frame); 135 AVFrame *ff_framequeue_take(FFFrameQueue *fq); 141 AVFrame *ff_framequeue_peek(FFFrameQueue *fq, size_t idx); 146 static inline size_t ff_framequeue_queued_frames(const FFFrameQueue *fq) in ff_framequeue_queued_frames() argument 148 return fq->queued; in ff_framequeue_queued_frames() 154 static inline uint64_t ff_framequeue_queued_samples(const FFFrameQueue *fq) in ff_framequeue_queued_samples() argument 156 return fq->total_samples_head - fq->total_samples_tail; in ff_framequeue_queued_samples() 164 static inline void ff_framequeue_update_peeked(FFFrameQueue *fq, size_t idx) in ff_framequeue_update_peeked() argument [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | numbertest_decimalquantity.cpp | 52 void DecimalQuantityTest::assertHealth(const DecimalQuantity &fq) { in assertHealth() argument 53 const char16_t* health = fq.checkHealth(); in assertHealth() 55 errln(UnicodeString(u"HEALTH FAILURE: ") + UnicodeString(health) + u": " + fq.toString()); in assertHealth() 60 DecimalQuantityTest::assertToStringAndHealth(const DecimalQuantity &fq, const UnicodeString &expect… in assertToStringAndHealth() argument 61 UnicodeString actual = fq.toString(); in assertToStringAndHealth() 63 assertHealth(fq); in assertToStringAndHealth() 67 DecimalQuantity fq; in checkDoubleBehavior() local 68 fq.setToDouble(d); in checkDoubleBehavior() 70 assertTrue("Should be using approximate double", !fq.isExplicitExactDouble()); in checkDoubleBehavior() 72 UnicodeString baseStr = fq.toString(); in checkDoubleBehavior() [all …]
|
D | numbertest_patternmodifier.cpp | 143 DecimalQuantity fq; in testMutableEqualsImmutable() local 144 fq.setToInt(1); in testMutableEqualsImmutable() 149 mod.processQuantity(fq, micros1, status); in testMutableEqualsImmutable() 156 immutable->applyToMicros(micros2, fq, status); in testMutableEqualsImmutable() 164 mod.processQuantity(fq, micros3, status); in testMutableEqualsImmutable()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
D | DecimalQuantityTest.java | 305 DecimalQuantity_DualStorageBCD fq = new DecimalQuantity_DualStorageBCD(); in testSwitchStorage() local 307 fq.setToLong(1234123412341234L); in testSwitchStorage() 308 assertFalse("Should not be using byte array", fq.isUsingBytes()); in testSwitchStorage() 309 assertEquals("Failed on initialize", "1.234123412341234E+15", fq.toScientificString()); in testSwitchStorage() 310 assertNull("Failed health check", fq.checkHealth()); in testSwitchStorage() 312 fq.appendDigit((byte) 5, 0, true); in testSwitchStorage() 313 assertTrue("Should be using byte array", fq.isUsingBytes()); in testSwitchStorage() 314 assertEquals("Failed on multiply", "1.2341234123412345E+16", fq.toScientificString()); in testSwitchStorage() 315 assertNull("Failed health check", fq.checkHealth()); in testSwitchStorage() 317 fq.roundToMagnitude(5, MATH_CONTEXT_HALF_EVEN); in testSwitchStorage() [all …]
|
D | ExhaustiveNumberTest.java | 193 DecimalQuantity_DualStorageBCD fq = new DecimalQuantity_DualStorageBCD(d); in checkDoubleBehavior() local 195 assertTrue(alert + "Should be using approximate double", !fq.explicitExactDouble); in checkDoubleBehavior() 197 fq.roundToInfinity(); in checkDoubleBehavior() 199 assertTrue(alert + "Should not be using approximate double", fq.explicitExactDouble); in checkDoubleBehavior() 202 … .assertDoubleEquals(alert + "After conversion to exact BCD (double)", d, fq.toDouble()); in checkDoubleBehavior() 205 fq.toBigDecimal()); in checkDoubleBehavior()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | DecimalQuantityTest.java | 306 DecimalQuantity_DualStorageBCD fq = new DecimalQuantity_DualStorageBCD(); in testSwitchStorage() local 308 fq.setToLong(1234123412341234L); in testSwitchStorage() 309 assertFalse("Should not be using byte array", fq.isUsingBytes()); in testSwitchStorage() 310 assertEquals("Failed on initialize", "1.234123412341234E+15", fq.toScientificString()); in testSwitchStorage() 311 assertNull("Failed health check", fq.checkHealth()); in testSwitchStorage() 313 fq.appendDigit((byte) 5, 0, true); in testSwitchStorage() 314 assertTrue("Should be using byte array", fq.isUsingBytes()); in testSwitchStorage() 315 assertEquals("Failed on multiply", "1.2341234123412345E+16", fq.toScientificString()); in testSwitchStorage() 316 assertNull("Failed health check", fq.checkHealth()); in testSwitchStorage() 318 fq.roundToMagnitude(5, MATH_CONTEXT_HALF_EVEN); in testSwitchStorage() [all …]
|
D | ExhaustiveNumberTest.java | 190 DecimalQuantity_DualStorageBCD fq = new DecimalQuantity_DualStorageBCD(d); in checkDoubleBehavior() local 192 assertTrue(alert + "Should be using approximate double", !fq.explicitExactDouble); in checkDoubleBehavior() 194 fq.roundToInfinity(); in checkDoubleBehavior() 196 assertTrue(alert + "Should not be using approximate double", fq.explicitExactDouble); in checkDoubleBehavior() 199 … .assertDoubleEquals(alert + "After conversion to exact BCD (double)", d, fq.toDouble()); in checkDoubleBehavior() 202 fq.toBigDecimal()); in checkDoubleBehavior()
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
D | __rem_pio2_large.c | 276 double z,fw,f[20],fq[20],q[20]; in __rem_pio2_large() local 398 fq[jz-i] = fw; in __rem_pio2_large() 406 fw += fq[i]; in __rem_pio2_large() 413 fw += fq[i]; in __rem_pio2_large() 417 fw = fq[0]-fw; in __rem_pio2_large() 419 fw += fq[i]; in __rem_pio2_large() 424 fw = fq[i-1]+fq[i]; in __rem_pio2_large() 425 fq[i] += fq[i-1]-fw; in __rem_pio2_large() 426 fq[i-1] = fw; in __rem_pio2_large() 429 fw = fq[i-1]+fq[i]; in __rem_pio2_large() [all …]
|
/third_party/musl/src/math/ |
D | __rem_pio2_large.c | 276 double z,fw,f[20],fq[20],q[20]; in __rem_pio2_large() local 398 fq[jz-i] = fw; in __rem_pio2_large() 406 fw += fq[i]; in __rem_pio2_large() 413 fw += fq[i]; in __rem_pio2_large() 417 fw = fq[0]-fw; in __rem_pio2_large() 419 fw += fq[i]; in __rem_pio2_large() 424 fw = fq[i-1]+fq[i]; in __rem_pio2_large() 425 fq[i] += fq[i-1]-fw; in __rem_pio2_large() 426 fq[i-1] = fw; in __rem_pio2_large() 429 fw = fq[i-1]+fq[i]; in __rem_pio2_large() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/libm/ |
D | k_rem_pio2.c | 183 double z, fw, f[20], fq[20], q[20]; local 317 fq[jz - i] = fw; 325 fw += fq[i]; 332 fw += fq[i]; 334 fw = fq[0] - fw; 336 fw += fq[i]; 341 fw = fq[i - 1] + fq[i]; 342 fq[i] += fq[i - 1] - fw; 343 fq[i - 1] = fw; 346 fw = fq[i - 1] + fq[i]; [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/ |
D | LocalizedNumberFormatter.java | 96 DecimalQuantity fq = new DecimalQuantity_DualStorageBCD(input.getNumber()); in format() local 99 formatImpl(fq, unit, string); in format() 100 return new FormattedNumber(string, fq); in format() 119 private FormattedNumber format(DecimalQuantity fq) { in format() argument 121 formatImpl(fq, string); in format() 122 return new FormattedNumber(string, fq); in format() 142 public void formatImpl(DecimalQuantity fq, FormattedStringBuilder string) { in formatImpl() argument 144 compiled.format(fq, string); in formatImpl() 146 NumberFormatterImpl.formatStatic(resolve(), fq, string); in formatImpl() local 157 public void formatImpl(DecimalQuantity fq, MeasureUnit unit, FormattedStringBuilder string) { in formatImpl() argument [all …]
|
D | FormattedNumber.java | 27 final DecimalQuantity fq; field in FormattedNumber 29 FormattedNumber(FormattedStringBuilder nsb, DecimalQuantity fq) { in FormattedNumber() argument 31 this.fq = fq; in FormattedNumber() 99 return fq.toBigDecimal(); in toBigDecimal() 108 return fq; in getFixedDecimal()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | LocalizedNumberFormatter.java | 101 DecimalQuantity fq = new DecimalQuantity_DualStorageBCD(input.getNumber()); in format() local 104 MicroProps micros = formatImpl(fq, unit, string); in format() 105 return new FormattedNumber(string, fq, micros.outputUnit, micros.gender); in format() 127 private FormattedNumber format(DecimalQuantity fq) { in format() argument 129 MicroProps micros = formatImpl(fq, string); in format() 130 return new FormattedNumber(string, fq, micros.outputUnit, micros.gender); in format() 150 public MicroProps formatImpl(DecimalQuantity fq, FormattedStringBuilder string) { in formatImpl() argument 152 return compiled.format(fq, string); in formatImpl() 154 return NumberFormatterImpl.formatStatic(resolve(), fq, string); in formatImpl() 164 …public MicroProps formatImpl(DecimalQuantity fq, MeasureUnit unit, FormattedStringBuilder string) { in formatImpl() argument [all …]
|
D | FormattedNumber.java | 28 final DecimalQuantity fq; field in FormattedNumber 34 …FormattedNumber(FormattedStringBuilder nsb, DecimalQuantity fq, MeasureUnit outputUnit, String gen… in FormattedNumber() argument 36 this.fq = fq; in FormattedNumber() 121 return fq.toBigDecimal(); in toBigDecimal() 159 return fq; in getFixedDecimal()
|
/third_party/jerryscript/jerry-libm/ |
D | trig.c | 193 double z, fw, f[20], fq[20], q[20]; in __kernel_rem_pio2() local 375 fq[jz - i] = fw; in __kernel_rem_pio2() 386 fw += fq[i]; in __kernel_rem_pio2() 397 fw += fq[i]; in __kernel_rem_pio2() 400 fw = fq[0] - fw; in __kernel_rem_pio2() 403 fw += fq[i]; in __kernel_rem_pio2() 412 fw = fq[i - 1] + fq[i]; in __kernel_rem_pio2() 413 fq[i] += fq[i - 1] - fw; in __kernel_rem_pio2() 414 fq[i - 1] = fw; in __kernel_rem_pio2() 418 fw = fq[i - 1] + fq[i]; in __kernel_rem_pio2() [all …]
|
/third_party/flutter/skia/gm/ |
D | pictureimagefilter.cpp | 81 sk_sp<SkImageFilter> make(sk_sp<SkPicture> pic, SkRect r, SkFilterQuality fq) { in make() argument 85 return SkImageFilters::Image(img, r, r, fq); in make() 87 sk_sp<SkImageFilter> make(SkFilterQuality fq) { in make() argument 88 return make(fPicture, fPicture->cullRect(), fq); in make()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | MutablePatternModifier.java | 277 public MicroProps processQuantity(DecimalQuantity fq) { in processQuantity() argument 278 MicroProps micros = parent.processQuantity(fq); in processQuantity() 280 micros.rounder.apply(fq); in processQuantity() 286 StandardPlural pluralForm = RoundingUtils.getPluralSafe(micros.rounder, rules, fq); in processQuantity() 287 setNumberProperties(fq.signum(), pluralForm); in processQuantity() 289 setNumberProperties(fq.signum(), null); in processQuantity()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | number_patternmodifier.cpp | 165 void MutablePatternModifier::processQuantity(DecimalQuantity& fq, MicroProps& micros, in processQuantity() argument 167 fParent->processQuantity(fq, micros, status); in processQuantity() 168 micros.rounder.apply(fq, status); in processQuantity() 176 StandardPlural::Form pluralForm = utils::getPluralSafe(micros.rounder, fRules, fq, status); in processQuantity() 177 nonConstThis->setNumberProperties(fq.signum(), pluralForm); in processQuantity() 179 nonConstThis->setNumberProperties(fq.signum(), StandardPlural::Form::COUNT); in processQuantity()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | MutablePatternModifier.java | 272 public MicroProps processQuantity(DecimalQuantity fq) { in processQuantity() argument 273 MicroProps micros = parent.processQuantity(fq); in processQuantity() 275 micros.rounder.apply(fq); in processQuantity() 281 StandardPlural pluralForm = RoundingUtils.getPluralSafe(micros.rounder, rules, fq); in processQuantity() 282 setNumberProperties(fq.signum(), pluralForm); in processQuantity() 284 setNumberProperties(fq.signum(), null); in processQuantity()
|
/third_party/icu/icu4c/source/i18n/ |
D | number_patternmodifier.cpp | 165 void MutablePatternModifier::processQuantity(DecimalQuantity& fq, MicroProps& micros, in processQuantity() argument 167 fParent->processQuantity(fq, micros, status); in processQuantity() 168 micros.rounder.apply(fq, status); in processQuantity() 176 StandardPlural::Form pluralForm = utils::getPluralSafe(micros.rounder, fRules, fq, status); in processQuantity() 177 nonConstThis->setNumberProperties(fq.signum(), pluralForm); in processQuantity() 179 nonConstThis->setNumberProperties(fq.signum(), StandardPlural::Form::COUNT); in processQuantity()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | number_patternmodifier.cpp | 169 void MutablePatternModifier::processQuantity(DecimalQuantity& fq, MicroProps& micros, in processQuantity() argument 171 fParent->processQuantity(fq, micros, status); in processQuantity() 172 micros.rounder.apply(fq, status); in processQuantity() 180 StandardPlural::Form pluralForm = utils::getPluralSafe(micros.rounder, fRules, fq, status); in processQuantity() 181 nonConstThis->setNumberProperties(fq.signum(), pluralForm); in processQuantity() 183 nonConstThis->setNumberProperties(fq.signum(), StandardPlural::Form::COUNT); in processQuantity()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | number_patternmodifier.cpp | 159 void MutablePatternModifier::processQuantity(DecimalQuantity& fq, MicroProps& micros, in processQuantity() argument 161 fParent->processQuantity(fq, micros, status); in processQuantity() 167 DecimalQuantity copy(fq); in processQuantity() 169 nonConstThis->setNumberProperties(fq.signum(), utils::getStandardPlural(fRules, copy)); in processQuantity() 171 nonConstThis->setNumberProperties(fq.signum(), StandardPlural::Form::COUNT); in processQuantity()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | NFSubstitution.java | 1245 DecimalQuantity_DualStorageBCD fq = new DecimalQuantity_DualStorageBCD(number); in doSubstitution() local 1246 fq.roundToInfinity(); // ensure doubles are resolved using slow path in doSubstitution() 1249 int mag = fq.getLowerDisplayMagnitude(); in doSubstitution() 1256 ruleSet.format(fq.getDigit(mag++), toInsertInto, position + pos, recursionCount); in doSubstitution() 1320 DecimalQuantity_DualStorageBCD fq = new DecimalQuantity_DualStorageBCD(); in doParse() local 1333 fq.appendDigit((byte) digit, 0, true); in doParse() 1344 fq.adjustMagnitude(-totalDigits); in doParse() 1345 result = fq.toDouble(); in doParse()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NFSubstitution.java | 1244 DecimalQuantity_DualStorageBCD fq = new DecimalQuantity_DualStorageBCD(number); in doSubstitution() local 1245 fq.roundToInfinity(); // ensure doubles are resolved using slow path in doSubstitution() 1248 int mag = fq.getLowerDisplayMagnitude(); in doSubstitution() 1255 ruleSet.format(fq.getDigit(mag++), toInsertInto, position + pos, recursionCount); in doSubstitution() 1319 DecimalQuantity_DualStorageBCD fq = new DecimalQuantity_DualStorageBCD(); in doParse() local 1332 fq.appendDigit((byte) digit, 0, true); in doParse() 1343 fq.adjustMagnitude(-totalDigits); in doParse() 1344 result = fq.toDouble(); in doParse()
|