/art/runtime/jdwp/ |
D | jdwp_bits.h | 35 static inline void Append1BE(std::vector<uint8_t>& bytes, uint8_t value) { in Append1BE() argument 36 bytes.push_back(value); in Append1BE() 39 static inline void Append2BE(std::vector<uint8_t>& bytes, uint16_t value) { in Append2BE() argument 40 bytes.push_back(static_cast<uint8_t>(value >> 8)); in Append2BE() 41 bytes.push_back(static_cast<uint8_t>(value)); in Append2BE() 44 static inline void Append4BE(std::vector<uint8_t>& bytes, uint32_t value) { in Append4BE() argument 45 bytes.push_back(static_cast<uint8_t>(value >> 24)); in Append4BE() 46 bytes.push_back(static_cast<uint8_t>(value >> 16)); in Append4BE() 47 bytes.push_back(static_cast<uint8_t>(value >> 8)); in Append4BE() 48 bytes.push_back(static_cast<uint8_t>(value)); in Append4BE() [all …]
|
D | jdwp_constants.h | 90 std::ostream& operator<<(std::ostream& os, const JdwpError& value); 102 std::ostream& operator<<(std::ostream& os, const JdwpClassStatus& value); 132 std::ostream& operator<<(std::ostream& os, const JdwpEventKind& value); 151 std::ostream& operator<<(std::ostream& os, const JdwpModKind& value); 160 std::ostream& operator<<(std::ostream& os, const JdwpInvokeOptions& value); 170 std::ostream& operator<<(std::ostream& os, const JdwpStepDepth& value); 179 std::ostream& operator<<(std::ostream& os, const JdwpStepSize& value); 189 std::ostream& operator<<(std::ostream& os, const JdwpSuspendPolicy& value); 198 std::ostream& operator<<(std::ostream& os, const JdwpSuspendStatus& value); 210 std::ostream& operator<<(std::ostream& os, const JdwpThreadStatus& value); [all …]
|
D | jdwp_request.cc | 66 uint64_t value = -1; in ReadValue() local 68 case 1: value = Read1(); break; in ReadValue() 69 case 2: value = Read2BE(); break; in ReadValue() 70 case 4: value = Read4BE(); break; in ReadValue() 71 case 8: value = Read8BE(); break; in ReadValue() 74 return value; in ReadValue() 78 int32_t value = static_cast<int32_t>(Read4BE()); in ReadSigned32() local 79 VLOG(jdwp) << " " << what << " " << value; in ReadSigned32() 80 return value; in ReadSigned32() 84 uint32_t value = Read4BE(); in ReadUnsigned32() local [all …]
|
/art/runtime/ |
D | leb128.h | 115 static inline uint8_t* EncodeUnsignedLeb128(uint8_t* dest, uint32_t value) { in EncodeUnsignedLeb128() argument 116 uint8_t out = value & 0x7f; in EncodeUnsignedLeb128() 117 value >>= 7; in EncodeUnsignedLeb128() 118 while (value != 0) { in EncodeUnsignedLeb128() 120 out = value & 0x7f; in EncodeUnsignedLeb128() 121 value >>= 7; in EncodeUnsignedLeb128() 127 static inline uint8_t* EncodeSignedLeb128(uint8_t* dest, int32_t value) { in EncodeSignedLeb128() argument 128 uint32_t extra_bits = static_cast<uint32_t>(value ^ (value >> 31)) >> 6; in EncodeSignedLeb128() 129 uint8_t out = value & 0x7f; in EncodeSignedLeb128() 132 value >>= 7; in EncodeSignedLeb128() [all …]
|
D | atomic.h | 61 int64_t value; in Read64() local 63 value = *addr; in Read64() 70 : "=r" (value) in Read64() 76 : "=r" (value) in Read64() 82 : "=x" (value) in Read64() 88 return value; in Read64() 95 static void Write64(volatile int64_t* addr, int64_t value) { in Write64() argument 98 *addr = value; in Write64() 106 : "r" (value)); in Write64() 116 : "r" (value) in Write64() [all …]
|
D | transaction.cc | 60 void Transaction::RecordWriteField32(mirror::Object* obj, MemberOffset field_offset, uint32_t value, in RecordWriteField32() argument 65 object_log.Log32BitsValue(field_offset, value, is_volatile); in RecordWriteField32() 68 void Transaction::RecordWriteField64(mirror::Object* obj, MemberOffset field_offset, uint64_t value, in RecordWriteField64() argument 73 object_log.Log64BitsValue(field_offset, value, is_volatile); in RecordWriteField64() 77 mirror::Object* value, bool is_volatile) { in RecordWriteFieldReference() argument 81 object_log.LogReferenceValue(field_offset, value, is_volatile); in RecordWriteFieldReference() 84 void Transaction::RecordWriteArray(mirror::Array* array, size_t index, uint64_t value) { in RecordWriteArray() argument 90 array_log.LogValue(index, value); in RecordWriteArray() 226 void Transaction::ObjectLog::Log32BitsValue(MemberOffset offset, uint32_t value, bool is_volatile) { in Log32BitsValue() argument 230 field_value.value = value; in Log32BitsValue() [all …]
|
D | utils.h | 105 #define CHECK_ALIGNED(value, alignment) \ argument 106 CHECK(::art::IsAligned<alignment>(value)) << reinterpret_cast<const void*>(value) 108 #define DCHECK_ALIGNED(value, alignment) \ argument 109 DCHECK(::art::IsAligned<alignment>(value)) << reinterpret_cast<const void*>(value) 111 #define DCHECK_ALIGNED_PARAM(value, alignment) \ argument 112 DCHECK(::art::IsAlignedParam(value, alignment)) << reinterpret_cast<const void*>(value) 115 static inline bool IsInt(int N, word value) { in IsInt() argument 119 return (-limit <= value) && (value < limit); in IsInt() 122 static inline bool IsUint(int N, word value) { in IsUint() argument 126 return (0 <= value) && (value < limit); in IsUint() [all …]
|
D | transaction.h | 45 void RecordWriteField32(mirror::Object* obj, MemberOffset field_offset, uint32_t value, 48 void RecordWriteField64(mirror::Object* obj, MemberOffset field_offset, uint64_t value, 52 mirror::Object* value, bool is_volatile) 56 void RecordWriteArray(mirror::Array* array, size_t index, uint64_t value) 86 void Log32BitsValue(MemberOffset offset, uint32_t value, bool is_volatile); 87 void Log64BitsValue(MemberOffset offset, uint64_t value, bool is_volatile); 105 uint64_t value; member 119 void LogValue(size_t index, uint64_t value); 129 uint64_t value) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
/art/runtime/base/ |
D | bit_field.h | 33 static bool IsValid(T value) { in IsValid() argument 34 return (static_cast<uword>(value) & ~((kUwordOne << size) - 1)) == 0; in IsValid() 60 static uword Encode(T value) { in Encode() argument 61 DCHECK(IsValid(value)); in Encode() 62 return static_cast<uword>(value) << position; in Encode() 66 static T Decode(uword value) { in Decode() argument 67 return static_cast<T>((value >> position) & ((kUwordOne << size) - 1)); in Decode() 73 static uword Update(T value, uword original) { in Update() argument 74 DCHECK(IsValid(value)); in Update() 75 return (static_cast<uword>(value) << position) | in Update()
|
D | histogram-inl.h | 31 template <class Value> inline void Histogram<Value>::AddValue(Value value) { in AddValue() argument 32 CHECK_GE(value, static_cast<Value>(0)); in AddValue() 33 if (value >= max_) { in AddValue() 34 Value new_max = ((value + 1) / bucket_width_ + 1) * bucket_width_; in AddValue() 39 BucketiseValue(value); in AddValue() 226 double value = lower_value + (upper_value - lower_value) * in Percentile() local 229 if (value < min_value_added_) { in Percentile() 230 value = min_value_added_; in Percentile() 231 } else if (value > max_value_added_) { in Percentile() 232 value = max_value_added_; in Percentile() [all …]
|
/art/compiler/dex/quick/arm/ |
D | utility_arm.cc | 26 static int32_t EncodeImmSingle(int32_t value) { in EncodeImmSingle() argument 28 int32_t bit_a = (value & 0x80000000) >> 31; in EncodeImmSingle() 29 int32_t not_bit_b = (value & 0x40000000) >> 30; in EncodeImmSingle() 30 int32_t bit_b = (value & 0x20000000) >> 29; in EncodeImmSingle() 31 int32_t b_smear = (value & 0x3e000000) >> 25; in EncodeImmSingle() 32 int32_t slice = (value & 0x01f80000) >> 19; in EncodeImmSingle() 33 int32_t zeroes = (value & 0x0007ffff); in EncodeImmSingle() 51 static int32_t EncodeImmDouble(int64_t value) { in EncodeImmDouble() argument 53 int32_t bit_a = (value & INT64_C(0x8000000000000000)) >> 63; in EncodeImmDouble() 54 int32_t not_bit_b = (value & INT64_C(0x4000000000000000)) >> 62; in EncodeImmDouble() [all …]
|
/art/compiler/dex/quick/arm64/ |
D | utility_arm64.cc | 110 LIR* Arm64Mir2Lir::LoadFPConstantValue(RegStorage r_dest, int32_t value) { in LoadFPConstantValue() argument 112 if (value == 0) { in LoadFPConstantValue() 115 int32_t encoded_imm = EncodeImmSingle((uint32_t)value); in LoadFPConstantValue() 121 LIR* data_target = ScanLiteralPool(literal_list_, value, 0); in LoadFPConstantValue() 124 data_target = AddWideData(&literal_list_, value, 0); in LoadFPConstantValue() 134 LIR* Arm64Mir2Lir::LoadFPConstantValueWide(RegStorage r_dest, int64_t value) { in LoadFPConstantValueWide() argument 136 if (value == 0) { in LoadFPConstantValueWide() 139 int32_t encoded_imm = EncodeImmDouble(value); in LoadFPConstantValueWide() 146 int32_t val_lo = Low32Bits(value); in LoadFPConstantValueWide() 147 int32_t val_hi = High32Bits(value); in LoadFPConstantValueWide() [all …]
|
D | arm64_lir.h | 114 #define IS_SIGNED_IMM(size, value) \ argument 115 ((value) >= -(1 << ((size) - 1)) && (value) < (1 << ((size) - 1))) 116 #define IS_SIGNED_IMM7(value) IS_SIGNED_IMM(7, value) argument 117 #define IS_SIGNED_IMM9(value) IS_SIGNED_IMM(9, value) argument 118 #define IS_SIGNED_IMM12(value) IS_SIGNED_IMM(12, value) argument 119 #define IS_SIGNED_IMM19(value) IS_SIGNED_IMM(19, value) argument 120 #define IS_SIGNED_IMM21(value) IS_SIGNED_IMM(21, value) argument
|
/art/compiler/dex/quick/mips/ |
D | utility_mips.cc | 54 bool MipsMir2Lir::InexpensiveConstantInt(int32_t value) { in InexpensiveConstantInt() argument 55 return ((value == 0) || IsUint(16, value) || ((value < 0) && (value >= -32768))); in InexpensiveConstantInt() 58 bool MipsMir2Lir::InexpensiveConstantFloat(int32_t value) { in InexpensiveConstantFloat() argument 62 bool MipsMir2Lir::InexpensiveConstantLong(int64_t value) { in InexpensiveConstantLong() argument 66 bool MipsMir2Lir::InexpensiveConstantDouble(int64_t value) { in InexpensiveConstantDouble() argument 79 LIR* MipsMir2Lir::LoadConstantNoClobber(RegStorage r_dest, int value) { in LoadConstantNoClobber() argument 90 if (value == 0) { in LoadConstantNoClobber() 92 } else if ((value > 0) && (value <= 65535)) { in LoadConstantNoClobber() 93 res = NewLIR3(kMipsOri, r_dest.GetReg(), rZERO, value); in LoadConstantNoClobber() 94 } else if ((value < 0) && (value >= -32768)) { in LoadConstantNoClobber() [all …]
|
/art/runtime/native/ |
D | java_lang_reflect_Field.cc | 51 Primitive::Type field_type, JValue* value) in GetFieldValue() argument 53 DCHECK_EQ(value->GetJ(), INT64_C(0)); in GetFieldValue() 56 value->SetZ(f->GetBoolean(o)); in GetFieldValue() 59 value->SetB(f->GetByte(o)); in GetFieldValue() 62 value->SetC(f->GetChar(o)); in GetFieldValue() 65 value->SetD(f->GetDouble(o)); in GetFieldValue() 68 value->SetF(f->GetFloat(o)); in GetFieldValue() 71 value->SetI(f->GetInt(o)); in GetFieldValue() 74 value->SetJ(f->GetLong(o)); in GetFieldValue() 77 value->SetS(f->GetShort(o)); in GetFieldValue() [all …]
|
/art/runtime/verifier/ |
D | reg_type_cache-inl.h | 34 inline ConstantType& RegTypeCache::FromCat1Const(int32_t value, bool precise) { in FromCat1Const() argument 36 DCHECK(value != 0 || precise); in FromCat1Const() 37 if (precise && (value >= kMinSmallConstant) && (value <= kMaxSmallConstant)) { in FromCat1Const() 38 return *small_precise_constants_[value - kMinSmallConstant]; in FromCat1Const() 40 return FromCat1NonSmallConstant(value, precise); in FromCat1Const()
|
D | reg_type_cache.cc | 60 for (int32_t value = kMinSmallConstant; value <= kMaxSmallConstant; ++value) { in FillPrimitiveAndSmallConstantTypes() local 61 int32_t i = value - kMinSmallConstant; in FillPrimitiveAndSmallConstantTypes() 273 for (int32_t value = kMinSmallConstant; value <= kMaxSmallConstant; ++value) { in ShutDown() local 274 PreciseConstType* type = small_precise_constants_[value - kMinSmallConstant]; in ShutDown() 276 small_precise_constants_[value - kMinSmallConstant] = nullptr; in ShutDown() 309 for (int32_t value = kMinSmallConstant; value <= kMaxSmallConstant; ++value) { in CreatePrimitiveAndSmallConstantTypes() local 310 PreciseConstType* type = new PreciseConstType(value, primitive_count_); in CreatePrimitiveAndSmallConstantTypes() 311 small_precise_constants_[value - kMinSmallConstant] = type; in CreatePrimitiveAndSmallConstantTypes() 505 ConstantType& RegTypeCache::FromCat1NonSmallConstant(int32_t value, bool precise) { in FromCat1NonSmallConstant() argument 510 (down_cast<ConstantType*>(cur_entry))->ConstantValue() == value) { in FromCat1NonSmallConstant() [all …]
|
/art/runtime/gc/accounting/ |
D | atomic_stack.h | 58 bool AtomicPushBackIgnoreGrowthLimit(const T& value) { in AtomicPushBackIgnoreGrowthLimit() argument 59 return AtomicPushBackInternal(value, capacity_); in AtomicPushBackIgnoreGrowthLimit() 63 bool AtomicPushBack(const T& value) { in AtomicPushBack() argument 64 return AtomicPushBackInternal(value, growth_limit_); in AtomicPushBack() 103 void PushBack(const T& value) { in PushBack() argument 110 begin_[index] = value; in PushBack() 173 bool ContainsSorted(const T& value) const { in ContainsSorted() argument 175 return std::binary_search(Begin(), End(), value); in ContainsSorted() 178 bool Contains(const T& value) const { in Contains() argument 179 return std::find(Begin(), End(), value) != End(); in Contains() [all …]
|
/art/test/112-double-math/src/ |
D | Main.java | 18 public static double cond_neg_double(double value, boolean cond) { in cond_neg_double() argument 19 return cond ? -value : value; in cond_neg_double()
|
/art/runtime/arch/x86_64/ |
D | asm_support_x86_64.S | 38 #define LITERAL(value) $value argument 39 #define MACRO_LITERAL(value) $$value argument 60 #define LITERAL(value) $value argument 61 #define MACRO_LITERAL(value) $value argument
|
/art/runtime/arch/x86/ |
D | asm_support_x86.S | 38 #define LITERAL(value) $value argument 39 #define MACRO_LITERAL(value) $$value argument 60 #define LITERAL(value) $value argument 61 #define MACRO_LITERAL(value) $value argument
|
/art/compiler/optimizing/ |
D | pretty_printer.h | 97 virtual void PrintInt(int value) = 0; 98 virtual void PrintString(const char* value) = 0; 109 virtual void PrintInt(int value) { in PrintInt() argument 110 str_ += StringPrintf("%d", value); in PrintInt() 113 virtual void PrintString(const char* value) { in PrintString() argument 114 str_ += value; in PrintString()
|
/art/test/701-easy-div-rem/ |
D | genMain.py | 28 for key, value in variables.iteritems(): 29 text = text.replace(str(key), str(value)) 39 for i, value in enumerate(values): 41 local_vars['@VALUE@'] = value
|
/art/test/046-reflect/ |
D | expected.txt | 40 string1 value is 'hey' 42 string1 value is now 'a new string' 47 pubLong initial value is 1122334455667788 48 pubLong new value is 9988776655443322 53 superInt value is 1010101 55 superInt value is now 20202 56 superInt value (from short) is now 30303 57 superInt value is now 40404 66 superClassInt value is 1010102 71 staticDoubleVal value is 3.3 [all …]
|
/art/compiler/dex/quick/x86/ |
D | utility_x86.cc | 56 bool X86Mir2Lir::InexpensiveConstantInt(int32_t value) { in InexpensiveConstantInt() argument 60 bool X86Mir2Lir::InexpensiveConstantFloat(int32_t value) { in InexpensiveConstantFloat() argument 64 bool X86Mir2Lir::InexpensiveConstantLong(int64_t value) { in InexpensiveConstantLong() argument 68 bool X86Mir2Lir::InexpensiveConstantDouble(int64_t value) { in InexpensiveConstantDouble() argument 69 return value == 0; in InexpensiveConstantDouble() 81 LIR* X86Mir2Lir::LoadConstantNoClobber(RegStorage r_dest, int value) { in LoadConstantNoClobber() argument 84 if (value == 0) { in LoadConstantNoClobber() 91 if (value == 0) { in LoadConstantNoClobber() 96 res = NewLIR2(kX86Mov32RI, r_dest.GetReg(), value); in LoadConstantNoClobber() 133 LIR* X86Mir2Lir::OpRegImm(OpKind op, RegStorage r_dest_src1, int value) { in OpRegImm() argument [all …]
|