Searched defs:throw_location (Results 1 - 24 of 24) sorted by relevance

/art/runtime/entrypoints/quick/
H A Dquick_fillarray_entrypoints.cc52 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
53 self->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayIndexOutOfBoundsException;",
H A Dquick_throw_entrypoints.cc45 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
47 self->ThrowNewException(throw_location, "Ljava/lang/NullPointerException;",
50 self->SetException(throw_location, exception);
60 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
61 ThrowNullPointerExceptionFromDexPC(throw_location);
H A Dquick_field_entrypoints.cc94 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
95 ThrowNullPointerExceptionForFieldAccess(throw_location, field, true);
117 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
118 ThrowNullPointerExceptionForFieldAccess(throw_location, field, true);
141 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
142 ThrowNullPointerExceptionForFieldAccess(throw_location, field, true);
223 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
224 ThrowNullPointerExceptionForFieldAccess(throw_location, field, false);
251 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
252 ThrowNullPointerExceptionForFieldAccess(throw_location, fiel
277 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
[all...]
/art/runtime/entrypoints/portable/
H A Dportable_fillarray_entrypoints.cc40 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
41 self->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayIndexOutOfBoundsException;",
H A Dportable_throw_entrypoints.cc43 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
44 ThrowNullPointerExceptionFromDexPC(throw_location);
54 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
58 self->SetException(throw_location, exception);
75 ThrowLocation throw_location; local
76 mirror::Throwable* exception = self->GetException(&throw_location);
116 throw_location,
/art/runtime/native/
H A Djava_lang_reflect_Constructor.cc45 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
46 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/InstantiationException;",
H A Djava_lang_Class.cc56 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
57 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/ClassNotFoundException;",
H A Ddalvik_system_DexFile.cc102 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
103 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/io/IOException;",
118 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
119 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/io/IOException;",
208 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
209 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/io/FileNotFoundException;",
H A Djava_lang_System.cc176 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
177 self->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayStoreException;",
212 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
213 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayIndexOutOfBoundsException;",
225 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
226 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayStoreException;",
311 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
312 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayStoreException;",
H A Ddalvik_system_VMDebug.cc77 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
78 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/RuntimeException;",
131 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
132 soa.Self()->ThrowNewException(throw_location, "Ljava/lang/UnsupportedOperationException;", NULL);
/art/runtime/entrypoints/
H A Dentrypoint_utils.cc57 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
58 DCHECK(throw_location.GetMethod() == referrer);
59 self->ThrowNewExceptionF(throw_location, "Ljava/lang/InternalError;",
133 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
134 DCHECK(throw_location.GetMethod() == referrer);
135 self->ThrowNewExceptionF(throw_location, "Ljava/lang/NoSuchFieldError;",
174 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
175 DCHECK(referrer == throw_location.GetMethod());
176 ThrowNullPointerExceptionForMethodAccess(throw_location, method_idx, type);
362 ThrowLocation throw_location(rcv
[all...]
H A Dentrypoint_utils.h60 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
61 self->ThrowNewException(throw_location, "Ljava/lang/InstantiationError;",
/art/runtime/mirror/
H A Dstring.cc107 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
108 self->ThrowNewExceptionF(throw_location, "Ljava/lang/StringIndexOutOfBoundsException;",
/art/runtime/
H A Dreflection.cc121 bool ConvertPrimitiveValue(const ThrowLocation* throw_location, bool unbox_for_result, argument
200 ThrowIllegalArgumentException(throw_location,
205 ThrowClassCastException(throw_location,
281 static bool UnboxPrimitive(const ThrowLocation* throw_location, mirror::Object* o,
289 ThrowIllegalArgumentException(throw_location,
295 ThrowClassCastException(throw_location,
306 ThrowIllegalArgumentException(throw_location,
313 ThrowIllegalArgumentException(throw_location,
318 ThrowNullPointerException(throw_location,
355 ThrowIllegalArgumentException(throw_location,
380 UnboxPrimitiveForResult(const ThrowLocation& throw_location, mirror::Object* o, mirror::Class* dst_class, JValue& unboxed_value) argument
[all...]
H A Dcommon_throws.cc48 static void ThrowException(const ThrowLocation* throw_location, const char* exception_descriptor,
61 if (throw_location == NULL) {
65 self->ThrowNewException(*throw_location, exception_descriptor, msg.str().c_str());
109 void ThrowClassCastException(const ThrowLocation* throw_location, const char* msg) { argument
110 ThrowException(throw_location, "Ljava/lang/ClassCastException;", NULL, msg);
182 void ThrowIllegalArgumentException(const ThrowLocation* throw_location, const char* msg) { argument
183 ThrowException(throw_location, "Ljava/lang/IllegalArgumentException;", NULL, msg);
278 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
279 mirror::DexCache* dex_cache = throw_location.GetMethod()->GetDeclaringClass()->GetDexCache();
283 ThrowException(&throw_location, "Ljav
289 ThrowNullPointerExceptionForFieldAccess(const ThrowLocation& throw_location, mirror::ArtField* field, bool is_read) 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
326 ThrowNullPointerExceptionFromDexPC(const ThrowLocation& throw_location) argument
466 ThrowNullPointerException(const ThrowLocation* throw_location, const char* msg) argument
[all...]
H A Dinstrumentation.cc455 void Instrumentation::ExceptionCaughtEvent(Thread* thread, const ThrowLocation& throw_location, argument
463 listener->ExceptionCaught(thread, throw_location, catch_method, catch_dex_pc, exception_object);
465 thread->SetException(throw_location, exception_object);
H A Dmonitor.cc258 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
259 self->ThrowNewExceptionV(throw_location, "Ljava/lang/IllegalMonitorStateException;", fmt, args);
416 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
417 self->ThrowNewExceptionF(throw_location, "Ljava/lang/IllegalArgumentException;",
523 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
524 self->ThrowNewException(throw_location, "Ljava/lang/InterruptedException;", NULL);
H A Druntime.cc166 ThrowLocation throw_location; local
167 mirror::Throwable* exception = self->GetException(&throw_location);
169 << " thrown by '" << throw_location.Dump() << "'\n"
H A Dcheck_jni.cc810 ThrowLocation throw_location; local
811 mirror::Throwable* exception = self->GetException(&throw_location);
814 function_name_, type.c_str(), throw_location.Dump().c_str());
H A Dthread.cc1468 void Thread::ThrowNewExceptionF(const ThrowLocation& throw_location, argument
1472 ThrowNewExceptionV(throw_location, exception_class_descriptor,
1477 void Thread::ThrowNewExceptionV(const ThrowLocation& throw_location, argument
1482 ThrowNewException(throw_location, exception_class_descriptor, msg.c_str());
1485 void Thread::ThrowNewException(const ThrowLocation& throw_location, const char* exception_class_descriptor, argument
1488 ThrowNewWrappedException(throw_location, exception_class_descriptor, msg);
1491 void Thread::ThrowNewWrappedException(const ThrowLocation& throw_location, argument
1496 SirtRef<mirror::Object> saved_throw_this(this, throw_location.GetThis());
1497 SirtRef<mirror::ArtMethod> saved_throw_method(this, throw_location.GetMethod());
1504 if (throw_location
1586 ThrowLocation throw_location = GetCurrentLocationForThrow(); local
1926 ThrowLocation throw_location; local
[all...]
H A Dclass_linker.cc80 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
81 self->ThrowNewExceptionV(throw_location, "Ljava/lang/NoClassDefFoundError;", fmt, args);
97 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
101 self->ThrowNewException(throw_location, ve_ch.GetDescriptor(), PrettyDescriptor(c).c_str());
103 self->ThrowNewException(throw_location, "Ljava/lang/NoClassDefFoundError;",
121 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
122 self->ThrowNewWrappedException(throw_location, "Ljava/lang/ExceptionInInitializerError;", NULL);
H A Djni_internal.cc221 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
222 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/NoSuchMethodError;",
302 ThrowLocation throw_location; local
303 SirtRef<Throwable> cause(soa.Self(), soa.Self()->GetException(&throw_location));
305 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/NoSuchFieldError;",
318 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
319 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/NoSuchFieldError;",
345 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
346 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayIndexOutOfBoundsException;",
354 ThrowLocation throw_location local
397 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
750 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
3271 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
[all...]
H A Ddebugger.cc49 #include "throw_location.h"
152 virtual void ExceptionCaught(Thread* thread, const ThrowLocation& throw_location,
156 Dbg::PostException(thread, throw_location, catch_method, catch_dex_pc, exception_object);
2259 void Dbg::PostException(Thread* thread, const ThrowLocation& throw_location, argument
2267 SetLocation(jdwp_throw_location, throw_location.GetMethod(), throw_location.GetDexPc());
2272 JDWP::ObjectId this_id = gRegistry->Add(throw_location.GetThis());
/art/runtime/interpreter/
H A Dinterpreter.cc1023 ThrowLocation throw_location; local
1024 mirror::Throwable* exception = self->GetException(&throw_location);
1033 instrumentation->ExceptionCaughtEvent(self, throw_location,

Completed in 423 milliseconds