Lines Matching refs:offset

1163 JDWP::JdwpError Dbg::OutputArray(JDWP::ObjectId array_id, int offset, int count, JDWP::ExpandBuf* pReply) {
1170 if (offset < 0 || count < 0 || offset > a->GetLength() || a->GetLength() - offset < count) {
1171 LOG(WARNING) << __FUNCTION__ << " access out of bounds: offset=" << offset << "; count=" << count;
1183 for (int i = 0; i < count; ++i) JDWP::Write8BE(&dst, src8[offset + i]);
1186 for (int i = 0; i < count; ++i) JDWP::Write4BE(&dst, src4[offset + i]);
1189 for (int i = 0; i < count; ++i) JDWP::Write2BE(&dst, src2[offset + i]);
1192 memcpy(dst, &src[offset * width], count * width);
1198 mirror::Object* element = oa->Get(offset + i);
1210 static void CopyArrayData(mirror::Array* a, JDWP::Request* src, int offset, int count)
1215 T* dst = reinterpret_cast<T*>(a->GetRawData(sizeof(T), offset));
1221 JDWP::JdwpError Dbg::SetArrayElements(JDWP::ObjectId array_id, int offset, int count,
1229 if (offset < 0 || count < 0 || offset > dst->GetLength() || dst->GetLength() - offset < count) {
1230 LOG(WARNING) << __FUNCTION__ << " access out of bounds: offset=" << offset << "; count=" << count;
1238 CopyArrayData<uint64_t>(dst, request, offset, count);
1240 CopyArrayData<uint32_t>(dst, request, offset, count);
1242 CopyArrayData<uint16_t>(dst, request, offset, count);
1244 CopyArrayData<uint8_t>(dst, request, offset, count);
1258 oa->Set<false>(offset + i, o);
4238 // Call "private static Chunk dispatch(int type, byte[] data, int offset, int length)".
4258 * We could avoid this by returning type/data/offset/length and having
4266 jint offset = env->GetIntField(chunk.get(), WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk_offset);
4270 VLOG(jdwp) << StringPrintf("DDM reply: type=0x%08x data=%p offset=%d length=%d", type, replyData.get(), offset, length);
4283 env->GetByteArrayRegion(replyData.get(), offset, length, reinterpret_cast<jbyte*>(reply + kChunkHdrLen));
4556 JDWP::Write4BE(&p_, 0); // offset of this piece (relative to the virtual address).
4558 // We won't know this until we're done, so save the offset and stuff in a dummy value.
4920 * (4b) offset to string table from start of message
5015 // (4b) offset to string table from start of message