Searched defs:value (Results 1 - 25 of 104) sorted by relevance

12345

/dalvik/tests/078-polymorphic-virtual/src/
H A DBase.java18 int value; field in class:Base
30 return value;
/dalvik/dexgen/src/com/android/dexgen/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 DListIntSet.java38 public void add(int value) { argument
39 int index = ints.binarysearch(value);
42 ints.insert(-(index + 1), value);
47 public void remove(int value) { argument
48 int index = ints.indexOf(value);
56 public boolean has(int value) { argument
57 return ints.indexOf(value) >= 0;
/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/dx/src/com/android/dx/util/
H A DUint.java25 public Uint(int value) { argument
26 this.intValue = value;
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 DLeb128Utils.java33 * given value.
35 * @param value the value in question
38 public static int unsignedLeb128Size(int value) { argument
41 int remaining = value >> 7;
54 * given value.
56 * @param value the value in question
59 public static int signedLeb128Size(int value) { argument
62 int remaining = value >>
132 writeUnsignedLeb128(ByteOutput out, int value) argument
148 writeSignedLeb128(ByteOutput out, int value) argument
[all...]
H A DListIntSet.java38 public void add(int value) { argument
39 int index = ints.binarysearch(value);
42 ints.insert(-(index + 1), value);
47 public void remove(int value) { argument
48 int index = ints.indexOf(value);
56 public boolean has(int value) { argument
57 return ints.indexOf(value) >= 0;
/dalvik/dexgen/src/com/android/dexgen/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/dexgen/src/com/android/dexgen/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...]
/dalvik/dexgen/src/com/android/dexgen/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 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...]
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...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DStringDataItem.java29 /** {@code non-null;} the string value */
30 private final CstString value; field in class:StringDataItem
35 * @param value {@code non-null;} the string value
37 public StringDataItem(CstString 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(CstString value) argument
[all...]
/dalvik/dx/src/com/android/dx/rop/annotation/
H A DNameValuePair.java23 * A (name, value) pair. These are used as the contents of an annotation.
29 /** {@code non-null;} the value */
30 private final Constant value; field in class:NameValuePair
36 * @param value {@code non-null;} the value
38 public NameValuePair(CstString name, Constant value) { argument
43 if (value == null) {
44 throw new NullPointerException("value == null");
48 this.value = 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 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...]
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...]
/dalvik/dx/tests/116-leb128/com/android/dx/util/
H A DLeb128UtilsTest.java60 private byte[] encodeSignedLeb(int value) { argument
62 Leb128Utils.writeSignedLeb128(out, value);
66 private byte[] encodeUnsignedLeb(int value) { argument
68 Leb128Utils.writeUnsignedLeb128(out, value);
/dalvik/vm/reflect/
H A DReflect.h72 * Convert a primitive value, performing a widening conversion if necessary.
86 * Box a primitive value into an object. If "returnType" is
87 * not primitive, this just returns "value" cast to an object.
89 DataObject* dvmBoxPrimitive(JValue value, ClassObject* returnType);
93 * returns "value" cast into a JValue.
95 bool dvmUnboxPrimitive(Object* value, ClassObject* returnType,
163 * Find the default value for an annotation member.
216 JValue value; member in struct:AnnotationValue
249 * Returns the next decoded value from the iterator, advancing its
256 * @param value pointe
[all...]

Completed in 613 milliseconds

12345