Lines Matching defs:env

98   static jvmtiError getEnvironmentError(jvmtiEnv* env) {  in getEnvironmentError()
108 #define ENSURE_VALID_ENV(env) \ argument
116 #define ENSURE_HAS_CAP(env, cap) \ argument
124 static jvmtiError Allocate(jvmtiEnv* env, jlong size, unsigned char** mem_ptr) { in Allocate()
134 static jvmtiError Deallocate(jvmtiEnv* env, unsigned char* mem) { in Deallocate()
143 static jvmtiError GetThreadState(jvmtiEnv* env, jthread thread, jint* thread_state_ptr) { in GetThreadState()
148 static jvmtiError GetCurrentThread(jvmtiEnv* env, jthread* thread_ptr) { in GetCurrentThread()
153 static jvmtiError GetAllThreads(jvmtiEnv* env, jint* threads_count_ptr, jthread** threads_ptr) { in GetAllThreads()
158 static jvmtiError SuspendThread(jvmtiEnv* env, jthread thread) { in SuspendThread()
164 static jvmtiError SuspendThreadList(jvmtiEnv* env, in SuspendThreadList()
173 static jvmtiError ResumeThread(jvmtiEnv* env, jthread thread) { in ResumeThread()
179 static jvmtiError ResumeThreadList(jvmtiEnv* env, in ResumeThreadList()
188 static jvmtiError StopThread(jvmtiEnv* env, jthread thread, jobject exception) { in StopThread()
194 static jvmtiError InterruptThread(jvmtiEnv* env, jthread thread) { in InterruptThread()
200 static jvmtiError GetThreadInfo(jvmtiEnv* env, jthread thread, jvmtiThreadInfo* info_ptr) { in GetThreadInfo()
205 static jvmtiError GetOwnedMonitorInfo(jvmtiEnv* env, in GetOwnedMonitorInfo()
217 static jvmtiError GetOwnedMonitorStackDepthInfo(jvmtiEnv* env, in GetOwnedMonitorStackDepthInfo()
229 static jvmtiError GetCurrentContendedMonitor(jvmtiEnv* env, in GetCurrentContendedMonitor()
237 static jvmtiError RunAgentThread(jvmtiEnv* env, in RunAgentThread()
246 static jvmtiError SetThreadLocalStorage(jvmtiEnv* env, jthread thread, const void* data) { in SetThreadLocalStorage()
251 static jvmtiError GetThreadLocalStorage(jvmtiEnv* env, jthread thread, void** data_ptr) { in GetThreadLocalStorage()
256 static jvmtiError GetTopThreadGroups(jvmtiEnv* env, in GetTopThreadGroups()
263 static jvmtiError GetThreadGroupInfo(jvmtiEnv* env, in GetThreadGroupInfo()
270 static jvmtiError GetThreadGroupChildren(jvmtiEnv* env, in GetThreadGroupChildren()
285 static jvmtiError GetStackTrace(jvmtiEnv* env, in GetStackTrace()
300 static jvmtiError GetAllStackTraces(jvmtiEnv* env, in GetAllStackTraces()
308 static jvmtiError GetThreadListStackTraces(jvmtiEnv* env, in GetThreadListStackTraces()
321 static jvmtiError GetFrameCount(jvmtiEnv* env, jthread thread, jint* count_ptr) { in GetFrameCount()
326 static jvmtiError PopFrame(jvmtiEnv* env, jthread thread) { in PopFrame()
332 static jvmtiError GetFrameLocation(jvmtiEnv* env, in GetFrameLocation()
341 static jvmtiError NotifyFramePop(jvmtiEnv* env, jthread thread, jint depth) { in NotifyFramePop()
347 static jvmtiError ForceEarlyReturnObject(jvmtiEnv* env, in ForceEarlyReturnObject()
355 static jvmtiError ForceEarlyReturnInt(jvmtiEnv* env, in ForceEarlyReturnInt()
363 static jvmtiError ForceEarlyReturnLong(jvmtiEnv* env, in ForceEarlyReturnLong()
371 static jvmtiError ForceEarlyReturnFloat(jvmtiEnv* env, in ForceEarlyReturnFloat()
379 static jvmtiError ForceEarlyReturnDouble(jvmtiEnv* env, in ForceEarlyReturnDouble()
387 static jvmtiError ForceEarlyReturnVoid(jvmtiEnv* env, jthread thread ATTRIBUTE_UNUSED) { in ForceEarlyReturnVoid()
393 static jvmtiError FollowReferences(jvmtiEnv* env, in FollowReferences()
410 static jvmtiError IterateThroughHeap(jvmtiEnv* env, in IterateThroughHeap()
421 static jvmtiError GetTag(jvmtiEnv* env, jobject object, jlong* tag_ptr) { in GetTag()
439 static jvmtiError SetTag(jvmtiEnv* env, jobject object, jlong tag) { in SetTag()
459 static jvmtiError GetObjectsWithTags(jvmtiEnv* env, in GetObjectsWithTags()
482 static jvmtiError ForceGarbageCollection(jvmtiEnv* env) { in ForceGarbageCollection()
488 jvmtiEnv* env, in IterateOverObjectsReachableFromObject()
498 jvmtiEnv* env, in IterateOverReachableObjects()
508 static jvmtiError IterateOverHeap(jvmtiEnv* env, in IterateOverHeap()
518 jvmtiEnv* env, in IterateOverInstancesOfClass()
530 static jvmtiError GetLocalObject(jvmtiEnv* env, in GetLocalObject()
540 static jvmtiError GetLocalInstance(jvmtiEnv* env, in GetLocalInstance()
549 static jvmtiError GetLocalInt(jvmtiEnv* env, in GetLocalInt()
559 static jvmtiError GetLocalLong(jvmtiEnv* env, in GetLocalLong()
569 static jvmtiError GetLocalFloat(jvmtiEnv* env, in GetLocalFloat()
579 static jvmtiError GetLocalDouble(jvmtiEnv* env, in GetLocalDouble()
589 static jvmtiError SetLocalObject(jvmtiEnv* env, in SetLocalObject()
599 static jvmtiError SetLocalInt(jvmtiEnv* env, in SetLocalInt()
609 static jvmtiError SetLocalLong(jvmtiEnv* env, in SetLocalLong()
619 static jvmtiError SetLocalFloat(jvmtiEnv* env, in SetLocalFloat()
629 static jvmtiError SetLocalDouble(jvmtiEnv* env, in SetLocalDouble()
640 static jvmtiError SetBreakpoint(jvmtiEnv* env, jmethodID method, jlocation location) { in SetBreakpoint()
646 static jvmtiError ClearBreakpoint(jvmtiEnv* env, jmethodID method, jlocation location) { in ClearBreakpoint()
652 static jvmtiError SetFieldAccessWatch(jvmtiEnv* env, jclass klass, jfieldID field) { in SetFieldAccessWatch()
658 static jvmtiError ClearFieldAccessWatch(jvmtiEnv* env, jclass klass, jfieldID field) { in ClearFieldAccessWatch()
664 static jvmtiError SetFieldModificationWatch(jvmtiEnv* env, jclass klass, jfieldID field) { in SetFieldModificationWatch()
670 static jvmtiError ClearFieldModificationWatch(jvmtiEnv* env, jclass klass, jfieldID field) { in ClearFieldModificationWatch()
676 static jvmtiError GetLoadedClasses(jvmtiEnv* env, jint* class_count_ptr, jclass** classes_ptr) { in GetLoadedClasses()
682 static jvmtiError GetClassLoaderClasses(jvmtiEnv* env, in GetClassLoaderClasses()
690 static jvmtiError GetClassSignature(jvmtiEnv* env, in GetClassSignature()
698 static jvmtiError GetClassStatus(jvmtiEnv* env, jclass klass, jint* status_ptr) { in GetClassStatus()
703 static jvmtiError GetSourceFileName(jvmtiEnv* env, jclass klass, char** source_name_ptr) { in GetSourceFileName()
709 static jvmtiError GetClassModifiers(jvmtiEnv* env, jclass klass, jint* modifiers_ptr) { in GetClassModifiers()
714 static jvmtiError GetClassMethods(jvmtiEnv* env, in GetClassMethods()
722 static jvmtiError GetClassFields(jvmtiEnv* env, in GetClassFields()
730 static jvmtiError GetImplementedInterfaces(jvmtiEnv* env, in GetImplementedInterfaces()
738 static jvmtiError GetClassVersionNumbers(jvmtiEnv* env, in GetClassVersionNumbers()
746 static jvmtiError GetConstantPool(jvmtiEnv* env, in GetConstantPool()
756 static jvmtiError IsInterface(jvmtiEnv* env, jclass klass, jboolean* is_interface_ptr) { in IsInterface()
761 static jvmtiError IsArrayClass(jvmtiEnv* env, in IsArrayClass()
768 static jvmtiError IsModifiableClass(jvmtiEnv* env, in IsModifiableClass()
775 static jvmtiError GetClassLoader(jvmtiEnv* env, jclass klass, jobject* classloader_ptr) { in GetClassLoader()
780 static jvmtiError GetSourceDebugExtension(jvmtiEnv* env, in GetSourceDebugExtension()
788 static jvmtiError RetransformClasses(jvmtiEnv* env, jint class_count, const jclass* classes) { in RetransformClasses()
805 static jvmtiError RedefineClasses(jvmtiEnv* env, in RedefineClasses()
824 static jvmtiError GetObjectSize(jvmtiEnv* env, jobject object, jlong* size_ptr) { in GetObjectSize()
829 static jvmtiError GetObjectHashCode(jvmtiEnv* env, jobject object, jint* hash_code_ptr) { in GetObjectHashCode()
834 static jvmtiError GetObjectMonitorUsage(jvmtiEnv* env, in GetObjectMonitorUsage()
842 static jvmtiError GetFieldName(jvmtiEnv* env, in GetFieldName()
852 static jvmtiError GetFieldDeclaringClass(jvmtiEnv* env, in GetFieldDeclaringClass()
860 static jvmtiError GetFieldModifiers(jvmtiEnv* env, in GetFieldModifiers()
868 static jvmtiError IsFieldSynthetic(jvmtiEnv* env, in IsFieldSynthetic()
877 static jvmtiError GetMethodName(jvmtiEnv* env, in GetMethodName()
886 static jvmtiError GetMethodDeclaringClass(jvmtiEnv* env, in GetMethodDeclaringClass()
893 static jvmtiError GetMethodModifiers(jvmtiEnv* env, in GetMethodModifiers()
900 static jvmtiError GetMaxLocals(jvmtiEnv* env, in GetMaxLocals()
907 static jvmtiError GetArgumentsSize(jvmtiEnv* env, in GetArgumentsSize()
914 static jvmtiError GetLineNumberTable(jvmtiEnv* env, in GetLineNumberTable()
923 static jvmtiError GetMethodLocation(jvmtiEnv* env, in GetMethodLocation()
931 static jvmtiError GetLocalVariableTable(jvmtiEnv* env, in GetLocalVariableTable()
940 static jvmtiError GetBytecodes(jvmtiEnv* env, in GetBytecodes()
949 static jvmtiError IsMethodNative(jvmtiEnv* env, jmethodID method, jboolean* is_native_ptr) { in IsMethodNative()
954 static jvmtiError IsMethodSynthetic(jvmtiEnv* env, jmethodID method, jboolean* is_synthetic_ptr) { in IsMethodSynthetic()
960 static jvmtiError IsMethodObsolete(jvmtiEnv* env, jmethodID method, jboolean* is_obsolete_ptr) { in IsMethodObsolete()
965 static jvmtiError SetNativeMethodPrefix(jvmtiEnv* env, const char* prefix ATTRIBUTE_UNUSED) { in SetNativeMethodPrefix()
971 static jvmtiError SetNativeMethodPrefixes(jvmtiEnv* env, in SetNativeMethodPrefixes()
979 static jvmtiError CreateRawMonitor(jvmtiEnv* env, const char* name, jrawMonitorID* monitor_ptr) { in CreateRawMonitor()
984 static jvmtiError DestroyRawMonitor(jvmtiEnv* env, jrawMonitorID monitor) { in DestroyRawMonitor()
989 static jvmtiError RawMonitorEnter(jvmtiEnv* env, jrawMonitorID monitor) { in RawMonitorEnter()
994 static jvmtiError RawMonitorExit(jvmtiEnv* env, jrawMonitorID monitor) { in RawMonitorExit()
999 static jvmtiError RawMonitorWait(jvmtiEnv* env, jrawMonitorID monitor, jlong millis) { in RawMonitorWait()
1004 static jvmtiError RawMonitorNotify(jvmtiEnv* env, jrawMonitorID monitor) { in RawMonitorNotify()
1009 static jvmtiError RawMonitorNotifyAll(jvmtiEnv* env, jrawMonitorID monitor) { in RawMonitorNotifyAll()
1014 static jvmtiError SetJNIFunctionTable(jvmtiEnv* env, const jniNativeInterface* function_table) { in SetJNIFunctionTable()
1019 static jvmtiError GetJNIFunctionTable(jvmtiEnv* env, jniNativeInterface** function_table) { in GetJNIFunctionTable()
1026 static jvmtiError SetEventCallbacks(jvmtiEnv* env, in SetEventCallbacks()
1058 static jvmtiError SetEventNotificationMode(jvmtiEnv* env, in SetEventNotificationMode()
1071 static jvmtiError GenerateEvents(jvmtiEnv* env, in GenerateEvents()
1077 static jvmtiError GetExtensionFunctions(jvmtiEnv* env, in GetExtensionFunctions()
1086 static jvmtiError GetExtensionEvents(jvmtiEnv* env, in GetExtensionEvents()
1095 static jvmtiError SetExtensionEventCallback(jvmtiEnv* env, in SetExtensionEventCallback()
1148 static jvmtiError GetPotentialCapabilities(jvmtiEnv* env, jvmtiCapabilities* capabilities_ptr) { in GetPotentialCapabilities()
1166 static jvmtiError AddCapabilities(jvmtiEnv* env, const jvmtiCapabilities* capabilities_ptr) { in AddCapabilities()
1199 static jvmtiError RelinquishCapabilities(jvmtiEnv* env, in RelinquishCapabilities()
1225 static jvmtiError GetCapabilities(jvmtiEnv* env, jvmtiCapabilities* capabilities_ptr) { in GetCapabilities()
1233 static jvmtiError GetCurrentThreadCpuTimerInfo(jvmtiEnv* env, in GetCurrentThreadCpuTimerInfo()
1240 static jvmtiError GetCurrentThreadCpuTime(jvmtiEnv* env, jlong* nanos_ptr ATTRIBUTE_UNUSED) { in GetCurrentThreadCpuTime()
1246 static jvmtiError GetThreadCpuTimerInfo(jvmtiEnv* env, in GetThreadCpuTimerInfo()
1253 static jvmtiError GetThreadCpuTime(jvmtiEnv* env, in GetThreadCpuTime()
1261 static jvmtiError GetTimerInfo(jvmtiEnv* env, jvmtiTimerInfo* info_ptr) { in GetTimerInfo()
1266 static jvmtiError GetTime(jvmtiEnv* env, jlong* nanos_ptr) { in GetTime()
1271 static jvmtiError GetAvailableProcessors(jvmtiEnv* env, jint* processor_count_ptr) { in GetAvailableProcessors()
1276 static jvmtiError AddToBootstrapClassLoaderSearch(jvmtiEnv* env, const char* segment) { in AddToBootstrapClassLoaderSearch()
1281 static jvmtiError AddToSystemClassLoaderSearch(jvmtiEnv* env, const char* segment) { in AddToSystemClassLoaderSearch()
1286 static jvmtiError GetSystemProperties(jvmtiEnv* env, jint* count_ptr, char*** property_ptr) { in GetSystemProperties()
1291 static jvmtiError GetSystemProperty(jvmtiEnv* env, const char* property, char** value_ptr) { in GetSystemProperty()
1296 static jvmtiError SetSystemProperty(jvmtiEnv* env, const char* property, const char* value) { in SetSystemProperty()
1301 static jvmtiError GetPhase(jvmtiEnv* env, jvmtiPhase* phase_ptr) { in GetPhase()
1306 static jvmtiError DisposeEnvironment(jvmtiEnv* env) { in DisposeEnvironment()
1316 static jvmtiError SetEnvironmentLocalStorage(jvmtiEnv* env, const void* data) { in SetEnvironmentLocalStorage()
1322 static jvmtiError GetEnvironmentLocalStorage(jvmtiEnv* env, void** data_ptr) { in GetEnvironmentLocalStorage()
1328 static jvmtiError GetVersionNumber(jvmtiEnv* env, jint* version_ptr) { in GetVersionNumber()
1334 static jvmtiError GetErrorName(jvmtiEnv* env, jvmtiError error, char** name_ptr) { in GetErrorName()
1405 static jvmtiError SetVerboseFlag(jvmtiEnv* env, in SetVerboseFlag()
1463 static jvmtiError GetJLocationFormat(jvmtiEnv* env, jvmtiJlocationFormat* format_ptr) { in GetJLocationFormat()
1498 struct ArtJvmTiEnv* env = new ArtJvmTiEnv(vm, gEventHandler, version); in CreateArtJvmTiEnv() local
1510 static jint GetEnvHandler(art::JavaVMExt* vm, /*out*/void** env, jint version) { in GetEnvHandler()