Home
last modified time | relevance | path

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

12345678910

/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/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/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/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/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/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/icu/icu4c/source/i18n/unicode/
Dreldatefmt.h244 * <li>relative dates with a quantity e.g "in 5 days"</li>
245 * <li>relative dates without a quantity e.g "next Tuesday"</li>
378 * Formats a relative date with a quantity such as "in 5 days" or
380 * @param quantity The numerical amount e.g 5. This value is formatted
393 double quantity,
400 * Formats a relative date without a quantity.
/external/ltp/testcases/network/stress/ns-tools/
Dfind_portbundle33 # $3: quantity of the ports
106 # If required quantity of the port isn't available, seach in the next range
121 # Print the result. If required quantity is not 1, print in range expression
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/doc/spec/
Dx16775.htm5 >3. COPYING IN QUANTITY</TITLE
77 >C.4. 3. COPYING IN QUANTITY</A
128 copies in quantity, to ensure that this Transparent copy will
Dx16769.htm19 TITLE="3. COPYING IN QUANTITY"
160 >3. COPYING IN QUANTITY</TD
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DQuantityFormatter.java18 * QuantityFormatter represents an unknown quantity of something and formats a known quantity
35 * @param template the text for that plural variant with "{0}" as the quantity. For
/external/icu/android_icu4j/src/main/java/android/icu/text/
DQuantityFormatter.java19 * QuantityFormatter represents an unknown quantity of something and formats a known quantity
36 * @param template the text for that plural variant with "{0}" as the quantity. For
/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/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
Dfont_input_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/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java94 assertEquals("Relative date with quantity", row[3], actual); in TestRelativeDateWithQuantity()
169 assertEquals("Relative date with quantity", row[3], actual); in TestRelativeDateWithQuantityCaps()
244 assertEquals("Relative date with quantity", row[3], actual); in TestRelativeDateWithQuantityShort()
319 assertEquals("Relative date with quantity", row[3], actual); in TestRelativeDateWithQuantityNarrow()
336 assertEquals("Relative date with quantity", row[3], actual); in TestRelativeDateWithQuantitySr()
355 assertEquals("Relative date with quantity fallback", row[3], actual); in TestRelativeDateWithQuantitySrFallback()
419 assertEquals("Relative date without quantity", row[2], actual); in TestRelativeDateWithoutQuantity()
489 assertEquals("Relative date without quantity caps", row[2], actual); in TestRelativeDateWithoutQuantityCaps()
563 assertEquals("Relative date without quantity short", row[2], actual); in TestRelativeDateWithoutQuantityShort()
637 assertEquals("Relative date without quantity narrow", row[2], actual); in TestRelativeDateWithoutQuantityNarrow()
[all …]

12345678910