/external/clang/include/clang/AST/ |
D | CharUnits.h | 24 /// Instances of this type represent a quantity as a multiple of the size 31 /// the same quantity of storage. However, we use the term 'character unit' 43 QuantityType Quantity; 45 explicit CharUnits(QuantityType C) : Quantity(C) {} in CharUnits() 50 CharUnits() : Quantity(0) {} in CharUnits() 52 /// Zero - Construct a CharUnits quantity of zero. 57 /// One - Construct a CharUnits quantity of one. 62 /// fromQuantity - Construct a CharUnits quantity from a raw integer type. 63 static CharUnits fromQuantity(QuantityType Quantity) { in fromQuantity() argument 64 return CharUnits(Quantity); in fromQuantity() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | MicroPropsGenerator.java | 7 …* for the quantity itself. The {@link #processQuantity} method performs the final step in the numb… 8 …* processing pipeline: it uses the quantity to generate a finalized {@link MicroProps}, which can … 13 * <em>quantity-dependent</em>. 18 * quantity-dependent part of the MicroProps. At the top of the linked list is a base instance of 19 …* {@link MicroProps} with properties that are not quantity-dependent. Each element in the linked l… 34 * public MicroProps processQuantity(DecimalQuantity quantity) { 35 * MicroProps micros = this.parent.processQuantity(quantity); 36 * // Perform manipulations on micros and/or quantity 50 * @param quantity 51 * The quantity for consideration and optional mutation. [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | MicroPropsGenerator.java | 8 …* for the quantity itself. The {@link #processQuantity} method performs the final step in the numb… 9 …* processing pipeline: it uses the quantity to generate a finalized {@link MicroProps}, which can … 14 * <em>quantity-dependent</em>. 19 * quantity-dependent part of the MicroProps. At the top of the linked list is a base instance of 20 …* {@link MicroProps} with properties that are not quantity-dependent. Each element in the linked l… 35 * public MicroProps processQuantity(DecimalQuantity quantity) { 36 * MicroProps micros = this.parent.processQuantity(quantity); 37 * // Perform manipulations on micros and/or quantity 52 * @param quantity 53 * The quantity for consideration and optional mutation. [all …]
|
/external/libcxx/benchmarks/ |
D | algorithms.bench.cpp | 115 void runOpOnCopies(benchmark::State& state, size_t Quantity, Order O, in runOpOnCopies() argument 117 auto Copies = makeOrderedValues<ValueType>(Quantity, O); in runOpOnCopies() 120 const size_t Batch = CountElements ? Copies.size() * Quantity : Copies.size(); in runOpOnCopies() 132 size_t Quantity; member 135 runOpOnCopies<ValueType>(state, Quantity, Order(), false, [](auto& Copy) { in run() 144 std::to_string(Quantity); in name() 150 size_t Quantity; member 153 runOpOnCopies<ValueType>(state, Quantity, Order(), false, [](auto& Copy) { in run() 162 std::to_string(Quantity); in name() 168 size_t Quantity; member [all …]
|
/external/icu/icu4c/source/i18n/ |
D | numparse_parsednumber.cpp | 30 quantity.bogus = true; in clear() 43 if (!quantity.bogus && 0 != (flags & FLAG_NEGATIVE)) { in postProcess() 44 quantity.negate(); in postProcess() 53 return !quantity.bogus || 0 != (flags & FLAG_NAN) || 0 != (flags & FLAG_INFINITY); in seenNumber() 73 if (quantity.bogus) { in getDouble() 77 if (quantity.isZeroish() && quantity.isNegative()) { in getDouble() 81 if (quantity.fitsInLong()) { in getDouble() 82 return static_cast<double>(quantity.toLong()); in getDouble() 84 return quantity.toDouble(); in getDouble() 109 U_ASSERT(!quantity.bogus); in populateFormattable() [all …]
|
D | number_multiplier.cpp | 130 void Scale::applyTo(impl::DecimalQuantity& quantity) const { in applyTo() 131 quantity.adjustMagnitude(fMagnitude); in applyTo() 134 quantity.multiplyBy(*fArbitrary, localStatus); in applyTo() 138 void Scale::applyReciprocalTo(impl::DecimalQuantity& quantity) const { in applyReciprocalTo() 139 quantity.adjustMagnitude(-fMagnitude); in applyReciprocalTo() 142 quantity.divideBy(*fArbitrary, localStatus); in applyReciprocalTo() 153 void MultiplierFormatHandler::processQuantity(DecimalQuantity& quantity, MicroProps& micros, in processQuantity() argument 155 fParent->processQuantity(quantity, micros, status); in processQuantity() 156 fMultiplier.applyTo(quantity); in processQuantity()
|
D | number_scientific.cpp | 121 void ScientificHandler::processQuantity(DecimalQuantity &quantity, MicroProps µs, in processQuantity() argument 123 fParent->processQuantity(quantity, micros, status); in processQuantity() 127 if (quantity.isInfinite() || quantity.isNaN()) { in processQuantity() 134 if (quantity.isZeroish()) { in processQuantity() 137 micros.rounder.apply(quantity, fSettings.fEngineeringInterval, status); in processQuantity() 140 micros.rounder.apply(quantity, status); in processQuantity() 144 exponent = -micros.rounder.chooseMultiplierAndApply(quantity, *this, status); in processQuantity()
|
D | number_integerwidth.cpp | 42 void IntegerWidth::apply(impl::DecimalQuantity& quantity, UErrorCode& status) const { in apply() argument 46 quantity.setMinInteger(fUnion.minMaxInt.fMinInt); in apply() 50 fUnion.minMaxInt.fMaxInt < quantity.getMagnitude()) { in apply() 53 quantity.setMinInteger(fUnion.minMaxInt.fMinInt); in apply() 54 quantity.applyMaxInteger(fUnion.minMaxInt.fMaxInt); in apply()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
D | Plural.java | 4 final String quantity, string; field in Plural 8 Plural(String quantity, String string) { in Plural() argument 9 this.quantity = quantity; in Plural() 11 if ("zero".equals(quantity)) { in Plural() 14 } else if ("one".equals(quantity)) { in Plural() 17 } else if ("two".equals(quantity)) { in Plural() 20 } else if ("other".equals(quantity)) { in Plural() 35 return quantity + "(" + num + "): " + string; in toString()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | ParsedNumber.java | 22 public DecimalQuantity_DualStorageBCD quantity; field in ParsedNumber 78 quantity = null; in clear() 87 quantity = other.quantity == null ? null in copyFrom() 88 : (DecimalQuantity_DualStorageBCD) other.quantity.createCopy(); in copyFrom() 118 if (quantity != null && 0 != (flags & FLAG_NEGATIVE)) { in postProcess() 119 quantity.negate(); in postProcess() 132 return quantity != null || 0 != (flags & FLAG_NAN) || 0 != (flags & FLAG_INFINITY); in seenNumber() 157 assert quantity != null; in getNumber() 158 if (quantity.isZeroish() && quantity.isNegative() && !integerOnly) { in getNumber() 162 if (quantity.fitsInLong() && !forceBigDecimal) { in getNumber() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | ParsedNumber.java | 20 public DecimalQuantity_DualStorageBCD quantity; field in ParsedNumber 76 quantity = null; in clear() 85 quantity = other.quantity == null ? null in copyFrom() 86 : (DecimalQuantity_DualStorageBCD) other.quantity.createCopy(); in copyFrom() 116 if (quantity != null && 0 != (flags & FLAG_NEGATIVE)) { in postProcess() 117 quantity.negate(); in postProcess() 130 return quantity != null || 0 != (flags & FLAG_NAN) || 0 != (flags & FLAG_INFINITY); in seenNumber() 155 assert quantity != null; in getNumber() 156 if (quantity.isZeroish() && quantity.isNegative() && !integerOnly) { in getNumber() 160 if (quantity.fitsInLong() && !forceBigDecimal) { in getNumber() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | DecimalQuantityTest.java | 433 DecimalQuantity_DualStorageBCD quantity = new DecimalQuantity_DualStorageBCD(); in testFitsInLong() local 434 quantity.setToInt(0); in testFitsInLong() 435 assertTrue("Zero should fit", quantity.fitsInLong()); in testFitsInLong() 436 quantity.setToInt(42); in testFitsInLong() 437 assertTrue("Small int should fit", quantity.fitsInLong()); in testFitsInLong() 438 quantity.setToDouble(0.1); in testFitsInLong() 439 assertFalse("Fraction should not fit", quantity.fitsInLong()); in testFitsInLong() 440 quantity.setToDouble(42.1); in testFitsInLong() 441 assertFalse("Fraction should not fit", quantity.fitsInLong()); in testFitsInLong() 442 quantity.setToLong(1000000); in testFitsInLong() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | DecimalQuantityTest.java | 430 DecimalQuantity_DualStorageBCD quantity = new DecimalQuantity_DualStorageBCD(); in testFitsInLong() local 431 quantity.setToInt(0); in testFitsInLong() 432 assertTrue("Zero should fit", quantity.fitsInLong()); in testFitsInLong() 433 quantity.setToInt(42); in testFitsInLong() 434 assertTrue("Small int should fit", quantity.fitsInLong()); in testFitsInLong() 435 quantity.setToDouble(0.1); in testFitsInLong() 436 assertFalse("Fraction should not fit", quantity.fitsInLong()); in testFitsInLong() 437 quantity.setToDouble(42.1); in testFitsInLong() 438 assertFalse("Fraction should not fit", quantity.fitsInLong()); in testFitsInLong() 439 quantity.setToLong(1000000); in testFitsInLong() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | CompactNotation.java | 120 public MicroProps processQuantity(DecimalQuantity quantity) { in processQuantity() argument 121 MicroProps micros = parent.processQuantity(quantity); in processQuantity() 126 if (quantity.isZeroish()) { in processQuantity() 128 micros.rounder.apply(quantity); in processQuantity() 130 int multiplier = micros.rounder.chooseMultiplierAndApply(quantity, data); in processQuantity() 131 magnitude = quantity.isZeroish() ? 0 : quantity.getMagnitude(); in processQuantity() 135 StandardPlural plural = quantity.getStandardPlural(rules); in processQuantity() 144 mod.applyToMicros(micros, quantity); in processQuantity()
|
D | Scale.java | 13 * A class that defines a quantity by which a number should be multiplied when formatting. 178 public void applyTo(DecimalQuantity quantity) { in applyTo() argument 179 quantity.adjustMagnitude(magnitude); in applyTo() 181 quantity.multiplyBy(arbitrary); in applyTo() 190 public void applyReciprocalTo(DecimalQuantity quantity) { in applyReciprocalTo() argument 191 quantity.adjustMagnitude(-magnitude); in applyReciprocalTo() 193 quantity.multiplyBy(reciprocal); in applyReciprocalTo() 194 quantity.roundToMagnitude(quantity.getMagnitude() - mc.getPrecision(), mc); in applyReciprocalTo()
|
D | NumberFormatterImpl.java | 130 DecimalQuantity_DualStorageBCD quantity = new DecimalQuantity_DualStorageBCD(0); in getPrefixSuffixImpl() local 132 quantity.negate(); in getPrefixSuffixImpl() 134 MicroProps micros = generator.processQuantity(quantity); in getPrefixSuffixImpl() 166 … * encoded into the MicroPropsGenerator, except for the quantity itself, which is left abstract and 411 DecimalQuantity quantity, in writeNumber() argument 415 if (quantity.isInfinite()) { in writeNumber() 418 } else if (quantity.isNaN()) { in writeNumber() 423 length += writeIntegerDigits(micros, quantity, string, length + index); in writeNumber() 426 if (quantity.getLowerDisplayMagnitude() < 0 in writeNumber() 435 length += writeFractionDigits(micros, quantity, string, length + index); in writeNumber() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | CompactNotation.java | 120 public MicroProps processQuantity(DecimalQuantity quantity) { in processQuantity() argument 121 MicroProps micros = parent.processQuantity(quantity); in processQuantity() 126 if (quantity.isZeroish()) { in processQuantity() 128 micros.rounder.apply(quantity); in processQuantity() 130 int multiplier = micros.rounder.chooseMultiplierAndApply(quantity, data); in processQuantity() 131 magnitude = quantity.isZeroish() ? 0 : quantity.getMagnitude(); in processQuantity() 135 StandardPlural plural = quantity.getStandardPlural(rules); in processQuantity() 144 mod.applyToMicros(micros, quantity); in processQuantity()
|
D | Scale.java | 14 * A class that defines a quantity by which a number should be multiplied when formatting. 173 public void applyTo(DecimalQuantity quantity) { in applyTo() argument 174 quantity.adjustMagnitude(magnitude); in applyTo() 176 quantity.multiplyBy(arbitrary); in applyTo() 185 public void applyReciprocalTo(DecimalQuantity quantity) { in applyReciprocalTo() argument 186 quantity.adjustMagnitude(-magnitude); in applyReciprocalTo() 188 quantity.multiplyBy(reciprocal); in applyReciprocalTo() 189 quantity.roundToMagnitude(quantity.getMagnitude() - mc.getPrecision(), mc); in applyReciprocalTo()
|
D | NumberFormatterImpl.java | 131 DecimalQuantity_DualStorageBCD quantity = new DecimalQuantity_DualStorageBCD(0); in getPrefixSuffixImpl() local 133 quantity.negate(); in getPrefixSuffixImpl() 135 MicroProps micros = generator.processQuantity(quantity); in getPrefixSuffixImpl() 167 … * encoded into the MicroPropsGenerator, except for the quantity itself, which is left abstract and 412 DecimalQuantity quantity, in writeNumber() argument 416 if (quantity.isInfinite()) { in writeNumber() 419 } else if (quantity.isNaN()) { in writeNumber() 424 length += writeIntegerDigits(micros, quantity, string, length + index); in writeNumber() 427 if (quantity.getLowerDisplayMagnitude() < 0 in writeNumber() 436 length += writeFractionDigits(micros, quantity, string, length + index); in writeNumber() [all …]
|
/external/python/google-api-python-client/docs/dyn/ |
D | content_v2_1.pos.html | 112 …"sale": { # The change of the available quantity of an item at the given store. # The sale informa… 125 …"quantity": "A String", # The relative change of the available quantity. Negative for items return… 129 …"inventory": { # The absolute quantity of an item available at the given store. # The inventory to… 141 "quantity": "A String", # The available quantity of the item. 173 …"sale": { # The change of the available quantity of an item at the given store. # The updated sale… 186 …"quantity": "A String", # The relative change of the available quantity. Negative for items return… 189 …"inventory": { # The absolute quantity of an item available at the given store. # The updated inve… 201 "quantity": "A String", # The available quantity of the item. 291 "quantity": "A String", # The available quantity of the item. 310 "quantity": "A String", # The available quantity of the item. [all …]
|
D | content_v2.pos.html | 112 …"sale": { # The change of the available quantity of an item at the given store. # The sale informa… 125 …"quantity": "A String", # The relative change of the available quantity. Negative for items return… 129 …"inventory": { # The absolute quantity of an item available at the given store. # The inventory to… 141 "quantity": "A String", # The available quantity of the item. 174 …"sale": { # The change of the available quantity of an item at the given store. # The updated sale… 187 …"quantity": "A String", # The relative change of the available quantity. Negative for items return… 190 …"inventory": { # The absolute quantity of an item available at the given store. # The updated inve… 202 "quantity": "A String", # The available quantity of the item. 294 "quantity": "A String", # The available quantity of the item. 314 "quantity": "A String", # The available quantity of the item. [all …]
|
/external/robolectric-shadows/robolectric/src/test/resources/res/values/ |
D | plurals.xml | 8 <item quantity="one">a beer</item> 9 <item quantity="other">some beers</item> 12 <item quantity="one">@string/minute_singular</item> 13 <item quantity="other">@string/minute_plural</item>
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowNativePluralRules.java | 14 protected static int quantityForIntImpl(long address, int quantity) { in quantityForIntImpl() argument 16 if (quantity == 1) return 1; in quantityForIntImpl() 21 protected static int quantityForIntImpl(int address, int quantity) { in quantityForIntImpl() argument 22 return quantityForIntImpl((long)address, quantity); in quantityForIntImpl()
|
/external/libxml2/test/schemas/ |
D | po0_0.xml | 21 <quantity>1</quantity> 27 <quantity>1</quantity>
|
D | po1_0.xml | 22 <quantity>1</quantity> 28 <quantity>1</quantity>
|