Home
last modified time | relevance | path

Searched refs:CHECK_CALL_SUCCESS (Results 1 – 3 of 3) sorted by relevance

/art/test/909-attach-agent/
Dattach.cc44 #define CHECK_CALL_SUCCESS(c) \ in OnAttach() macro
54 CHECK_CALL_SUCCESS(env->DisposeEnvironment()); in OnAttach()
64 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&env2), JVMTI_VERSION_1_0)); in OnAttach()
70 CHECK_CALL_SUCCESS(env->Allocate(8, &local_data)); in OnAttach()
72 CHECK_CALL_SUCCESS(env->SetEnvironmentLocalStorage(local_data)); in OnAttach()
74 CHECK_CALL_SUCCESS(env->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&get_data))); in OnAttach()
79 CHECK_CALL_SUCCESS(env2->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&get_data))); in OnAttach()
84 CHECK_CALL_SUCCESS(env->Deallocate(local_data)); in OnAttach()
86 CHECK_CALL_SUCCESS(env->GetVersionNumber(&version)); in OnAttach()
91 CHECK_CALL_SUCCESS(env->DisposeEnvironment()); in OnAttach()
[all …]
/art/tools/jvmti-agents/jit-load/
Djitload.cc32 #define CHECK_CALL_SUCCESS(c) \ macro
70 CHECK_CALL_SUCCESS(jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&ops))); in DataDumpRequestCb()
79 CHECK_CALL_SUCCESS(jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&ops))); in ClassPrepareJit()
81 CHECK_CALL_SUCCESS(jvmti->GetClassSignature(klass, &klass_name, nullptr)); in ClassPrepareJit()
85 CHECK_CALL_SUCCESS(jvmti->Deallocate(reinterpret_cast<unsigned char*>(klass_name))); in ClassPrepareJit()
107 CHECK_CALL_SUCCESS( in SetupJvmti()
111 CHECK_CALL_SUCCESS(jvmti->SetEnvironmentLocalStorage(ops)); in SetupJvmti()
112 CHECK_CALL_SUCCESS(jvmti->SetEventCallbacks(&cb, sizeof(cb))); in SetupJvmti()
113 CHECK_CALL_SUCCESS(jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_VM_INIT, nullptr)); in SetupJvmti()
114 CHECK_CALL_SUCCESS( in SetupJvmti()
[all …]
/art/test/901-hello-ti-agent/
Dbasics.cc93 #define CHECK_CALL_SUCCESS(c) \ in OnLoad() macro
101 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&env), JVMTI_VERSION_1_0)); in OnLoad()
102 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&env2), JVMTI_VERSION_1_0)); in OnLoad()
108 CHECK_CALL_SUCCESS(env->Allocate(8, &local_data)); in OnLoad()
110 CHECK_CALL_SUCCESS(env->SetEnvironmentLocalStorage(local_data)); in OnLoad()
112 CHECK_CALL_SUCCESS(env->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&get_data))); in OnLoad()
117 CHECK_CALL_SUCCESS(env2->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&get_data))); in OnLoad()
122 CHECK_CALL_SUCCESS(env->Deallocate(local_data)); in OnLoad()
124 CHECK_CALL_SUCCESS(env->GetVersionNumber(&version)); in OnLoad()
133 CHECK_CALL_SUCCESS(env->DisposeEnvironment()); in OnLoad()
[all …]