Searched refs:local_data (Results 1 – 3 of 3) 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