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

12

/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.cc46 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
48 self->ThrowNewException(throw_location, "Ljava/lang/NullPointerException;",
51 self->SetException(throw_location, exception);
62 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
63 ThrowNullPointerExceptionFromDexPC(throw_location);
H A Dquick_field_entrypoints.cc95 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
96 ThrowNullPointerExceptionForFieldAccess(throw_location, field, true);
118 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
119 ThrowNullPointerExceptionForFieldAccess(throw_location, field, true);
142 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
143 ThrowNullPointerExceptionForFieldAccess(throw_location, field, true);
237 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
238 ThrowNullPointerExceptionForFieldAccess(throw_location, field, false);
268 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
269 ThrowNullPointerExceptionForFieldAccess(throw_location, fiel
296 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);
117 self, throw_location, current_method, catch_dex_pc, exception);
/art/runtime/
H A Dreflection-inl.h30 inline bool ConvertPrimitiveValue(const ThrowLocation* throw_location, bool unbox_for_result, argument
91 ThrowIllegalArgumentException(throw_location,
96 ThrowClassCastException(throw_location,
H A Dquick_exception_handler.cc116 void QuickExceptionHandler::FindCatch(const ThrowLocation& throw_location, argument
155 instrumentation->ExceptionCaughtEvent(self_, throw_location, handler_method_, handler_dex_pc_,
H A Dcommon_throws.cc46 static void ThrowException(const ThrowLocation* throw_location, const char* exception_descriptor,
59 if (throw_location == NULL) {
63 self->ThrowNewException(*throw_location, exception_descriptor, msg.str().c_str());
67 static void ThrowWrappedException(const ThrowLocation* throw_location,
81 if (throw_location == NULL) {
85 self->ThrowNewWrappedException(*throw_location, exception_descriptor, msg.str().c_str());
128 void ThrowClassCastException(const ThrowLocation* throw_location, const char* msg) { argument
129 ThrowException(throw_location, "Ljava/lang/ClassCastException;", NULL, msg);
200 void ThrowIllegalAccessException(const ThrowLocation* throw_location, const char* msg) { argument
201 ThrowException(throw_location, "Ljav
206 ThrowIllegalArgumentException(const ThrowLocation* throw_location, const char* msg) argument
318 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
329 ThrowNullPointerExceptionForFieldAccess(const ThrowLocation& throw_location, mirror::ArtField* field, bool is_read) argument
348 ThrowNullPointerExceptionForMethodAccess(const ThrowLocation& throw_location, uint32_t method_idx, InvokeType type) argument
357 ThrowNullPointerExceptionForMethodAccess(const ThrowLocation& throw_location, mirror::ArtMethod* method, InvokeType type) argument
366 ThrowNullPointerExceptionFromDexPC(const ThrowLocation& throw_location) argument
506 ThrowNullPointerException(const ThrowLocation* throw_location, const char* msg) argument
[all...]
H A Dreflection.cc693 static bool UnboxPrimitive(const ThrowLocation* throw_location, mirror::Object* o,
701 ThrowIllegalArgumentException(throw_location,
707 ThrowClassCastException(throw_location,
718 ThrowIllegalArgumentException(throw_location,
725 ThrowIllegalArgumentException(throw_location,
730 ThrowNullPointerException(throw_location,
768 ThrowIllegalArgumentException(throw_location,
775 return ConvertPrimitiveValue(throw_location, unbox_for_result,
786 bool UnboxPrimitiveForResult(const ThrowLocation& throw_location, mirror::Object* o, argument
788 return UnboxPrimitive(&throw_location,
[all...]
H A Dinstrumentation.cc1007 void Instrumentation::ExceptionCaughtEvent(Thread* thread, const ThrowLocation& throw_location, argument
1017 listener->ExceptionCaught(thread, throw_location, catch_method, catch_dex_pc,
1020 thread->SetException(throw_location, exception_object);
H A Dmonitor.cc302 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
303 self->ThrowNewExceptionV(throw_location, "Ljava/lang/IllegalMonitorStateException;", fmt, args);
453 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
454 self->ThrowNewExceptionF(throw_location, "Ljava/lang/IllegalArgumentException;",
565 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
566 self->ThrowNewException(throw_location, "Ljava/lang/InterruptedException;", NULL);
H A Druntime.cc248 ThrowLocation throw_location; local
249 mirror::Throwable* exception = self->GetException(&throw_location);
251 << " thrown by '" << throw_location.Dump() << "'\n"
H A Dcheck_jni.cc807 ThrowLocation throw_location; local
808 mirror::Throwable* exception = self->GetException(&throw_location);
811 function_name_, type.c_str(), throw_location.Dump().c_str());
H A Dthread.h44 #include "throw_location.h"
317 mirror::Throwable* GetException(ThrowLocation* throw_location) const
319 if (throw_location != nullptr) {
320 *throw_location = tlsPtr_.throw_location;
328 void SetException(const ThrowLocation& throw_location, mirror::Throwable* new_exception)
333 tlsPtr_.throw_location = throw_location;
338 tlsPtr_.throw_location.Clear();
373 void ThrowNewException(const ThrowLocation& throw_location,
1072 ThrowLocation throw_location; variable
[all...]
/art/runtime/mirror/
H A Dstring-inl.h63 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
64 self->ThrowNewExceptionF(throw_location, "Ljava/lang/StringIndexOutOfBoundsException;",
H A Dart_method.cc218 ThrowLocation throw_location; local
220 Handle<mirror::Throwable> exception(hs.NewHandle(self->GetException(&throw_location)));
257 self->SetException(throw_location, exception.Get());
H A Dobject_array-inl.h232 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
234 self->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayStoreException;",
/art/runtime/native/
H A Djava_lang_Class.cc56 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
57 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/ClassNotFoundException;",
H A Djava_lang_reflect_Constructor.cc43 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
44 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/InstantiationException;",
H A Djava_lang_System.cc40 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
41 self->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayStoreException;",
79 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
80 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayIndexOutOfBoundsException;",
133 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
134 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayStoreException;",
H A Ddalvik_system_VMDebug.cc94 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
95 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/RuntimeException;",
149 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local
150 soa.Self()->ThrowNewException(throw_location, "Ljava/lang/UnsupportedOperationException;", NULL);
/art/runtime/entrypoints/
H A Dentrypoint_utils.cc59 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
60 DCHECK(throw_location.GetMethod() == referrer);
62 throw_location, "Ljava/lang/InternalError;",
187 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
188 self->SetException(throw_location,
300 ThrowLocation throw_location(rcvr, proxy_method, -1);
302 if (!UnboxPrimitiveForResult(throw_location, result_ref, result_type, &result_unboxed)) {
337 ThrowLocation throw_location(rcvr, proxy_method, -1);
338 soa.Self()->ThrowNewWrappedException(throw_location,
H A Dentrypoint_utils-inl.h56 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
57 self->ThrowNewException(throw_location, "Ljava/lang/InstantiationError;",
298 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
299 DCHECK(throw_location.GetMethod() == referrer);
300 self->ThrowNewExceptionF(throw_location, "Ljava/lang/NoSuchFieldError;",
371 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local
372 DCHECK_EQ(*referrer, throw_location.GetMethod());
373 ThrowNullPointerExceptionForMethodAccess(throw_location, method_idx, type);
/art/runtime/interpreter/
H A Dinterpreter_common.cc455 ThrowLocation throw_location; local
457 Handle<mirror::Throwable> exception(hs.NewHandle(self->GetException(&throw_location)));
461 instrumentation->ExceptionCaughtEvent(self, throw_location, clf.GetCatchMethod(),
/art/compiler/driver/
H A Dcompiler_driver.cc1928 ThrowLocation throw_location; local
1929 mirror::Throwable* exception = soa.Self()->GetException(&throw_location);

Completed in 836 milliseconds

12