Home
last modified time | relevance | path

Searched refs:numberValue (Results 1 – 20 of 20) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/
DJsonToken.cs70 return new JsonToken(TokenType.Number, numberValue: value); in Value()
95 private readonly double numberValue; field in Google.Protobuf.JsonToken
99 internal double NumberValue { get { return numberValue; } }
101 private JsonToken(TokenType type, string stringValue = null, double numberValue = 0) in JsonToken() argument
105 this.numberValue = numberValue; in JsonToken()
120 hash = hash * 31 + numberValue.GetHashCode(); in GetHashCode()
140 return "number (" + numberValue + ")"; in ToString()
163 …rn other.type == type && other.stringValue == stringValue && other.numberValue.Equals(numberValue); in Equals()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DValue.java111 private final Number numberValue; field in Value
120 private Value(byte tag, Number numberValue) { in Value() argument
122 this.numberValue = numberValue; in Value()
133 this.numberValue = null; in Value()
143 this.numberValue = null; in Value()
162 return numberValue.byteValue(); in getByteValue()
171 return numberValue.shortValue(); in getShortValue()
180 return numberValue.intValue(); in getIntValue()
189 return numberValue.longValue(); in getLongValue()
198 return numberValue.floatValue(); in getFloatValue()
[all …]
/external/dagger2/javatests/dagger/functional/nullables/
DNullModule.java25 Number numberValue = null; field in NullModule
36 return numberValue; in provideNumber()
DNullabilityTest.java44 module.numberValue = 1; in testNullability_provides()
48 module.numberValue = null; in testNullability_provides()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DNumberNodesTest.java58 assertEquals(value, result.numberValue().intValue()); in testIntViaMapper()
139 assertEquals(value, result.numberValue().longValue()); in testLongViaMapper()
196 assertEquals(value, result.numberValue().doubleValue()); in testDoubleViaMapper()
255 assertEquals(BigDecimal.ONE, n.numberValue()); in testDecimalNode()
290 assertEquals(value, result.numberValue()); in testDecimalNode()
332 assertEquals(BigInteger.ONE, n.numberValue()); in testBigIntegerNode()
DTestNullNode.java41 assertNull(n.numberValue()); in testBasicsWithNullNode()
/external/protobuf/objectivec/google/protobuf/
DStruct.pbobjc.m137 @dynamic numberValue;
149 double numberValue;
168 .name = "numberValue",
172 .offset = (uint32_t)offsetof(GPBValue__storage_, numberValue),
DStruct.pbobjc.h145 @property(nonatomic, readwrite) double numberValue;
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DNumericNode.java29 @Override public abstract Number numberValue(); in numberValue() method in NumericNode
DTreeTraversingParser.java208 return String.valueOf(currentNode().numberValue()); in getText()
296 return currentNumericNode().numberValue(); in getNumberValue()
DShortNode.java53 public Number numberValue() { in numberValue() method in ShortNode
DLongNode.java55 public Number numberValue() { in numberValue() method in LongNode
DIntNode.java78 public Number numberValue() { in numberValue() method in IntNode
DDoubleNode.java63 public Number numberValue() { in numberValue() method in DoubleNode
DFloatNode.java64 public Number numberValue() { in numberValue() method in FloatNode
DDecimalNode.java68 public Number numberValue() { return _value; } in numberValue() method in DecimalNode
DBigIntegerNode.java60 public Number numberValue() { in numberValue() method in BigIntegerNode
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
DJsonFormatTest.java1056 Value numberValue = Value.newBuilder().setNumberValue(1.125).build(); in testAnyInMaps() local
1058 struct.putFields("number", numberValue); in testAnyInMaps()
1063 Any.pack(ListValue.newBuilder().addValues(numberValue).addValues(nullValue).build())); in testAnyInMaps()
1064 testAny.putAnyMap("number_value", Any.pack(numberValue)); in testAnyInMaps()
1065 testAny.putAnyMap("any_value_number", Any.pack(Any.pack(numberValue))); in testAnyInMaps()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DJsonNode.java458 public Number numberValue() { return null; } in numberValue() method in JsonNode
/external/pdfium/fxjs/xfa/
Dcfxjse_formcalc_context.cpp4104 std::unique_ptr<CFXJSE_Value> numberValue = GetSimpleValue(pThis, args, 0); in Str() local
4105 if (numberValue->IsNull()) { in Str()
4109 float fNumber = ValueToFloat(pThis, numberValue.get()); in Str()
4366 std::unique_ptr<CFXJSE_Value> numberValue = GetSimpleValue(pThis, args, 0); in WordNum() local
4367 if (numberValue->IsNull()) { in WordNum()
4371 float fNumber = ValueToFloat(pThis, numberValue.get()); in WordNum()