/art/test/412-new-array/src/ |
H A D | TestCase.java | 24 public static void assertSame(Object expected, Object value) { argument 25 if (expected != value) { 27 String.valueOf(expected) + ", got " + String.valueOf(value)); 31 public static void assertNotSame(Object expected, Object value) { argument 32 if (expected == value) {
|
/art/test/414-static-fields/src/ |
H A D | TestCase.java | 24 public static void assertSame(Object expected, Object value) { argument 25 if (expected != value) { 27 String.valueOf(expected) + ", got " + String.valueOf(value)); 31 public static void assertNotSame(Object expected, Object value) { argument 32 if (expected == value) {
|
/art/test/527-checker-array-access-split/src/ |
H A D | Main.java | 108 public static void set(int array[], int index, int value) { argument 109 array[index] = value;
|
/art/test/561-divrem/src/ |
H A D | Main.java | 74 public static int $noinline$divInt(int value) { argument 78 return value / Integer.MIN_VALUE; 81 public static int $noinline$remInt(int value) { argument 85 return value % Integer.MIN_VALUE; 88 public static long $noinline$divLong(long value) { argument 92 return value / Long.MIN_VALUE; 95 public static long $noinline$remLong(long value) { argument 99 return value % Long.MIN_VALUE;
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
H A D | EncodedValue.java | 24 public byte[] value; field in class:EncodedValue 51 size = 0; // So we don't read into value. 55 size = 0; // So we don't read into value. 59 // No value 69 value = new byte[size]; 71 value[i] = file.readByte(); 85 } else if (value != null) { 86 file.write(value);
|
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 | 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/tools/dexfuzz/src/dexfuzz/rawdex/formats/ |
H A D | RawInsnHelper.java | 105 public static void writeUnsignedIntToFourBytes(byte[] raw, int idx, int value) { argument 106 raw[idx] = (byte) (value & 0xFF); 107 raw[idx + 1] = (byte) ((value & 0xFF00) >>> 8); 108 raw[idx + 2] = (byte) ((value & 0xFF0000) >>> 16); 109 raw[idx + 3] = (byte) ((value & 0xFF000000) >>> 24); 115 public static void writeUnsignedShortToTwoBytes(byte[] raw, int idx, int value) { argument 116 raw[idx] = (byte) (value & 0xFF); 117 raw[idx + 1] = (byte) ((value & 0xFF00) >>> 8);
|
/art/compiler/debug/dwarf/ |
H A D | expression.h | 39 void WriteOpConsts(int32_t value) { argument 40 if (0 <= value && value < 32) { 41 PushUint8(DW_OP_lit0 + value); 44 PushSleb128(value); 49 void WriteOpConstu(uint32_t value) { argument 50 if (value < 32) { 51 PushUint8(DW_OP_lit0 + value); 54 PushUleb128(value); 80 // Loads 32-bit or 64-bit value dependin [all...] |
H A D | writer.h | 32 static_assert(std::is_same<typename Vector::value_type, uint8_t>::value, "Invalid value type"); 35 void PushUint8(int value) { argument 36 DCHECK_GE(value, 0); 37 DCHECK_LE(value, UINT8_MAX); 38 data_->push_back(value & 0xff); 41 void PushUint16(int value) { argument 42 DCHECK_GE(value, 0); 43 DCHECK_LE(value, UINT16_MAX); 44 data_->push_back((value >> 48 PushUint32(uint32_t value) argument 55 PushUint32(int value) argument 60 PushUint32(uint64_t value) argument 65 PushUint64(uint64_t value) argument 76 PushInt8(int value) argument 82 PushInt16(int value) argument 88 PushInt32(int value) argument 92 PushInt64(int64_t value) argument 98 PushUleb128(uint32_t value) argument 102 PushUleb128(int value) argument 107 PushSleb128(int value) argument 113 PushString(const char* value) argument 129 UpdateUint32(size_t offset, uint32_t value) argument 137 UpdateUint64(size_t offset, uint64_t value) argument 149 UpdateUleb128(size_t offset, uint32_t value) argument [all...] |
/art/compiler/utils/ |
H A D | intrusive_forward_list_test.cc | 28 IFLTestValue(int v) : hook(), value(v) { } // NOLINT(runtime/explicit) 31 int value; member in struct:art::IFLTestValue 35 return lhs.value == rhs.value; 39 return lhs.value < rhs.value; 42 #define ASSERT_LISTS_EQUAL(expected, value) \ 44 ASSERT_EQ(expected.empty(), value.empty()); \ 46 std::distance(value.begin(), value [all...] |
/art/disassembler/ |
H A D | disassembler.h | 90 static inline bool HasBitSet(uint32_t value, uint32_t bit) { argument 91 return (value & (1 << bit)) != 0;
|
H A D | disassembler_mips.cc | 31 uint32_t value; member in struct:art::mips::MipsInstruction 36 return (instruction & mask) == value;
|
/art/runtime/base/ |
H A D | dchecked_vector.h | 40 static_assert(!std::is_same<T, bool>::value, "Not implemented for bool."); 67 const value_type& value, 69 : Base(n, value, alloc) { } 152 iterator insert(const_iterator position, const value_type& value) { argument 154 return Base::insert(position, value); 156 iterator insert(const_iterator position, size_type n, const value_type& value) { argument 158 return Base::insert(position, n, value); 165 iterator insert(const_iterator position, value_type&& value) { argument 167 return Base::insert(position, std::move(value)); 66 dchecked_vector(size_type n, const value_type& value, const allocator_type& alloc = allocator_type()) argument
|
/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/runtime/verifier/ |
H A D | reg_type_cache-inl.h | 37 inline const ConstantType& RegTypeCache::FromCat1Const(int32_t value, bool precise) { argument 39 DCHECK(value != 0 || precise); 40 if (precise && (value >= kMinSmallConstant) && (value <= kMaxSmallConstant)) { 41 return *small_precise_constants_[value - kMinSmallConstant]; 43 return FromCat1NonSmallConstant(value, precise);
|
/art/test/402-optimizing-control-flow/src/ |
H A D | Main.java | 22 public static void expectEquals(int expected, int value) { argument 23 if (expected != value) { 24 throw new Error("Expected: " + expected + ", found: " + value);
|
/art/test/417-optimizing-arith-div/src/ |
H A D | Main.java | 75 public static void expectDivisionByZero(int value) { argument 77 $opt$Div(value, 0); 82 $opt$DivZero(value); 88 public static void expectDivisionByZero(long value) { argument 90 $opt$Div(value, 0L); 95 $opt$DivZero(value);
|
/art/test/422-instanceof/src/ |
H A D | Main.java | 20 public static void assertTrue(boolean value) { argument 21 if (!value) { 26 public static void assertFalse(boolean value) { argument 27 if (value) {
|
/art/test/428-optimizing-arith-rem/src/ |
H A D | Main.java | 131 public static void expectDivisionByZero(int value) { argument 133 $opt$Rem(value, 0); 138 $opt$RemZero(value); 144 public static void expectDivisionByZero(long value) { argument 146 $opt$Rem(value, 0L); 151 $opt$RemZero(value);
|
/art/tools/ahat/src/ |
H A D | Doc.java | 91 void description(DocString key, DocString value); argument
|
H A D | HtmlDoc.java | 159 public void description(DocString key, DocString value) { argument 160 ps.format("<tr><th align=\"left\">%s:</th><td>%s</td></tr>", key.html(), value.html());
|
/art/compiler/linker/arm/ |
H A D | relative_patcher_thumb2.cc | 50 uint32_t value = (signbit << 26) | (j1 << 13) | (j2 << 11) | (imm10 << 16) | imm11; local 51 value |= 0xf000d000; // BL 56 SetInsn32(code, literal_offset, value); 96 void Thumb2RelativePatcher::SetInsn32(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { argument 100 addr[0] = (value >> 16) & 0xff; 101 addr[1] = (value >> 24) & 0xff; 102 addr[2] = (value >> 0) & 0xff; 103 addr[3] = (value >> 8) & 0xff; 119 static_assert(std::is_same<typename Vector::value_type, uint8_t>::value, "Invalid value typ [all...] |
/art/compiler/optimizing/ |
H A D | pc_relative_fixups_x86.cc | 65 HConstant* value = ret->InputAt(0)->AsConstant(); variable 66 if ((value != nullptr && Primitive::IsFloatingPointType(value->GetType()))) { 67 ReplaceInput(ret, value, 0, true); 170 void ReplaceInput(HInstruction* insn, HConstant* value, int input_index, bool materialize) { argument 173 new (GetGraph()->GetArena()) HX86LoadFromConstantTable(base_, value);
|
H A D | prepare_for_register_allocation.cc | 51 HInstruction* value = instruction->GetValue(); local 53 // BoundType (as value input of this ArraySet) with a NullConstant. 55 if (value->IsNullConstant()) { 56 DCHECK_EQ(value->GetType(), Primitive::kPrimNot);
|