/art/test/068-classloader/src-ex/ |
H A D | MutationTarget.java | 21 public static int value = 0; field in class:MutationTarget
|
H A D | Mutator.java | 23 MutationTarget.value = v;
|
/art/test/078-polymorphic-virtual/src/ |
H A D | Derived1.java | 19 value += 1;
|
H A D | Derived2.java | 19 value += 2;
|
H A D | Derived3.java | 19 value += 3;
|
H A D | Base.java | 18 int value; field in class:Base 30 return value;
|
/art/test/438-volatile/src/ |
H A D | Main.java | 41 public static void checkVolatileUpdate(long value) { argument 42 if (value != $opt$update(value)) { 43 throw new RuntimeException("Volatile update failed for long:" + value); 47 public static void checkVolatileUpdate(double value) { argument 48 if (value != $opt$update(value)) { 49 throw new RuntimeException("Volatile update failed for double:" + value);
|
/art/test/457-regs/ |
H A D | regs_jni.cc | 39 uint32_t value = 0; local 41 CHECK(GetVReg(m, 0, kIntVReg, &value)); 42 CHECK_EQ(value, 0u); 44 CHECK(GetVReg(m, 1, kIntVReg, &value)); 45 CHECK_EQ(value, 1u); 47 CHECK(GetVReg(m, 2, kIntVReg, &value)); 48 CHECK_EQ(value, 2u); 50 CHECK(GetVReg(m, 3, kIntVReg, &value)); 51 CHECK_EQ(value, 1u); 53 CHECK(GetVReg(m, 4, kIntVReg, &value)); 57 uint32_t value = 0; local 76 uint32_t value = 0; local 90 uint32_t value = 0; local 106 uint32_t value = 0; local [all...] |
/art/compiler/dwarf/ |
H A D | writer.h | 32 void PushUint8(int value) { argument 33 DCHECK_GE(value, 0); 34 DCHECK_LE(value, UINT8_MAX); 35 data_->push_back(value & 0xff); 38 void PushUint16(int value) { argument 39 DCHECK_GE(value, 0); 40 DCHECK_LE(value, UINT16_MAX); 41 data_->push_back((value >> 0) & 0xff); 42 data_->push_back((value >> 8) & 0xff); 45 void PushUint32(uint32_t value) { argument 52 PushUint32(int value) argument 57 PushUint32(uint64_t value) argument 62 PushUint64(uint64_t value) argument 73 PushInt8(int value) argument 79 PushInt16(int value) argument 85 PushInt32(int value) argument 89 PushInt64(int64_t value) argument 95 PushUleb128(uint32_t value) argument 99 PushUleb128(int value) argument 104 PushSleb128(int value) argument 110 PushString(const char* value) argument 124 UpdateUint32(size_t offset, uint32_t value) argument 132 UpdateUint64(size_t offset, uint64_t value) argument 144 UpdateUleb128(size_t offset, uint32_t value) argument [all...] |
/art/runtime/base/ |
H A D | bit_field.h | 32 // Tells whether the provided value fits into the bit field. 33 static bool IsValid(T value) { argument 34 return (static_cast<uintptr_t>(value) & ~((kUintPtrTOne << size) - 1)) == 0; 59 // Returns a uword with the bit field value encoded. 60 static uintptr_t Encode(T value) { argument 61 DCHECK(IsValid(value)); 62 return static_cast<uintptr_t>(value) << position; 65 // Extracts the bit field from the value. 66 static T Decode(uintptr_t value) { argument 67 return static_cast<T>((value >> positio 73 Update(T value, uintptr_t original) argument [all...] |
H A D | bit_utils.h | 31 static_assert(std::is_integral<T>::value, "T must be integral"); 42 static_assert(std::is_integral<T>::value, "T must be integral"); 58 static constexpr ssize_t MostSignificantBit(T value) { argument 59 static_assert(std::is_integral<T>::value, "T must be integral"); 60 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); 62 return (value == 0) ? -1 : std::numeric_limits<T>::digits - 1 - CLZ(value); 67 static constexpr ssize_t LeastSignificantBit(T value) { argument 68 static_assert(std::is_integral<T>::value, "T must be integral"); 69 static_assert(std::is_unsigned<T>::value, " 75 MinimumBitsToStore(T value) argument 180 Low16Bits(uint32_t value) argument 184 High16Bits(uint32_t value) argument 188 Low32Bits(uint64_t value) argument 192 High32Bits(uint64_t value) argument 198 IsInt(size_t N, T value) argument 218 IsInt(T value) argument 230 IsUint(T value) argument 245 IsAbsoluteUint(T value) argument [all...] |
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
H A D | DexRandomAccessFile.java | 61 * @param value A 16-bit number to be written to the file in little-endian. 63 public void writeUShort(short value) throws IOException { argument 64 int b1 = value & 0xff; 65 int b2 = (value & 0xff00) >> 8; 82 * @param value A 32-bit number to be written to the file in little-endian. 84 public void writeUInt(int value) throws IOException { argument 85 int b1 = value & 0xff; 87 int b2 = (value & 0xff00) >> 8; 89 int b3 = (value & 0xff0000) >> 16; 91 int b4 = (value 122 writeUleb128(int value) argument 151 writeLargestUleb128(int value) argument 222 writeSleb128(int value) argument [all...] |
H A D | EncodedArrayItem.java | 22 public EncodedArray value; field in class:EncodedArrayItem 27 (value = new EncodedArray()).read(file); 33 value.write(file);
|
H A D | AnnotationElement.java | 23 public EncodedValue value; field in class:AnnotationElement 28 (value = new EncodedValue()).read(file); 34 value.write(file); 42 value.incrementIndex(kind, insertedIdx);
|
H A D | OpcodeInfo.java | 29 public final int value; field in class:OpcodeInfo 38 this.value = opcodeValue;
|
H A D | EncodedField.java | 69 private int value; field in class:EncodedField.Flag 71 private Flag(int value) { argument 72 this.value = value; 76 return value;
|
/art/test/454-get-vreg/ |
H A D | get_vreg_jni.cc | 42 uint32_t value = 0; local 44 CHECK(GetVReg(m, 0, kIntVReg, &value)); 45 CHECK_EQ(value, 42u); 47 bool success = GetVReg(m, 1, kIntVReg, &value); 50 success = GetVReg(m, 2, kIntVReg, &value); 53 CHECK(GetVReg(m, 3, kReferenceVReg, &value)); 54 CHECK_EQ(reinterpret_cast<mirror::Object*>(value), this_value_); 56 CHECK(GetVReg(m, 4, kIntVReg, &value)); 57 CHECK_EQ(value, 1u); 59 CHECK(GetVReg(m, 5, kFloatVReg, &value)); 76 uint64_t value = 0; local 114 Java_Main_doNativeCall(JNIEnv*, jobject value) argument [all...] |
/art/test/436-shift-constant/src/ |
H A D | Main.java | 23 public static int doShiftInt(int value) { argument 24 return value << 0xFFFF; 27 public static long doShiftLong(long value) { argument 28 return value << 0xFFFF;
|
/art/runtime/jdwp/ |
H A D | jdwp_bits.h | 35 static inline void Append1BE(std::vector<uint8_t>& bytes, uint8_t value) { argument 36 bytes.push_back(value); 39 static inline void Append2BE(std::vector<uint8_t>& bytes, uint16_t value) { argument 40 bytes.push_back(static_cast<uint8_t>(value >> 8)); 41 bytes.push_back(static_cast<uint8_t>(value)); 44 static inline void Append4BE(std::vector<uint8_t>& bytes, uint32_t value) { argument 45 bytes.push_back(static_cast<uint8_t>(value >> 24)); 46 bytes.push_back(static_cast<uint8_t>(value >> 16)); 47 bytes.push_back(static_cast<uint8_t>(value >> 8)); 48 bytes.push_back(static_cast<uint8_t>(value)); 51 Append8BE(std::vector<uint8_t>& bytes, uint64_t value) argument 100 Write1BE(uint8_t** dst, uint8_t value) argument 105 Write2BE(uint8_t** dst, uint16_t value) argument 110 Write4BE(uint8_t** dst, uint32_t value) argument 115 Write8BE(uint8_t** dst, uint64_t value) argument [all...] |
/art/test/112-double-math/src/ |
H A D | Main.java | 18 public static double cond_neg_double(double value, boolean cond) { argument 19 return cond ? -value : value;
|
/art/compiler/dex/ |
H A D | compiler_ir.h | 48 explicit OptionContent(const char* value) : argument 49 type(kString), container(value) {} 51 explicit OptionContent(int value) : argument 52 type(kInteger), container(value) {} 54 explicit OptionContent(int64_t value) : argument 55 type(kInteger), container(value) {} 85 * @brief Used to compare a string option value to a given @p value. 87 * the parameter @p value. It will return false if the type of the 89 * @param value Th 141 OptionContainer(const char* value) argument 146 OptionContainer(int64_t value) argument [all...] |
/art/test/461-get-reference-vreg/ |
H A D | get_reference_vreg_jni.cc | 42 uint32_t value = 0; local 43 CHECK(GetVReg(m, 1, kReferenceVReg, &value)); 44 CHECK_EQ(reinterpret_cast<mirror::Object*>(value), this_value_); 48 uint32_t value = 0; local 49 CHECK(GetVReg(m, 1, kReferenceVReg, &value)); 52 uint32_t value = 0; local 53 CHECK(GetVReg(m, 1, kReferenceVReg, &value)); 56 uint32_t value = 0; local 57 CHECK(GetVReg(m, 0, kReferenceVReg, &value)); 70 extern "C" JNIEXPORT jint JNICALL Java_Main_doNativeCallRef(JNIEnv*, jobject value) { argument [all...] |
/art/test/456-baseline-array-set/src/ |
H A D | Main.java | 22 public static void doArrayAccess(Integer value, int index) { argument 28 array[index] = value;
|
/art/runtime/ |
H A D | leb128.h | 28 // Reads an unsigned LEB128 value, updating the given pointer to point 29 // just past the end of the read value. This function tolerates 56 // Reads an unsigned LEB128 + 1 value. updating the given pointer to point 57 // just past the end of the read value. This function tolerates 64 // Reads a signed LEB128 value, updating the given pointer to point 65 // just past the end of the read value. This function tolerates 100 // Returns the number of bytes needed to encode the value in unsigned LEB128. 110 // Returns the number of bytes needed to encode the value in unsigned LEB128. 118 static inline uint8_t* EncodeUnsignedLeb128(uint8_t* dest, uint32_t value) { argument 119 uint8_t out = value 131 EncodeUnsignedLeb128(std::vector<uint8_t, Allocator>* dest, uint32_t value) argument 144 UpdateUnsignedLeb128(uint8_t* dest, uint32_t value) argument 155 EncodeSignedLeb128(uint8_t* dest, int32_t value) argument 169 EncodeSignedLeb128(std::vector<uint8_t, Allocator>* dest, int32_t value) argument 192 PushBackUnsigned(uint32_t value) argument 203 PushBackSigned(int32_t value) argument [all...] |
/art/cmdline/ |
H A D | cmdline_parse_result.h | 24 // Result of a type-parsing attempt. If successful holds the strongly-typed value, 48 // Create a successful result which holds the specified value. 49 static CmdlineParseResult<T> Success(const T& value) { argument 50 return CmdlineParseResult(value); 53 // Create a successful result, taking over the value. 54 static CmdlineParseResult<T> Success(T&& value) { argument 55 return CmdlineParseResult(std::forward<T>(value)); 58 // Create succesful result, without any values. Used when a value was successfully appended 72 static CmdlineParseResult<T> OutOfRange(const T& value, argument 76 "actual: " + art::detail::ToStringAny(value) 125 CmdlineParseResult(const T& value) argument 127 CmdlineParseResult(T&& value) argument [all...] |