/art/test/595-error-class/ |
D | info.txt | 1 Regression test on merging array type with error component type.
|
/art/test/549-checker-types-merge/ |
D | info.txt | 1 Checker test for testing the type merge during reference type propagation.
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 312 template<FindFieldType type, bool access_check> 317 constexpr bool is_primitive = (type & FindFieldFlags::PrimitiveBit) != 0; in FindFieldFromCode() 318 constexpr bool is_set = (type & FindFieldFlags::WriteBit) != 0; in FindFieldFromCode() 319 constexpr bool is_static = (type & FindFieldFlags::StaticBit) != 0; in FindFieldFromCode() 424 template<InvokeType type, bool access_check> 433 if (UNLIKELY(*this_object == nullptr && type != kStatic)) { in FindMethodToCall() 444 ThrowNullPointerExceptionForMethodAccess(method_idx, type); in FindMethodToCall() 448 switch (type) { in FindMethodToCall() 459 ThrowNoSuchMethodError(type, resolved_method->GetDeclaringClass(), in FindMethodToCall() 498 ThrowNoSuchMethodError(type, resolved_method->GetDeclaringClass(), in FindMethodToCall() [all …]
|
/art/dexlayout/ |
D | dexdiag.cc | 96 void Increment(uint16_t type) { in Increment() argument 97 map_[type]++; in Increment() 99 size_t Get(uint16_t type) const { in Get() 100 auto it = map_.find(type); in Get() 179 static char PageTypeChar(uint16_t type) { in PageTypeChar() argument 180 if (kDexSectionInfoMap.find(type) == kDexSectionInfoMap.end()) { in PageTypeChar() 183 return kDexSectionInfoMap.find(type)->second.letter; in PageTypeChar() 196 return section.type; in FindSectionTypeForPage() 214 uint16_t type = FindSectionTypeForPage(dex_page_offset, sections); in ProcessPageMap() local 215 page_counts->Increment(type); in ProcessPageMap() [all …]
|
/art/libnativeloader/ |
D | native_loader_namespace.cpp | 106 uint64_t type = ANDROID_NAMESPACE_TYPE_ISOLATED; in Create() local 111 type |= ANDROID_NAMESPACE_TYPE_ALSO_USED_AS_ANONYMOUS; in Create() 117 type |= ANDROID_NAMESPACE_TYPE_SHARED; in Create() 120 type |= ANDROID_NAMESPACE_TYPE_GREYLIST_ENABLED; in Create() 125 android_create_namespace(name.c_str(), nullptr, search_paths.c_str(), type, in Create() 132 name.c_str(), nullptr, search_paths.c_str(), type, permitted_paths.c_str(), in Create()
|
/art/libdexfile/dex/ |
D | descriptors_names.cc | 312 ClassNameType type = kType; in IsValidClassName() local 313 if (type != kDescriptor && arrayCount != 0) { in IsValidClassName() 320 type = kDescriptor; in IsValidClassName() 323 if (type == kDescriptor) { in IsValidClassName() 369 return (type == kName) && !sepOrFirst; in IsValidClassName() 378 return (type == kDescriptor) && !sepOrFirst && (s[1] == '\0'); in IsValidClassName() 414 std::string PrettyDescriptor(Primitive::Type type) { in PrettyDescriptor() argument 415 return PrettyDescriptor(Primitive::Descriptor(type)); in PrettyDescriptor()
|
/art/runtime/gc/accounting/ |
D | mod_union_table_test.cc | 43 TableType type, space::ContinuousSpace* space, space::ContinuousSpace* target_space); 69 void RunTest(ModUnionTableFactory::TableType type); 134 std::ostream& operator<<(std::ostream& oss, ModUnionTableFactory::TableType type) { in operator <<() argument 135 switch (type) { in operator <<() 145 UNIMPLEMENTED(FATAL) << static_cast<size_t>(type); in operator <<() 152 TableType type, space::ContinuousSpace* space, space::ContinuousSpace* target_space) { in Create() argument 154 name << "Mod union table: " << type; in Create() 155 switch (type) { in Create() 164 UNIMPLEMENTED(FATAL) << "Invalid type " << type; in Create() 178 void ModUnionTableTest::RunTest(ModUnionTableFactory::TableType type) { in RunTest() argument [all …]
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | Parser.java | 239 for (Type type : Type.values()) { in parseInternal() 240 if (clrClassName.equals(type.name + "[]")) { in parseInternal() 241 primArrayClasses[type.ordinal()] = classObj; in parseInternal() 359 Type type = hprof.getType(); in parseInternal() local 360 hprof.skip(type.size(idSize)); in parseInternal() 370 Type type = hprof.getType(); in parseInternal() local 371 Value value = hprof.getDeferredValue(type); in parseInternal() 372 staticFieldsSize += type.size(idSize); in parseInternal() 373 data.staticFields[i] = new FieldValue(clrName, type, value); in parseInternal() 431 Type type = hprof.getPrimitiveType(); in parseInternal() local [all …]
|
/art/test/800-smali/smali/ |
D | b_27799205_6.smali | 4 # A class with an unresolved array type should not fail hard (unless it's a primitive-type access). 12 # Use some non-resolvable array type.
|
D | b_20224106.smali | 11 # 1) There is a parameter type mismatch. The formal type is integral (int), but the actual 12 # type is reference.
|
D | b_23502994.smali | 10 # the register type more precise. 15 # At this point v2 is of type Ljava/lang/String; 35 # Sharpen, and try to unlock. We should not lose the lock info when we make the register type 40 # At this point v2 is of type Ljava/lang/String;
|
/art/compiler/optimizing/ |
D | constant_folding.cc | 220 DataType::Type type = instruction->GetType(); in VisitAnd() local 245 instruction->ReplaceWith(GetGraph()->GetConstant(type, 0)); in VisitAnd() 273 DataType::Type type = instruction->GetType(); in VisitMul() local 274 if (DataType::IsIntOrLongType(type) && in VisitMul() 306 DataType::Type type = instruction->GetType(); in VisitRem() local 308 if (!DataType::IsIntegralType(type)) { in VisitRem() 336 instruction->ReplaceWith(GetGraph()->GetConstant(type, 0)); in VisitRem() 350 DataType::Type type = instruction->GetType(); in VisitSub() local 352 if (!DataType::IsIntegralType(type)) { in VisitSub() 369 instruction->ReplaceWith(GetGraph()->GetConstant(type, 0)); in VisitSub() [all …]
|
D | induction_var_analysis.cc | 83 static DataType::Type ImplicitConversion(DataType::Type type) { in ImplicitConversion() argument 84 switch (type) { in ImplicitConversion() 92 return type; in ImplicitConversion() 668 (a->type == to || IsNarrowingIntegralConversion(a->type, to))) { in TransferConversion() 747 } else if (b->induction_class == kLinear && b->type == type_) { in SolveAddSub() 906 DataType::Type type = ImplicitConversion(condition->InputAt(0)->GetType()); in VisitControl() local 912 VisitCondition(loop, if_false, a, b, type, condition->GetOppositeCondition()); in VisitControl() 914 VisitCondition(loop, if_true, a, b, type, condition->GetCondition()); in VisitControl() 924 DataType::Type type, in VisitCondition() argument 929 case kCondLT: VisitCondition(loop, body, b, a, type, kCondGT); break; in VisitCondition() [all …]
|
D | induction_var_range.cc | 124 static InductionVarRange::Value CorrectForType(InductionVarRange::Value v, DataType::Type type) { in CorrectForType() argument 125 switch (type) { in CorrectForType() 132 int32_t min = DataType::MinValueOfIntegralType(type); in CorrectForType() 133 int32_t max = DataType::MaxValueOfIntegralType(type); in CorrectForType() 183 switch (info->type) { in GetInductionRange() 358 *offset = graph->GetConstant(info->op_b->type, off_value); in IsUnitStride() 386 HInstruction* zero = graph->GetConstant(trip->type, 0); in GenerateTripCount() 535 if (trip_expr->type == info->type && trip_expr->operation == HInductionVarAnalysis::kSub) { in GetLinear() 548 trip->type); in GetLinear() 561 trip->type); in GetLinear() [all …]
|
D | common_arm64.h | 76 inline vixl::aarch64::Register RegisterFrom(Location location, DataType::Type type) { in RegisterFrom() argument 77 DCHECK(type != DataType::Type::kVoid && !DataType::IsFloatingPointType(type)) << type; in RegisterFrom() 78 return type == DataType::Type::kInt64 ? XRegisterFrom(location) : WRegisterFrom(location); in RegisterFrom() 115 inline vixl::aarch64::VRegister FPRegisterFrom(Location location, DataType::Type type) { in FPRegisterFrom() argument 116 DCHECK(DataType::IsFloatingPointType(type)) << type; in FPRegisterFrom() 117 return type == DataType::Type::kFloat64 ? DRegisterFrom(location) : SRegisterFrom(location); in FPRegisterFrom() 129 inline vixl::aarch64::CPURegister CPURegisterFrom(Location location, DataType::Type type) { in CPURegisterFrom() argument 130 return DataType::IsFloatingPointType(type) in CPURegisterFrom() 131 ? vixl::aarch64::CPURegister(FPRegisterFrom(location, type)) in CPURegisterFrom() 132 : vixl::aarch64::CPURegister(RegisterFrom(location, type)); in CPURegisterFrom() [all …]
|
D | scheduler_arm.cc | 133 DataType::Type type = instr->GetResultType(); in HandleShiftLatencies() local 135 switch (type) { in HandleShiftLatencies() 156 LOG(FATAL) << "Unexpected operation type " << type; in HandleShiftLatencies() 304 const DataType::Type type = condition->GetLeft()->GetType(); in HandleGenerateTest() local 306 if (type == DataType::Type::kInt64) { in HandleGenerateTest() 310 } else if (DataType::IsFloatingPointType(type)) { in HandleGenerateTest() 429 const DataType::Type type = cond->GetLeft()->GetType(); in HandleGenerateConditionIntegralOrNonPrimitive() local 431 DCHECK(DataType::IsIntegralType(type) || type == DataType::Type::kReference) << type; in HandleGenerateConditionIntegralOrNonPrimitive() 433 if (type == DataType::Type::kInt64) { in HandleGenerateConditionIntegralOrNonPrimitive() 487 const DataType::Type type = cond->GetLeft()->GetType(); in HandleCondition() local [all …]
|
/art/compiler/debug/ |
D | elf_debug_info_writer.h | 300 for (mirror::Class* type : types) { in Write() 301 if (type->IsPrimitive()) { in Write() 303 if (type->GetPrimitiveType() != Primitive::kPrimVoid) { in Write() 304 WriteTypeDeclaration(type->GetDescriptor(nullptr)); in Write() 306 } else if (type->IsArrayClass()) { in Write() 307 ObjPtr<mirror::Class> element_type = type->GetComponentType(); in Write() 308 uint32_t component_size = type->GetComponentSize(); in Write() 316 WriteLinkageName(type); in Write() 326 } else if (type->IsInterface()) { in Write() 331 const char* desc = type->GetDescriptor(&descriptor_string); in Write() [all …]
|
/art/test/dexdump/ |
D | all.txt | 47 type : 'B' 51 type : 'C' 55 type : 'I' 59 type : 'J' 63 type : 'LA;' 67 type : 'S' 71 type : 'Z' 76 type : 'B' 80 type : 'C' 84 type : 'I' [all …]
|
/art/test/530-checker-lse-ctor-fences/src/ |
D | Main.java | 69 public CalcCircleAreaOrCircumference(int type) { in CalcCircleAreaOrCircumference() argument 70 this.type = type; in CalcCircleAreaOrCircumference() 73 final int type; field in CalcCircleAreaOrCircumference
|
/art/disassembler/ |
D | disassembler_arm.cc | 51 const LocationType type = label.GetLocationType(); in operator <<() local 53 switch (type) { in operator <<() 68 PrintLiteral(type, offset); in operator <<() 107 void PrintLiteral(LocationType type, int32_t offset); 137 void DisassemblerArm::CustomDisassembler::CustomDisassemblerStream::PrintLiteral(LocationType type, in PrintLiteral() argument 166 if (literal_addr < begin || literal_addr > end - literal_size[type]) { in PrintLiteral() 169 switch (type) { in PrintLiteral() 199 UNIMPLEMENTED(FATAL) << "Unexpected literal type: " << type; in PrintLiteral()
|
/art/test/989-method-trace-throw/src/art/ |
D | Test989.java | 180 private static void setEntry(MethodTracer type) throws Exception { in setEntry() argument 185 currentTracer = type; in setEntry() 188 private static String testDescription(MethodTracer type, Runnable test) { in testDescription() argument 189 return "test[" + type.getClass() + ", " + test.getClass() + "]"; in testDescription() 202 private static void doTest(MethodTracer type, MyRunnable test) throws Exception { in doTest() argument 203 Class<?> expected = getExpectedError(type, test); in doTest() 205 setEntry(type); in doTest() 212 "Received no exception as expected for " + testDescription(type, test) + "."); in doTest() 219 … throw new Error("Unexpected error occured: " + t + " for " + testDescription(type, test), t); in doTest() 222 " for " + testDescription(type, test), t); in doTest() [all …]
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 473 pkt_->type.cmd.len = len; in ReadFully() 474 pkt_->type.cmd.id = ReadInt32(); in ReadFully() 475 pkt_->type.cmd.flags = ReadByte(); in ReadFully() 480 } else if ((pkt_->type.reply.flags & JDWPTRANSPORT_FLAGS_REPLY) == JDWPTRANSPORT_FLAGS_REPLY) { in ReadFully() 490 pkt_->type.reply.errorCode = ReadInt16(); in ReadReplyPacket() 491 pkt_->type.reply.data = ReadRemaining(); in ReadReplyPacket() 495 pkt_->type.cmd.cmdSet = ReadByte(); in ReadCmdPacket() 496 pkt_->type.cmd.cmd = ReadByte(); in ReadCmdPacket() 497 pkt_->type.cmd.data = ReadRemaining(); in ReadCmdPacket() 510 pkt_->type.cmd.len = 0; in HandleResult() [all …]
|
/art/adbconnection/ |
D | adbconnection.cc | 128 void AdbConnectionDdmCallback::DdmPublishChunk(uint32_t type, in DdmPublishChunk() argument 130 connection_->PublishDdmData(type, data); in DdmPublishChunk() 337 void AdbConnectionState::PublishDdmData(uint32_t type, const art::ArrayRef<const uint8_t>& data) { in PublishDdmData() argument 338 SendDdmPacket(NextDdmId(), DdmPacketType::kCmd, type, data); in PublishDdmData() 343 uint32_t type, in SendDdmPacket() argument 350 static_cast<char>(type >> 24), in SendDdmPacket() 351 static_cast<char>(type >> 16), in SendDdmPacket() 352 static_cast<char>(type >> 8), in SendDdmPacket() 353 static_cast<char>(type)) << " due to no connection!"; in SendDdmPacket() 394 uint32_t net_type = htonl(type); in SendDdmPacket() [all …]
|
/art/test/721-osr/src/ |
D | Main.java | 26 private static TestType type = TestType.ONE; field in Main 30 switch (type) { in main()
|
/art/test/069-field-type/ |
D | info.txt | 2 inappropriate object type in an instance field. By compiling two 3 versions of the field-holder class we can bypass the compiler's type
|