Home
last modified time | relevance | path

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

12

/art/openjdkjvmti/
Dti_extension.cc75 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 …]
Dti_field.cc138 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 …]
Dti_search.cc227 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 …]
Dti_monitor.cc232 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 …]
Dti_method.cc136 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 …]
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_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_class.cc553 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 …]
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_thread.cc220 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 …]
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_logging.cc47 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()
Dti_stack.cc200 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 …]
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()
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 …]
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_ddms.cc54 return ERR(NULL_POINTER); in HandleChunk()
57 return ERR(ILLEGAL_ARGUMENT); in HandleChunk()
74 return ERR(INTERNAL); in HandleChunk()
Dart_jvmti.h130 #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()
Dti_breakpoint.cc154 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()
Dti_dump.cc78 return ERR(INVALID_ENVIRONMENT); in DumpInternalState()
80 return ERR(NULL_POINTER); in DumpInternalState()
DOpenjdkJvmTi.cc88 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 …]
Dti_redefine.cc369 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 …]
Dtransform.cc162 return ERR(ILLEGAL_ARGUMENT); in RetransformClasses()
168 return ERR(NULL_POINTER); in RetransformClasses()
212 return ERR(INTERNAL); in GetClassLocation()
Djvmti_weak_table-inl.h315 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/
Ddt_fd_forward.cc124 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 …]
Ddt_fd_forward.h59 #define ERR(e) JDWPTRANSPORT_ERROR_ ## e macro
60 static constexpr jdwpTransportError OK = ERR(NONE);

12