Lines Matching refs:res

83   static jint WrapAttachCurrentThread(ProxyJavaVM* vm, JNIEnv** env, void* res) {  in WrapAttachCurrentThread()
84 return vm->real_vm->AttachCurrentThread(env, res); in WrapAttachCurrentThread()
89 static jint WrapAttachCurrentThreadAsDaemon(ProxyJavaVM* vm, JNIEnv** env, void* res) { in WrapAttachCurrentThreadAsDaemon()
90 return vm->real_vm->AttachCurrentThreadAsDaemon(env, res); in WrapAttachCurrentThreadAsDaemon()
135 jvmtiError res = (*out_iface)->DisposeEnvironment(env); in WrapDisposeEnvironment() local
136 return res; in WrapDisposeEnvironment()
146 jvmtiError res = env->Allocate(val.size() + 1, reinterpret_cast<unsigned char**>(out)); in WrapGetSystemProperty() local
147 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperty()
148 return res; in WrapGetSystemProperty()
162 jvmtiError res = funcs->original_interface->GetSystemProperties(env, &init_cnt, &init_prop_ptr); in WrapGetSystemProperties() local
163 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperties()
164 return res; in WrapGetSystemProperties()
176 res = env->Allocate(all_props.size() * sizeof(char*), in WrapGetSystemProperties()
178 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperties()
179 return res; in WrapGetSystemProperties()
184 res = env->Allocate(p.size() + 1, reinterpret_cast<unsigned char**>(&out_prop_ptr[i])); in WrapGetSystemProperties()
185 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperties()
186 return res; in WrapGetSystemProperties()
198 jvmtiError res = funcs->original_interface->SetSystemProperty(env, prop, val); in WrapSetSystemProperty() local
199 if (res != JVMTI_ERROR_NONE) { in WrapSetSystemProperty()
200 return res; in WrapSetSystemProperty()
236 jint res = vm->real_vm->GetEnv(out_env, version); in CreateJvmtiEnv() local
237 if (res != JNI_OK) { in CreateJvmtiEnv()
239 return res; in CreateJvmtiEnv()