/art/runtime/ |
H A D | primitive.cc | 33 std::ostream& operator<<(std::ostream& os, const Primitive::Type& type) { argument 34 int32_t int_type = static_cast<int32_t>(type); 35 if (type >= Primitive::kPrimNot && type <= Primitive::kPrimVoid) {
|
H A D | primitive.h | 45 static Type GetType(char type) { argument 46 switch (type) { 70 static size_t ComponentSize(Type type) { argument 71 switch (type) { 83 LOG(FATAL) << "Invalid type " << static_cast<int>(type); 88 static size_t FieldSize(Type type) { argument 89 return ComponentSize(type) <= 4 ? 4 : 8; 92 static const char* Descriptor(Type type) { argument 93 switch (type) { [all...] |
H A D | dex_file_verifier.h | 62 bool CheckIntraSectionIterate(uint32_t offset, uint32_t count, uint16_t type); 63 bool CheckIntraIdSection(uint32_t offset, uint32_t count, uint16_t type); 64 bool CheckIntraDataSection(uint32_t offset, uint32_t count, uint16_t type); 67 bool CheckOffsetToTypeMap(uint32_t offset, uint16_t type); 82 bool CheckInterSectionIterate(uint32_t offset, uint32_t count, uint16_t type);
|
H A D | common_throws.h | 79 InvokeType type) 137 const StringPiece& type, const StringPiece& name) 142 void ThrowNoSuchMethodError(InvokeType type, mirror::Class* c, const StringPiece& name, 158 InvokeType type) 163 InvokeType type)
|
H A D | runtime.h | 350 bool HasCalleeSaveMethod(CalleeSaveType type) const { 351 return callee_save_methods_[type] != NULL; 354 mirror::ArtMethod* GetCalleeSaveMethod(CalleeSaveType type) const { 355 DCHECK(HasCalleeSaveMethod(type)); 356 return callee_save_methods_[type]; 359 void SetCalleeSaveMethod(mirror::ArtMethod* method, CalleeSaveType type); 362 CalleeSaveType type)
|
H A D | common_throws.cc | 95 StringPrintf("%s cannot be stored in an array of type %s", 141 InvokeType type) { 144 << PrettyDescriptor(accessed) << "') in attempt to invoke " << type 193 msg << "The method '" << PrettyMethod(method) << "' was expected to be of type " 194 << expected_type << " but instead was found to be of type " << found_type; 256 const StringPiece& type, const StringPiece& name) 260 msg << "No " << scope << "field " << name << " of type " << type 267 void ThrowNoSuchMethodError(InvokeType type, mirror::Class* c, const StringPiece& name, argument 271 msg << "No " << type << " metho 138 ThrowIllegalAccessErrorClassForMethodDispatch(mirror::Class* referrer, mirror::Class* accessed, const mirror::ArtMethod* caller, const mirror::ArtMethod* called, InvokeType type) argument 308 ThrowNullPointerExceptionForMethodAccess(const ThrowLocation& throw_location, uint32_t method_idx, InvokeType type) argument 317 ThrowNullPointerExceptionForMethodAccess(const ThrowLocation& throw_location, mirror::ArtMethod* method, InvokeType type) argument [all...] |
/art/compiler/llvm/ |
H A D | ir_builder.cc | 35 // Get java object type from module 40 // If type of Method is not explicitly defined in the module, use JavaObject* 41 ::llvm::Type* type = module.getTypeByName("Method"); local 42 if (type != NULL) { 43 java_method_type_ = type->getPointerTo(); 48 // If type of Thread is not explicitly defined in the module, use JavaObject* 49 type = module.getTypeByName("Thread"); 50 if (type != NULL) { 51 java_thread_type_ = type->getPointerTo(); 56 // Create JEnv* type [all...] |
H A D | intrinsic_helper.cc | 41 IntrinsicHelper::IntrinsicValType type) { 42 switch (type) { 86 LOG(FATAL) << "Invalid intrinsic type " << type << "to get LLVM type!"; 108 // Parse and construct the argument type from IntrinsicInfo 113 IntrinsicValType type = info.arg_type_[arg_iter]; local 115 if (type == kNone) { 117 } else if (type == kVarArgTy) { 118 // Variable argument type mus 40 GetLLVMTypeOfIntrinsicValType(IRBuilder& irb, IntrinsicHelper::IntrinsicValType type) argument 130 ::llvm::FunctionType* type = local [all...] |
H A D | runtime_support_builder_arm.cc | 41 char LDRSTRSuffixByType(art::llvm::IRBuilder& irb, Type* type) { argument 42 int width = type->isPointerTy() ? 44 ::llvm::cast<IntegerType>(type)->getBitWidth(); 71 Value* RuntimeSupportBuilderARM::EmitLoadFromThreadOffset(int64_t offset, ::llvm::Type* type, argument 73 FunctionType* func_ty = FunctionType::get(/*Result=*/type, 76 LDRSTRSuffixByType(irb_, type),
|
H A D | runtime_support_builder_x86.h | 32 virtual ::llvm::Value* EmitLoadFromThreadOffset(int64_t offset, ::llvm::Type* type,
|
H A D | runtime_support_builder_arm.h | 32 virtual ::llvm::Value* EmitLoadFromThreadOffset(int64_t offset, ::llvm::Type* type,
|
H A D | runtime_support_builder_x86.cc | 54 Value* RuntimeSupportBuilderX86::EmitLoadFromThreadOffset(int64_t offset, Type* type, argument 56 FunctionType* func_ty = FunctionType::get(/*Result=*/type,
|
/art/runtime/mirror/ |
H A D | art_field.cc | 47 Primitive::Type type = fh.GetTypeAsPrimitiveType(); 48 if (type == Primitive::kPrimDouble || type == Primitive::kPrimLong) {
|
H A D | art_field-inl.h | 144 Primitive::Type type = FieldHelper(this).GetTypeAsPrimitiveType(); local 145 CHECK(type == Primitive::kPrimInt || type == Primitive::kPrimFloat) << PrettyField(this); 152 Primitive::Type type = FieldHelper(this).GetTypeAsPrimitiveType(); local 153 CHECK(type == Primitive::kPrimInt || type == Primitive::kPrimFloat) << PrettyField(this); 160 Primitive::Type type = FieldHelper(this).GetTypeAsPrimitiveType(); local 161 CHECK(type == Primitive::kPrimLong || type == Primitive::kPrimDouble) << PrettyField(this); 168 Primitive::Type type local [all...] |
H A D | class.cc | 150 // a primitive type; special-case the return value. 163 LOG(FATAL) << "Unknown primitive type: " << PrintableChar(descriptor[0]); 463 ArtField* Class::FindDeclaredInstanceField(const StringPiece& name, const StringPiece& type) { argument 470 if (name == fh.GetName() && type == fh.GetTypeDescriptor()) { 489 ArtField* Class::FindInstanceField(const StringPiece& name, const StringPiece& type) { argument 493 ArtField* f = c->FindDeclaredInstanceField(name, type); 513 ArtField* Class::FindDeclaredStaticField(const StringPiece& name, const StringPiece& type) { argument 514 DCHECK(type != NULL); 519 if (name == fh.GetName() && type == fh.GetTypeDescriptor()) { 538 ArtField* Class::FindStaticField(const StringPiece& name, const StringPiece& type) { argument 582 FindField(const StringPiece& name, const StringPiece& type) argument [all...] |
H A D | art_method-inl.h | 93 inline bool ArtMethod::CheckIncompatibleClassChange(InvokeType type) { argument 94 switch (type) { 110 LOG(FATAL) << "Unreachable - invocation type: " << type;
|
/art/runtime/entrypoints/quick/ |
H A D | callee_save_frame.h | 28 // Place a special frame at the TOS that will save the callee saves for the given type. 30 Runtime::CalleeSaveType type) 34 *sp = Runtime::Current()->GetCalleeSaveMethod(type);
|
/art/compiler/sea_ir/types/ |
H A D | types.h | 29 // Stores information about the result type of each instruction. 30 // Note: Main purpose is to encapsulate the map<instruction id, type*>, 37 // Returns the type associated with instruction with @instruction_id. 46 // Saves the fact that instruction @instruction_id produces a value of type @type. 47 void SetTypeOf(int instruction_id, const Type* type) { argument 48 type_map_.Overwrite(instruction_id, type);
|
H A D | type_inference_visitor.cc | 86 const Type* type = NULL; local 88 type = *(types.begin()); 92 if (!type->Equals(**cit)) { 93 type = MergeTypes(type, *cit); 98 return type;
|
/art/runtime/native/ |
H A D | org_apache_harmony_dalvik_ddmc_DdmServer.cc | 24 static void DdmServer_nativeSendChunk(JNIEnv* env, jclass, jint type, argument 29 Dbg::DdmSendChunk(type, length, reinterpret_cast<const uint8_t*>(&data[offset]));
|
/art/runtime/arch/arm/ |
H A D | asm_support_arm.S | 29 .type \name, #function 40 .type \name, #function
|
/art/runtime/arch/mips/ |
H A D | asm_support_mips.S | 24 .type \name, %function
|
/art/runtime/entrypoints/ |
H A D | entrypoint_utils.cc | 54 ThrowRuntimeException("Bad filled array request for type %s", 60 "Found type %s; filled-new-array not implemented for anything but \'int\'", 78 Thread* self, FindFieldType type, size_t expected_size, 83 switch (type) { 164 Thread* self, bool access_check, InvokeType type) { 166 bool is_direct = type == kStatic || type == kDirect; 167 mirror::ArtMethod* resolved_method = class_linker->ResolveMethod(method_idx, referrer, type); 171 } else if (UNLIKELY(this_object == NULL && type != kStatic)) { 176 ThrowNullPointerExceptionForMethodAccess(throw_location, method_idx, type); 77 FindFieldFromCode(uint32_t field_idx, const mirror::ArtMethod* referrer, Thread* self, FindFieldType type, size_t expected_size, bool access_check) argument 162 FindMethodFromCode(uint32_t method_idx, mirror::Object* this_object, mirror::ArtMethod* referrer, Thread* self, bool access_check, InvokeType type) argument [all...] |
H A D | entrypoint_utils.h | 41 // Given the context of a calling Method, use its DexCache to resolve a type to a Class. If it 79 // Given the context of a calling Method, use its DexCache to resolve a type to an array Class. If 129 Thread* self, FindFieldType type, size_t expected_size, 136 FindFieldType type, size_t expected_size) 152 switch (type) { 192 bool access_check, InvokeType type) 194 bool is_direct = type == kStatic || type == kDirect; 205 bool icce = resolved_method->CheckIncompatibleClassChange(type); 218 if (type [all...] |
/art/runtime/entrypoints/portable/ |
H A D | portable_invoke_entrypoints.cc | 28 InvokeType type, 35 type); 38 thread, access_check, type);
|