Home
last modified time | relevance | path

Searched refs:_value (Results 1 – 25 of 254) sorted by relevance

1234567891011

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DPOJONode.java19 protected final Object _value; field in POJONode
21 public POJONode(Object v) { _value = v; } in POJONode()
44 if (_value instanceof byte[]) { in binaryValue()
45 return (byte[]) _value; in binaryValue()
57 public String asText() { return (_value == null) ? "null" : _value.toString(); } in asText()
60 return (_value == null) ? defaultValue : _value.toString(); in asText()
66 if (_value != null && _value instanceof Boolean) { in asBoolean()
67 return ((Boolean) _value).booleanValue(); in asBoolean()
75 if (_value instanceof Number) { in asInt()
76 return ((Number) _value).intValue(); in asInt()
[all …]
DDoubleNode.java20 protected final double _value; field in DoubleNode
28 public DoubleNode(double v) { _value = v; } in DoubleNode()
56 return (_value >= Integer.MIN_VALUE && _value <= Integer.MAX_VALUE); in canConvertToInt()
59 return (_value >= Long.MIN_VALUE && _value <= Long.MAX_VALUE); in canConvertToLong()
64 return Double.valueOf(_value); in numberValue()
68 public short shortValue() { return (short) _value; } in shortValue()
71 public int intValue() { return (int) _value; } in intValue()
74 public long longValue() { return (long) _value; } in longValue()
77 public float floatValue() { return (float) _value; } in floatValue()
80 public double doubleValue() { return _value; } in doubleValue()
[all …]
DFloatNode.java20 protected final float _value; field in FloatNode
28 public FloatNode(float v) { _value = v; } in FloatNode()
56 return (_value >= Integer.MIN_VALUE && _value <= Integer.MAX_VALUE); in canConvertToInt()
60 return (_value >= Long.MIN_VALUE && _value <= Long.MAX_VALUE); in canConvertToLong()
65 return Float.valueOf(_value); in numberValue()
69 public short shortValue() { return (short) _value; } in shortValue()
72 public int intValue() { return (int) _value; } in intValue()
75 public long longValue() { return (long) _value; } in longValue()
78 public float floatValue() { return _value; } in floatValue()
81 public double doubleValue() { return _value; } in doubleValue()
[all …]
DLongNode.java19 protected final long _value; field in LongNode
27 public LongNode(long v) { _value = v; } in LongNode()
50 return (_value >= Integer.MIN_VALUE && _value <= Integer.MAX_VALUE); in canConvertToInt()
56 return Long.valueOf(_value); in numberValue()
60 public short shortValue() { return (short) _value; } in shortValue()
63 public int intValue() { return (int) _value; } in intValue()
66 public long longValue() { return _value; } in longValue()
69 public float floatValue() { return _value; } in floatValue()
72 public double doubleValue() { return _value; } in doubleValue()
75 public BigDecimal decimalValue() { return BigDecimal.valueOf(_value); } in decimalValue()
[all …]
DBigIntegerNode.java22 final protected BigInteger _value; field in BigIntegerNode
30 public BigIntegerNode(BigInteger v) { _value = v; } in BigIntegerNode()
53 return (_value.compareTo(MIN_INTEGER) >= 0) && (_value.compareTo(MAX_INTEGER) <= 0); in canConvertToInt()
56 return (_value.compareTo(MIN_LONG) >= 0) && (_value.compareTo(MAX_LONG) <= 0); in canConvertToLong()
61 return _value; in numberValue()
65 public short shortValue() { return _value.shortValue(); } in shortValue()
68 public int intValue() { return _value.intValue(); } in intValue()
71 public long longValue() { return _value.longValue(); } in longValue()
74 public BigInteger bigIntegerValue() { return _value; } in bigIntegerValue()
77 public float floatValue() { return _value.floatValue(); } in floatValue()
[all …]
DDecimalNode.java25 final protected BigDecimal _value; field in DecimalNode
33 public DecimalNode(BigDecimal v) { _value = v; } in DecimalNode()
61 return (_value.compareTo(MIN_INTEGER) >= 0) && (_value.compareTo(MAX_INTEGER) <= 0); in canConvertToInt()
64 return (_value.compareTo(MIN_LONG) >= 0) && (_value.compareTo(MAX_LONG) <= 0); in canConvertToLong()
68 public Number numberValue() { return _value; } in numberValue()
71 public short shortValue() { return _value.shortValue(); } in shortValue()
74 public int intValue() { return _value.intValue(); } in intValue()
77 public long longValue() { return _value.longValue(); } in longValue()
81 public BigInteger bigIntegerValue() { return _value.toBigInteger(); } in bigIntegerValue()
84 public float floatValue() { return _value.floatValue(); } in floatValue()
[all …]
DShortNode.java19 protected final short _value; field in ShortNode
27 public ShortNode(short v) { _value = v; } in ShortNode()
54 return Short.valueOf(_value); in numberValue()
58 public short shortValue() { return _value; } in shortValue()
61 public int intValue() { return _value; } in intValue()
64 public long longValue() { return _value; } in longValue()
67 public float floatValue() { return _value; } in floatValue()
70 public double doubleValue() { return _value; } in doubleValue()
73 public BigDecimal decimalValue() { return BigDecimal.valueOf(_value); } in decimalValue()
76 public BigInteger bigIntegerValue() { return BigInteger.valueOf(_value); } in bigIntegerValue()
[all …]
DBooleanNode.java24 private final boolean _value; field in BooleanNode
30 protected BooleanNode(boolean v) { _value = v; } in BooleanNode()
34 return _value ? TRUE : FALSE; in readResolve()
48 return _value ? JsonToken.VALUE_TRUE : JsonToken.VALUE_FALSE; in asToken()
53 return _value; in booleanValue()
58 return _value ? "true" : "false"; in asText()
63 return _value; in asBoolean()
68 return _value; in asBoolean()
73 return _value ? 1 : 0; in asInt()
77 return _value ? 1L : 0L; in asLong()
[all …]
DIntNode.java36 protected final int _value; field in IntNode
44 public IntNode(int v) { _value = v; } in IntNode()
79 return Integer.valueOf(_value); in numberValue()
83 public short shortValue() { return (short) _value; } in shortValue()
86 public int intValue() { return _value; } in intValue()
89 public long longValue() { return (long) _value; } in longValue()
92 public float floatValue() { return (float) _value; } in floatValue()
95 public double doubleValue() { return (double) _value; } in doubleValue()
99 public BigDecimal decimalValue() { return BigDecimal.valueOf(_value); } in decimalValue()
102 public BigInteger bigIntegerValue() { return BigInteger.valueOf(_value); } in bigIntegerValue()
[all …]
DTextNode.java23 protected final String _value; field in TextNode
25 public TextNode(String v) { _value = v; } in TextNode()
56 return _value; in textValue()
67 final String str = _value.trim(); in getBinaryValue()
94 return _value; in asText()
99 return (_value == null) ? defaultValue : _value; in asText()
106 if (_value != null) { in asBoolean()
107 String v = _value.trim(); in asBoolean()
120 return NumberInput.parseAsInt(_value, defaultValue); in asInt()
125 return NumberInput.parseAsLong(_value, defaultValue); in asLong()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DRawValue.java27 protected Object _value; field in RawValue
30 _value = v; in RawValue()
34 _value = v; in RawValue()
38 _value = v; in RawValue()
49 _value = value; in RawValue()
57 return _value; in rawValue()
63 if (_value instanceof JsonSerializable) { in serialize()
64 ((JsonSerializable) _value).serialize(gen, serializers); in serialize()
74 if (_value instanceof JsonSerializable) { in serializeWithType()
75 ((JsonSerializable) _value).serializeWithType(gen, serializers, typeSer); in serializeWithType()
[all …]
DJSONPObject.java28 protected final Object _value; field in JSONPObject
45 _value = value; in JSONPObject()
71 if (_value == null) { in serialize()
84 …provider.findTypedValueSerializer(_serializationType, true, null).serialize(_value, gen, provider); in serialize()
86 … provider.findTypedValueSerializer(_value.getClass(), true, null).serialize(_value, gen, provider); in serialize()
104 public Object getValue() { return _value; } in getValue()
DJSONWrappedObject.java35 protected final Object _value; field in JSONWrappedObject
58 _value = value; in JSONWrappedObject()
82 if (_value == null) { in serialize()
85 …provider.findTypedValueSerializer(_serializationType, true, null).serialize(_value, jgen, provider… in serialize()
87 Class<?> cls = _value.getClass(); in serialize()
88 provider.findTypedValueSerializer(cls, true, null).serialize(_value, jgen, provider); in serialize()
101 public Object getValue() { return _value; } in getValue()
/external/python/cpython3/Include/internal/
Dpycore_atomic.h46 atomic_uintptr_t _value; member
50 atomic_int _value; member
60 atomic_store_explicit(&((ATOMIC_VAL)->_value), NEW_VAL, ORDER)
63 atomic_load_explicit(&((ATOMIC_VAL)->_value), ORDER)
77 uintptr_t _value;
81 int _value;
94 __atomic_store_n(&((ATOMIC_VAL)->_value), NEW_VAL, ORDER))
101 __atomic_load_n(&((ATOMIC_VAL)->_value), ORDER))
115 uintptr_t _value;
119 int _value;
[all …]
/external/lzma/Java/SevenZip/
DCRC.java23 int _value = -1; field in CRC
27 _value = -1; in Init()
33 _value = Table[(_value ^ data[offset + i]) & 0xFF] ^ (_value >>> 8); in Update()
40 _value = Table[(_value ^ data[i]) & 0xFF] ^ (_value >>> 8); in Update()
45 _value = Table[(_value ^ b) & 0xFF] ^ (_value >>> 8); in UpdateByte()
50 return _value ^ (-1); in GetDigest()
/external/sfntly/cpp/src/test/tinyxml/
Dtinyxml.h327 …inline static const char* GetChar( const char* p, char* _value, int* length, TiXmlEncoding encodin… in GetChar() argument
343 return GetEntity( p, _value, length, encoding ); in GetChar()
344 *_value = *p; in GetChar()
352 _value[i] = p[i]; in GetChar()
508 void SetValue(const char * _value) { value = _value;} in SetValue() argument
512 void SetValue( const std::string& _value ) { value = _value; } in SetValue() argument
526 TiXmlNode* FirstChild( const char * _value ) { in FirstChild() argument
529 return const_cast< TiXmlNode* > ((const_cast< const TiXmlNode* >(this))->FirstChild( _value )); in FirstChild()
535 TiXmlNode* LastChild( const char * _value ) { in LastChild() argument
536 return const_cast< TiXmlNode* > ((const_cast< const TiXmlNode* >(this))->LastChild( _value )); in LastChild()
[all …]
/external/tensorflow/tensorflow/python/framework/
Dtensor_shape.py192 self._value = value
194 self._value = None
196 self._value = value._value
201 self._value = int(value.__index__())
207 if self._value < 0:
208 raise ValueError("Dimension %d must be >= 0" % self._value)
211 return "Dimension(%s)" % repr(self._value)
214 value = self._value
223 if self._value is None or other.value is None:
225 return self._value == other.value
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/io/
DSerializedString.java24 protected final String _value; field in SerializedString
55 _value = v; in SerializedString()
77 out.writeUTF(_value); in writeObject()
91 public final String getValue() { return _value; } in getValue()
97 public final int charLength() { return _value.length(); } in charLength()
107 _quotedChars = result = JSON_ENCODER.quoteAsString(_value); in asQuotedChars()
121 _quotedUTF8Ref = result = JSON_ENCODER.quoteAsUTF8(_value); in asQuotedUTF8()
134 _unquotedUTF8Ref = result = JSON_ENCODER.encodeAsUTF8(_value); in asUnquotedUTF8()
149 _quotedChars = result = JSON_ENCODER.quoteAsString(_value); in appendQuoted()
163 _quotedUTF8Ref = result = JSON_ENCODER.quoteAsUTF8(_value); in appendQuotedUTF8()
[all …]
/external/python/pyasn1/pyasn1/type/
Duniv.py110 return self.clone(self._value & value)
113 return self.clone(value & self._value)
116 return self.clone(self._value | value)
119 return self.clone(value | self._value)
122 return self.clone(self._value ^ value)
125 return self.clone(value ^ self._value)
128 return self.clone(self._value << value)
131 return self.clone(self._value >> value)
134 return self.clone(self._value + value)
137 return self.clone(value + self._value)
[all …]
/external/lzma/CS/7zip/Common/
DCRC.cs25 uint _value = 0xFFFFFFFF; field in SevenZip.CRC
27 public void Init() { _value = 0xFFFFFFFF; } in Init()
31 _value = Table[(((byte)(_value)) ^ b)] ^ (_value >> 8); in UpdateByte()
37 _value = Table[(((byte)(_value)) ^ data[offset + i])] ^ (_value >> 8); in Update()
40 public uint GetDigest() { return _value ^ 0xFFFFFFFF; } in GetDigest()
/external/mesa3d/include/android_stub/log/
Dlog.h110 #define LOG_EVENT_INT(_tag, _value) \ argument
112 int intBuf = _value; \
117 #define LOG_EVENT_LONG(_tag, _value) \ argument
119 long long longBuf = _value; \
124 #define LOG_EVENT_FLOAT(_tag, _value) \ argument
126 float floatBuf = _value; \
132 #define LOG_EVENT_STRING(_tag, _value) \ argument
133 (void)__android_log_bswrite(_tag, _value);
/external/selinux/libsepol/tests/
Dhelpers.h38 int _value = (value); \
39 CU_ASSERT(_value); \
40 assert(_value); \
51 const void *_value = (value); \
52 CU_ASSERT_PTR_NOT_NULL(_value); \
53 assert(_value != NULL); \
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DTry.kt7 public class Try<out T> private constructor(private val _value: Any?) { constant in kotlinx.coroutines.Try
24 public val value: T get() = if (_value is Fail) throw _value.exception else _value as T
26 public val exception: Throwable? get() = (_value as? Fail)?.exception
28 override fun toString(): String = _value.toString()
/external/python/cpython3/Lib/asyncio/
Dlocks.py175 self._value = False
186 extra = 'set' if self._value else 'unset'
193 return self._value
200 if not self._value:
201 self._value = True
211 self._value = False
220 if self._value:
372 self._value = value
398 return self._value == 0
409 while self._value <= 0:
[all …]
/external/toolchain-utils/crosperf/
Dfield.py17 self._value = default
23 self._value = self._Parse(value)
25 self._value = value
29 self._value += self._Parse(value)
36 return self._value
39 return str(self._value)
127 return ' '.join(self._value)
131 if not self._value:
132 self._value = v
134 self._value += v

1234567891011