Searched refs:local_data (Results 1 – 4 of 4) sorted by relevance
69 unsigned char* local_data = nullptr; in OnAttach() local70 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()
107 unsigned char* local_data = nullptr; in OnLoad() local108 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()
75 void* local_data; member
1288 reinterpret_cast<ArtJvmTiEnv*>(env)->local_data = const_cast<void*>(data); in SetEnvironmentLocalStorage()1294 *data_ptr = reinterpret_cast<ArtJvmTiEnv*>(env)->local_data; in GetEnvironmentLocalStorage()1458 local_data(nullptr), in ArtJvmTiEnv()