/art/compiler/optimizing/ |
D | induction_var_range_test.cc | 27 using Value = InductionVarRange::Value; typedef 43 void ExpectEqual(Value v1, Value v2) { in ExpectEqual() 253 Value GetMin(HInductionVarAnalysis::InductionInfo* info, in GetMin() 258 Value GetMax(HInductionVarAnalysis::InductionInfo* info, in GetMax() 263 Value GetMul(HInductionVarAnalysis::InductionInfo* info1, in GetMul() 269 Value GetDiv(HInductionVarAnalysis::InductionInfo* info1, in GetDiv() 275 Value GetRem(HInductionVarAnalysis::InductionInfo* info1, in GetRem() 280 Value GetXor(HInductionVarAnalysis::InductionInfo* info1, in GetXor() 297 Value AddValue(Value v1, Value v2) { return range_.AddValue(v1, v2); } in AddValue() 298 Value SubValue(Value v1, Value v2) { return range_.SubValue(v1, v2); } in SubValue() [all …]
|
D | induction_var_range.h | 45 struct Value { struct 46 Value() : instruction(nullptr), a_constant(0), b_constant(0), is_known(false) {} in Value() function 47 Value(HInstruction* i, int32_t a, int32_t b) in Value() function 49 explicit Value(int32_t b) : Value(nullptr, 0, b) {} in Value() function 70 /*out*/ Value* min_val, argument 71 /*out*/ Value* max_val, 232 Value GetLinear(HInductionVarAnalysis::InductionInfo* info, 236 Value GetPolynomial(HInductionVarAnalysis::InductionInfo* info, 240 Value GetGeometric(HInductionVarAnalysis::InductionInfo* info, 244 Value GetFetch(HInstruction* instruction, [all …]
|
D | induction_var_range.cc | 109 static InductionVarRange::Value SimplifyMin(InductionVarRange::Value v) { in SimplifyMin() 114 return InductionVarRange::Value(v.b_constant); in SimplifyMin() 121 static InductionVarRange::Value SimplifyMax(InductionVarRange::Value v, HInstruction* hint) { in SimplifyMax() 129 return InductionVarRange::Value(v.instruction->InputAt(0), 1, v.b_constant); in SimplifyMax() 134 return InductionVarRange::Value(suitable, 1, v.b_constant); in SimplifyMax() 141 static bool IsConstantValue(InductionVarRange::Value v) { in IsConstantValue() 146 static InductionVarRange::Value CorrectForType(InductionVarRange::Value v, DataType::Type type) { in CorrectForType() 158 : InductionVarRange::Value(); in CorrectForType() 193 /*out*/Value* min_val, in GetInductionRange() 194 /*out*/Value* max_val, in GetInductionRange() [all …]
|
/art/libartbase/base/ |
D | histogram.h | 31 template <class Value> class Histogram { 37 friend class Histogram<Value>; 46 Histogram(const char* name, Value initial_bucket_width, size_t max_buckets = 100); 47 void AddValue(Value); 48 void AdjustAndAddValue(Value); // Add a value after dividing it by kAdjust. 65 Value GetRange(size_t bucket_idx) const; 72 Value Sum() const { in Sum() 76 Value AdjustedSum() const { in AdjustedSum() 80 Value Min() const { in Min() 84 Value Max() const { in Max() [all …]
|
D | histogram-inl.h | 35 template <class Value> inline void Histogram<Value>::AddValue(Value value) { in AddValue() 36 CHECK_GE(value, static_cast<Value>(0)); in AddValue() 38 Value new_max = ((value + 1) / bucket_width_ + 1) * bucket_width_; in AddValue() 45 template <class Value> inline void Histogram<Value>::AdjustAndAddValue(Value value) { in AdjustAndAddValue() 49 template <class Value> inline Histogram<Value>::Histogram(const char* name) in Histogram() 57 template <class Value> 58 inline Histogram<Value>::Histogram(const char* name, Value initial_bucket_width, in Histogram() 68 template <class Value> 69 inline void Histogram<Value>::GrowBuckets(Value new_max) { in GrowBuckets() 91 template <class Value> inline size_t Histogram<Value>::FindBucket(Value val) const { in FindBucket() [all …]
|
D | hiddenapi_flags.h | 80 enum class Value : uint32_t { enum 113 static_assert(kValueBitSize >= MinimumBitsToStore(helper::ToUint(Value::kMax)), 117 static_assert(helper::MatchesBitMask(Value::kMin, kValueBitMask)); 118 static_assert(helper::MatchesBitMask(Value::kMax, kValueBitMask)); 121 static_assert(helper::ToUint(Value::kMax) < helper::ToUint(Value::kInvalid)); 146 explicit ApiList(Value val, uint32_t domain_apis = 0u) 152 explicit ApiList(DomainApi val) : ApiList(Value::kInvalid, helper::ToBit(val)) {} in ApiList() 154 Value GetValue() const { in GetValue() 158 if (value == helper::ToUint(Value::kInvalid)) { in GetValue() 159 return Value::kInvalid; in GetValue() [all …]
|
D | hash_map.h | 30 template <class Key, class Value> 31 size_t operator()(const std::pair<Key, Value>& pair) const { in operator() 38 template <class Key, class Value> 39 bool operator()(const std::pair<Key, Value>& a, const std::pair<Key, Value>& b) const { in operator() 42 template <class Key, class Value, class Element> 43 bool operator()(const std::pair<Key, Value>& a, const Element& element) const { in operator() 52 class Value, 56 class Alloc = std::allocator<std::pair<Key, Value>>> 57 class HashMap : public HashSet<std::pair<Key, Value>, 63 using Base = HashSet<std::pair<Key, Value>,
|
D | arena_containers.h | 78 typename Value, 79 typename EmptyFn = DefaultEmptyFn<std::pair<Key, Value>>, 83 Value, 87 ArenaAllocatorAdapter<std::pair<Key, Value>>>; 90 typename Value, 92 typename Pred = std::equal_to<Value>> 94 Value, 97 ArenaAllocatorAdapter<std::pair<const Key, Value>>>;
|
/art/compiler/utils/ |
D | atomic_dex_ref_map-inl.h | 31 template <typename DexFileReferenceType, typename Value> 32 inline size_t AtomicDexRefMap<DexFileReferenceType, Value>::NumberOfDexIndices( in NumberOfDexIndices() 51 template <typename DexFileReferenceType, typename Value> 52 inline typename AtomicDexRefMap<DexFileReferenceType, Value>::InsertResult 53 AtomicDexRefMap<DexFileReferenceType, Value>::Insert(const DexFileReferenceType& ref, in Insert() 54 const Value& expected, in Insert() 55 const Value& desired) { in Insert() 66 template <typename DexFileReferenceType, typename Value> 67 inline bool AtomicDexRefMap<DexFileReferenceType, Value>::Get(const DexFileReferenceType& ref, in Get() 68 Value* out) const { in Get() [all …]
|
D | atomic_dex_ref_map.h | 30 template <typename DexFileReferenceType, typename Value> 43 const Value& expected, 44 const Value& desired); 47 bool Get(const DexFileReferenceType& ref, Value* out) const; 50 bool Remove(const DexFileReferenceType& ref, Value* out); 72 using ElementArray = dchecked_vector<Atomic<Value>>;
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | AhatArrayInstance.java | 39 private List<Value> mValues; 53 mValues = new AbstractList<Value>() { in initialize() 58 @Override public Value get(int index) { in initialize() 59 return Value.pack(bools[index]); in initialize() 69 mValues = new AbstractList<Value>() { in initialize() 74 @Override public Value get(int index) { in initialize() 75 return Value.pack(chars[index]); in initialize() 84 mValues = new AbstractList<Value>() { in initialize() 89 @Override public Value get(int index) { in initialize() 90 return Value.pack(floats[index]); in initialize() [all …]
|
D | AhatClassInstance.java | 37 private Value[] mFields; 43 void initialize(Value[] fields) { in initialize() 52 @Override public Value getField(String fieldName) { in getField() 62 Value value = getField(fieldName); in getRefField() 73 Value value = getField(fieldName); in getIntField() 87 Value value = getField(fieldName); in getLongField() 115 Value value = getField("value"); in asString() 153 Value value = inst.getField("mRemote"); in getBinderProxyInterfaceName() 217 Value value = getField("mDescriptor");; in getBinderDescriptor() 312 Value vthunk = getField("thunk"); in asRegisteredNativeAllocation() [all …]
|
D | FieldValue.java | 36 public final Value value; 45 public FieldValue(String name, Type type, Value value) { in FieldValue()
|
D | DiffedFieldValue.java | 39 public final Value current; 44 public final Value baseline; 109 private DiffedFieldValue(String name, Type type, Value current, Value baseline, Status status) { in DiffedFieldValue()
|
/art/test/122-npe/src/ |
D | Main.java | 68 ((Value) null).objectField.toString(); in methodTwo() 75 useInt(((Value) null).intField); in methodTwo() 82 useFloat(((Value) null).floatField); in methodTwo() 89 useLong(((Value) null).longField); in methodTwo() 96 useDouble(((Value) null).doubleField); in methodTwo() 103 ((Value) null).objectField = "Fisk"; in methodTwo() 110 ((Value) null).intField = 42; in methodTwo() 117 ((Value) null).floatField = 42.0F; in methodTwo() 124 ((Value) null).longField = 42L; in methodTwo() 131 ((Value) null).doubleField = 42.0d; in methodTwo() [all …]
|
/art/cmdline/ |
D | memory_representation.h | 39 Memory() : Value(0u) {} in Memory() 40 Memory(size_t value) : Value(value) { // NOLINT [runtime/explicit] [5] in Memory() 43 operator size_t() const { return Value; } in size_t() 46 return Value; in ToBytes() 58 size_t Value; member 63 return stream << memory.Value << '*' << kDivisor;
|
/art/test/1912-get-set-local-primitive/ |
D | expected.txt | 3 Value is '42' (class: class java.lang.Integer) 6 Value is '42' (class: class java.lang.Integer) 9 Value is '42' (class: class java.lang.Integer) 12 Value is '42' (class: class java.lang.Integer) 15 Value is '2147483647' (class: class java.lang.Integer) 18 Value is '42' (class: class java.lang.Integer) 21 Value is '42' (class: class java.lang.Integer) 24 Value is '42' (class: class java.lang.Integer) 27 Value is '9001' (class: class java.lang.Long) 30 Value is '9001' (class: class java.lang.Long) [all …]
|
/art/test/1913-get-set-local-objects/ |
D | expected.txt | 3 Value is 'TestClass1("ObjectMethod")' (class: class art.Test1913$TestClass1) 6 Value is 'null' (class: NULL) 9 Value is 'TestClass1("Set TestClass1")' (class: class art.Test1913$TestClass1) 12 …Value is 'TestClass1ext("TestClass1("Set TestClass1ext")")' (class: class art.Test1913$TestClass1e… 15 Value is 'TestClass2("Set TestClass2")' (class: class art.Test1913$TestClass2) 18 …Value is 'TestClass2impl("TestClass2("Set TestClass2impl")")' (class: class art.Test1913$TestClass… 21 Value is 'TestClass1("InterfaceMethod")' (class: class art.Test1913$TestClass1) 24 Value is 'null' (class: NULL) 27 Value is 'TestClass1("Set TestClass1")' (class: class art.Test1913$TestClass1) 30 …Value is 'TestClass1ext("TestClass1("Set TestClass1ext")")' (class: class art.Test1913$TestClass1e… [all …]
|
/art/test/1916-get-set-current-frame/ |
D | expected.txt | 2 Value is '42' 4 Value is '1337'
|
/art/test/1935-get-set-current-frame-jit/ |
D | expected.txt | 3 Value is '42' 5 Value is '1337'
|
/art/test/1915-get-set-local-current-thread/ |
D | expected.txt | 3 Value is '42' 5 Value is '1337'
|
/art/test/1914-get-local-instance/ |
D | expected.txt | 3 Value is 'null' (class: NULL) 6 Value is 'null' (class: NULL) 9 Value is 'TargetClass("InstanceMethodObject")' (class: class art.Test1914$TargetClass) 12 Value is 'TargetClass("NativeInstanceMethodObject")' (class: class art.Test1914$TargetClass) 15 Value is 'Proxy for [interface art.Test1914$Foo]' (class: PROXY CLASS)
|
/art/tools/ahat/src/test/com/android/ahat/ |
D | DiffFieldsTest.java | 23 import com.android.ahat.heapdump.Value; 45 FieldValue normal1 = new FieldValue("name", t0, Value.pack(1)); in normalMatchedDiffedFieldValues() 46 FieldValue normal2 = new FieldValue("name", t0, Value.pack(2)); in normalMatchedDiffedFieldValues() 51 assertEquals(Value.pack(1), x.current); in normalMatchedDiffedFieldValues() 52 assertEquals(Value.pack(2), x.baseline); in normalMatchedDiffedFieldValues() 58 FieldValue normal = new FieldValue("name", t0, Value.pack(1)); in nulledMatchedDiffedFieldValues() 64 assertEquals(Value.pack(1), x.current); in nulledMatchedDiffedFieldValues() 72 assertEquals(Value.pack(1), y.baseline); in nulledMatchedDiffedFieldValues() 78 FieldValue normal = new FieldValue("name", t0, Value.pack(1)); in normalAddedDiffedFieldValues() 83 assertEquals(Value.pack(1), x.current); in normalAddedDiffedFieldValues() [all …]
|
D | DiffTest.java | 22 import com.android.ahat.heapdump.Value; 57 Value va = Value.pack(a); in diffUnchanged() 58 assertEquals(b, Value.getBaseline(va).asAhatInstance()); in diffUnchanged()
|
/art/test/468-checker-bool-simplif-regression/smali/ |
D | TestCase.smali | 24 ## CHECK-DAG: <<Value:z\d+>> StaticFieldGet 25 ## CHECK-DAG: If [<<Value>>] 32 ## CHECK-DAG: <<Value:z\d+>> StaticFieldGet 33 ## CHECK-DAG: <<Select:i\d+>> Select [<<Const1>>,<<Const0>>,<<Value>>]
|