Searched refs:value (Results 1 - 25 of 635) sorted by relevance

1234567891011>>

/dalvik/libcore/text/src/main/java/java/text/
H A DAnnotation.java21 * Wrapper for a text attribute value which represents an annotation. An
27 * value is the same.</li>
39 private Object value; field in class:Annotation
48 value = attribute;
52 * Returns the value of this annotation. The value may be {@code null}.
54 * @return the value of this annotation or {@code null}.
57 return value;
67 return getClass().getName() + "[value=" + value
[all...]
/dalvik/tests/078-polymorphic-virtual/src/
H A DDerived1.java19 value += 1;
H A DDerived2.java19 value += 2;
H A DDerived3.java19 value += 3;
H A DBase.java18 int value; field in class:Base
30 return value;
/dalvik/libcore/luni/src/main/java/org/apache/harmony/misc/
H A DHashCode.java66 * The hashCode value before any data is appended, equals to 1.
81 * Combines hashCode of previous elements sequence and value's hashCode.
82 * @param hashCode previous hashCode value
83 * @param value new element
86 public static int combine(int hashCode, boolean value) { argument
87 int v = value ? 1231 : 1237;
92 * Combines hashCode of previous elements sequence and value's hashCode.
93 * @param hashCode previous hashCode value
94 * @param value new element
97 public static int combine(int hashCode, long value) { argument
108 combine(int hashCode, float value) argument
119 combine(int hashCode, double value) argument
130 combine(int hashCode, Object value) argument
140 combine(int hashCode, int value) argument
149 append(int value) argument
159 append(long value) argument
169 append(float value) argument
179 append(double value) argument
189 append(boolean value) argument
199 append(Object value) argument
[all...]
/dalvik/libcore/json/src/main/java/org/json/
H A DJSON.java21 * Returns the input if it is a JSON-permissable value; throws otherwise.
25 throw new JSONException("Forbidden numeric value: " + d);
30 static Boolean toBoolean(Object value) { argument
31 if (value instanceof Boolean) {
32 return (Boolean) value;
33 } else if (value instanceof String) {
34 return Boolean.valueOf(((String) value));
40 static Double toDouble(Object value) { argument
41 if (value instanceof Double) {
42 return (Double) value;
54 toInteger(Object value) argument
68 toLong(Object value) argument
82 toString(Object value) argument
[all...]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/tsp/
H A DPKIFailureInfo.java50 The value of PKIFailureInfo can take only one of the values,
95 private final int value; field in class:PKIFailureInfo
99 PKIFailureInfo(int value) { argument
100 this.value = value;
104 * @return int value of the failure
107 return value;
116 if (cur.value > maxValue) {
117 maxValue = cur.value;
124 * @param value
127 getInstance(int value) argument
[all...]
/dalvik/dx/src/com/android/dx/util/
H A DLeb128Utils.java32 * given value.
34 * @param value the value in question
37 public static int unsignedLeb128Size(int value) { argument
40 int remaining = value >> 7;
53 * given value.
55 * @param value the value in question
58 public static int signedLeb128Size(int value) { argument
61 int remaining = value >>
[all...]
H A DIntSet.java27 * @param value int to add
29 void add(int value); argument
34 * @param value int to remove
36 void remove(int value); argument
39 * Checks to see if a value is in the set
41 * @param value int to check
44 boolean has(int value); argument
H A DOutput.java34 * Asserts that the cursor is the given value.
36 * @param expectedCursor the expected cursor value
45 * @param value the value to write; all but the low 8 bits are ignored
47 public void writeByte(int value); argument
52 * @param value the value to write; all but the low 16 bits are ignored
54 public void writeShort(int value); argument
59 * @param value the value t
61 writeInt(int value) argument
68 writeLong(long value) argument
78 writeUnsignedLeb128(int value) argument
88 writeSignedLeb128(int value) argument
[all...]
/dalvik/dx/src/com/android/dx/cf/attrib/
H A DAttAnnotationDefault.java28 /** {@code non-null;} the annotation default value */
29 private final Constant value; field in class:AttAnnotationDefault
38 * @param value {@code non-null;} the annotation default value
42 public AttAnnotationDefault(Constant value, int byteLength) { argument
45 if (value == null) {
46 throw new NullPointerException("value == null");
49 this.value = value;
60 * Gets the annotation default value
[all...]
/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_Configuration.java181 String value;
183 value = props.get("DomainAddress");
184 if (value != null) {
185 DomainAddress = value;
188 value = props.get("WebName");
189 if (value != null) {
190 WebName = value;
193 value = props.get("TestResourcesDir");
194 if (value != null) {
195 TestResourcesDir = value;
[all...]
/dalvik/dx/src/com/android/dx/rop/cst/
H A DCstBoolean.java33 * Makes an instance for the given value. This will return an
36 * @param value the {@code boolean} value
39 public static CstBoolean make(boolean value) { argument
40 return value ? VALUE_TRUE : VALUE_FALSE;
44 * Makes an instance for the given {@code int} value. This
47 * @param value must be either {@code 0} or {@code 1}
50 public static CstBoolean make(int value) { argument
51 if (value == 0) {
53 } else if (value
65 CstBoolean(boolean value) argument
[all...]
H A DCstByte.java27 /** {@code non-null;} the value {@code 0} as an instance of this class */
31 * Makes an instance for the given value. This may (but does not
34 * @param value the {@code byte} value
36 public static CstByte make(byte value) { argument
37 return new CstByte(value);
41 * Makes an instance for the given {@code int} value. This
45 * @param value the value, which must be in range for a {@code byte}
48 public static CstByte make(int value) { argument
64 CstByte(byte value) argument
[all...]
H A DCstChar.java27 /** {@code non-null;} the value {@code 0} as an instance of this class */
31 * Makes an instance for the given value. This may (but does not
34 * @param value the {@code char} value
36 public static CstChar make(char value) { argument
37 return new CstChar(value);
41 * Makes an instance for the given {@code int} value. This
45 * @param value the value, which must be in range for a {@code char}
48 public static CstChar make(int value) { argument
64 CstChar(char value) argument
[all...]
H A DCstShort.java27 /** {@code non-null;} the value {@code 0} as an instance of this class */
31 * Makes an instance for the given value. This may (but does not
34 * @param value the {@code short} value
37 public static CstShort make(short value) { argument
38 return new CstShort(value);
42 * Makes an instance for the given {@code int} value. This
46 * @param value the value, which must be in range for a {@code short}
49 public static CstShort make(int value) { argument
65 CstShort(short value) argument
[all...]
H A DCstLong.java34 * Makes an instance for the given value. This may (but does not
37 * @param value the {@code long} value
39 public static CstLong make(long value) { argument
44 return new CstLong(value);
50 * @param value the {@code long} value
52 private CstLong(long value) { argument
53 super(value);
59 long value
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ocsp/
H A DOCSPResponseStatus.java30 int value)
32 super(value);
36 DEREnumerated value)
38 super(value.getValue().intValue());
29 OCSPResponseStatus( int value) argument
35 OCSPResponseStatus( DEREnumerated value) argument
/dalvik/libcore/sql/src/main/java/java/sql/
H A DDriverPropertyInfo.java29 * If the value member can be chosen from a set of possible values, they are
45 * {@code true} when the value member must be provided during {@code
51 * The current value associated with this property. It is depending on the
55 public String value; field in class:DriverPropertyInfo
59 * value. Other class members take their default values.
63 * @param value
64 * The property value.
66 public DriverPropertyInfo(String name, String value) { argument
68 this.value = value;
[all...]
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/
H A DEnumControl.java33 private Object value; field in class:EnumControl
35 protected EnumControl(EnumControl.Type type, Object[] values, Object value) { argument
37 this.value = value;
41 public void setValue(Object value) { argument
43 if (val.equals(value)) {
44 this.value = value;
48 // sound.0D=The value is not supported
53 return value;
[all...]
/dalvik/libcore/luni/src/main/java/java/lang/
H A DByte.java30 * The value which the receiver represents.
32 private final byte value; field in class:Byte
35 * The maximum {@code Byte} value, 2<sup>7</sup>-1.
40 * The minimum {@code Byte} value, -2<sup>7</sup>.
45 * The number of bits needed to represent a {@code Byte} value in two's
62 * Constructs a new {@code Byte} with the specified primitive byte value.
64 * @param value
65 * the primitive byte value to store in the new instance.
67 public Byte(byte value) { argument
68 this.value
237 toString(byte value) argument
[all...]
H A DShort.java31 * The value which the receiver represents.
33 private final short value; field in class:Short
36 * Constant for the maximum {@code short} value, 2<sup>15</sup>-1.
41 * Constant for the minimum {@code short} value, -2<sup>15</sup>.
67 * the string representation of a short value.
69 * if {@code string} can not be decoded into a short value.
77 * Constructs a new {@code Short} with the specified primitive short value.
79 * @param value
80 * the primitive short value to store in the new instance.
82 public Short(short value) { argument
237 toString(short value) argument
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DStringDataItem.java29 /** {@code non-null;} the string value */
30 private final CstUtf8 value; field in class:StringDataItem
35 * @param value {@code non-null;} the string value
37 public StringDataItem(CstUtf8 value) { argument
38 super(1, writeSize(value));
40 this.value = value;
44 * Gets the write size for a given value.
46 * @param value {
49 writeSize(CstUtf8 value) argument
[all...]
/dalvik/dx/src/com/android/dx/rop/annotation/
H A DNameValuePair.java24 * A (name, value) pair. These are used as the contents of an annotation.
30 /** {@code non-null;} the value */
31 private final Constant value; field in class:NameValuePair
37 * @param value {@code non-null;} the value
39 public NameValuePair(CstUtf8 name, Constant value) { argument
44 if (value == null) {
45 throw new NullPointerException("value == null");
49 if (value instanceof CstUtf8) {
50 throw new IllegalArgumentException("bad value
[all...]

Completed in 3349 milliseconds

1234567891011>>