Home
last modified time | relevance | path

Searched refs:NumberDecimal (Results 1 – 25 of 43) sorted by relevance

12

/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/pipeline/
H A Dvalue.cpp91 case NumberDecimal: in verifyRefCountingIfShould()
222 case NumberDecimal: in Value()
346 case NumberDecimal: in operator <<()
472 case NumberDecimal: in coerceToBool()
489 case NumberDecimal: in coerceToInt()
511 case NumberDecimal: in coerceToLong()
533 case NumberDecimal: in coerceToDouble()
546 case NumberDecimal: in coerceToDecimal()
596 case NumberDecimal: in coerceToString()
1067 case NumberDecimal: in getApproximateSize()
[all …]
H A Daccumulator_sum.cpp81 case NumberDecimal: in processInternal()
123 case NumberDecimal: { in getValue()
H A Dgranularity_rounder_powers_of_two_test.cpp138 ASSERT_EQ(inputValue.getType(), BSONType::NumberDecimal); in TEST()
141 ASSERT_EQ(roundedValue.getType(), BSONType::NumberDecimal); in TEST()
153 ASSERT_EQ(inputValue.getType(), BSONType::NumberDecimal); in TEST()
156 ASSERT_EQ(roundedValue.getType(), BSONType::NumberDecimal); in TEST()
H A Dgranularity_rounder_powers_of_two.cpp73 } else if (value.getType() == BSONType::NumberDecimal) { in roundUp()
99 } else if (value.getType() == BSONType::NumberDecimal) { in roundDown()
H A Dgranularity_rounder_preferred_numbers_test.cpp139 ASSERT_EQ(roundedValue.getType(), BSONType::NumberDecimal); in testRoundingUpInSeriesDecimal()
210 ASSERT_EQ(roundedValue.getType(), BSONType::NumberDecimal); in testRoundingUpBetweenSeriesDecimal()
276 ASSERT_EQ(roundedValue.getType(), BSONType::NumberDecimal); in testRoundingDownInSeriesDecimal()
347 ASSERT_EQ(roundedValue.getType(), BSONType::NumberDecimal); in testRoundingDownBetweenSeriesDecimal()
427 ASSERT_EQ(roundedValue.getType(), BSONType::NumberDecimal); in testSeriesWrappingAroundDecimal()
446 ASSERT_EQ(roundedValue.getType(), BSONType::NumberDecimal); in testSeriesWrappingAroundDecimal()
H A Dexpression.cpp225 } else if (type == NumberDecimal) { in evaluateNumericArg()
259 case NumberDecimal: in evaluate()
301 case NumberDecimal: in evaluate()
663 case NumberDecimal: in evaluateNumericArg()
1695 if (lhs.getType() == NumberDecimal || rhs.getType() == NumberDecimal) { in evaluate()
2093 case NumberDecimal: in evaluateNumericArg()
2402 if (leftType == NumberDecimal || rightType == NumberDecimal) { in evaluate()
2802 if (argVal.getType() == NumberDecimal || baseVal.getType() == NumberDecimal) { in evaluate()
3186 if (baseType == NumberDecimal || expType == NumberDecimal) { in evaluate()
4123 if (diffType == NumberDecimal) { in evaluate()
[all …]
H A Dgranularity_rounder_preferred_numbers.cpp173 if (value.getType() == BSONType::NumberDecimal) { in roundUp()
258 if (value.getType() == BSONType::NumberDecimal) { in roundDown()
H A Daccumulator_avg.cpp78 case NumberDecimal: in processInternal()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/util/
H A Dsafe_num.cpp57 case NumberDecimal: in SafeNum()
58 _type = NumberDecimal; in SafeNum()
78 case NumberDecimal: in debugString()
113 if (_type == NumberDecimal || rhs._type == NumberDecimal) { in isEquivalent()
155 case NumberDecimal: in isIdentical()
183 case NumberDecimal: in getDouble()
198 case NumberDecimal: in getDecimal()
336 if (lType == NumberDecimal || rType == NumberDecimal) { in addInternal()
368 if (lType == NumberDecimal || rType == NumberDecimal) { in mulInternal()
H A Dsafe_num_test.cpp58 ASSERT_EQUALS(numDecimal.type(), mongo::NumberDecimal); in TEST()
76 ASSERT_EQUALS(numDecimal.type(), mongo::NumberDecimal); in TEST()
158 ASSERT_EQUALS((zeroInt64 + zeroDecimal).type(), mongo::NumberDecimal); in TEST()
159 ASSERT_EQUALS((zeroInt32 + zeroDecimal).type(), mongo::NumberDecimal); in TEST()
160 ASSERT_EQUALS((zeroDouble + zeroDecimal).type(), mongo::NumberDecimal); in TEST()
161 ASSERT_EQUALS((zeroDecimal + zeroInt32).type(), mongo::NumberDecimal); in TEST()
162 ASSERT_EQUALS((zeroDecimal + zeroInt64).type(), mongo::NumberDecimal); in TEST()
163 ASSERT_EQUALS((zeroDecimal + zeroDouble).type(), mongo::NumberDecimal); in TEST()
166 ASSERT_EQUALS(stillDecimal.type(), mongo::NumberDecimal); in TEST()
450 ASSERT_EQUALS((zeroDecimal * zeroInt32).type(), mongo::NumberDecimal); in TEST()
[all …]
H A Dsafe_num-inl.h59 inline SafeNum::SafeNum(Decimal128 num) : _type(NumberDecimal) { in SafeNum()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/bson/
H A Dbsontypes.h107 NumberDecimal = 19, enumerator
134 case NumberDecimal: in isNumericBSONType()
175 case NumberDecimal: in canonicalizeBSONType()
H A Dbsonelement.h129 return chk(NumberDecimal)._numberDecimal(); in Decimal()
735 case NumberDecimal: in trueValue()
755 case NumberDecimal: in isNumber()
771 case NumberDecimal: in numberDecimal()
786 case NumberDecimal: in numberDouble()
803 case NumberDecimal: in numberInt()
819 case NumberDecimal: in numberLong()
846 case NumberDecimal: { in safeNumberLong()
H A Dbsontypes.cpp87 case NumberDecimal: in typeName()
123 case NumberDecimal: in isValidBSONType()
H A Dbsonelement.cpp100 case NumberDecimal: in jsonString()
370 case NumberDecimal: in compareElements()
385 case NumberDecimal: in compareElements()
400 case NumberDecimal: in compareElements()
407 case BSONType::NumberDecimal: { in compareElements()
409 case NumberDecimal: in compareElements()
727 case NumberDecimal: in toString()
H A Dbsonobjbuilder.cpp50 case NumberDecimal: in appendMinForType()
121 case NumberDecimal: in appendMaxForType()
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/ohler55/ojg/sen/
H A Dmongo_test.go22 decimal: NumberDecimal("12345.67890")
24 badDecimal: NumberDecimal("1e2e3")
/dports/misc/fq/fq-0.0.2/pkg/scalar/
H A Dscalar.go21 NumberDecimal DisplayFormat = iota const
29 case NumberDecimal:
70 var Dec = Fn(func(s S) (S, error) { s.ActualDisplay = NumberDecimal; return s, nil })
75 var SymDec = Fn(func(s S) (S, error) { s.SymDisplay = NumberDecimal; return s, nil })
/dports/devel/py-opengrok-tools/opengrok-1.3.16/opengrok-indexer/src/main/resources/analysis/clojure/
H A DClojure.lexh27 Number = ({NumberLong} | {NumberDecimal} | {NumberSci} | {NumberHex} |
30 NumberDecimal = [\-\+]?[0-9]*\.[0-9]+
31 NumberSci = ({NumberLong} | {NumberDecimal}) ([eE][+-]?[0-9]+)?
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/ops/
H A Dmodifier_inc_test.cpp407 ASSERT_EQUALS(mongo::NumberDecimal, doc.root()["a"].getType()); in TEST()
413 ASSERT_EQUALS(mongo::NumberDecimal, logDoc.root()["$set"]["a"].getType()); in TEST()
431 ASSERT_EQUALS(mongo::NumberDecimal, doc.root()["a"].getType()); in TEST()
437 ASSERT_EQUALS(mongo::NumberDecimal, logDoc.root()["$set"]["a"].getType()); in TEST()
455 ASSERT_EQUALS(mongo::NumberDecimal, doc.root()["a"].getType()); in TEST()
461 ASSERT_EQUALS(mongo::NumberDecimal, logDoc.root()["$set"]["a"].getType()); in TEST()
468 ASSERT_EQUALS(mongo::NumberDecimal, doc.root()["a"].getType()); in TEST()
479 ASSERT_EQUALS(mongo::NumberDecimal, doc.root()["a"].getType()); in TEST()
485 ASSERT_EQUALS(mongo::NumberDecimal, logDoc.root()["$set"]["a"].getType()); in TEST()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/matcher/
H A Dmatcher_type_set.cpp122 {typeName(BSONType::NumberDecimal), BSONType::NumberDecimal},
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/ftdc/
H A Dutil.cpp225 case NumberDecimal: in extractMetricsFromDocument()
280 case NumberDecimal: in isFTDCType()
317 case NumberDecimal: in constructDocumentFromMetrics()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/query/
H A Dindexability.h144 case BSONType::NumberDecimal: in isExactBoundsGenerating()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/bson/mutable/
H A Delement-inl.h108 dassert(hasValue() && isType(mongo::NumberDecimal)); in getValueDecimal()
/dports/misc/fq/fq-0.0.2/format/wav/
H A Dwav.go174 return scalar.S{Actual: l, ActualDisplay: scalar.NumberDecimal}

12