Searched refs:desired_array (Results 1 – 1 of 1) sorted by relevance
152 jbyteArray desired_array = SupportsAndIsJVM<kType>() ? class_file_bytes[i] : dex_file_bytes[i]; in DoMultiClassRedefine() local153 jint len = static_cast<jint>(env->GetArrayLength(desired_array)); in DoMultiClassRedefine()155 env->GetByteArrayElements(desired_array, nullptr)); in DoMultiClassRedefine()338 const std::vector<unsigned char>& desired_array = IsJVM() ? res.class_bytes : res.dex_bytes; in CommonClassFileLoadHookRetransformable() local340 CHECK_EQ(JVMTI_ERROR_NONE, jvmti_env->Allocate(desired_array.size(), &new_data)); in CommonClassFileLoadHookRetransformable()341 memcpy(new_data, desired_array.data(), desired_array.size()); in CommonClassFileLoadHookRetransformable()343 *new_class_data_len = desired_array.size(); in CommonClassFileLoadHookRetransformable()