Home
last modified time | relevance | path

Searched refs:quantity (Results 1 – 25 of 35) sorted by relevance

12

/external/robolectric/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 …]
DResourceLoader.java410 public String getPluralStringValue( int id, int quantity ) { in getPluralStringValue() argument
412 return pluralResourceLoader.getValue( id, quantity ); in getPluralStringValue()
/external/icu/icu4c/source/i18n/
Dquantityformatter.cpp129 const Formattable& quantity, in format() argument
141 FixedDecimal fd = decFmt->getFixedDecimal(quantity, status); in format()
147 if (quantity.getType() == Formattable::kDouble) { in format()
148 count = rules.select(quantity.getDouble()); in format()
149 } else if (quantity.getType() == Formattable::kLong) { in format()
150 count = rules.select(quantity.getLong()); in format()
151 } else if (quantity.getType() == Formattable::kInt64) { in format()
152 count = rules.select((double) quantity.getInt64()); in format()
170 fmt.format(quantity, formattedNumber, fpos, status); in format()
Dquantityformatter.h104 const Formattable &quantity,
Dreldatefmt.cpp776 double quantity, UDateDirection direction, UDateRelativeUnit unit, in format() argument
789 quantity, in format()
798 quantity, in format()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DQuantityFormatter.java119 public String format(double quantity, NumberFormat numberFormat, PluralRules pluralRules) { in format() argument
120 String formatStr = numberFormat.format(quantity); in format()
121 String variant = computeVariant(quantity, numberFormat, pluralRules); in format()
136 …private String computeVariant(double quantity, NumberFormat numberFormat, PluralRules pluralRules)… in computeVariant() argument
138 … return pluralRules.select(((DecimalFormat) numberFormat).getFixedDecimal(quantity)); in computeVariant()
140 return pluralRules.select(quantity); in computeVariant()
DRelativeDateTimeFormatter.java381 public String format(double quantity, Direction direction, RelativeUnit unit) { in format() argument
391 quantity, numberFormat, pluralRules); in format()
/external/llvm/test/YAMLParser/
Dspec-02-12.data6 quantity: 1
8 quantity: 4
10 quantity: 1
Dspec-02-27.data19 quantity : 4
23 quantity : 1
/external/robolectric/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/owasp/sanitizer/src/main/org/owasp/html/
DCssGrammar.java124 handler.quantity(token); in parsePropertyValue()
207 void quantity(String token); in quantity() method
DStylingPolicy.java142 public void quantity(String token) { in sanitizeCssProperties()
/external/llvm/lib/Target/SystemZ/
DSystemZOperands.td170 // Truncate an immediate to a 8-bit signed quantity.
175 // Truncate an immediate to a 8-bit unsigned quantity.
180 // Truncate an immediate to a 16-bit signed quantity.
185 // Truncate an immediate to a 16-bit unsigned quantity.
190 // Truncate an immediate to a 32-bit signed quantity.
195 // Truncate an immediate to a 32-bit unsigned quantity.
200 // Negate and then truncate an immediate to a 32-bit unsigned quantity.
/external/icu/icu4c/source/i18n/unicode/
Dreldatefmt.h420 double quantity,
/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…
/external/libxml2/result/HTML/
Ddoc2.htm.sax29 … technology solutions to efficiently access and manage the overwhelming quantity of information av…
/external/mesa3d/docs/
DMESA_drm_image.spec91 is a CPU-endian, 32-bit quantity, with alpha in the upper 8 bits,
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/
DBoundingSphere.java358 float quantity = 1.0f / points.length; in averagePoints() local
359 center.multLocal(quantity); in averagePoints()
/external/google-breakpad/src/third_party/linux/include/gflags/
Dgflags.h112 #error Do not know how to define a 32-bit integer quantity on your system
/external/protobuf/
DCONTRIBUTORS.txt25 Large quantity of code reviews:
/external/owasp/sanitizer/distrib/lib/
Dowasp-java-html-sanitizer.jar ... (java.lang.String) public abstract void quantity (java.lang.String) public abstract void ...
/external/pcre/dist/
DHACKING59 for a 16-bit data quantity, and the word "unit" is used for a quantity that is
/external/llvm/lib/Target/AArch64/
DAArch64CallingConvention.td184 // 32bit quantity as undef.
/external/zlib/src/doc/
Drfc1950.txt520 unsigned quantity, as here, right shift inserts zero bit(s)
Drfc1952.txt598 unsigned quantity, as here, right shift inserts zero

12