/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() argument 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() argument 70 /*out*/ Value* min_val, argument 71 /*out*/ Value* max_val, 218 Value GetLinear(HInductionVarAnalysis::InductionInfo* info, 222 Value GetPolynomial(HInductionVarAnalysis::InductionInfo* info, 226 Value GetGeometric(HInductionVarAnalysis::InductionInfo* info, 230 Value GetFetch(HInstruction* instruction, [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 | 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() 51 template <class Key, class Value, class EmptyFn, 53 class Alloc = std::allocator<std::pair<Key, Value>>> 54 class HashMap : public HashSet<std::pair<Key, Value>, 60 using Base = HashSet<std::pair<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); 69 using ElementArray = dchecked_vector<Atomic<Value>>;
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | AhatArrayInstance.java | 39 private List<Value> mValues; 51 mValues = new AbstractList<Value>() { in initialize() 56 @Override public Value get(int index) { in initialize() 57 return Value.pack(bools[index]); in initialize() 67 mValues = new AbstractList<Value>() { in initialize() 72 @Override public Value get(int index) { in initialize() 73 return Value.pack(chars[index]); in initialize() 82 mValues = new AbstractList<Value>() { in initialize() 87 @Override public Value get(int index) { in initialize() 88 return Value.pack(floats[index]); in initialize() [all …]
|
D | Value.java | 24 public abstract class Value { class 32 public static Value pack(AhatInstance value) { in pack() 42 public static Value pack(boolean value) { in pack() 52 public static Value pack(char value) { in pack() 62 public static Value pack(float value) { in pack() 72 public static Value pack(double value) { in pack() 82 public static Value pack(byte value) { in pack() 92 public static Value pack(short value) { in pack() 102 public static Value pack(int value) { in pack() 112 public static Value pack(long value) { in pack() [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() 133 Value value = getField("value"); in asString() 265 Value vthunk = getField("thunk"); in asRegisteredNativeAllocation() 276 Value vregistry = thunk.getField("this$0"); in asRegisteredNativeAllocation() 286 Value size = registry.getField("size"); 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()
|
D | Parser.java | 317 Value value = hprof.getDeferredValue(type); in parseHeapDump() 581 Value[] fields = new Value[numFields]; in parseHeapDump() 599 field.name, field.type, Value.pack(mInstances.get(deferred.getId()))); in parseHeapDump() 669 private static class DeferredInstanceValue extends Value { 970 public Value getValue(Type type, Instances instances) { 972 case OBJECT: return Value.pack(instances.get(getId())); 973 case BOOLEAN: return Value.pack(getBool()); 974 case CHAR: return Value.pack(getChar()); 975 case FLOAT: return Value.pack(getFloat()); 976 case DOUBLE: return Value.pack(getDouble()); [all …]
|
/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 | TestDump.java | 27 import com.android.ahat.heapdump.Value; 162 public Value getDumpedValue(String name) { in getDumpedValue() 170 public Value getBaselineDumpedValue(String name) { in getBaselineDumpedValue() 178 private static Value getDumpedValue(String name, AhatClassObj main) { in getDumpedValue() 220 Value value = getDumpedValue(name); in getDumpedAhatInstance() 229 Value value = getBaselineDumpedValue(name); in getBaselineDumpedAhatInstance()
|
/art/runtime/base/ |
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/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>>]
|