Home | History | Annotate | Download | only in jdwp

Lines Matching refs:JdwpError

65 static JdwpError WriteTaggedObject(ExpandBuf* reply, ObjectId object_id)
68 JdwpError rc = Dbg::GetObjectTag(object_id, tag);
76 static JdwpError WriteTaggedObjectList(ExpandBuf* reply, const std::vector<ObjectId>& objects)
80 JdwpError rc = WriteTaggedObject(reply, objects[i]);
94 static JdwpError FinishInvoke(JdwpState*, Request& request, ExpandBuf* pReply,
127 JdwpError err = Dbg::InvokeMethod(thread_id, object_id, class_id, method_id, arg_count, argValues.get(), argTypes.get(), options, &resultTag, &resultValue, &exceptObjId);
156 JDWP::JdwpError error = Dbg::StringToUtf8(resultValue, &result_string);
169 static JdwpError VM_Version(JdwpState*, Request&, ExpandBuf* pReply)
193 static JdwpError VM_ClassesBySignature(JdwpState*, Request& request, ExpandBuf* pReply)
206 JDWP::JdwpError status = Dbg::GetClassInfo(ids[i], &type_tag, &class_status, NULL);
225 static JdwpError VM_AllThreads(JdwpState*, Request&, ExpandBuf* pReply)
241 static JdwpError VM_TopLevelThreadGroups(JdwpState*, Request&, ExpandBuf* pReply)
262 static JdwpError VM_IDSizes(JdwpState*, Request&, ExpandBuf* pReply)
272 static JdwpError VM_Dispose(JdwpState*, Request&, ExpandBuf*)
284 static JdwpError VM_Suspend(JdwpState*, Request&, ExpandBuf*)
296 static JdwpError VM_Resume(JdwpState*, Request&, ExpandBuf*)
303 static JdwpError VM_Exit(JdwpState* state, Request& request, ExpandBuf*)
316 static JdwpError VM_CreateString(JdwpState*, Request& request, ExpandBuf* pReply)
327 static JdwpError VM_ClassPaths(JdwpState*, Request&, ExpandBuf* pReply)
348 static JdwpError VM_DisposeObjects(JdwpState*, Request& request, ExpandBuf*)
359 static JdwpError VM_Capabilities(JdwpState*, Request&, ExpandBuf* reply)
371 static JdwpError VM_CapabilitiesNew(JdwpState*, Request& request, ExpandBuf* reply)
398 static JdwpError VM_AllClassesImpl(ExpandBuf* pReply, bool descriptor_and_status, bool generic)
410 JDWP::JdwpError status = Dbg::GetClassInfo(classes[i], &type_tag, &class_status, &descriptor);
429 static JdwpError VM_AllClasses(JdwpState*, Request&, ExpandBuf* pReply)
434 static JdwpError VM_AllClassesWithGeneric(JdwpState*, Request&, ExpandBuf* pReply)
439 static JdwpError VM_InstanceCounts(JdwpState*, Request& request, ExpandBuf* pReply)
451 JdwpError rc = Dbg::GetInstanceCounts(class_ids, counts);
463 static JdwpError RT_Modifiers(JdwpState*, Request& request, ExpandBuf* pReply)
472 static JdwpError RT_GetValues(JdwpState*, Request& request, ExpandBuf* pReply)
479 JdwpError status = Dbg::GetStaticFieldValue(refTypeId, fieldId, pReply);
490 static JdwpError RT_SourceFile(JdwpState*, Request& request, ExpandBuf* pReply)
494 JdwpError status = Dbg::GetSourceFile(refTypeId, source_file);
505 static JdwpError RT_Status(JdwpState*, Request& request, ExpandBuf* pReply)
510 JDWP::JdwpError status = Dbg::GetClassInfo(refTypeId, &type_tag, &class_status, NULL);
521 static JdwpError RT_Interfaces(JdwpState*, Request& request, ExpandBuf* pReply)
530 static JdwpError RT_ClassObject(JdwpState*, Request& request, ExpandBuf* pReply)
534 JdwpError status = Dbg::GetClassObject(refTypeId, class_object_id);
548 static JdwpError RT_SourceDebugExtension(JdwpState*, Request&, ExpandBuf*)
554 static JdwpError RT_Signature(JdwpState*, Request& request, ExpandBuf* pReply, bool with_generic)
559 JdwpError status = Dbg::GetSignature(refTypeId, &signature);
570 static JdwpError RT_Signature(JdwpState* state, Request& request, ExpandBuf* pReply)
575 static JdwpError RT_SignatureWithGeneric(JdwpState* state, Request& request, ExpandBuf* pReply)
584 static JdwpError RT_ClassLoader(JdwpState*, Request& request, ExpandBuf* pReply)
594 static JdwpError RT_FieldsWithGeneric(JdwpState*, Request& request, ExpandBuf* pReply)
601 static JdwpError RT_Fields(JdwpState*, Request& request, ExpandBuf* pReply)
611 static JdwpError RT_MethodsWithGeneric(JdwpState*, Request& request, ExpandBuf* pReply)
618 static JdwpError RT_Methods(JdwpState*, Request& request, ExpandBuf* pReply)
624 static JdwpError RT_Instances(JdwpState*, Request& request, ExpandBuf* reply)
633 JdwpError rc = Dbg::GetInstances(class_id, max_count, instances);
644 static JdwpError CT_Superclass(JdwpState*, Request& request, ExpandBuf* pReply)
648 JdwpError status = Dbg::GetSuperclass(class_id, superClassId);
659 static JdwpError CT_SetValues(JdwpState* , Request& request, ExpandBuf*)
673 JdwpError status = Dbg::SetStaticFieldValue(fieldId, value, width);
688 static JdwpError CT_InvokeMethod(JdwpState* state, Request& request, ExpandBuf* pReply)
704 static JdwpError CT_NewInstance(JdwpState* state, Request& request, ExpandBuf* pReply)
711 JdwpError status = Dbg::CreateObject(class_id, object_id);
724 static JdwpError AT_newInstance(JdwpState*, Request& request, ExpandBuf* pReply)
730 JdwpError status = Dbg::CreateArrayObject(arrayTypeId, length, object_id);
745 static JdwpError M_LineTable(JdwpState*, Request& request, ExpandBuf* pReply)
755 static JdwpError M_VariableTable(JdwpState*, Request& request, ExpandBuf* pReply,
769 static JdwpError M_VariableTable(JdwpState* state, Request& request, ExpandBuf* pReply)
774 static JdwpError M_VariableTableWithGeneric(JdwpState* state, Request& request, ExpandBuf* pReply)
779 static JdwpError M_Bytecodes(JdwpState*, Request& request, ExpandBuf* reply)
785 JdwpError rc = Dbg::GetBytecodes(class_id, method_id, bytecodes);
805 static JdwpError OR_ReferenceType(JdwpState*, Request& request, ExpandBuf* pReply)
814 static JdwpError OR_GetValues(JdwpState*, Request& request, ExpandBuf* pReply)
822 JdwpError status = Dbg::GetFieldValue(object_id, fieldId, pReply);
834 static JdwpError OR_SetValues(JdwpState*, Request& request, ExpandBuf*)
847 JdwpError status = Dbg::SetFieldValue(object_id, fieldId, value, width);
856 static JdwpError OR_MonitorInfo(JdwpState*, Request& request, ExpandBuf* reply)
873 static JdwpError OR_InvokeMethod(JdwpState* state, Request& request, ExpandBuf* pReply)
883 static JdwpError OR_DisableCollection(JdwpState*, Request& request, ExpandBuf*)
889 static JdwpError OR_EnableCollection(JdwpState*, Request& request, ExpandBuf*)
895 static JdwpError OR_IsCollected(JdwpState*, Request& request, ExpandBuf* pReply)
899 JdwpError rc = Dbg::IsCollected(object_id, is_collected);
904 static JdwpError OR_ReferringObjects(JdwpState*, Request& request, ExpandBuf* reply)
913 JdwpError rc = Dbg::GetReferringObjects(object_id, max_count, referring_objects);
924 static JdwpError SR_Value(JdwpState*, Request& request, ExpandBuf* pReply)
928 JDWP::JdwpError error = Dbg::StringToUtf8(stringObject, &str);
943 static JdwpError TR_Name(JdwpState*, Request& request, ExpandBuf* pReply)
948 JdwpError error = Dbg::GetThreadName(thread_id, name);
964 static JdwpError TR_Suspend(JdwpState*, Request& request, ExpandBuf*)
975 JdwpError result = Dbg::SuspendThread(thread_id);
983 static JdwpError TR_Resume(JdwpState*, Request& request, ExpandBuf*)
1001 static JdwpError TR_Status(JdwpState*, Request& request, ExpandBuf* pReply)
1007 JdwpError error = Dbg::GetThreadStatus(thread_id, &threadStatus, &suspendStatus);
1023 static JdwpError TR_ThreadGroup(JdwpState*, Request& request, ExpandBuf* pReply)
1035 static JdwpError TR_Frames(JdwpState*, Request& request, ExpandBuf* pReply)
1042 JdwpError error = Dbg::GetThreadFrameCount(thread_id, actual_frame_count);
1067 static JdwpError TR_FrameCount(JdwpState*, Request& request, ExpandBuf* pReply)
1072 JdwpError rc = Dbg::GetThreadFrameCount(thread_id, frame_count);
1081 static JdwpError TR_OwnedMonitors(Request& request, ExpandBuf* reply, bool with_stack_depths)
1087 JdwpError rc = Dbg::GetOwnedMonitors(thread_id, monitors, stack_depths);
1105 static JdwpError TR_OwnedMonitors(JdwpState*, Request& request, ExpandBuf* reply)
1110 static JdwpError TR_OwnedMonitorsStackDepthInfo(JdwpState*, Request& request, ExpandBuf* reply)
1115 static JdwpError TR_CurrentContendedMonitor(JdwpState*, Request& request, ExpandBuf* reply)
1120 JdwpError rc = Dbg::GetContendedMonitor(thread_id, contended_monitor);
1127 static JdwpError TR_Interrupt(JdwpState*, Request& request, ExpandBuf* reply)
1139 static JdwpError TR_DebugSuspendCount(JdwpState*, Request& request, ExpandBuf* pReply)
1150 static JdwpError TGR_Name(JdwpState*, Request& request, ExpandBuf* pReply)
1160 static JdwpError TGR_Parent(JdwpState*, Request& request, ExpandBuf* pReply)
1170 static JdwpError TGR_Children(JdwpState*, Request& request, ExpandBuf* pReply)
1179 static JdwpError AR_Length(JdwpState*, Request& request, ExpandBuf* pReply)
1184 JdwpError status = Dbg::GetArrayLength(array_id, length);
1198 static JdwpError AR_GetValues(JdwpState*, Request& request, ExpandBuf* pReply)
1209 static JdwpError AR_SetValues(JdwpState*, Request& request, ExpandBuf*)
1217 static JdwpError CLR_VisibleClasses(JdwpState*, Request& request, ExpandBuf* pReply)
1231 static JdwpError ER_Set(JdwpState* state, Request& request, ExpandBuf* pReply)
1365 JdwpError err = state->RegisterEvent(pEvent);
1374 static JdwpError ER_Clear(JdwpState* state, Request& request, ExpandBuf*)
1388 static JdwpError SF_GetValues(JdwpState*, Request& request, ExpandBuf* pReply)
1396 static JdwpError SF_SetValues(JdwpState*, Request& request, ExpandBuf*)
1401 static JdwpError SF_ThisObject(JdwpState*, Request& request, ExpandBuf* reply)
1407 JdwpError rc = Dbg::GetThisObject(thread_id, frame_id, &object_id);
1422 static JdwpError COR_ReflectedType(JdwpState*, Request& request, ExpandBuf* pReply)
1431 static JdwpError DDM_Chunk(JdwpState* state, Request& request, ExpandBuf* pReply)
1452 typedef JdwpError (*JdwpRequestHandler)(JdwpState* state, Request& request, ExpandBuf* reply);
1618 JdwpError result = ERR_NONE;