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

123

/dalvik/tests/078-polymorphic-virtual/src/
H A DBase.java18 int value; field in class:Base
30 return value;
/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 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;
H A DBitIntSet.java32 * @param max the maximum value of ints in this set.
39 public void add(int value) { argument
40 ensureCapacity(value);
41 Bits.set(bits, value, true);
45 * Ensures that the bit set has the capacity to represent the given value.
47 * @param value {@code >= 0;} value to represent
49 private void ensureCapacity(int value) { argument
50 if (value >= Bits.getMax(bits)) {
52 Math.max(value
59 remove(int value) argument
66 has(int value) argument
[all...]
H A DBits.java52 * Gets the value of the bit at the given index.
56 * @return the value of the indicated bit
65 * Sets the given bit to the given value.
69 * @param value the new value for the bit
71 public static void set(int[] bits, int idx, boolean value) { argument
75 if (value) {
188 * @param value the value in question
193 public static int findFirst(int value, in argument
[all...]
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/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...]
H A DStringIdItem.java31 /** {@code non-null;} the string value */
32 private final CstUtf8 value; field in class:StringIdItem
40 * @param value {@code 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 /** {@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/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...]
H A DCstInteger.java52 * Makes an instance for the given value. This may (but does not
55 * @param value the {@code int} value
58 public static CstInteger make(int value) { argument
64 int idx = (value & 0x7fffffff) % cache.length;
67 if ((obj != null) && (obj.getValue() == value)) {
71 obj = new CstInteger(value);
79 * @param value the {@code int} value
81 private CstInteger(int value) { argument
[all...]
H A DCstUtf8.java32 /** {@code non-null;} the UTF-8 value as a string */
35 /** {@code non-null;} the UTF-8 value as bytes */
110 int value = ((v0 & 0x1f) << 6) | (v1 & 0x3f);
111 if ((value != 0) && (value < 0x80)) {
118 out = (char) value;
136 int value = ((v0 & 0x0f) << 12) | ((v1 & 0x3f) << 6) |
138 if (value < 0x800) {
145 out = (char) value;
165 * @param value th
170 throwBadUtf8(int value, int offset) argument
[all...]
/dalvik/vm/reflect/
H A DReflect.h66 * Convert a primitive value, performing a widening conversion if necessary.
81 * not primitive, this just returns "value" cast to an object.
83 DataObject* dvmWrapPrimitive(JValue value, ClassObject* returnType);
87 * returns "value" cast into a JValue.
89 bool dvmUnwrapPrimitive(Object* value, ClassObject* returnType,
139 * Find the default value for an annotation member.
192 JValue value; member in struct:AnnotationValue
225 * Returns the next decoded value from the iterator, advancing its
232 * @param value pointer to store decoded value int
[all...]
/dalvik/libdex/
H A DDexProto.h34 char* value; /* the latest value */ member in struct:DexStringCache
52 * If the given DexStringCache doesn't already point at the given value,
58 char* dexStringCacheEnsureCopy(DexStringCache* pCache, const char* value);
62 * given value (reusing the string cache's allocation if possible).
63 * The return value must be free()d by the caller. Use this instead of
67 char* dexStringCacheAbandon(DexStringCache* pCache, const char* value);
/dalvik/vm/
H A DAtomic.c50 int64_t dvmQuasiAtomicSwap64(int64_t value, volatile int64_t* addr) argument
55 } while (dvmQuasiAtomicCas64(oldValue, value, addr));
108 int64_t value; local
111 : "=&r" (value)
113 return value;
125 // pthread library, a mutex is simply a volatile word whose value is always
142 int64_t dvmQuasiAtomicSwap64(int64_t value, volatile int64_t* addr) argument
150 *addr = value;
263 int64_t dvmQuasiAtomicSwap64(int64_t value, volatile int64_t* addr) argument
276 *addr = value;
[all...]
H A DAtomicCache.c18 * Mutex-free cache. Each entry has two 32-bit keys, one 32-bit value,
86 void dvmUpdateAtomicCache(u4 key1, u4 key2, u4 value, AtomicCacheEntry* pEntry, argument
126 /* for stats, assume a key value of zero indicates an empty entry */
145 pEntry->value = value;
H A DAtomicCache.h17 * Mutex-free cache for key1+key2=value.
30 * arguments to "instanceof") and one result (e.g. a boolean value).
37 u4 value; member in struct:AtomicCacheEntry
85 * Define a function ATOMIC_CACHE_CALC that returns a 32-bit value. This
86 * will be invoked when we need to compute the value.
88 * Returns the value.
99 u4 value; \
109 * The fields match. Get the value, then read the version a \
114 value = android_atomic_acquire_load((int32_t*) &pEntry->value); \
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DSwitchList.java23 * List of (value, target) mappings representing the choices of a
71 * Gets the indicated test value.
74 * @return the test value
114 * @return {@code non-null;} the case value list
144 * @param value the test value
147 public void add(int value, int target) { argument
154 values.add(value);
H A DMachine.java27 * upon a {@link Frame}. A machine conceptually contains four arbitrary-value
28 * argument slots, slots for several literal-value arguments, and slots for
70 * Pops a value from the stack of the indicated type, and store it
129 * argument of type {@code int}, with the given value.
141 * used to indicate the padding value (which is only useful for
144 * @param value the argument value
146 public void auxIntArg(int value); argument
150 * argument, with the value based on the given constant.
156 * the value
[all...]

Completed in 287 milliseconds

123