Home
last modified time | relevance | path

Searched refs:numberValue (Results 1 – 10 of 10) 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/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/v8/src/builtins/
Ddata-view.tq658 let numberValue: Numeric;
662 // 4. If ! IsBigIntElementType(type) is true, let numberValue be
664 numberValue = ToBigInt(context, value);
666 // 5. Otherwise, let numberValue be ? ToNumber(value).
667 numberValue = ToNumber(context, value);
697 // For these elements kinds numberValue is BigInt.
698 const bigIntValue: BigInt = %RawDownCast<BigInt>(numberValue);
701 // For these elements kinds numberValue is Number.
702 const numValue: Number = %RawDownCast<Number>(numberValue);
Dbase.tq1605 const numberValue = Cast<Number>(value) otherwise Slow;
1608 doubleElements[index] = numberValue;
/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/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()