/art/openjdkjvmti/ |
D | ti_extension.cc | 75 return ERR(NULL_POINTER); in GetExtensionFunctions() 148 return ERR(NONE); in GetExtensionFunctions() 164 if (error != ERR(NONE)) { in GetExtensionFunctions() 177 if (error != ERR(NONE)) { in GetExtensionFunctions() 195 ERR(MUST_POSSESS_CAPABILITY), in GetExtensionFunctions() 196 ERR(INVALID_CLASS), in GetExtensionFunctions() 197 ERR(NULL_POINTER), in GetExtensionFunctions() 199 if (error != ERR(NONE)) { in GetExtensionFunctions() 213 { ERR(NULL_POINTER) }); in GetExtensionFunctions() 214 if (error != ERR(NONE)) { in GetExtensionFunctions() [all …]
|
D | ti_field.cc | 138 return ERR(INVALID_CLASS); in GetFieldName() 141 return ERR(INVALID_FIELDID); in GetFieldName() 200 return ERR(NONE); in GetFieldName() 208 return ERR(INVALID_CLASS); in GetFieldDeclaringClass() 211 return ERR(INVALID_FIELDID); in GetFieldDeclaringClass() 214 return ERR(NULL_POINTER); in GetFieldDeclaringClass() 223 return ERR(NONE); in GetFieldDeclaringClass() 231 return ERR(INVALID_CLASS); in GetFieldModifiers() 234 return ERR(INVALID_FIELDID); in GetFieldModifiers() 237 return ERR(NULL_POINTER); in GetFieldModifiers() [all …]
|
D | ti_search.cc | 227 return ERR(WRONG_PHASE); in AddToBootstrapClassLoaderSearch() 230 return ERR(WRONG_PHASE); in AddToBootstrapClassLoaderSearch() 233 return ERR(NULL_POINTER); in AddToBootstrapClassLoaderSearch() 245 return ERR(ILLEGAL_ARGUMENT); in AddToBootstrapClassLoaderSearch() 257 return ERR(INVALID_ENVIRONMENT); in AddToDexClassLoaderInMemory() 259 return ERR(UNATTACHED_THREAD); in AddToDexClassLoaderInMemory() 261 return ERR(NULL_POINTER); in AddToDexClassLoaderInMemory() 263 return ERR(NULL_POINTER); in AddToDexClassLoaderInMemory() 265 return ERR(ILLEGAL_ARGUMENT); in AddToDexClassLoaderInMemory() 274 return ERR(WRONG_PHASE); in AddToDexClassLoaderInMemory() [all …]
|
D | ti_monitor.cc | 232 return ERR(NULL_POINTER); in CreateRawMonitor() 238 return ERR(NONE); in CreateRawMonitor() 243 return ERR(INVALID_MONITOR); in DestroyRawMonitor() 250 return ERR(NOT_MONITOR_OWNER); in DestroyRawMonitor() 253 return ERR(NONE); in DestroyRawMonitor() 258 return ERR(INVALID_MONITOR); in RawMonitorEnterNoSuspend() 266 return ERR(NONE); in RawMonitorEnterNoSuspend() 271 return ERR(INVALID_MONITOR); in RawMonitorEnter() 279 return ERR(NONE); in RawMonitorEnter() 284 return ERR(INVALID_MONITOR); in RawMonitorExit() [all …]
|
D | ti_method.cc | 136 return ERR(INVALID_METHODID); in GetBytecodes() 141 return ERR(NATIVE_METHOD); in GetBytecodes() 145 return ERR(NULL_POINTER); in GetBytecodes() 169 return ERR(INVALID_METHODID); in GetArgumentsSize() 174 return ERR(NATIVE_METHOD); in GetArgumentsSize() 178 return ERR(NULL_POINTER); in GetArgumentsSize() 190 return ERR(NONE); in GetArgumentsSize() 197 return ERR(NONE); in GetArgumentsSize() 205 return ERR(INVALID_METHODID); in GetLocalVariableTable() 210 return ERR(NATIVE_METHOD); in GetLocalVariableTable() [all …]
|
D | ti_timers.cc | 51 return ERR(NULL_POINTER); in GetAvailableProcessors() 56 return ERR(NONE); in GetAvailableProcessors() 61 return ERR(NULL_POINTER); in GetTimerInfo() 69 return ERR(NONE); in GetTimerInfo() 74 return ERR(NULL_POINTER); in GetTime() 90 return ERR(NONE); in GetTime()
|
D | ti_jni.cc | 49 return ERR(NULL_POINTER); in SetJNIFunctionTable() 53 return ERR(NONE); in SetJNIFunctionTable() 58 return ERR(NULL_POINTER); in GetJNIFunctionTable() 81 if (data_result != ERR(NONE)) { in GetJNIFunctionTable() 88 return ERR(NONE); in GetJNIFunctionTable()
|
D | ti_class.cc | 553 return ERR(INVALID_CLASS); in GetClassFields() 560 return ERR(CLASS_NOT_PREPARED); in GetClassFields() 564 return ERR(NULL_POINTER); in GetClassFields() 573 if (allocError != ERR(NONE)) { in GetClassFields() 591 return ERR(NONE); in GetClassFields() 601 return ERR(INVALID_CLASS); in GetClassMethods() 608 return ERR(CLASS_NOT_PREPARED); in GetClassMethods() 612 return ERR(NULL_POINTER); in GetClassMethods() 618 if (allocError != ERR(NONE)) { in GetClassMethods() 640 return ERR(NONE); in GetClassMethods() [all …]
|
D | ti_object.cc | 47 return ERR(INVALID_OBJECT); in GetObjectSize() 50 return ERR(NULL_POINTER); in GetObjectSize() 57 return ERR(NONE); in GetObjectSize() 64 return ERR(INVALID_OBJECT); in GetObjectHashCode() 67 return ERR(NULL_POINTER); in GetObjectHashCode() 75 return ERR(NONE); in GetObjectHashCode() 82 return ERR(INVALID_OBJECT); in GetObjectMonitorUsage() 85 return ERR(NULL_POINTER); in GetObjectMonitorUsage()
|
D | ti_thread.cc | 220 return ERR(NONE); in GetCurrentThread() 235 *err = ERR(INVALID_THREAD); in GetNativeThread() 250 *err = ERR(THREAD_NOT_ALIVE); in GetAliveNativeThread() 259 return ERR(NULL_POINTER); in GetThreadInfo() 270 jvmtiError err = ERR(INTERNAL); in GetThreadInfo() 377 return ERR(NONE); in GetThreadInfo() 575 return ERR(NULL_POINTER); in GetThreadState() 584 jvmtiError err = ERR(INTERNAL); in GetThreadState() 604 return ERR(NONE); in GetThreadState() 612 return ERR(WRONG_PHASE); in GetThreadState() [all …]
|
D | ti_properties.cc | 96 return ERR(NULL_POINTER); in GetSystemProperties() 145 return ERR(NONE); in GetSystemProperties() 172 return ERR(NOT_AVAILABLE); in GetLibraryPath() 185 return ERR(OUT_OF_MEMORY); in GetLibraryPath() 194 return ERR(INTERNAL); in GetLibraryPath() 198 return ERR(NONE); in GetLibraryPath() 209 return ERR(NULL_POINTER); in GetSystemProperty() 226 return ERR(NOT_AVAILABLE); in GetSystemProperty() 233 return ERR(NOT_AVAILABLE); in SetSystemProperty()
|
D | ti_logging.cc | 47 return ERR(INVALID_ENVIRONMENT); in GetLastError() 52 return ERR(ABSENT_INFORMATION); in GetLastError() 67 return ERR(INVALID_ENVIRONMENT); in ClearLastError() 77 return ERR(INVALID_ENVIRONMENT); in SetVerboseFlagExt() 79 return ERR(NULL_POINTER); in SetVerboseFlagExt() 88 return ERR(ILLEGAL_ARGUMENT); in SetVerboseFlagExt() 141 return ERR(ILLEGAL_ARGUMENT); in SetVerboseFlag() 159 return ERR(NONE); in SetVerboseFlag()
|
D | ti_stack.cc | 200 return ERR(ILLEGAL_ARGUMENT); in TranslateFrameVector() 207 return ERR(NONE); in TranslateFrameVector() 212 return ERR(ILLEGAL_ARGUMENT); in TranslateFrameVector() 220 return ERR(NONE); in TranslateFrameVector() 262 jvmtiError thread_error = ERR(INTERNAL); in GetStackTrace() 272 return ERR(THREAD_NOT_ALIVE); in GetStackTrace() 277 return ERR(ILLEGAL_ARGUMENT); in GetStackTrace() 281 return ERR(NULL_POINTER); in GetStackTrace() 287 return ERR(NONE); in GetStackTrace() 297 return ERR(THREAD_NOT_ALIVE); in GetStackTrace() [all …]
|
D | ti_threadgroup.cc | 60 return ERR(NULL_POINTER); in GetTopThreadGroups() 66 return ERR(WRONG_PHASE); in GetTopThreadGroups() 72 return ERR(WRONG_PHASE); in GetTopThreadGroups() 77 if (result != ERR(NONE)) { in GetTopThreadGroups() 87 return ERR(NONE); in GetTopThreadGroups() 94 return ERR(INVALID_THREAD_GROUP); in GetThreadGroupInfo() 104 return ERR(INVALID_THREAD_GROUP); in GetThreadGroupInfo() 153 return ERR(NONE); in GetThreadGroupInfo() 228 return ERR(INVALID_THREAD_GROUP); in GetThreadGroupChildren() 236 return ERR(INVALID_THREAD_GROUP); in GetThreadGroupChildren() [all …]
|
D | ti_allocator.cc | 53 return ERR(NULL_POINTER); in GetGlobalJvmtiAllocationState() 63 return ERR(ILLEGAL_ARGUMENT); in Allocate() 70 return ERR(OUT_OF_MEMORY); in Allocate()
|
D | ti_ddms.cc | 54 return ERR(NULL_POINTER); in HandleChunk() 57 return ERR(ILLEGAL_ARGUMENT); in HandleChunk() 74 return ERR(INTERNAL); in HandleChunk()
|
D | art_jvmti.h | 130 #define ERR(e) JVMTI_ERROR_ ## e macro 134 static constexpr jvmtiError ERR(NOT_IMPLEMENTED) = JVMTI_ERROR_NOT_AVAILABLE; 159 CHECK(ret == ERR(NONE)); in operator() 180 CHECK(ret == ERR(NONE)); in operator() 207 if (*error != ERR(NONE)) { in AllocJvmtiUniquePtr() 220 if (*error != ERR(NONE)) { in AllocJvmtiUniquePtr()
|
D | ti_breakpoint.cc | 154 return ERR(INVALID_METHODID); in SetBreakpoint() 160 return ERR(INVALID_LOCATION); in SetBreakpoint() 172 return ERR(DUPLICATE); in SetBreakpoint() 178 return ERR(INVALID_METHODID); in ClearBreakpoint() 186 return ERR(NOT_FOUND); in ClearBreakpoint()
|
D | ti_dump.cc | 78 return ERR(INVALID_ENVIRONMENT); in DumpInternalState() 80 return ERR(NULL_POINTER); in DumpInternalState()
|
D | OpenjdkJvmTi.cc | 88 return ERR(NULL_POINTER); \ 96 return ERR(INVALID_ENVIRONMENT); in getEnvironmentError() 98 return ERR(UNATTACHED_THREAD); in getEnvironmentError() 115 return ERR(MUST_POSSESS_CAPABILITY); \ 123 if (err != OK && err != ERR(UNATTACHED_THREAD)) { in Allocate() 133 if (err != OK && err != ERR(UNATTACHED_THREAD)) { in Deallocate() 413 return ERR(INTERNAL); in GetTag() 422 return ERR(NONE); in GetTag() 430 return ERR(NULL_POINTER); in SetTag() 435 return ERR(INTERNAL); in SetTag() [all …]
|
D | ti_redefine.cc | 369 return ERR(INVALID_ENVIRONMENT); in IsModifiableClassGeneric() 376 return ERR(INVALID_CLASS); in IsModifiableClassGeneric() 381 Redefiner::CanRedefineClass<kType>(h_klass, &err_unused) != ERR(UNMODIFIABLE_CLASS) in IsModifiableClassGeneric() 404 return ERR(INVALID_CLASS); in CanRedefineClass() 422 return ERR(INTERNAL); in CanRedefineClass() 430 return ERR(UNMODIFIABLE_CLASS); in CanRedefineClass() 433 return ERR(UNMODIFIABLE_CLASS); in CanRedefineClass() 436 return ERR(UNMODIFIABLE_CLASS); in CanRedefineClass() 439 return ERR(UNMODIFIABLE_CLASS); in CanRedefineClass() 442 return ERR(UNMODIFIABLE_CLASS); in CanRedefineClass() [all …]
|
D | transform.cc | 162 return ERR(ILLEGAL_ARGUMENT); in RetransformClasses() 168 return ERR(NULL_POINTER); in RetransformClasses() 212 return ERR(INTERNAL); in GetClassLocation()
|
D | jvmti_weak_table-inl.h | 315 return ERR(ILLEGAL_ARGUMENT); 320 return ERR(ILLEGAL_ARGUMENT); 325 return ERR(NULL_POINTER); 328 return ERR(NULL_POINTER); 387 return ERR(NONE);
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 124 return ERR(ILLEGAL_STATE); in SetupListen() 375 return ERR(ILLEGAL_STATE); in Accept() 384 return ERR(IO_ERROR); in Accept() 452 ChangeState(TransportState::kOpen, TransportState::kClosed) ? OK : ERR(ILLEGAL_STATE); in Close() 593 return ERR(ILLEGAL_ARGUMENT); in ReadPacket() 599 return ERR(IO_ERROR); in ReadPacket() 650 return ERR(ILLEGAL_ARGUMENT); in WritePacket() 656 return ERR(IO_ERROR); in WritePacket() 687 return ERR(ILLEGAL_ARGUMENT); in ParseAddress() 709 return ERR(ILLEGAL_ARGUMENT); in Attach() [all …]
|
D | dt_fd_forward.h | 59 #define ERR(e) JDWPTRANSPORT_ERROR_ ## e macro 60 static constexpr jdwpTransportError OK = ERR(NONE);
|