Searched defs:type (Results 26 - 50 of 122) sorted by relevance

12345

/art/runtime/arch/x86/
H A Dthread_x86.cc33 unsigned base1: 8, type: 4, s: 1, dpl: 2, p: 1; member in struct:descriptor_table_entry_t
68 entry.type = ((read_exec_only ^ 1) << 1) | (contents << 2);
/art/runtime/gc/space/
H A Dspace_create_test.cc39 const MallocSpaceType type = GetParam(); local
40 if (type == kMallocSpaceDlMalloc) {
48 DCHECK_EQ(static_cast<uint32_t>(type), static_cast<uint32_t>(kMallocSpaceRosAlloc));
H A Dregion_space.cc160 RegionType type = r->Type(); local
166 type == RegionType::kRegionTypeToSpace);
176 type == RegionType::kRegionTypeToSpace)) {
183 type == RegionType::kRegionTypeToSpace);
413 << " state=" << static_cast<uint>(state_) << " type=" << static_cast<uint>(type_)
/art/runtime/
H A Dprimitive.h52 static Type GetType(char type) { argument
53 switch (type) {
77 static size_t ComponentSizeShift(Type type) { argument
78 switch (type) {
90 LOG(FATAL) << "Invalid type " << static_cast<int>(type);
95 static size_t ComponentSize(Type type) { argument
96 switch (type) {
108 LOG(FATAL) << "Invalid type " << static_cast<int>(type);
113 Descriptor(Type type) argument
141 IsFloatingPointType(Type type) argument
145 IsIntegralType(Type type) argument
161 IsIntOrLongType(Type type) argument
165 Is64BitType(Type type) argument
170 PrimitiveKind(Type type) argument
183 MinValueOfIntegralType(Type type) argument
203 MaxValueOfIntegralType(Type type) argument
[all...]
H A Dclass_linker-inl.h89 // Note: We cannot check here to see whether we added the type to the cache. The type
105 // Note: We cannot check here to see whether we added the type to the cache. The type
144 InvokeType type) {
157 type);
183 // Note: We cannot check here to see whether we added the field to the cache. The type
141 ResolveMethod(Thread* self, uint32_t method_idx, ArtMethod* referrer, InvokeType type) argument
H A Ddex_file_test.cc343 const DexFile::TypeId& type = java_lang_dex_file_->GetTypeId(to_find.type_idx_); local
344 const DexFile::FieldId* found = java_lang_dex_file_->FindFieldId(klass, name, type);
H A Dgc_root.h61 explicit RootInfo(RootType type, uint32_t thread_id = 0) argument
62 : type_(type), thread_id_(thread_id) {
H A Dart_field-inl.h123 #define FIELD_GET(object, type) \
124 DCHECK_EQ(Primitive::kPrim ## type, GetTypeAsPrimitiveType()) << PrettyField(this); \
128 return object->GetField ## type ## Volatile(GetOffset()); \
130 return object->GetField ## type(GetOffset());
132 #define FIELD_SET(object, type, value) \
133 DCHECK_EQ(Primitive::kPrim ## type, GetTypeAsPrimitiveType()) << PrettyField(this); \
137 object->SetField ## type ## Volatile<kTransactionActive>(GetOffset(), value); \
139 object->SetField ## type<kTransactionActive>(GetOffset(), value); \
183 Primitive::Type type = GetTypeAsPrimitiveType(); local
184 CHECK(type
192 Primitive::Type type = GetTypeAsPrimitiveType(); local
200 Primitive::Type type = GetTypeAsPrimitiveType(); local
209 Primitive::Type type = GetTypeAsPrimitiveType(); local
299 mirror::Class* type = dex_cache->GetResolvedType(field_id.type_idx_); local
359 Primitive::Type type = field.GetTypeAsPrimitiveType(); local
[all...]
/art/runtime/verifier/
H A Dregister_line-inl.h43 verifier->Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "Expected category1 register type not '"
104 const RegType& type = GetRegisterType(verifier, vsrc); local
105 if (!SetRegisterType<LockOp::kClear>(verifier, vdst, type)) {
108 if (!type.IsConflict() && // Allow conflicts to be copied around.
109 ((cat == kTypeCategory1nr && !type.IsCategory1Types()) ||
110 (cat == kTypeCategoryRef && !type.IsReferenceTypes()))) {
111 verifier->Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "copy1 v" << vdst << "<-v" << vsrc << " type=" << type
124 << " type=" << type_l << "/" << type_h;
132 // Verify the src register type agains
[all...]
/art/tools/dexfuzz/src/dexfuzz/rawdex/
H A DMapItem.java41 public short type; field in class:MapItem
47 type = file.readUShort();
50 if (type == TYPE_HEADER_ITEM) {
59 file.writeUShort(type);
/art/compiler/
H A Dcommon_compiler_test.cc162 Runtime::CalleeSaveType type = Runtime::CalleeSaveType(i); local
163 if (!runtime_->HasCalleeSaveMethod(type)) {
164 runtime_->SetCalleeSaveMethod(runtime_->CreateCalleeSaveMethod(), type);
/art/compiler/driver/
H A Dcompiler_driver_test.cc117 mirror::Class* type = dex_cache->GetResolvedType(i); local
118 EXPECT_TRUE(type != nullptr) << "type_idx=" << i
H A Dcompiler_driver-inl.h52 // Clean up any exception left by type resolution.
77 // Clean up any exception left by type resolution.
269 // Clean up any exception left by type resolution.
285 ArtMethod* resolved_method, InvokeType type) {
286 if (type == kVirtual || type == kSuper) {
288 } else if (type == kInterface) {
370 kDirect, // Sharp type
385 // Post-verification callback recorded a more precise invoke target based on its type info.
403 kDirect, // Sharp type
284 GetResolvedMethodVTableIndex( ArtMethod* resolved_method, InvokeType type) argument
[all...]
/art/compiler/linker/arm64/
H A Drelative_patcher_arm64.cc34 LinkerPatch::Type type = patch.GetType(); local
36 (type == LinkerPatch::Type::kStringRelative || type == LinkerPatch::Type::kDexCacheArray) &&
/art/compiler/optimizing/
H A Dcommon_arm64.h65 static inline vixl::Register RegisterFrom(Location location, Primitive::Type type) { argument
66 DCHECK(type != Primitive::kPrimVoid && !Primitive::IsFloatingPointType(type)) << type;
67 return type == Primitive::kPrimLong ? XRegisterFrom(location) : WRegisterFrom(location);
89 static inline vixl::FPRegister FPRegisterFrom(Location location, Primitive::Type type) { argument
90 DCHECK(Primitive::IsFloatingPointType(type)) << type;
91 return type == Primitive::kPrimDouble ? DRegisterFrom(location) : SRegisterFrom(location);
103 static inline vixl::CPURegister CPURegisterFrom(Location location, Primitive::Type type) { argument
132 OperandFrom(Location location, Primitive::Type type) argument
[all...]
H A Dinduction_var_analysis.h107 type(t) {}
113 Primitive::Type type; // precision of induction member in struct:art::HInductionVarAnalysis::InductionInfo
134 Primitive::Type type) {
136 return new (graph_->GetArena()) InductionInfo(kInvariant, op, a, b, nullptr, type);
142 Primitive::Type type) {
144 return new (graph_->GetArena()) InductionInfo(ic, kNop, a, b, nullptr, type);
159 InductionInfo* TransferShl(InductionInfo* a, InductionInfo* b, Primitive::Type type);
182 Primitive::Type type,
189 Primitive::Type type,
194 Primitive::Type type,
131 CreateTripCount(InductionOp op, InductionInfo* a, InductionInfo* b, Primitive::Type type) argument
139 CreateInduction(InductionClass ic, InductionInfo* a, InductionInfo* b, Primitive::Type type) argument
[all...]
H A Dparallel_move_resolver.cc460 Primitive::Type type = move->Is64BitMove() ? Primitive::kPrimLong : Primitive::kPrimInt; local
467 AddPendingMove(scratch, destination, type);
524 Location destination, Primitive::Type type) {
525 pending_moves_.push_back(new (allocator_) MoveOperands(source, destination, type, nullptr));
523 AddPendingMove(Location source, Location destination, Primitive::Type type) argument
H A Dssa_builder.cc49 // Both type propagation and redundant phi elimination ensure `int_operand`
66 // has been handled by the type propagation phase, unlike a dead phi.
74 << "More then one phi equivalent with type " << phi->GetType()
106 // If `instruction` is a dead phi, type conflict was just identified. All its
109 // add users whose type does not match and needs to be updated.
121 // Find a candidate primitive type for `phi` by merging the type of its inputs.
130 // been made dead due to type conflict. Mark this phi conflicting too.
136 // No change in type.
143 // ambiguous. TypeInputsOfPhi will either type the
280 Primitive::Type type = aget->GetType(); local
293 Primitive::Type type = aget->GetType(); local
602 GetFloatDoubleOrReferenceEquivalentOfPhi(HPhi* phi, Primitive::Type type) argument
661 GetFloatOrDoubleEquivalent(HInstruction* value, Primitive::Type type) argument
[all...]
H A Dcodegen_test.cc822 Primitive::Type type,
846 if (type == Primitive::kPrimInt) {
850 DCHECK_EQ(type, Primitive::kPrimLong);
819 TestComparison(IfCondition condition, int64_t i, int64_t j, Primitive::Type type, const InstructionSet target_isa) argument
H A Dinduction_var_range_test.cc142 Primitive::Type type = Primitive::kPrimInt; local
145 HInductionVarAnalysis::kTripCountInLoop, CreateConst(tc), nullptr, type);
148 HInductionVarAnalysis::kTripCountInLoopUnsafe, CreateConst(tc), nullptr, type);
151 HInductionVarAnalysis::kTripCountInBody, CreateConst(tc), nullptr, type);
154 HInductionVarAnalysis::kTripCountInBodyUnsafe, CreateConst(tc), nullptr, type);
/art/runtime/gc/accounting/
H A Dmod_union_table_test.cc41 TableType type, space::ContinuousSpace* space, space::ContinuousSpace* target_space);
67 void RunTest(ModUnionTableFactory::TableType type);
132 std::ostream& operator<<(std::ostream& oss, ModUnionTableFactory::TableType type) { argument
133 switch (type) {
143 UNIMPLEMENTED(FATAL) << static_cast<size_t>(type);
150 TableType type, space::ContinuousSpace* space, space::ContinuousSpace* target_space) {
152 name << "Mod union table: " << type; local
153 switch (type) {
162 UNIMPLEMENTED(FATAL) << "Invalid type " << type;
149 Create( TableType type, space::ContinuousSpace* space, space::ContinuousSpace* target_space) argument
176 RunTest(ModUnionTableFactory::TableType type) argument
[all...]
/art/runtime/interpreter/mterp/
H A Dmterp.cc552 Primitive::Type type = field->GetTypeAsPrimitiveType(); local
553 if (type == Primitive::kPrimBoolean) {
556 DCHECK_EQ(Primitive::kPrimByte, type);
570 Primitive::Type type = field->GetTypeAsPrimitiveType(); local
571 if (type == Primitive::kPrimChar) {
574 DCHECK_EQ(Primitive::kPrimShort, type);
/art/runtime/jdwp/
H A Djdwp_main.cc156 void JdwpState::SendBufferedRequest(uint32_t type, const std::vector<iovec>& iov) { argument
172 static_cast<char>(type >> 24),
173 static_cast<char>(type >> 16),
174 static_cast<char>(type >> 8),
175 static_cast<char>(type),
205 * message type EventRequest.Set.
/art/compiler/utils/arm/
H A Dassembler_thumb2.h320 void LoadFromOffset(LoadOperandType type,
325 void StoreToOffset(StoreOperandType type,
385 // depends on both the type of branch and the offset to which it is branching. The 16-bit
411 // Branch type.
425 // Calculated size of branch instruction based on type and offset.
471 static Fixup Branch(uint32_t location, Type type, Size size = kBranch16Bit, argument
473 DCHECK(type == kConditional || type == kUnconditional ||
474 type == kUnconditionalLink || type
613 Fixup(Register rn, Register rt2, SRegister sd, DRegister dd, Condition cond, Type type, Size size, uint32_t location) argument
[all...]
/art/compiler/utils/
H A Dtest_dex_file_builder.h50 void AddField(const std::string& class_descriptor, const std::string& type, argument
54 AddType(type);
56 FieldKey key = { class_descriptor, type, name };
201 Write16(raw_offset + 2u, GetTypeIdx(entry.first.type));
237 uint32_t GetStringIdx(const std::string& type) { argument
238 auto it = strings_.find(type);
243 uint32_t GetTypeIdx(const std::string& type) { argument
244 auto it = types_.find(type);
249 uint32_t GetFieldIdx(const std::string& class_descriptor, const std::string& type, argument
251 FieldKey key = { class_descriptor, type, nam
274 const std::string type; member in struct:art::TestDexFileBuilder::FieldKey
[all...]

Completed in 568 milliseconds

12345