/art/runtime/mirror/ |
D | emulated_stack_frame.cc | 46 ObjPtr<mirror::Class> type = p_types->GetWithoutChecks(i); in CalculateFrameAndReferencesSize() local 47 const Primitive::Type primitive_type = type->GetPrimitiveType(); in CalculateFrameAndReferencesSize() 236 const Primitive::Type type = r_type->GetPrimitiveType(); in GetReturnValue() local 237 if (type == Primitive::kPrimNot) { in GetReturnValue() 244 if (Primitive::Is64BitType(type)) { in GetReturnValue() 260 const Primitive::Type type = r_type->GetPrimitiveType(); in SetReturnValue() local 261 if (type == Primitive::kPrimNot) { in SetReturnValue() 268 if (Primitive::Is64BitType(type)) { in SetReturnValue()
|
D | field.cc | 62 Handle<mirror::Class> type = hs.NewHandle(field->ResolveType()); in CreateFromArtField() local 64 if (type == nullptr) { in CreateFromArtField() 84 ret->SetType</*kTransactionActive=*/ false, /*kCheckTransaction=*/ false>(type.Get()); in CreateFromArtField()
|
/art/adbconnection/ |
D | adbconnection.h | 67 void DdmPublishChunk(uint32_t type, 86 void PublishDdmData(uint32_t type, const art::ArrayRef<const uint8_t>& data); 121 DdmPacketType type,
|
/art/compiler/optimizing/ |
D | instruction_simplifier.cc | 221 DataType::Type type = op->GetType(); in TryDeMorganNegationFactoring() local 251 hbin = new (GetGraph()->GetAllocator()) HOr(type, src_left, src_right, dex_pc); in TryDeMorganNegationFactoring() 253 hbin = new (GetGraph()->GetAllocator()) HAnd(type, src_left, src_right, dex_pc); in TryDeMorganNegationFactoring() 259 hnot = new (GetGraph()->GetAllocator()) HNot(type, hbin, dex_pc); in TryDeMorganNegationFactoring() 273 DataType::Type type = mul->GetPackedType(); in TryCombineVecMultiplyAccumulate() local 277 if (!(type == DataType::Type::kUint8 || in TryCombineVecMultiplyAccumulate() 278 type == DataType::Type::kInt8 || in TryCombineVecMultiplyAccumulate() 279 type == DataType::Type::kUint16 || in TryCombineVecMultiplyAccumulate() 280 type == DataType::Type::kInt16 || in TryCombineVecMultiplyAccumulate() 281 type == DataType::Type::kInt32)) { in TryCombineVecMultiplyAccumulate() [all …]
|
D | code_generator_x86.h | 86 Location GetNextLocation(DataType::Type type) override; 87 Location GetReturnLocation(DataType::Type type) const override; 103 Location GetNextLocation(DataType::Type type) override; 104 Location GetReturnLocation(DataType::Type type) const override; 129 Location GetReturnLocation(DataType::Type type) const override { in GetReturnLocation() argument 130 return DataType::Is64BitType(type) in GetReturnLocation() 134 Location GetSetValueLocation(DataType::Type type, bool is_instance) const override { in GetSetValueLocation() argument 135 return DataType::Is64BitType(type) in GetSetValueLocation() 143 Location GetFpuLocation(DataType::Type type ATTRIBUTE_UNUSED) const override { in GetFpuLocation() 257 void GenerateMinMaxInt(LocationSummary* locations, bool is_min, DataType::Type type); [all …]
|
D | ssa_builder.cc | 282 DataType::Type type = aget->GetType(); in FindFloatOrDoubleEquivalentOfArrayGet() local 283 DCHECK(DataType::IsIntOrLongType(type)); in FindFloatOrDoubleEquivalentOfArrayGet() 295 DataType::Type type = aget->GetType(); in CreateFloatOrDoubleEquivalentOfArrayGet() local 296 DCHECK(DataType::IsIntOrLongType(type)); in CreateFloatOrDoubleEquivalentOfArrayGet() 302 type == DataType::Type::kInt32 ? DataType::Type::kFloat32 : DataType::Type::kFloat64, in CreateFloatOrDoubleEquivalentOfArrayGet() 651 HPhi* SsaBuilder::GetFloatDoubleOrReferenceEquivalentOfPhi(HPhi* phi, DataType::Type type) { in GetFloatDoubleOrReferenceEquivalentOfPhi() argument 658 && next->GetType() != type) { in GetFloatDoubleOrReferenceEquivalentOfPhi() 665 || (next->GetType() != type)) { in GetFloatDoubleOrReferenceEquivalentOfPhi() 668 HPhi* new_phi = new (allocator) HPhi(allocator, phi->GetRegNumber(), inputs.size(), type); in GetFloatDoubleOrReferenceEquivalentOfPhi() 682 DCHECK_EQ(next_phi->GetType(), type); in GetFloatDoubleOrReferenceEquivalentOfPhi() [all …]
|
/art/test/530-checker-regression-reftyp-final/smali/ |
D | TestCase.smali | 18 # Inliner used to assign exact type to the artificial multiple-return phi if the 19 # class type was final which does not hold for arrays. 21 # The type information is only used by recursive calls to the inliner and is 22 # overwritten by the next pass of reference type propagation. Since we do not
|
/art/test/661-oat-writer-layout/ |
D | oat_writer_layout.cc | 66 OatClassType type = oat_class.GetType(); in Java_Main_hasOatCompiledCode() local 67 switch (type) { in Java_Main_hasOatCompiledCode()
|
/art/test/552-checker-primitive-typeprop/smali/ |
D | ArrayGet.smali | 19 # Test phi with fixed-type ArrayGet as an input and a matching second input. 36 add-float v2, v0, v1 # float use fixes type 49 # Test phi with fixed-type ArrayGet as an input and a conflicting second input. 64 add-float v2, v0, v1 # float use fixes type 76 # Same test as the one above, only this time tests that type of ArrayGet is not 94 add-int v2, v0, v1 # int use fixes type 107 # Test phi with free-type ArrayGet as an input and a matching second input. 125 aput v0, p0, v1 # aput does not disambiguate the type 138 # Test phi with free-type ArrayGet as an input and a conflicting second input. 208 # case uses ArrayGet as float through one phi and as an indeterminate type through [all …]
|
/art/tools/runtime_memusage/ |
D | prune_sanitizer_output.py | 106 default="", dest="out_dir_name", type=extant_directory, 113 default=4, dest="stack_min_size", type=int, 116 type=argparse.FileType("r"),
|
/art/test/dexdump/ |
D | invoke-custom.txt | 54 type : '(Ljava/lang/invoke/MethodHandle;)V' 98 type : '()V' 116 type : '(BB)V' 126 …0 1e00 |0003: new-instance v0, Ljava/lang/AssertionError; // type@001e 127 …01 2d00 |0005: new-instance v1, Ljava/lang/StringBuilder; // type@002d 150 type : '(CC)V' 160 …0 1e00 |0003: new-instance v0, Ljava/lang/AssertionError; // type@001e 161 …01 2d00 |0005: new-instance v1, Ljava/lang/StringBuilder; // type@002d 184 type : '(DD)V' 195 …0 1e00 |0005: new-instance v0, Ljava/lang/AssertionError; // type@001e [all …]
|
/art/libartbase/base/ |
D | array_ref.h | 68 typename = typename std::enable_if<std::is_same<T, const U>::value>::type> 79 std::is_same<typename Vector::value_type, value_type>::value>::type> 87 typename std::add_const<typename Vector::value_type>::type, 88 value_type>::value>::type> 104 typename std::enable_if<std::is_same<T, const U>::value, ArrayRef>::type&
|
D | bit_utils.h | 34 using unsigned_type = typename std::make_unsigned<T>::type; in BitSizeOf() 64 using unsigned_type = typename std::make_unsigned<T>::type; in JAVASTYLE_CLZ() 83 using unsigned_type = typename std::make_unsigned<T>::type; in JAVASTYLE_CTZ() 162 constexpr T RoundDown(T x, typename Identity<T>::type n) WARN_UNUSED; 165 constexpr T RoundDown(T x, typename Identity<T>::type n) { in RoundDown() 171 constexpr T RoundUp(T x, typename std::remove_reference<T>::type n) WARN_UNUSED; 174 constexpr T RoundUp(T x, typename std::remove_reference<T>::type n) { in RoundUp() 285 using unsigned_type = typename std::make_unsigned<T>::type; in IsUint() 295 using unsigned_type = typename std::make_unsigned<T>::type; in IsAbsoluteUint() 308 using unsigned_type = typename std::make_unsigned<T>::type; in MaxInt() [all …]
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | TypeList.java | 48 for (TypeItem type : list) { in incrementIndex() 49 type.incrementIndex(kind, insertedIdx); in incrementIndex()
|
/art/cmdline/ |
D | README.md | 16 generate a type-safe value parser that process a user-provided list of strings (`argv`). Currently, 71 appropriate flags are given but of the the wrong type/range. So for example, `--foo` will not parse 81 type of value (such as an int or double as in the above `FruitVariantMap` example). To do that, a 82 _wildcard_ must be used to denote the location within the token that the type will be parsed out of. 88 After an argument definition is provided, the parser builder needs to know what type the argument 89 will be in order to provide the type safety and make sure the rest of the argument definition is 93 Everything that follows a `WithType<T>()` call is thus type checked to only take `T` values. 95 If this call is omitted, the parser generator assumes you are building a `Unit` type (i.e. an 101 happens and happens for any type implementing the `<=` operators. 114 `-hello:whatever`), converting it to the type-safe value of `kWorld` or `kGalaxy` respectively. [all …]
|
/art/test/422-type-conversion/ |
D | info.txt | 1 Tests for type conversions.
|
/art/test/711-checker-type-conversion/ |
D | info.txt | 1 Tests for type conversion elimination.
|
/art/tools/ahat/src/test/com/android/ahat/ |
D | DiffFieldsTest.java | 50 assertEquals(t0, x.type); in normalMatchedDiffedFieldValues() 63 assertEquals(t0, x.type); in nulledMatchedDiffedFieldValues() 70 assertEquals(t0, y.type); in nulledMatchedDiffedFieldValues() 82 assertEquals(t0, x.type); in normalAddedDiffedFieldValues() 93 assertEquals(t0, x.type); in nulledAddedDiffedFieldValues() 104 assertEquals(t0, x.type); in normalDeletedDiffedFieldValues() 115 assertEquals(t0, x.type); in nulledDeletedDiffedFieldValues()
|
/art/test/477-long-2-float-convers-precision/ |
D | info.txt | 1 Regression test for type conversion precision.
|
/art/test/670-bitstring-type-check/ |
D | info.txt | 1 Tests for the bitstring type checks.
|
/art/openjdkjvmti/ |
D | alloc_manager.cc | 100 art::MutableHandle<art::mirror::Class> type, in PreObjectAllocated() argument 104 oss << "allocating " << *byte_count << " bytes of type " << type->PrettyClass(); in PreObjectAllocated() 107 if (!type->IsVariableSize()) { in PreObjectAllocated() 109 std::max(art::RoundUp(static_cast<size_t>(type->GetObjectSize()), art::kObjectAlignment), in PreObjectAllocated()
|
/art/runtime/gc/ |
D | system_weak_test.cc | 111 CollectorType type = Runtime::Current()->GetHeap()->CurrentCollectorType(); in CollectorDoesAllowOrBroadcast() local 112 switch (type) { in CollectorDoesAllowOrBroadcast() 124 CollectorType type = Runtime::Current()->GetHeap()->CurrentCollectorType(); in CollectorDoesDisallow() local 125 switch (type) { in CollectorDoesDisallow()
|
/art/runtime/ |
D | class_loader_context.h | 218 ClassLoaderType type; member 237 explicit ClassLoaderInfo(ClassLoaderType cl_type) : type(cl_type) {} in ClassLoaderInfo() 318 ClassLoaderType type, 342 static const char* GetClassLoaderTypeName(ClassLoaderType type);
|
D | art_method-inl.h | 92 ObjPtr<mirror::Class> type = in LookupResolvedClassFromTypeIndex() local 95 return type; in LookupResolvedClassFromTypeIndex() 99 ObjPtr<mirror::Class> type = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, this); in ResolveClassFromTypeIndex() local 100 DCHECK_EQ(type == nullptr, Thread::Current()->IsExceptionPending()); in ResolveClassFromTypeIndex() 101 return type; in ResolveClassFromTypeIndex() 104 inline bool ArtMethod::CheckIncompatibleClassChange(InvokeType type) { in CheckIncompatibleClassChange() argument 105 switch (type) { in CheckIncompatibleClassChange() 126 LOG(FATAL) << "Unreachable - invocation type: " << type; in CheckIncompatibleClassChange()
|
D | class_loader_context.cc | 300 for (const ClassLoaderType& type : kValidTypes) { in ExtractClassLoaderType() local 301 const char* type_str = GetClassLoaderTypeName(type); in ExtractClassLoaderType() 303 return type; in ExtractClassLoaderType() 433 DCHECK(info->type != kInMemoryDexClassLoader) << __FUNCTION__ << " not supported for IMC"; in OpenDexFiles() 607 EncodeClassPath(base_dir, dex_locations, checksums, class_loader_chain_->type, out); in EncodeClassPathContexts() 651 ClassLoaderType type, in EncodeClassPath() argument 654 out << GetClassLoaderTypeName(type); in EncodeClassPath() 662 if (type == kInMemoryDexClassLoader) { in EncodeClassPath() 722 EncodeClassPath(base_dir, locations, checksums, info.type, out); in EncodeContextInternal() 758 static jclass GetClassLoaderClass(ClassLoaderContext::ClassLoaderType type) { in GetClassLoaderClass() argument [all …]
|