Home
last modified time | relevance | path

Searched full:quantity (Results 1 – 25 of 222) sorted by relevance

123456789

/external/clang/include/clang/AST/
DCharUnits.h24 /// 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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DPluralResourceLoader.java24 public String getValue(int resourceId, int quantity) { in getValue() argument
28 Plural p = rules.find(quantity); in getValue()
43 String quantity = childNode.getAttributes().getNamedItem("quantity").getTextContent(); in processNode() local
46 rules.add(new Plural(quantity, stringResourceLoader.getValue(value, isSystem))); in processNode()
48 rules.add(new Plural(quantity, value)); in processNode()
61 Plural find(int quantity) { in find() argument
63 if (p.num == quantity) return p; in find()
77 final String quantity, string; field in PluralResourceLoader.Plural
80 Plural(String quantity, String string) { in Plural() argument
81 this.quantity = quantity; in Plural()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mashups/
Dorder.py42 self.quantity = 0
77 self.quantity = n
79 self.quantity = self.get_int('Quantity')
145 self.quantity = params.get('quantity', self.quantity)
146 if not self.quantity:
178 print('%s\t%s\t%s\t%s\t%s\t%s' % (item.quantity, item.name, item.instance_type,
188 r = item.ami.run(min_count=1, max_count=item.quantity,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/
Dbuyreservation.py47 if not params.get('quantity', None):
48 prop = IntegerProperty(name='quantity', verbose_name='Number of Instances')
49 params['quantity'] = propget.get(prop)
79 total_price = unit_price * params['quantity']
80 …ut to purchase %d of these offerings for a total of $%.2f !!!' % (params['quantity'], total_price))
83 offering.purchase(params['quantity'])
/external/robolectric/v1/src/test/resources/res/values/
Dplurals.xml4 <item quantity="zero">@string/howdy</item>
5 <item quantity="one">One beer</item>
6 <item quantity="two">Two beers</item>
7 <item quantity="other">%d beers, yay!</item>
/external/libxml2/test/schemas/
Dpo0_0.xml21 <quantity>1</quantity>
27 <quantity>1</quantity>
Dpo1_0.xml22 <quantity>1</quantity>
28 <quantity>1</quantity>
Ditem_0.xml3 <quantity>2</quantity>
/external/snakeyaml/src/test/resources/pyyaml/
Dspec-02-12.data4 quantity: 1
6 quantity: 4
8 quantity: 1
Dspec-02-27.data17 quantity : 4
21 quantity : 1
/external/snakeyaml/src/test/resources/specification/
Dexample2_12.yaml4 quantity: 1
6 quantity: 4
8 quantity: 1
Dexample2_27.yaml17 quantity : 4
21 quantity : 1
Dexample2_27_dumped.yaml16 - {description: Basketball, price: 450.0, quantity: 4, sku: BL394D}
17 - {description: Super Hoop, price: 2392.0, quantity: 1, sku: BL4438H}
/external/llvm/test/YAMLParser/
Dspec-02-12.test6 quantity: 1
8 quantity: 4
10 quantity: 1
Dspec-02-27.test19 quantity : 4
23 quantity : 1
/external/webrtc/webrtc/base/
Dratelimiter.h19 // Limits the rate of use to a certain maximum quantity per period of
37 // Returns true if if the desired quantity is available in the
41 // Increment the quantity used this period. If past the end of a
/external/icu/icu4c/source/i18n/unicode/
Dreldatefmt.h264 * <li>relative dates with a quantity e.g "in 5 days"</li>
265 * <li>relative dates without a quantity e.g "next Tuesday"</li>
398 * Formats a relative date with a quantity such as "in 5 days" or
400 * @param quantity The numerical amount e.g 5. This value is formatted
413 double quantity,
420 * Formats a relative date without a quantity.
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowResources.java95 …public String getQuantityString(int id, int quantity, Object... formatArgs) throws Resources.NotFo… in getQuantityString() argument
96 String raw = getQuantityString(id, quantity); in getQuantityString()
101 public String getQuantityString(int id, int quantity) throws Resources.NotFoundException { in getQuantityString() argument
102 return resourceLoader.getPluralStringValue(id, quantity); in getQuantityString()
/external/llvm/lib/Target/SystemZ/
DSystemZOperands.td185 // Truncate an immediate to a 8-bit signed quantity.
191 // Truncate an immediate to a 8-bit unsigned quantity.
197 // Truncate an immediate to a 8-bit unsigned quantity and mask off low bit.
203 // Truncate an immediate to a 12-bit unsigned quantity.
209 // Truncate an immediate to a 16-bit signed quantity.
215 // Truncate an immediate to a 16-bit unsigned quantity.
221 // Truncate an immediate to a 32-bit signed quantity.
227 // Truncate an immediate to a 32-bit unsigned quantity.
233 // Negate and then truncate an immediate to a 32-bit unsigned quantity.
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java90 assertEquals("Relative date with quantity", row[3], actual); in TestRelativeDateWithQuantity()
164 assertEquals("Relative date with quantity", row[3], actual); in TestRelativeDateWithQuantityCaps()
238 assertEquals("Relative date with quantity", row[3], actual); in TestRelativeDateWithQuantityShort()
312 assertEquals("Relative date with quantity", row[3], actual); in TestRelativeDateWithQuantityNarrow()
328 assertEquals("Relative date with quantity", row[3], actual); in TestRelativeDateWithQuantitySr()
346 assertEquals("Relative date with quantity fallback", row[3], actual); in TestRelativeDateWithQuantitySrFallback()
409 assertEquals("Relative date without quantity", row[2], actual); in TestRelativeDateWithoutQuantity()
478 assertEquals("Relative date without quantity caps", row[2], actual); in TestRelativeDateWithoutQuantityCaps()
551 assertEquals("Relative date without quantity short", row[2], actual); in TestRelativeDateWithoutQuantityShort()
624 assertEquals("Relative date without quantity narrow", row[2], actual); in TestRelativeDateWithoutQuantityNarrow()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java94 assertEquals("Relative date with quantity", row[3], actual); in TestRelativeDateWithQuantity()
168 assertEquals("Relative date with quantity", row[3], actual); in TestRelativeDateWithQuantityCaps()
242 assertEquals("Relative date with quantity", row[3], actual); in TestRelativeDateWithQuantityShort()
316 assertEquals("Relative date with quantity", row[3], actual); in TestRelativeDateWithQuantityNarrow()
332 assertEquals("Relative date with quantity", row[3], actual); in TestRelativeDateWithQuantitySr()
350 assertEquals("Relative date with quantity fallback", row[3], actual); in TestRelativeDateWithQuantitySrFallback()
413 assertEquals("Relative date without quantity", row[2], actual); in TestRelativeDateWithoutQuantity()
482 assertEquals("Relative date without quantity caps", row[2], actual); in TestRelativeDateWithoutQuantityCaps()
555 assertEquals("Relative date without quantity short", row[2], actual); in TestRelativeDateWithoutQuantityShort()
628 assertEquals("Relative date without quantity narrow", row[2], actual); in TestRelativeDateWithoutQuantityNarrow()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DQuantityFormatter.java17 * QuantityFormatter represents an unknown quantity of something and formats a known quantity
34 * @param template the text for that plural variant with "{0}" as the quantity. For
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DQuantityFormatter.java16 * QuantityFormatter represents an unknown quantity of something and formats a known quantity
33 * @param template the text for that plural variant with "{0}" as the quantity. For
/external/sfntly/cpp/src/sfntly/data/
Dfont_output_stream.h36 // FWORD 16-bit signed integer (SHORT) that describes a quantity in FUnits.
37 // UFWORD 16-bit unsigned integer (USHORT) that describes a quantity in
/external/libvorbis/doc/
D05-comment.tex214 Vendor string length (32 bit unsigned quantity specifying number of octets)
220 Number of comment fields (32 bit unsigned quantity specifying number of fields)
223 …Comment field 0 length (if [Number of comment fields] $>0$; 32 bit unsigned quantity specifying nu…

123456789