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_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_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()
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 …]
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_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()
196 return ERR(NONE); in GetArgumentsSize()
204 return ERR(INVALID_METHODID); in GetLocalVariableTable()
209 return ERR(NATIVE_METHOD); in GetLocalVariableTable()
[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_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_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.cc556 return ERR(INVALID_CLASS); in GetClassFields()
563 return ERR(CLASS_NOT_PREPARED); in GetClassFields()
567 return ERR(NULL_POINTER); in GetClassFields()
576 if (allocError != ERR(NONE)) { in GetClassFields()
594 return ERR(NONE); in GetClassFields()
604 return ERR(INVALID_CLASS); in GetClassMethods()
611 return ERR(CLASS_NOT_PREPARED); in GetClassMethods()
615 return ERR(NULL_POINTER); in GetClassMethods()
621 if (allocError != ERR(NONE)) { in GetClassMethods()
643 return ERR(NONE); in GetClassMethods()
[all …]
Dti_thread.cc226 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 …]
Dti_logging.cc44 return ERR(INVALID_ENVIRONMENT); in GetLastError()
49 return ERR(ABSENT_INFORMATION); in GetLastError()
64 return ERR(INVALID_ENVIRONMENT); in ClearLastError()
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()
155 return ERR(NONE); in GetThreadGroupInfo()
224 return ERR(INVALID_THREAD_GROUP); in GetThreadGroupChildren()
230 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_stack.cc202 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 …]
Dti_ddms.cc54 return ERR(NULL_POINTER); in HandleChunk()
57 return ERR(ILLEGAL_ARGUMENT); in HandleChunk()
74 return ERR(INTERNAL); in HandleChunk()
Dart_jvmti.h121 #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()
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); \
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 …]
Dti_redefine.cc345 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 …]
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);
/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.cc122 return ERR(ILLEGAL_STATE); in SetupListen()
368 return ERR(ILLEGAL_STATE); in Accept()
377 return ERR(IO_ERROR); in Accept()
443 ChangeState(TransportState::kOpen, TransportState::kClosed) ? OK : ERR(ILLEGAL_STATE); in Close()
574 return ERR(ILLEGAL_ARGUMENT); in ReadPacket()
580 return ERR(IO_ERROR); in ReadPacket()
631 return ERR(ILLEGAL_ARGUMENT); in WritePacket()
637 return ERR(IO_ERROR); in WritePacket()
668 return ERR(ILLEGAL_ARGUMENT); in ParseAddress()
690 return ERR(ILLEGAL_ARGUMENT); in Attach()
[all …]

12