Home
last modified time | relevance | path

Searched refs:local_data (Results 1 – 4 of 4) sorted by relevance

/art/test/909-attach-agent/
Dattach.cc69 unsigned char* local_data = nullptr; in OnAttach() local
70 CHECK_CALL_SUCCESS(env->Allocate(8, &local_data)); in OnAttach()
71 strcpy(reinterpret_cast<char*>(local_data), "hello!!"); in OnAttach()
72 CHECK_CALL_SUCCESS(env->SetEnvironmentLocalStorage(local_data)); in OnAttach()
75 if (get_data != local_data) { in OnAttach()
84 CHECK_CALL_SUCCESS(env->Deallocate(local_data)); in OnAttach()
/art/test/901-hello-ti-agent/
Dbasics.cc107 unsigned char* local_data = nullptr; in OnLoad() local
108 CHECK_CALL_SUCCESS(env->Allocate(8, &local_data)); in OnLoad()
109 strcpy(reinterpret_cast<char*>(local_data), "hello!!"); in OnLoad()
110 CHECK_CALL_SUCCESS(env->SetEnvironmentLocalStorage(local_data)); in OnLoad()
113 if (get_data != local_data) { in OnLoad()
122 CHECK_CALL_SUCCESS(env->Deallocate(local_data)); in OnLoad()
/art/openjdkjvmti/
Dart_jvmti.h75 void* local_data; member
DOpenjdkJvmTi.cc1318 reinterpret_cast<ArtJvmTiEnv*>(env)->local_data = const_cast<void*>(data); in SetEnvironmentLocalStorage()
1324 *data_ptr = reinterpret_cast<ArtJvmTiEnv*>(env)->local_data; in GetEnvironmentLocalStorage()
1486 local_data(nullptr), in ArtJvmTiEnv()