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

1234567891011>>

/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/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>
43 private Object value; field in class:Annotation
53 value = attribute;
57 * Returns the value of this annotation. The value may be {@code null}.
59 * @return the value of this annotation or {@code null}.
63 return value;
74 return getClass().getName() + "[value=" + value
[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;
44 value = remaining;
54 * given value.
56 * @param value the value in question
59 public static int signedLeb128Size(int value) { argument
[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/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/libcore/support/src/test/java/tests/support/
H A DSupport_Configuration.java190 String value;
192 value = props.get("DomainAddress");
193 if (value != null) {
194 DomainAddress = value;
197 value = props.get("WebName");
198 if (value != null) {
199 WebName = value;
202 value = props.get("TestResourcesDir");
203 if (value != null) {
204 TestResourcesDir = value;
[all...]
/dalvik/dx/src/com/android/dx/cf/attrib/
H A DAttAnnotationDefault.java28 /** non-null; the annotation default value */
29 private final Constant value; field in class:AttAnnotationDefault
38 * @param value 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/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</code> 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</code> value. This
47 * @param value must be either <code>0</code> or <code>1</code>
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 /** non-null; the value <code>0</code> 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</code> value
36 public static CstByte make(byte value) { argument
37 return new CstByte(value);
41 * Makes an instance for the given <code>int</code> value. This
45 * @param value the value, which must be in range for a <code>byte</code>
48 public static CstByte make(int value) { argument
64 CstByte(byte value) argument
[all...]
H A DCstChar.java27 /** non-null; the value <code>0</code> 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</code> value
36 public static CstChar make(char value) { argument
37 return new CstChar(value);
41 * Makes an instance for the given <code>int</code> value. This
45 * @param value the value, which must be in range for a <code>char</code>
48 public static CstChar make(int value) { argument
64 CstChar(char value) argument
[all...]
H A DCstShort.java27 /** non-null; the value <code>0</code> 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</code> value
37 public static CstShort make(short value) { argument
38 return new CstShort(value);
42 * Makes an instance for the given <code>int</code> value. This
46 * @param value the value, which must be in range for a <code>short</code>
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</code> value
39 public static CstLong make(long value) { argument
44 return new CstLong(value);
50 * @param value the <code>long</code> 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.java31 * If the value member can be chosen from a set of possible values, they are
53 * {@code True} when the value member must be provided during {@code
61 * The current value associated with this property. It is depending on the
67 public String value; field in class:DriverPropertyInfo
71 * value. Other class members take their default values.
75 * @param value
76 * The property value.
79 public DriverPropertyInfo(String name, String value) { argument
81 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/xml/src/main/java/javax/xml/parsers/
H A DDocumentBuilderFactory.java57 * @return the value of the attribute.
224 * value of the {@code DocumentBuilderFactory} property.
227 * is returned. If the property value is {@code null}, the system's default
264 * @param value the value of the attribute.
271 public abstract void setAttribute(String name, Object value) argument
279 * @param value turns coalescing on or off.
283 public void setCoalescing(boolean value) { argument
284 coalesce = value;
291 * @param value turn
295 setExpandEntityReferences(boolean value) argument
332 setFeature(String name, boolean value) argument
343 setIgnoringComments(boolean value) argument
355 setIgnoringElementContentWhitespace(boolean value) argument
367 setNamespaceAware(boolean value) argument
389 setValidating(boolean value) argument
401 setXIncludeAware(boolean value) argument
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DStringDataItem.java29 /** non-null; the string value */
30 private final CstUtf8 value; field in class:StringDataItem
35 * @param value 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 no
49 writeSize(CstUtf8 value) argument
[all...]
H A DStringIdItem.java31 /** non-null; the string value */
32 private final CstUtf8 value; field in class:StringIdItem
40 * @param value non-null; the string value
42 public StringIdItem(CstUtf8 value) { argument
43 if (value == null) {
44 throw new NullPointerException("value == null");
47 this.value = value;
59 return value
[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 /** non-null; the value */
31 private final Constant value; field in class:NameValuePair
37 * @param value 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...]
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/
H A DCollationAttribute.java24 * Default value, accepted by most attributes
91 * Number of attribute value constants
176 * Checks if attribute type and corresponding attribute value is valid
178 * @param value attribute value
181 static boolean checkAttribute(int type, int value) argument
183 if (value == VALUE_DEFAULT) {
190 if (value >= VALUE_OFF && value <= VALUE_ON)
194 if (value >
[all...]
/dalvik/libcore/luni/src/main/java/java/lang/
H A DBoolean.java32 * The boolean value of the receiver.
34 private final boolean value; field in class:Boolean
50 * The {@code Boolean} object that represents the primitive value
58 * The {@code Boolean} object that represents the primitive value
66 * Constructs a new {@code Boolean} with its boolean value specified by
69 * Boolean representing the primitive value {@code true}, otherwise it will
70 * be a Boolean representing the primitive value {@code false}.
73 * the string representing a boolean value.
82 * value.
84 * @param value
88 Boolean(boolean value) argument
212 toString(boolean value) argument
[all...]
/dalvik/libcore/luni-kernel/src/main/java/org/apache/harmony/lang/annotation/
H A DAnnotationMember.java32 * It consists of name and value, supplemented with element
34 * <br>The value may be one of the following types:
43 * The last type is specific for this implementation; a Throwable value
46 * is requested for value.
57 * Tag description of a Throwable value type.
62 * Tag description of an array value type.
67 * Tag description of all value types except arrays and Throwables.
86 * Singleton representing missing element value.
91 protected final Object value; // a primitive value i field in class:AnnotationMember
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/util/
H A DArrays.java40 byte value)
44 array[i] = value;
50 long value)
54 array[i] = value;
60 short value)
64 array[i] = value;
38 fill( byte[] array, byte value) argument
48 fill( long[] array, long value) argument
58 fill( short[] array, short value) argument
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
H A DBinarySearch.java29 * @param value
33 public static int binarySearch(String data, char value) { argument
38 if (value == target)
40 else if (value < target)
58 char value = 0;
62 value = data.charAt(mid);
63 if (c > value)
65 else if (c == value)
70 return mid - (c < value ? 1 : 0);

Completed in 528 milliseconds

1234567891011>>