/dalvik/libcore/support/src/test/java/tests/support/ |
D | Support_Configuration.java | 190 String value; in loadProperties() local 192 value = props.get("DomainAddress"); in loadProperties() 193 if (value != null) { in loadProperties() 194 DomainAddress = value; in loadProperties() 197 value = props.get("WebName"); in loadProperties() 198 if (value != null) { in loadProperties() 199 WebName = value; in loadProperties() 202 value = props.get("TestResourcesDir"); in loadProperties() 203 if (value != null) { in loadProperties() 204 TestResourcesDir = value; in loadProperties() [all …]
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/misc/ |
D | HashCode.java | 86 public static int combine(int hashCode, boolean value) { in combine() argument 87 int v = value ? 1231 : 1237; in combine() 97 public static int combine(int hashCode, long value) { in combine() argument 98 int v = (int) (value ^ (value >>> 32)); in combine() 108 public static int combine(int hashCode, float value) { in combine() argument 109 int v = Float.floatToIntBits(value); in combine() 119 public static int combine(int hashCode, double value) { in combine() argument 120 long v = Double.doubleToLongBits(value); in combine() 130 public static int combine(int hashCode, Object value) { in combine() argument 131 return combine(hashCode, value.hashCode()); in combine() [all …]
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
D | AbstractStringBuilder.java | 40 private char[] value; field in AbstractStringBuilder 50 return value; in getValue() 58 return value; in shareValue() 73 value = val; in set() 78 value = new char[INITIAL_CAPACITY]; in AbstractStringBuilder() 85 value = new char[capacity]; in AbstractStringBuilder() 91 value = new char[count + INITIAL_CAPACITY]; in AbstractStringBuilder() 93 string._getChars(0, count, value, 0); in AbstractStringBuilder() 98 int twice = (value.length << 1) + 2; in enlargeBuffer() 100 System.arraycopy(value, 0, newData, 0, count); in enlargeBuffer() [all …]
|
D | Short.java | 33 private final short value; field in Short 92 public Short(short value) { in Short() argument 93 this.value = value; in Short() 98 return (byte) value; in byteValue() 115 return value > object.value ? 1 : (value < object.value ? -1 : 0); in compareTo() 143 return value; in doubleValue() 160 && (value == ((Short) object).value); in equals() 165 return value; in floatValue() 170 return value; in hashCode() 175 return value; in intValue() [all …]
|
D | Byte.java | 31 private final byte value; field in Byte 79 public Byte(byte value) { in Byte() argument 80 this.value = value; in Byte() 105 return value; in byteValue() 122 return value > object.value ? 1 : (value < object.value ? -1 : 0); in compareTo() 149 return value; in doubleValue() 166 && (value == ((Byte) object).value); in equals() 171 return value; in floatValue() 176 return value; in hashCode() 181 return value; in intValue() [all …]
|
D | Float.java | 33 private final float value; field in Float 98 public Float(float value) { in Float() argument 99 this.value = value; in Float() 109 public Float(double value) { in Float() argument 110 this.value = (float) value; in Float() 148 if ((f1 = Float.floatToIntBits(value)) == NaNbits) { in compareTo() 149 if (Float.floatToIntBits(object.value) == NaNbits) { in compareTo() 154 if ((f2 = Float.floatToIntBits(object.value)) == NaNbits) { in compareTo() 157 if (value == object.value) { in compareTo() 164 return value > object.value ? 1 : -1; in compareTo() [all …]
|
D | Boolean.java | 34 private final boolean value; field in Boolean 88 public Boolean(boolean value) { in Boolean() argument 89 this.value = value; in Boolean() 100 return value; in booleanValue() 117 || ((o instanceof Boolean) && (value == ((Boolean) o).value)); in equals() 139 if (this.value == that.value) { in compareTo() 143 return this.value ? 1 : -1; in compareTo() 155 return value ? 1231 : 1237; in hashCode() 168 return String.valueOf(value); in toString() 212 public static String toString(boolean value) { in toString() argument [all …]
|
D | Double.java | 33 private final double value; field in Double 102 public Double(double value) { in Double() argument 103 this.value = value; in Double() 141 if ((d1 = Double.doubleToLongBits(value)) == NaNbits) { in compareTo() 142 if (Double.doubleToLongBits(object.value) == NaNbits) { in compareTo() 147 if ((d2 = Double.doubleToLongBits(object.value)) == NaNbits) { in compareTo() 150 if (value == object.value) { in compareTo() 157 return value > object.value ? 1 : -1; in compareTo() 162 return (byte) value; in byteValue() 179 public static native long doubleToLongBits(double value); in doubleToLongBits() argument [all …]
|
/dalvik/libcore/luni-kernel/src/main/java/org/apache/harmony/lang/annotation/ |
D | AnnotationMember.java | 91 protected final Object value; // a primitive value is wrapped to the corresponding wrapper class field in AnnotationMember 110 value = val == null ? NO_VALUE : val; in AnnotationMember() 111 if (value instanceof Throwable) { in AnnotationMember() 113 } else if (value.getClass().isArray()) { in AnnotationMember() 171 int len = Array.getLength(value); in toString() 174 sb.append(Array.get(value, i)); in toString() 178 return name+ "=" +value; in toString() 202 return equalArrayValue(that.value); in equals() 207 return value.equals(that.value); in equals() 223 if (value instanceof Object[] && otherValue instanceof Object[]) { in equalArrayValue() [all …]
|
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/ |
D | CollationAttribute.java | 181 static boolean checkAttribute(int type, int value) in checkAttribute() argument 183 if (value == VALUE_DEFAULT) { in checkAttribute() 190 if (value >= VALUE_OFF && value <= VALUE_ON) in checkAttribute() 194 if (value >= VALUE_SHIFTED && in checkAttribute() 195 value <= VALUE_NON_IGNORABLE) in checkAttribute() 199 if (value >= VALUE_LOWER_FIRST && in checkAttribute() 200 value <= VALUE_UPPER_FIRST) in checkAttribute() 204 return (value == VALUE_ON || in checkAttribute() 205 value <= VALUE_OFF); in checkAttribute() 207 return (value == VALUE_OFF || value == VALUE_ON || in checkAttribute() [all …]
|
/dalvik/libcore/xml/src/main/java/javax/xml/parsers/ |
D | DocumentBuilderFactory.java | 271 public abstract void setAttribute(String name, Object value) in setAttribute() argument 283 public void setCoalescing(boolean value) { in setCoalescing() argument 284 coalesce = value; in setCoalescing() 295 public void setExpandEntityReferences(boolean value) { in setExpandEntityReferences() argument 296 expandEntityReferences = value; in setExpandEntityReferences() 332 public abstract void setFeature(String name, boolean value) in setFeature() argument 343 public void setIgnoringComments(boolean value) { in setIgnoringComments() argument 344 ignoreComments = value; in setIgnoringComments() 355 public void setIgnoringElementContentWhitespace(boolean value) { in setIgnoringElementContentWhitespace() argument 356 ignoreElementContentWhitespace = value; in setIgnoringElementContentWhitespace() [all …]
|
/dalvik/dx/src/com/android/dx/rop/annotation/ |
D | NameValuePair.java | 31 private final Constant value; field in NameValuePair 39 public NameValuePair(CstUtf8 name, Constant value) { in NameValuePair() argument 44 if (value == null) { in NameValuePair() 49 if (value instanceof CstUtf8) { in NameValuePair() 50 throw new IllegalArgumentException("bad value: " + value); in NameValuePair() 54 this.value = value; in NameValuePair() 59 return name.toHuman() + ":" + value; in toString() 64 return name.hashCode() * 31 + value.hashCode(); in hashCode() 76 && value.equals(otherPair.value); in equals() 92 return value.compareTo(other.value); in compareTo() [all …]
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
D | CstChar.java | 36 public static CstChar make(char value) { in make() argument 37 return new CstChar(value); in make() 48 public static CstChar make(int value) { in make() argument 49 char cast = (char) value; in make() 51 if (cast != value) { in make() 53 value); in make() 64 private CstChar(char value) { in CstChar() argument 65 super(value); in CstChar() 71 int value = getIntBits(); in toString() local 72 return "char{0x" + Hex.u2(value) + " / " + value + '}'; in toString()
|
D | CstByte.java | 36 public static CstByte make(byte value) { in make() argument 37 return new CstByte(value); in make() 48 public static CstByte make(int value) { in make() argument 49 byte cast = (byte) value; in make() 51 if (cast != value) { in make() 53 value); in make() 64 private CstByte(byte value) { in CstByte() argument 65 super(value); in CstByte() 71 int value = getIntBits(); in toString() local 72 return "byte{0x" + Hex.u1(value) + " / " + value + '}'; in toString()
|
D | CstShort.java | 37 public static CstShort make(short value) { in make() argument 38 return new CstShort(value); in make() 49 public static CstShort make(int value) { in make() argument 50 short cast = (short) value; in make() 52 if (cast != value) { in make() 54 value); in make() 65 private CstShort(short value) { in CstShort() argument 66 super(value); in CstShort() 72 int value = getIntBits(); in toString() local 73 return "short{0x" + Hex.u2(value) + " / " + value + '}'; in toString()
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/tsp/ |
D | PKIFailureInfo.java | 95 private final int value; field in PKIFailureInfo 99 PKIFailureInfo(int value) { in PKIFailureInfo() argument 100 this.value = value; in PKIFailureInfo() 107 return value; in getValue() 116 if (cur.value > maxValue) { in getMaxValue() 117 maxValue = cur.value; in getMaxValue() 127 public static PKIFailureInfo getInstance(int value) { in getInstance() argument 129 if (value == info.value) { in getInstance()
|
/dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/ |
D | Array.java | 534 public static void set(Object array, int index, Object value) in set() argument 541 if (value != null && in set() 542 !array.getClass().getComponentType().isInstance(value)) { in set() 547 ((Object[]) array)[index] = value; in set() 549 if (value == null) { in set() 553 if (value instanceof Boolean) in set() 554 setBoolean(array, index, ((Boolean) value).booleanValue()); in set() 555 else if (value instanceof Byte) in set() 556 setByte(array, index, ((Byte) value).byteValue()); in set() 557 else if (value instanceof Character) in set() [all …]
|
/dalvik/libcore/support/src/test/java/tests/util/ |
D | CallVerificationStack.java | 212 Boolean value = (Boolean) wrapper.getValue(); in popBoolean() local 213 return value.booleanValue(); in popBoolean() 223 Character value = (Character) wrapper.getValue(); in popChar() local 224 return value.charValue(); in popChar() 234 Double value = (Double) wrapper.getValue(); in popDouble() local 235 return value.doubleValue(); in popDouble() 245 Float value = (Float) wrapper.getValue(); in popFloat() local 246 return value.floatValue(); in popFloat() 256 Integer value = (Integer) wrapper.getValue(); in popInt() local 257 return value.intValue(); in popInt() [all …]
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
D | OSMemory.java | 165 public native void memset(int address, byte value, long length); in memset() argument 339 public native void setByte(int address, byte value); in setByte() argument 375 public native void setShort(int address, short value); in setShort() argument 377 public void setShort(int address, short value, Endianness endianness) { in setShort() argument 379 setShort(address, value); in setShort() 381 setShort(address, swap(value)); in setShort() 419 public native void setInt(int address, int value); in setInt() argument 421 public void setInt(int address, int value, Endianness endianness) { in setInt() argument 423 setInt(address, value); in setInt() 425 setInt(address, swap(value)); in setInt() [all …]
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | StringDataItem.java | 30 private final CstUtf8 value; field in StringDataItem 37 public StringDataItem(CstUtf8 value) { in StringDataItem() argument 38 super(1, writeSize(value)); in StringDataItem() 40 this.value = value; in StringDataItem() 49 private static int writeSize(CstUtf8 value) { in writeSize() argument 50 int utf16Size = value.getUtf16Size(); in writeSize() 54 + value.getUtf8Size() + 1; in writeSize() 72 ByteArray bytes = value.getBytes(); in writeTo0() 73 int utf16Size = value.getUtf16Size(); in writeTo0() 78 out.annotate(bytes.size() + 1, value.toQuoted()); in writeTo0() [all …]
|
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/ |
D | EnumControl.java | 33 private Object value; field in EnumControl 35 protected EnumControl(EnumControl.Type type, Object[] values, Object value) { in EnumControl() argument 37 this.value = value; in EnumControl() 41 public void setValue(Object value) { in setValue() argument 43 if (val.equals(value)) { in setValue() 44 this.value = value; in setValue() 53 return value; in getValue() 61 return getType() + " with current value: " + value; //$NON-NLS-1$ in toString()
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ |
D | DERBoolean.java | 9 private final byte value; field in DERBoolean 47 boolean value) in getInstance() argument 49 return (value ? TRUE : FALSE); in getInstance() 89 boolean value) in DERBoolean() argument 91 this.value = (value) ? (byte)0xff : (byte)0; in DERBoolean() 97 return (value != 0); in isTrue() 106 bytes[0] = value; in encode() 119 return (value == ((DERBoolean)o).value); in equals() 124 return value; in hashCode() 130 return (value != 0) ? "TRUE" : "FALSE"; in toString()
|
/dalvik/libcore/dom/src/test/java/org/w3c/domts/ |
D | DocumentBuilderSettingStrategy.java | 39 boolean value) throws DOMTestIncompatibleException; in applySetting() argument 45 public void applySetting(DocumentBuilderFactory factory, boolean value) 47 factory.setCoalescing(value); 59 public void applySetting(DocumentBuilderFactory factory, boolean value) 61 factory.setExpandEntityReferences(value); 72 public void applySetting(DocumentBuilderFactory factory, boolean value) 74 factory.setIgnoringElementContentWhitespace(value); 84 public void applySetting(DocumentBuilderFactory factory, boolean value) 86 if (value) { 100 public void applySetting(DocumentBuilderFactory factory, boolean value) throws [all …]
|
/dalvik/libcore/xml/src/test/java/tests/org/w3c/dom/ |
D | DocumentBuilderSettingStrategy.java | 20 boolean value); in applySetting() argument 26 boolean value) { 27 factory.setCoalescing(value); 37 public void applySetting(DocumentBuilderFactory factory, boolean value) { 38 factory.setExpandEntityReferences(value); 47 public void applySetting(DocumentBuilderFactory factory, boolean value) { 48 factory.setIgnoringElementContentWhitespace(value); 57 public void applySetting(DocumentBuilderFactory factory, boolean value) { 58 if (value) { 69 public void applySetting(DocumentBuilderFactory factory, boolean value) [all …]
|
/dalvik/dx/src/com/android/dx/util/ |
D | Leb128Utils.java | 37 public static int unsignedLeb128Size(int value) { in unsignedLeb128Size() argument 40 int remaining = value >> 7; in unsignedLeb128Size() 44 value = remaining; in unsignedLeb128Size() 59 public static int signedLeb128Size(int value) { in signedLeb128Size() argument 62 int remaining = value >> 7; in signedLeb128Size() 65 int end = ((value & Integer.MIN_VALUE) == 0) ? 0 : -1; in signedLeb128Size() 69 || ((remaining & 1) != ((value >> 6) & 1)); in signedLeb128Size() 71 value = remaining; in signedLeb128Size()
|