/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_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_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() 247 return ERR(ILLEGAL_ARGUMENT); in AddToBootstrapClassLoaderSearch() 255 return ERR(NONE); in AddToBootstrapClassLoaderSearch() 263 return ERR(INVALID_ENVIRONMENT); in AddToDexClassLoaderInMemory() 265 return ERR(UNATTACHED_THREAD); in AddToDexClassLoaderInMemory() 267 return ERR(NULL_POINTER); in AddToDexClassLoaderInMemory() 269 return ERR(NULL_POINTER); in AddToDexClassLoaderInMemory() 271 return ERR(ILLEGAL_ARGUMENT); in AddToDexClassLoaderInMemory() [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 | 557 return ERR(INVALID_CLASS); in GetClassFields() 564 return ERR(CLASS_NOT_PREPARED); in GetClassFields() 568 return ERR(NULL_POINTER); in GetClassFields() 577 if (allocError != ERR(NONE)) { in GetClassFields() 595 return ERR(NONE); in GetClassFields() 605 return ERR(INVALID_CLASS); in GetClassMethods() 612 return ERR(CLASS_NOT_PREPARED); in GetClassMethods() 616 return ERR(NULL_POINTER); in GetClassMethods() 622 if (allocError != ERR(NONE)) { in GetClassMethods() 644 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 | 226 return ERR(NONE); in GetCurrentThread() 239 *err = ERR(INVALID_THREAD); in GetNativeThread() 254 *err = ERR(THREAD_NOT_ALIVE); in GetAliveNativeThread() 263 return ERR(NULL_POINTER); in GetThreadInfo() 274 jvmtiError err = ERR(INTERNAL); in GetThreadInfo() 379 return ERR(NONE); in GetThreadInfo() 570 return ERR(NULL_POINTER); in GetThreadState() 579 jvmtiError err = ERR(INTERNAL); in GetThreadState() 599 return ERR(NONE); in GetThreadState() 607 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 | 202 return ERR(ILLEGAL_ARGUMENT); in TranslateFrameVector() 209 return ERR(NONE); in TranslateFrameVector() 214 return ERR(ILLEGAL_ARGUMENT); in TranslateFrameVector() 222 return ERR(NONE); in TranslateFrameVector() 264 jvmtiError thread_error = ERR(INTERNAL); in GetStackTrace() 274 return ERR(THREAD_NOT_ALIVE); in GetStackTrace() 279 return ERR(ILLEGAL_ARGUMENT); in GetStackTrace() 283 return ERR(NULL_POINTER); in GetStackTrace() 289 return ERR(NONE); in GetStackTrace() 299 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() 99 return ERR(INVALID_THREAD_GROUP); in GetThreadGroupInfo() 155 return ERR(NONE); in GetThreadGroupInfo() 224 return ERR(INVALID_THREAD_GROUP); in GetThreadGroupChildren() 230 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 | 121 #define ERR(e) JVMTI_ERROR_ ## e macro 125 static constexpr jvmtiError ERR(NOT_IMPLEMENTED) = JVMTI_ERROR_NOT_AVAILABLE; 150 CHECK(ret == ERR(NONE)); in operator() 171 CHECK(ret == ERR(NONE)); in operator() 198 if (*error != ERR(NONE)) { in AllocJvmtiUniquePtr() 211 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); \ 102 return ERR(INVALID_ENVIRONMENT); in getEnvironmentError() 104 return ERR(UNATTACHED_THREAD); in getEnvironmentError() 121 return ERR(MUST_POSSESS_CAPABILITY); \ 129 if (err != OK && err != ERR(UNATTACHED_THREAD)) { in Allocate() 139 if (err != OK && err != ERR(UNATTACHED_THREAD)) { in Deallocate() 419 return ERR(INTERNAL); in GetTag() 428 return ERR(NONE); in GetTag() 436 return ERR(NULL_POINTER); in SetTag() 441 return ERR(INTERNAL); in SetTag() [all …]
|
D | ti_redefine.cc | 345 return ERR(INVALID_ENVIRONMENT); in IsModifiableClassGeneric() 352 return ERR(INVALID_CLASS); in IsModifiableClassGeneric() 357 Redefiner::GetClassRedefinitionError<kType>(h_klass, &err_unused) != ERR(UNMODIFIABLE_CLASS) in IsModifiableClassGeneric() 380 return ERR(INVALID_CLASS); in GetClassRedefinitionError() 398 return ERR(INTERNAL); in GetClassRedefinitionError() 406 return ERR(UNMODIFIABLE_CLASS); in GetClassRedefinitionError() 409 return ERR(UNMODIFIABLE_CLASS); in GetClassRedefinitionError() 412 return ERR(UNMODIFIABLE_CLASS); in GetClassRedefinitionError() 415 return ERR(UNMODIFIABLE_CLASS); in GetClassRedefinitionError() 418 return ERR(UNMODIFIABLE_CLASS); in GetClassRedefinitionError() [all …]
|
D | jvmti_weak_table-inl.h | 313 return ERR(ILLEGAL_ARGUMENT); 318 return ERR(ILLEGAL_ARGUMENT); 323 return ERR(NULL_POINTER); 326 return ERR(NULL_POINTER); 385 return ERR(NONE);
|
D | ti_phase.cc | 102 return ERR(NULL_POINTER); in GetPhase() 111 return ERR(NONE); in GetPhase()
|
/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() 583 return ERR(ILLEGAL_ARGUMENT); in ReadPacket() 589 return ERR(IO_ERROR); in ReadPacket() 640 return ERR(ILLEGAL_ARGUMENT); in WritePacket() 646 return ERR(IO_ERROR); in WritePacket() 677 return ERR(ILLEGAL_ARGUMENT); in ParseAddress() 699 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);
|