HomeSort by relevance Sort by last modified time
    Searched refs:baseValue (Results 1 - 25 of 37) sorted by null

1 2

  /external/icu/android_icu4j/src/main/java/android/icu/text/
NFRule.java 68 private long baseValue;
96 * because it only works on the current baseValue. It's normally not used
138 // new it up and initialize its basevalue and divisor
154 || rule1.baseValue == PROPER_FRACTION_RULE
155 || rule1.baseValue == NEGATIVE_NUMBER_RULE
156 || rule1.baseValue == INFINITY_RULE
157 || rule1.baseValue == NAN_RULE)
170 if ((rule1.baseValue > 0
171 && rule1.baseValue % (power(rule1.radix, rule1.exponent)) == 0)
172 || rule1.baseValue == IMPROPER_FRACTION_RUL
    [all...]
NFRuleSet.java 202 long baseValue = rule.getBaseValue();
203 if (baseValue == 0) {
215 if (baseValue < defaultBaseValue) {
217 baseValue + " < " + defaultBaseValue);
219 defaultBaseValue = baseValue;
237 long baseValue = rule.getBaseValue();
238 if (baseValue == NFRule.NEGATIVE_NUMBER_RULE) {
241 else if (baseValue == NFRule.IMPROPER_FRACTION_RULE) {
244 else if (baseValue == NFRule.PROPER_FRACTION_RULE) {
247 else if (baseValue == NFRule.MASTER_RULE)
    [all...]
NFSubstitution.java 410 * @param baseValue A partial parse result that should be
423 * baseValue with whatever was returned from matching the
428 public Number doParse(String text, ParsePosition parsePosition, double baseValue,
486 result = composeRuleValue(result, baseValue);
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
NFRule.java 67 private long baseValue;
95 * because it only works on the current baseValue. It's normally not used
137 // new it up and initialize its basevalue and divisor
153 || rule1.baseValue == PROPER_FRACTION_RULE
154 || rule1.baseValue == NEGATIVE_NUMBER_RULE
155 || rule1.baseValue == INFINITY_RULE
156 || rule1.baseValue == NAN_RULE)
169 if ((rule1.baseValue > 0
170 && rule1.baseValue % (power(rule1.radix, rule1.exponent)) == 0)
171 || rule1.baseValue == IMPROPER_FRACTION_RUL
    [all...]
NFRuleSet.java 201 long baseValue = rule.getBaseValue();
202 if (baseValue == 0) {
214 if (baseValue < defaultBaseValue) {
216 baseValue + " < " + defaultBaseValue);
218 defaultBaseValue = baseValue;
236 long baseValue = rule.getBaseValue();
237 if (baseValue == NFRule.NEGATIVE_NUMBER_RULE) {
240 else if (baseValue == NFRule.IMPROPER_FRACTION_RULE) {
243 else if (baseValue == NFRule.PROPER_FRACTION_RULE) {
246 else if (baseValue == NFRule.MASTER_RULE)
    [all...]
NFSubstitution.java 409 * @param baseValue A partial parse result that should be
422 * baseValue with whatever was returned from matching the
427 public Number doParse(String text, ParsePosition parsePosition, double baseValue,
485 result = composeRuleValue(result, baseValue);
    [all...]
  /libcore/ojluni/src/test/java/time/test/java/time/format/
TestReducedPrinter.java 83 private DateTimeFormatter getFormatter0(TemporalField field, int width, int baseValue) {
84 return builder.appendValueReduced(field, width, width, baseValue).toFormatter(locale).withDecimalStyle(decimalStyle);
87 private DateTimeFormatter getFormatter0(TemporalField field, int minWidth, int maxWidth, int baseValue) {
88 return builder.appendValueReduced(field, minWidth, maxWidth, baseValue).toFormatter(locale).withDecimalStyle(decimalStyle);
91 private DateTimeFormatter getFormatterBaseDate(TemporalField field, int minWidth, int maxWidth, int baseValue) {
92 return builder.appendValueReduced(field, minWidth, maxWidth, LocalDate.of(baseValue, 1, 1)).toFormatter(locale).withDecimalStyle(decimalStyle);
179 public void test_pivot(int minWidth, int maxWidth, int baseValue, int value, String result) throws Exception {
181 getFormatter0(YEAR, minWidth, maxWidth, baseValue).formatTo(new MockFieldValue(YEAR, value), buf);
196 public void test_pivot_baseDate(int minWidth, int maxWidth, int baseValue, int value, String result) throws Exception {
198 getFormatterBaseDate(YEAR, minWidth, maxWidth, baseValue).formatTo(new MockFieldValue(YEAR, value), buf)
    [all...]
TestReducedParser.java 99 private DateTimeFormatter getFormatter0(TemporalField field, int width, int baseValue) {
100 return builder.appendValueReduced(field, width, width, baseValue).toFormatter(locale).withDecimalStyle(decimalStyle);
103 private DateTimeFormatter getFormatter0(TemporalField field, int minWidth, int maxWidth, int baseValue) {
104 return builder.appendValueReduced(field, minWidth, maxWidth, baseValue).toFormatter(locale).withDecimalStyle(decimalStyle);
107 private DateTimeFormatter getFormatterBaseDate(TemporalField field, int minWidth, int maxWidth, int baseValue) {
108 return builder.appendValueReduced(field, minWidth, maxWidth, LocalDate.of(baseValue, 1, 1)).toFormatter(locale).withDecimalStyle(decimalStyle);
121 public void test_parse_error(TemporalField field, int width, int baseValue, String text, int pos, Class<?> expected) {
123 getFormatter0(field, width, baseValue).parseUnresolved(text, new ParsePosition(pos));
139 // The data is the ChronoField, width, baseValue, text, startPos, endPos, value
186 public void test_parseAllStrict(TemporalField field, int width, int baseValue, String input, int pos, int parseLen, Integer parseVal)
    [all...]
  /external/icu/icu4c/source/i18n/
nfrule.h 60 ERuleType getType() const { return (ERuleType)(baseValue <= kNoBase ? (ERuleType)baseValue : kOtherRule); }
61 void setType(ERuleType ruleType) { baseValue = (int32_t)ruleType; }
63 int64_t getBaseValue() const { return baseValue; }
95 double matchToDelimiter(const UnicodeString& text, int32_t startPos, double baseValue,
106 int64_t baseValue;
nfrule.cpp 38 : baseValue((int32_t)0)
116 // new it up and initialize its basevalue and divisor
153 if ((rule1->baseValue > 0
154 && (rule1->baseValue % util64_pow(rule1->radix, rule1->exponent)) == 0)
169 if (rule1->baseValue >= 0) {
170 rule2->baseValue = rule1->baseValue;
172 ++rule1->baseValue;
187 rule2->baseValue = rule1->baseValue;
    [all...]
nfsubs.cpp 155 double baseValue,
221 double baseValue,
292 double baseValue,
668 * @param baseValue A partial parse result that should be
681 * baseValue with whatever was returned from matching the
689 double baseValue,
695 fprintf(stderr, "<nfsubs> %x bv: %g ub: %g\n", this, baseValue, upperBound);
757 tempResult = composeRuleValue(tempResult, baseValue);
    [all...]
nfsubs.h 171 * @param baseValue A partial parse result that should be
184 * baseValue with whatever was returned from matching the
191 double baseValue,
nfrs.cpp 238 int64_t baseValue = rule->getBaseValue();
240 if (baseValue == 0) {
252 if (baseValue < defaultBaseValue) {
257 defaultBaseValue = baseValue;
270 int64_t baseValue = rule->getBaseValue();
271 if (baseValue == NFRule::kNegativeNumberRule) {
275 else if (baseValue == NFRule::kImproperFractionRule) {
278 else if (baseValue == NFRule::kProperFractionRule) {
281 else if (baseValue == NFRule::kMasterRule) {
284 else if (baseValue == NFRule::kInfinityRule)
    [all...]
  /external/robolectric/v3/
robolectric-annotations-3.1-SNAPSHOT.jar 
  /prebuilts/misc/common/robolectric/3.1.1/lib/
robolectric-annotations-3.1.1.jar 
  /external/robolectric-shadows/annotations/src/main/java/org/robolectric/annotation/
Config.java 571 private <T> T pick(T baseValue, T overlayValue, T nullValue) {
572 return overlayValue != null ? (overlayValue.equals(nullValue) ? baseValue : overlayValue) : null;
575 private int[] pickSdk(int[] baseValue, int[] overlayValue, int[] nullValue) {
576 return Arrays.equals(overlayValue, nullValue) ? baseValue : overlayValue;
  /prebuilts/misc/common/robolectric/3.4.2/lib/
annotations-3.4.2.jar 
  /prebuilts/misc/common/robolectric/3.5.1/lib/
annotations-3.5.1.jar 
  /prebuilts/misc/common/robolectric/3.6.1/lib/
annotations-3.6.1.jar 
  /external/deqp/framework/common/
tcuCompressedTexture.cpp 605 deUint32 baseValue[2];
615 baseValue[0] = (((deUint32)baseR[0]) << 16) | (((deUint32)baseG[0]) << 8) | baseB[0];
616 baseValue[1] = (((deUint32)baseR[1]) << 16) | (((deUint32)baseG[1]) << 8) | baseB[1];
617 distNdx = (getBit(src, 34) << 2) | (getBit(src, 32) << 1) | (deUint32)(baseValue[0] >= baseValue[1]);
    [all...]
tcuAstcUtil.cpp     [all...]
  /external/deqp/modules/gles31/functional/
es31fBasicComputeShaderTests.cpp 743 const deUint32 baseValue = 127;
782 gl.uniform1ui(gl.getUniformLocation(program0.getProgram(), "u_baseVal"), baseValue);
    [all...]
  /external/llvm/lib/Transforms/Scalar/
RewriteStatepointsForGC.cpp 552 BDVState() : Status(Unknown), BaseValue(nullptr) {}
554 explicit BDVState(Status Status, Value *BaseValue = nullptr)
555 : Status(Status), BaseValue(BaseValue) {
556 assert(Status != Base || BaseValue);
559 explicit BDVState(Value *BaseValue) : Status(Base), BaseValue(BaseValue) {}
562 Value *getBaseValue() const { return BaseValue; }
569 return BaseValue == Other.BaseValue && Status == Other.Status
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/compute/
vktComputeBasicComputeShaderTests.cpp     [all...]
  /libcore/ojluni/src/main/java/java/time/format/
DateTimeFormatterBuilder.java 519 * If the value of the field is within the range of the {@code baseValue} using
528 * or equal to the {@code baseValue} with the same least significant characters,
530 * This allows a reduced value to be entered for values in range of the baseValue
542 * @param baseValue the base value of the range of valid values
547 int width, int maxWidth, int baseValue) {
549 ReducedPrinterParser pp = new ReducedPrinterParser(field, width, maxWidth, baseValue, null);
573 * {@code baseValue} used below.
578 * If the value of the field is within the range of the {@code baseValue} using
587 * or equal to the {@code baseValue} with the same least significant characters,
589 * This allows a reduced value to be entered for values in range of the baseValue
    [all...]

Completed in 650 milliseconds

1 2