Lines Matching refs:err
75 jvmtiError err;
86 err = (*jvmti)->GetMethodDeclaringClass(jvmti, id,
88 check_jvmti_error(jvmti, err, "get method declaring class");
90 err = (*jvmti)->GetClassSignature(jvmti, declaringclassptr,
92 check_jvmti_error(jvmti, err, "get class signature");
94 err = (*jvmti)->GetMethodName(jvmti, id, &method_name,
96 check_jvmti_error(jvmti, err, "get method name");
104 err = (*jvmti)->Deallocate(jvmti, (unsigned char*)method_name);
105 check_jvmti_error(jvmti, err, "deallocate method_name");
108 err = (*jvmti)->Deallocate(jvmti,
110 check_jvmti_error(jvmti, err, "deallocate method_signature");
113 err = (*jvmti)->Deallocate(jvmti,
115 check_jvmti_error(jvmti, err, "deallocate generic_ptr_method");
118 err = (*jvmti)->Deallocate(jvmti, (unsigned char*)class_name);
119 check_jvmti_error(jvmti, err, "deallocate class_name");
122 err = (*jvmti)->Deallocate(jvmti,
124 check_jvmti_error(jvmti, err, "deallocate class_signature");
127 err = (*jvmti)->Deallocate(jvmti,
129 check_jvmti_error(jvmti, err, "deallocate generic_ptr_class");
186 jvmtiError err;
192 err = (*jvmti)->RawMonitorEnter(jvmti, lock);
193 check_jvmti_error(jvmti, err, "raw monitor enter");
195 err = (*jvmti)->GetMethodName(jvmti, method, &name, &signature,
197 check_jvmti_error(jvmti, err, "get method name");
208 err = (*jvmti)->Deallocate(jvmti, (unsigned char*)name);
209 check_jvmti_error(jvmti, err, "deallocate name");
212 err = (*jvmti)->Deallocate(jvmti, (unsigned char*)signature);
213 check_jvmti_error(jvmti, err, "deallocate signature");
216 err = (*jvmti)->Deallocate(jvmti, (unsigned char*)generic_ptr);
217 check_jvmti_error(jvmti, err, "deallocate generic_ptr");
220 err = (*jvmti)->RawMonitorExit(jvmti, lock);
221 check_jvmti_error(jvmti, err, "raw monitor exit");
231 jvmtiError err;
252 err = (*jvmti)->AddCapabilities(jvmti, &capabilities);
253 check_jvmti_error(jvmti, err, "add capabilities");
258 err = (*jvmti)->SetEventCallbacks(jvmti, &callbacks, sizeof(callbacks));
259 check_jvmti_error(jvmti, err, "set event callbacks");
262 err = (*jvmti)->SetEventNotificationMode(jvmti, JVMTI_ENABLE,
264 check_jvmti_error(jvmti, err, "set event notify");
267 err = (*jvmti)->CreateRawMonitor(jvmti, "agent lock", &lock);
268 check_jvmti_error(jvmti, err, "create raw monitor");