Searched defs:type (Results 1 - 25 of 48) sorted by relevance

12

/art/runtime/
H A Dprimitive.cc33 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 Dprimitive.h45 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 Dclass_linker-inl.h68 InvokeType type) {
76 resolved_method = ResolveMethod(dex_file, method_idx, dex_cache, class_loader, referrer, type);
66 ResolveMethod(uint32_t method_idx, const mirror::ArtMethod* referrer, InvokeType type) argument
H A Ddex_file_test.cc262 const DexFile::TypeId& type = java_lang_dex_file_->GetTypeId(to_find.type_idx_); local
263 const DexFile::FieldId* found = java_lang_dex_file_->FindFieldId(klass, name, type);
H A Dobject_utils.h286 mirror::Class* type = GetDexCache()->GetResolvedType(field_id.type_idx_); local
287 if (resolve && (type == NULL)) {
288 type = GetClassLinker()->ResolveType(field_id.type_idx_, field_);
289 CHECK(type != NULL || Thread::Current()->IsExceptionPending());
291 return type;
314 Primitive::Type type = GetTypeAsPrimitiveType(); local
315 return type != Primitive::kPrimNot;
318 Primitive::Type type = GetTypeAsPrimitiveType(); local
319 return Primitive::FieldSize(type);
544 // "- 1" because we don't count the return type
561 Primitive::Type type = GetParamPrimitiveType(param); local
596 mirror::Class* type = method_->GetDexCacheResolvedTypes()->Get(type_idx); local
[all...]
H A Dcommon_throws.cc95 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/runtime/native/
H A Dorg_apache_harmony_dalvik_ddmc_DdmServer.cc24 static void DdmServer_nativeSendChunk(JNIEnv* env, jclass, jint type, argument
29 Dbg::DdmSendChunk(type, length, reinterpret_cast<const uint8_t*>(&data[offset]));
/art/compiler/llvm/
H A Dir_builder.cc35 // 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 Druntime_support_builder_x86.cc54 Value* RuntimeSupportBuilderX86::EmitLoadFromThreadOffset(int64_t offset, Type* type, argument
56 FunctionType* func_ty = FunctionType::get(/*Result=*/type,
H A Dintrinsic_helper.cc41 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 Druntime_support_builder_arm.cc41 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 Druntime_support_builder.cc65 ::llvm::Value* RuntimeSupportBuilder::EmitLoadFromThreadOffset(int64_t offset, ::llvm::Type* type, argument
68 return irb_.LoadFromObjectOffset(thread, offset, type, s_ty);
/art/compiler/sea_ir/types/
H A Dtypes.h29 // 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 Dtype_inference_visitor.cc86 const Type* type = NULL; local
88 type = *(types.begin());
92 if (!type->Equals(**cit)) {
93 type = MergeTypes(type, *cit);
98 return type;
/art/compiler/driver/
H A Dcompiler_driver_test.cc112 mirror::Class* type = dex_cache->GetResolvedType(i); local
113 EXPECT_TRUE(type != NULL) << "type_idx=" << i
/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
67 entry.type = ((read_exec_only ^ 1) << 1) | (contents << 2);
/art/runtime/mirror/
H A Dart_field-inl.h144 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 Dart_method-inl.h93 inline bool ArtMethod::CheckIncompatibleClassChange(InvokeType type) { argument
94 switch (type) {
110 LOG(FATAL) << "Unreachable - invocation type: " << type;
/art/compiler/dex/
H A Dmir_dataflow.cc117 // 1C CONST_CLASS vAA, type@BBBB
126 // 1F CHK_CAST vAA, type@BBBB
129 // 20 INSTANCE_OF vA, vB, type@CCCC
135 // 22 NEW_INSTANCE vAA, type@BBBB
138 // 23 NEW_ARRAY vA, vB, type@CCCC
144 // 25 FILLED_NEW_ARRAY_RANGE {vCCCC .. vNNNN}, type@BBBB
959 // NOTE: will be filled in during type & size inference pass
977 // NOTE: will be filled in during type & size inference pass
1190 InvokeType type; local
1195 type
[all...]
/art/runtime/entrypoints/
H A Dentrypoint_utils.cc54 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...]
/art/runtime/entrypoints/portable/
H A Dportable_trampoline_entrypoints.cc149 Primitive::Type type = GetParamPrimitiveType(); local
150 switch (type) {
236 Primitive::Type type = GetParamPrimitiveType(); local
237 switch (type) {
/art/runtime/gc/space/
H A Dspace.h106 SpaceType type = GetType(); local
107 return type == kSpaceTypeAllocSpace || type == kSpaceTypeZygoteSpace;
/art/runtime/jdwp/
H A Djdwp_main.cc144 void JdwpState::SendBufferedRequest(uint32_t type, const std::vector<iovec>& iov) { argument
160 static_cast<uint8_t>(type >> 24),
161 static_cast<uint8_t>(type >> 16),
162 static_cast<uint8_t>(type >> 8),
163 static_cast<uint8_t>(type),
193 * message type EventRequest.Set.
/art/runtime/verifier/
H A Dreg_type_cache.cc135 // Class was not found, must create new type.
168 // Class not found in the cache, will create a new type for that.
173 // Class was not found, must create new type.
174 // To pass the verification, the type should be imprecise,
175 // instantiable or an interface with the precise type set to false.
177 // Create a precise type if:
181 // Create an imprecise type if we can't tell for a fact that it is precise.
200 // The descriptor is broken return the unknown type as there's nothing sensible that
334 const RegType& RegTypeCache::Uninitialized(const RegType& type, uint32_t allocation_pc) { argument
337 const std::string& descriptor(type
419 UninitializedThisArgument(const RegType& type) argument
[all...]
/art/runtime/entrypoints/quick/
H A Dquick_trampoline_entrypoints.cc123 num_params_((is_static ? 0 : 1) + shorty_len - 1), // +1 for this, -1 for return type
163 Primitive::Type type = GetParamPrimitiveType(); local
164 return type == Primitive::kPrimLong || type == Primitive::kPrimDouble;
233 Primitive::Type type = GetParamPrimitiveType(); local
234 switch (type) {
326 Primitive::Type type = GetParamPrimitiveType(); local
327 switch (type) {

Completed in 6852 milliseconds

12