Home
last modified time | relevance | path

Searched refs:ERR (Results 1 – 25 of 26) sorted by relevance

12

/art/openjdkjvmti/
Dti_field.cc57 return ERR(INVALID_CLASS); in GetFieldName()
60 return ERR(INVALID_FIELDID); in GetFieldName()
119 return ERR(NONE); in GetFieldName()
127 return ERR(INVALID_CLASS); in GetFieldDeclaringClass()
130 return ERR(INVALID_FIELDID); in GetFieldDeclaringClass()
133 return ERR(NULL_POINTER); in GetFieldDeclaringClass()
142 return ERR(NONE); in GetFieldDeclaringClass()
150 return ERR(INVALID_CLASS); in GetFieldModifiers()
153 return ERR(INVALID_FIELDID); in GetFieldModifiers()
156 return ERR(NULL_POINTER); in GetFieldModifiers()
[all …]
Dti_timers.cc51 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()
Dti_monitor.cc228 return ERR(NULL_POINTER); in CreateRawMonitor()
234 return ERR(NONE); in CreateRawMonitor()
239 return ERR(INVALID_MONITOR); in DestroyRawMonitor()
246 return ERR(NOT_MONITOR_OWNER); in DestroyRawMonitor()
249 return ERR(NONE); in DestroyRawMonitor()
254 return ERR(INVALID_MONITOR); in RawMonitorEnter()
262 return ERR(NONE); in RawMonitorEnter()
267 return ERR(INVALID_MONITOR); in RawMonitorExit()
274 return ERR(NOT_MONITOR_OWNER); in RawMonitorExit()
277 return ERR(NONE); in RawMonitorExit()
[all …]
Dti_extension.cc66 return ERR(NULL_POINTER); in GetExtensionFunctions()
139 return ERR(NONE); in GetExtensionFunctions()
155 if (error != ERR(NONE)) { in GetExtensionFunctions()
168 if (error != ERR(NONE)) { in GetExtensionFunctions()
186 ERR(MUST_POSSESS_CAPABILITY), in GetExtensionFunctions()
187 ERR(INVALID_CLASS), in GetExtensionFunctions()
188 ERR(NULL_POINTER), in GetExtensionFunctions()
190 if (error != ERR(NONE)) { in GetExtensionFunctions()
204 { ERR(NULL_POINTER) }); in GetExtensionFunctions()
205 if (error != ERR(NONE)) { in GetExtensionFunctions()
[all …]
Dti_jni.cc49 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()
Dti_method.cc114 return ERR(INVALID_METHODID); in GetBytecodes()
119 return ERR(NATIVE_METHOD); in GetBytecodes()
123 return ERR(NULL_POINTER); in GetBytecodes()
147 return ERR(INVALID_METHODID); in GetArgumentsSize()
152 return ERR(NATIVE_METHOD); in GetArgumentsSize()
156 return ERR(NULL_POINTER); in GetArgumentsSize()
168 return ERR(NONE); in GetArgumentsSize()
174 return ERR(NONE); in GetArgumentsSize()
182 return ERR(INVALID_METHODID); in GetLocalVariableTable()
187 return ERR(NATIVE_METHOD); in GetLocalVariableTable()
[all …]
Dti_thread.cc165 return ERR(NONE); in GetCurrentThread()
177 *err = ERR(INVALID_THREAD); in GetNativeThread()
192 *err = ERR(THREAD_NOT_ALIVE); in GetAliveNativeThread()
201 return ERR(NULL_POINTER); in GetThreadInfo()
212 jvmtiError err = ERR(INTERNAL); in GetThreadInfo()
317 return ERR(NONE); in GetThreadInfo()
506 return ERR(NULL_POINTER); in GetThreadState()
524 jvmtiError err = ERR(INTERNAL); in GetThreadState()
546 return ERR(NONE); in GetThreadState()
553 return ERR(WRONG_PHASE); in GetThreadState()
[all …]
Dti_object.cc47 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()
Dti_search.cc220 return ERR(WRONG_PHASE); in AddToBootstrapClassLoaderSearch()
223 return ERR(WRONG_PHASE); in AddToBootstrapClassLoaderSearch()
226 return ERR(NULL_POINTER); in AddToBootstrapClassLoaderSearch()
235 return ERR(ILLEGAL_ARGUMENT); in AddToBootstrapClassLoaderSearch()
243 return ERR(NONE); in AddToBootstrapClassLoaderSearch()
249 return ERR(NULL_POINTER); in AddToSystemClassLoaderSearch()
258 return ERR(NONE); in AddToSystemClassLoaderSearch()
260 return ERR(WRONG_PHASE); in AddToSystemClassLoaderSearch()
266 return ERR(INTERNAL); in AddToSystemClassLoaderSearch()
276 return ERR(INTERNAL); in AddToSystemClassLoaderSearch()
[all …]
Dti_properties.cc96 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()
Dti_class.cc547 return ERR(INVALID_CLASS); in GetClassFields()
554 return ERR(CLASS_NOT_PREPARED); in GetClassFields()
558 return ERR(NULL_POINTER); in GetClassFields()
567 if (allocError != ERR(NONE)) { in GetClassFields()
585 return ERR(NONE); in GetClassFields()
595 return ERR(INVALID_CLASS); in GetClassMethods()
602 return ERR(CLASS_NOT_PREPARED); in GetClassMethods()
606 return ERR(NULL_POINTER); in GetClassMethods()
612 if (allocError != ERR(NONE)) { in GetClassMethods()
634 return ERR(NONE); in GetClassMethods()
[all …]
Dti_stack.cc165 return ERR(ILLEGAL_ARGUMENT); in TranslateFrameVector()
172 return ERR(NONE); in TranslateFrameVector()
177 return ERR(ILLEGAL_ARGUMENT); in TranslateFrameVector()
185 return ERR(NONE); in TranslateFrameVector()
227 jvmtiError thread_error = ERR(INTERNAL); in GetStackTrace()
237 return ERR(THREAD_NOT_ALIVE); in GetStackTrace()
242 return ERR(ILLEGAL_ARGUMENT); in GetStackTrace()
246 return ERR(NULL_POINTER); in GetStackTrace()
252 return ERR(NONE); in GetStackTrace()
262 return ERR(THREAD_NOT_ALIVE); in GetStackTrace()
[all …]
Dti_threadgroup.cc60 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()
152 return ERR(NONE); in GetThreadGroupInfo()
222 return ERR(INVALID_THREAD_GROUP); in GetThreadGroupChildren()
228 return ERR(INVALID_THREAD_GROUP); in GetThreadGroupChildren()
[all …]
Dti_allocator.cc53 return ERR(NULL_POINTER); in GetGlobalJvmtiAllocationState()
63 return ERR(ILLEGAL_ARGUMENT); in Allocate()
70 return ERR(OUT_OF_MEMORY); in Allocate()
Dti_breakpoint.cc91 return ERR(INVALID_METHODID); in SetBreakpoint()
97 return ERR(INVALID_LOCATION); in SetBreakpoint()
109 return ERR(DUPLICATE); in SetBreakpoint()
115 return ERR(INVALID_METHODID); in ClearBreakpoint()
123 return ERR(NOT_FOUND); in ClearBreakpoint()
Dti_ddms.cc53 return ERR(NULL_POINTER); in HandleChunk()
56 return ERR(ILLEGAL_ARGUMENT); in HandleChunk()
73 return ERR(INTERNAL); in HandleChunk()
Dart_jvmti.h117 #define ERR(e) JVMTI_ERROR_ ## e macro
121 static constexpr jvmtiError ERR(NOT_IMPLEMENTED) = JVMTI_ERROR_NOT_AVAILABLE;
146 CHECK(ret == ERR(NONE)); in operator()
167 CHECK(ret == ERR(NONE)); in operator()
194 if (*error != ERR(NONE)) { in AllocJvmtiUniquePtr()
207 if (*error != ERR(NONE)) { in AllocJvmtiUniquePtr()
Dtransform.cc301 return ERR(INVALID_ENVIRONMENT); in RetransformClasses()
304 return ERR(ILLEGAL_ARGUMENT); in RetransformClasses()
310 return ERR(NULL_POINTER); in RetransformClasses()
340 return ERR(INTERNAL); in GetClassLocation()
Dti_phase.cc102 return ERR(NULL_POINTER); in GetPhase()
111 return ERR(NONE); in GetPhase()
Djvmti_weak_table-inl.h313 return ERR(ILLEGAL_ARGUMENT);
318 return ERR(ILLEGAL_ARGUMENT);
323 return ERR(NULL_POINTER);
326 return ERR(NULL_POINTER);
385 return ERR(NONE);
Dti_heap.cc665 return ERR(NULL_POINTER); in DoIterateThroughHeap()
732 return ERR(NONE); in DoIterateThroughHeap()
1302 return ERR(NULL_POINTER); in FollowReferences()
1335 return ERR(NONE); in FollowReferences()
1342 return ERR(NULL_POINTER); in GetLoadedClasses()
1372 if (alloc_ret != ERR(NONE)) { in GetLoadedClasses()
1382 return ERR(NONE); in GetLoadedClasses()
1388 return ERR(NONE); in ForceGarbageCollection()
1425 return ERR(NULL_POINTER); in GetObjectHeapId()
1435 return ERR(NOT_FOUND); in GetObjectHeapId()
[all …]
Devents.cc81 return ERR(ILLEGAL_ARGUMENT); in Set()
1118 return ERR(THREAD_NOT_ALIVE); in SetEvent()
1121 return ERR(ILLEGAL_ARGUMENT); in SetEvent()
1126 return ERR(ILLEGAL_ARGUMENT); in SetEvent()
1130 return ERR(INVALID_EVENT_TYPE); in SetEvent()
1134 return ERR(MUST_POSSESS_CAPABILITY); in SetEvent()
1164 return ERR(NONE); in SetEvent()
Dti_redefine.h230 result_(ERR(INTERNAL)), in Redefiner()
/art/dt_fd_forward/
Ddt_fd_forward.h59 #define ERR(e) JDWPTRANSPORT_ERROR_ ## e macro
60 static constexpr jdwpTransportError OK = ERR(NONE);
Ddt_fd_forward.cc111 return ERR(ILLEGAL_STATE); in SetupListen()
357 return ERR(ILLEGAL_STATE); in Accept()
366 return ERR(IO_ERROR); in Accept()
432 ChangeState(TransportState::kOpen, TransportState::kClosed) ? OK : ERR(ILLEGAL_STATE); in Close()
563 return ERR(ILLEGAL_ARGUMENT); in ReadPacket()
569 return ERR(IO_ERROR); in ReadPacket()
620 return ERR(ILLEGAL_ARGUMENT); in WritePacket()
626 return ERR(IO_ERROR); in WritePacket()
657 return ERR(ILLEGAL_ARGUMENT); in ParseAddress()
679 return ERR(ILLEGAL_ARGUMENT); in Attach()
[all …]

12