Lines Matching refs:pReply
633 JDWP::JdwpError Dbg::GetClassLoader(JDWP::RefTypeId id, JDWP::ExpandBuf* pReply) {
638 expandBufAddObjectId(pReply, gRegistry->Add(o->GetClass()->GetClassLoader()));
642 JDWP::JdwpError Dbg::GetModifiers(JDWP::RefTypeId id, JDWP::ExpandBuf* pReply) {
655 expandBufAdd4BE(pReply, access_flags);
834 JDWP::JdwpError Dbg::GetReflectedType(JDWP::RefTypeId class_id, JDWP::ExpandBuf* pReply) {
841 expandBufAdd1(pReply, c->IsInterface() ? JDWP::TT_INTERFACE : JDWP::TT_CLASS);
842 expandBufAddRefTypeId(pReply, class_id);
908 JDWP::JdwpError Dbg::GetReferenceType(JDWP::ObjectId object_id, JDWP::ExpandBuf* pReply)
925 expandBufAdd1(pReply, type_tag);
926 expandBufAddRefTypeId(pReply, type_id);
1000 JDWP::JdwpError Dbg::OutputArray(JDWP::ObjectId array_id, int offset, int count, JDWP::ExpandBuf* pReply) {
1014 expandBufAdd1(pReply, tag);
1015 expandBufAdd4BE(pReply, count);
1019 uint8_t* dst = expandBufAddSpace(pReply, count * width);
1038 expandBufAdd1(pReply, specific_tag);
1039 expandBufAddObjectId(pReply, gRegistry->Add(element));
1245 JDWP::JdwpError Dbg::OutputDeclaredFields(JDWP::RefTypeId class_id, bool with_generic, JDWP::ExpandBuf* pReply) {
1255 expandBufAdd4BE(pReply, instance_field_count + static_field_count);
1260 expandBufAddFieldId(pReply, ToFieldId(f));
1261 expandBufAddUtf8String(pReply, fh.GetName());
1262 expandBufAddUtf8String(pReply, fh.GetTypeDescriptor());
1265 expandBufAddUtf8String(pReply, genericSignature);
1267 expandBufAdd4BE(pReply, MangleAccessFlags(f->GetAccessFlags()));
1273 JDWP::ExpandBuf* pReply) {
1283 expandBufAdd4BE(pReply, direct_method_count + virtual_method_count);
1288 expandBufAddMethodId(pReply, ToMethodId(m));
1289 expandBufAddUtf8String(pReply, mh.GetName());
1290 expandBufAddUtf8String(pReply, mh.GetSignature());
1293 expandBufAddUtf8String(pReply, genericSignature);
1295 expandBufAdd4BE(pReply, MangleAccessFlags(m->GetAccessFlags()));
1300 JDWP::JdwpError Dbg::OutputDeclaredInterfaces(JDWP::RefTypeId class_id, JDWP::ExpandBuf* pReply) {
1309 expandBufAdd4BE(pReply, interface_count);
1311 expandBufAddRefTypeId(pReply, gRegistry->AddRefType(kh.GetDirectInterface(i)));
1316 void Dbg::OutputLineTable(JDWP::RefTypeId, JDWP::MethodId method_id, JDWP::ExpandBuf* pReply)
1320 JDWP::ExpandBuf* pReply;
1324 expandBufAdd8BE(pContext->pReply, address);
1325 expandBufAdd4BE(pContext->pReply, line_number);
1342 expandBufAdd8BE(pReply, start);
1343 expandBufAdd8BE(pReply, end);
1346 size_t numLinesOffset = expandBufGetLength(pReply);
1347 expandBufAdd4BE(pReply, 0);
1351 context.pReply = pReply;
1356 JDWP::Set4BE(expandBufGetBuffer(pReply) + numLinesOffset, context.numItems);
1359 void Dbg::OutputVariableTable(JDWP::RefTypeId, JDWP::MethodId method_id, bool with_generic, JDWP::ExpandBuf* pReply) {
1361 JDWP::ExpandBuf* pReply;
1372 expandBufAdd8BE(pContext->pReply, startAddress);
1373 expandBufAddUtf8String(pContext->pReply, name);
1374 expandBufAddUtf8String(pContext->pReply, descriptor);
1376 expandBufAddUtf8String(pContext->pReply, signature);
1378 expandBufAdd4BE(pContext->pReply, endAddress - startAddress);
1379 expandBufAdd4BE(pContext->pReply, slot);
1391 expandBufAdd4BE(pReply, mirror::ArtMethod::NumArgRegisters(shorty));
1394 size_t variable_count_offset = expandBufGetLength(pReply);
1395 expandBufAdd4BE(pReply, 0);
1398 context.pReply = pReply;
1405 JDWP::Set4BE(expandBufGetBuffer(pReply) + variable_count_offset, context.variable_count);
1435 JDWP::FieldId field_id, JDWP::ExpandBuf* pReply,
1478 expandBufAdd1(pReply, tag);
1480 expandBufAdd1(pReply, f->Get32(o));
1482 expandBufAdd2BE(pReply, f->Get32(o));
1484 expandBufAdd4BE(pReply, f->Get32(o));
1486 expandBufAdd8BE(pReply, f->Get64(o));
1492 expandBufAdd1(pReply, TagFromObject(value));
1493 expandBufAddObjectId(pReply, gRegistry->Add(value));
1499 JDWP::ExpandBuf* pReply) {
1500 return GetFieldValueImpl(0, object_id, field_id, pReply, false);
1503 JDWP::JdwpError Dbg::GetStaticFieldValue(JDWP::RefTypeId ref_type_id, JDWP::FieldId field_id, JDWP::ExpandBuf* pReply) {
1504 return GetFieldValueImpl(ref_type_id, 0, field_id, pReply, true);
1593 JDWP::JdwpError Dbg::GetThreadGroup(JDWP::ObjectId thread_id, JDWP::ExpandBuf* pReply) {
1606 expandBufAddObjectId(pReply, JDWP::ObjectId(0));
1621 expandBufAddObjectId(pReply, thread_group_id);
1720 JDWP::JdwpError Dbg::GetThreadDebugSuspendCount(JDWP::ObjectId thread_id, JDWP::ExpandBuf* pReply) {
1729 expandBufAdd4BE(pReply, thread->GetDebugSuspendCount());