Home
last modified time | relevance | path

Searched refs:baseValue (Results 1 – 16 of 16) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFRule.java68 private long baseValue; field in NFRule
154 || rule1.baseValue == PROPER_FRACTION_RULE in makeRules()
155 || rule1.baseValue == NEGATIVE_NUMBER_RULE in makeRules()
156 || rule1.baseValue == INFINITY_RULE in makeRules()
157 || rule1.baseValue == NAN_RULE) in makeRules()
170 if ((rule1.baseValue > 0 in makeRules()
171 && rule1.baseValue % (power(rule1.radix, rule1.exponent)) == 0) in makeRules()
172 || rule1.baseValue == IMPROPER_FRACTION_RULE in makeRules()
173 || rule1.baseValue == MASTER_RULE) in makeRules()
182 if (rule1.baseValue >= 0) { in makeRules()
[all …]
DNFRuleSet.java202 long baseValue = rule.getBaseValue(); in parseRules() local
203 if (baseValue == 0) { in parseRules()
215 if (baseValue < defaultBaseValue) { in parseRules()
217 baseValue + " < " + defaultBaseValue); in parseRules()
219 defaultBaseValue = baseValue; in parseRules()
237 long baseValue = rule.getBaseValue(); in setNonNumericalRule() local
238 if (baseValue == NFRule.NEGATIVE_NUMBER_RULE) { in setNonNumericalRule()
241 else if (baseValue == NFRule.IMPROPER_FRACTION_RULE) { in setNonNumericalRule()
244 else if (baseValue == NFRule.PROPER_FRACTION_RULE) { in setNonNumericalRule()
247 else if (baseValue == NFRule.MASTER_RULE) { in setNonNumericalRule()
[all …]
DNFSubstitution.java399 public Number doParse(String text, ParsePosition parsePosition, double baseValue, in doParse() argument
457 result = composeRuleValue(result, baseValue); in doParse()
950 public Number doParse(String text, ParsePosition parsePosition, double baseValue, in doParse() argument
955 return super.doParse(text, parsePosition, baseValue, upperBound, lenientParse); in doParse()
966 result = composeRuleValue(result, baseValue); in doParse()
1251 public Number doParse(String text, ParsePosition parsePosition, double baseValue, in doParse() argument
1256 return super.doParse(text, parsePosition, baseValue, 0, lenientParse); in doParse()
1292 result = composeRuleValue(result, baseValue); in doParse()
1558 public Number doParse(String text, ParsePosition parsePosition, double baseValue, in doParse() argument
1595 … Number result = super.doParse(text, parsePosition, withZeros ? 1 : baseValue, upperBound, false); in doParse()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRule.java67 private long baseValue; field in NFRule
153 || rule1.baseValue == PROPER_FRACTION_RULE in makeRules()
154 || rule1.baseValue == NEGATIVE_NUMBER_RULE in makeRules()
155 || rule1.baseValue == INFINITY_RULE in makeRules()
156 || rule1.baseValue == NAN_RULE) in makeRules()
169 if ((rule1.baseValue > 0 in makeRules()
170 && rule1.baseValue % (power(rule1.radix, rule1.exponent)) == 0) in makeRules()
171 || rule1.baseValue == IMPROPER_FRACTION_RULE in makeRules()
172 || rule1.baseValue == MASTER_RULE) in makeRules()
181 if (rule1.baseValue >= 0) { in makeRules()
[all …]
DNFRuleSet.java201 long baseValue = rule.getBaseValue(); in parseRules() local
202 if (baseValue == 0) { in parseRules()
214 if (baseValue < defaultBaseValue) { in parseRules()
216 baseValue + " < " + defaultBaseValue); in parseRules()
218 defaultBaseValue = baseValue; in parseRules()
236 long baseValue = rule.getBaseValue(); in setNonNumericalRule() local
237 if (baseValue == NFRule.NEGATIVE_NUMBER_RULE) { in setNonNumericalRule()
240 else if (baseValue == NFRule.IMPROPER_FRACTION_RULE) { in setNonNumericalRule()
243 else if (baseValue == NFRule.PROPER_FRACTION_RULE) { in setNonNumericalRule()
246 else if (baseValue == NFRule.MASTER_RULE) { in setNonNumericalRule()
[all …]
DNFSubstitution.java398 public Number doParse(String text, ParsePosition parsePosition, double baseValue, in doParse() argument
456 result = composeRuleValue(result, baseValue); in doParse()
949 public Number doParse(String text, ParsePosition parsePosition, double baseValue, in doParse() argument
954 return super.doParse(text, parsePosition, baseValue, upperBound, lenientParse); in doParse()
965 result = composeRuleValue(result, baseValue); in doParse()
1250 public Number doParse(String text, ParsePosition parsePosition, double baseValue, in doParse() argument
1255 return super.doParse(text, parsePosition, baseValue, 0, lenientParse); in doParse()
1291 result = composeRuleValue(result, baseValue); in doParse()
1557 public Number doParse(String text, ParsePosition parsePosition, double baseValue, in doParse() argument
1594 … Number result = super.doParse(text, parsePosition, withZeros ? 1 : baseValue, upperBound, false); in doParse()
/external/icu/icu4c/source/i18n/
Dnfrule.h61 …ERuleType getType() const { return (ERuleType)(baseValue <= kNoBase ? (ERuleType)baseValue : kOthe… in getType()
62 void setType(ERuleType ruleType) { baseValue = (int32_t)ruleType; } in setType()
64 int64_t getBaseValue() const { return baseValue; } in getBaseValue()
96 double matchToDelimiter(const UnicodeString& text, int32_t startPos, double baseValue,
107 int64_t baseValue;
Dnfrule.cpp37 : baseValue((int32_t)0) in NFRule()
152 if ((rule1->baseValue > 0 in makeRules()
153 && (rule1->baseValue % util64_pow(rule1->radix, rule1->exponent)) == 0) in makeRules()
168 if (rule1->baseValue >= 0) { in makeRules()
169 rule2->baseValue = rule1->baseValue; in makeRules()
171 ++rule1->baseValue; in makeRules()
186 rule2->baseValue = rule1->baseValue; in makeRules()
220 if (rule2->baseValue >= kNoBase) { in makeRules()
228 if (rule1->baseValue >= kNoBase) { in makeRules()
536 baseValue = newBaseValue; in setBaseValue()
[all …]
Dnfsubs.cpp159 double baseValue,
225 double baseValue,
296 double baseValue,
678 double baseValue, in doParse() argument
684 fprintf(stderr, "<nfsubs> %x bv: %g ub: %g\n", this, baseValue, upperBound); in doParse()
746 tempResult = composeRuleValue(tempResult, baseValue); in doParse()
922 double baseValue, in doParse() argument
930 … return NFSubstitution::doParse(text, parsePosition, baseValue, upperBound, lenientParse, result); in doParse()
941 tempResult = composeRuleValue(tempResult, baseValue); in doParse()
1109 double baseValue, in doParse() argument
[all …]
Dnfrs.cpp237 int64_t baseValue = rule->getBaseValue(); in parseRules() local
239 if (baseValue == 0) { in parseRules()
251 if (baseValue < defaultBaseValue) { in parseRules()
256 defaultBaseValue = baseValue; in parseRules()
269 int64_t baseValue = rule->getBaseValue(); in setNonNumericalRule() local
270 if (baseValue == NFRule::kNegativeNumberRule) { in setNonNumericalRule()
274 else if (baseValue == NFRule::kImproperFractionRule) { in setNonNumericalRule()
277 else if (baseValue == NFRule::kProperFractionRule) { in setNonNumericalRule()
280 else if (baseValue == NFRule::kMasterRule) { in setNonNumericalRule()
283 else if (baseValue == NFRule::kInfinityRule) { in setNonNumericalRule()
[all …]
Dnfsubs.h191 double baseValue,
/external/deqp/framework/common/
DtcuCompressedTexture.cpp605 deUint32 baseValue[2]; in decompressETC2Block() local
615 baseValue[0] = (((deUint32)baseR[0]) << 16) | (((deUint32)baseG[0]) << 8) | baseB[0]; in decompressETC2Block()
616 baseValue[1] = (((deUint32)baseR[1]) << 16) | (((deUint32)baseG[1]) << 8) | baseB[1]; in decompressETC2Block()
617 …Ndx = (getBit(src, 34) << 2) | (getBit(src, 32) << 1) | (deUint32)(baseValue[0] >= baseValue[1]); in decompressETC2Block()
DtcuAstcUtil.cpp2431 const deUint32 baseValue = blockNdx*(numValues-1) / (numBlocks-1); in generateBlockCaseTestData() local
2432 const deUint16 r = (deUint16)((baseValue + numValues*0/4) % numValues); in generateBlockCaseTestData()
2433 const deUint16 g = (deUint16)((baseValue + numValues*1/4) % numValues); in generateBlockCaseTestData()
2434 const deUint16 b = (deUint16)((baseValue + numValues*2/4) % numValues); in generateBlockCaseTestData()
2435 const deUint16 a = (deUint16)((baseValue + numValues*3/4) % numValues); in generateBlockCaseTestData()
/external/deqp/modules/gles31/functional/
Des31fBasicComputeShaderTests.cpp723 const deUint32 baseValue = 127; in iterate() local
762 gl.uniform1ui(gl.getUniformLocation(program0.getProgram(), "u_baseVal"), baseValue); in iterate()
781 ref += baseValue + (deUint32)ndx; in iterate()
1370 const deUint32 baseValue = 127; in iterate() local
1408 gl.uniform1ui(gl.getUniformLocation(program0.getProgram(), "u_baseVal"), baseValue); in iterate()
1427 ref += baseValue + (deUint32)ndx; in iterate()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp1820 const deUint32 baseValue = 127; in iterate() local
1824 uniformBufferPtr[0] = baseValue; in iterate()
1907 ref += baseValue + ndx; in iterate()
2246 const deUint32 baseValue = 127; in iterate() local
2250 uniformBufferPtr[0] = baseValue; in iterate()
2343 ref += baseValue + ndx; in iterate()
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp739 auto getStateForBDV = [&](Value *baseValue) { in findBasePointer() argument
740 if (isKnownBaseResult(baseValue)) in findBasePointer()
741 return BDVState(baseValue); in findBasePointer()
742 auto I = States.find(baseValue); in findBasePointer()