Searched refs:rinfo (Results 1 - 24 of 24) sorted by relevance

/external/v8/src/mips/
H A Ddebug-mips.cc40 return Debug::IsDebugBreakAtReturn(rinfo());
56 bool Debug::IsDebugBreakAtReturn(RelocInfo* rinfo) { argument
57 ASSERT(RelocInfo::IsJSReturn(rinfo->rmode()));
58 return rinfo->IsPatchedReturnSequence();
H A Dassembler-mips.cc1111 RelocInfo rinfo(pc_, rmode, data); // we do not try to reuse pool constants
1119 if (rinfo.rmode() != RelocInfo::NONE) {
1127 reloc_info_writer.Write(&rinfo);
/external/v8/src/ia32/
H A Ddebug-ia32.cc40 return Debug::IsDebugBreakAtReturn(rinfo());
50 rinfo()->PatchCodeWithCall(Debug::debug_break_return()->entry(),
57 rinfo()->PatchCode(original_rinfo()->pc(),
64 bool Debug::IsDebugBreakAtReturn(RelocInfo* rinfo) { argument
65 ASSERT(RelocInfo::IsJSReturn(rinfo->rmode()));
66 return rinfo->IsPatchedReturnSequence();
H A Dassembler-ia32.cc2302 RelocInfo::Mode rmode = it.rinfo()->rmode();
2304 int32_t* p = reinterpret_cast<int32_t*>(it.rinfo()->pc());
2307 int32_t* p = reinterpret_cast<int32_t*>(it.rinfo()->pc());
2393 RelocInfo rinfo(pc_, rmode, data);
2394 reloc_info_writer.Write(&rinfo);
/external/v8/src/arm/
H A Ddebug-arm.cc38 return Debug::IsDebugBreakAtReturn(rinfo());
53 CodePatcher patcher(rinfo()->pc(), 4);
63 rinfo()->PatchCode(original_rinfo()->pc(),
69 bool Debug::IsDebugBreakAtReturn(RelocInfo* rinfo) { argument
70 ASSERT(RelocInfo::IsJSReturn(rinfo->rmode()));
71 return rinfo->IsPatchedReturnSequence();
H A Dassembler-arm.cc1754 RelocInfo& rinfo = prinfo_[i]; local
1755 ASSERT(rinfo.rmode() != RelocInfo::COMMENT &&
1756 rinfo.rmode() != RelocInfo::POSITION);
1757 if (rinfo.rmode() != RelocInfo::JS_RETURN) {
1758 rinfo.set_pc(rinfo.pc() + pc_delta);
1765 RelocInfo rinfo(pc_, rmode, data); // we do not try to reuse pool constants
1774 prinfo_[num_prinfo_++] = rinfo;
1779 if (rinfo.rmode() != RelocInfo::NONE) {
1792 reloc_info_writer.Write(&rinfo);
1865 RelocInfo& rinfo = prinfo_[i]; local
[all...]
H A Dassembler-thumb2.cc1732 RelocInfo& rinfo = prinfo_[i]; local
1733 ASSERT(rinfo.rmode() != RelocInfo::COMMENT &&
1734 rinfo.rmode() != RelocInfo::POSITION);
1735 if (rinfo.rmode() != RelocInfo::JS_RETURN) {
1736 rinfo.set_pc(rinfo.pc() + pc_delta);
1743 RelocInfo rinfo(pc_, rmode, data); // we do not try to reuse pool constants
1752 prinfo_[num_prinfo_++] = rinfo;
1757 if (rinfo.rmode() != RelocInfo::NONE) {
1770 reloc_info_writer.Write(&rinfo);
1843 RelocInfo& rinfo = prinfo_[i]; local
[all...]
/external/v8/src/x64/
H A Ddebug-x64.cc40 bool Debug::IsDebugBreakAtReturn(v8::internal::RelocInfo* rinfo) { argument
41 ASSERT(RelocInfo::IsJSReturn(rinfo->rmode()));
42 return rinfo->IsPatchedReturnSequence();
184 rinfo()->PatchCode(original_rinfo()->pc(),
190 return Debug::IsDebugBreakAtReturn(rinfo());
197 rinfo()->PatchCodeWithCall(Debug::debug_break_return()->entry(),
H A Dassembler-x64.cc417 RelocInfo::Mode rmode = it.rinfo()->rmode();
419 intptr_t* p = reinterpret_cast<intptr_t*>(it.rinfo()->pc());
2540 RelocInfo rinfo(pc_, rmode, data);
2541 reloc_info_writer.Write(&rinfo);
/external/bluetooth/bluez/tools/
H A Dhid2hci.c123 struct hiddev_report_info rinfo; local
141 memset(&rinfo, 0, sizeof(rinfo));
142 rinfo.report_type = HID_REPORT_TYPE_OUTPUT;
143 rinfo.report_id = 0x10;
144 rinfo.num_fields = 1;
145 err = ioctl(fd, HIDIOCSREPORT, &rinfo);
/external/v8/src/
H A Ddisassembler.cc144 } else if (it != NULL && !it->done() && it->rinfo()->pc() == pc &&
145 it->rinfo()->rmode() == RelocInfo::INTERNAL_REFERENCE) {
165 while (!it->done() && it->rinfo()->pc() < pc) {
166 if (RelocInfo::IsComment(it->rinfo()->rmode())) {
168 comments.Add(reinterpret_cast<const char*>(it->rinfo()->data()));
171 pcs.Add(it->rinfo()->pc());
172 rmodes.Add(it->rinfo()->rmode());
173 datas.Add(it->rinfo()->data());
H A Dassembler.cc207 void RelocInfoWriter::Write(const RelocInfo* rinfo) { argument
212 ASSERT(rinfo->pc() - last_pc_ >= 0);
215 uint32_t pc_delta = static_cast<uint32_t>(rinfo->pc() - last_pc_);
216 RelocInfo::Mode rmode = rinfo->rmode();
225 intptr_t data_delta = rinfo->data() - last_data_;
234 last_data_ = rinfo->data();
239 last_data_ = rinfo->data();
244 WriteExtraTaggedData(rinfo->data() - last_data_, kCommentTag);
245 last_data_ = rinfo->data();
252 last_pc_ = rinfo
[all...]
H A Ddebug.h111 inline Address pc() { return reloc_iterator_->rinfo()->pc(); }
113 inline RelocInfo* rinfo() { return reloc_iterator_->rinfo(); } function in class:v8::internal::BreakLocationIterator
115 return reloc_iterator_->rinfo()->rmode();
118 return reloc_iterator_original_->rinfo();
121 return reloc_iterator_original_->rinfo()->rmode();
249 static bool IsDebugBreakAtReturn(RelocInfo* rinfo);
H A Dmark-compact.cc273 void VisitCodeTarget(RelocInfo* rinfo) { argument
274 ASSERT(RelocInfo::IsCodeTarget(rinfo->rmode()));
275 Code* code = Code::GetCodeFromTargetAddress(rinfo->target_address());
277 IC::Clear(rinfo->pc());
285 void VisitDebugTarget(RelocInfo* rinfo) { argument
286 ASSERT(RelocInfo::IsJSReturn(rinfo->rmode()) &&
287 rinfo->IsPatchedReturnSequence());
288 HeapObject* code = Code::GetCodeFromTargetAddress(rinfo->call_address());
1557 void VisitCodeTarget(RelocInfo* rinfo) { argument
1558 ASSERT(RelocInfo::IsCodeTarget(rinfo
1565 VisitDebugTarget(RelocInfo* rinfo) argument
[all...]
H A Dassembler.h264 void Write(const RelocInfo* rinfo);
299 // // do something with it.rinfo() here
317 RelocInfo* rinfo() { function in class:v8::internal::RelocIterator
H A Ddebug.cc110 rinfo()->data() - debug_info_->shared()->start_position());
115 rinfo()->data() - debug_info_->shared()->start_position());
348 Address target = rinfo()->target_address();
360 rinfo()->set_target_address(stub->entry());
406 return Debug::IsDebugBreak(rinfo()->target_address());
414 original_rinfo()->set_target_address(rinfo()->target_address());
418 Address target = rinfo()->target_address();
424 rinfo()->set_target_address(dbgbrk_code->entry());
439 rinfo()->set_target_address(original_rinfo()->target_address());
1158 if (RelocInfo::IsCodeTarget(it.rinfo()
[all...]
H A Dserialize.cc1226 void Serializer::ObjectSerializer::VisitRuntimeEntry(RelocInfo* rinfo) { argument
1227 Address target_start = rinfo->target_address_address();
1229 Address target = rinfo->target_address();
1238 void Serializer::ObjectSerializer::VisitCodeTarget(RelocInfo* rinfo) { argument
1239 CHECK(RelocInfo::IsCodeTarget(rinfo->rmode()));
1240 Address target_start = rinfo->target_address_address();
1242 Code* target = Code::GetCodeFromTargetAddress(rinfo->target_address());
H A Dspaces.cc2037 ASSERT(it->rinfo()->rmode() == RelocInfo::COMMENT);
2038 const char* tmp = reinterpret_cast<const char*>(it->rinfo()->data());
2046 reinterpret_cast<const char*>(it->rinfo()->data());
2047 const byte* prev_pc = it->rinfo()->pc();
2054 if (it->rinfo()->rmode() == RelocInfo::COMMENT) {
2056 reinterpret_cast<const char*>(it->rinfo()->data());
2057 flat_delta += static_cast<int>(it->rinfo()->pc() - prev_pc);
2062 prev_pc = it->rinfo()->pc();
2083 if (it.rinfo()->rmode() == RelocInfo::COMMENT) {
2084 delta += static_cast<int>(it.rinfo()
[all...]
H A Dobjects-debug.cc872 it.rinfo()->Verify();
874 if (RelocInfo::IsGCRelocMode(it.rinfo()->rmode())) {
875 CHECK(it.rinfo()->pc() != last_gc_pc);
876 last_gc_pc = it.rinfo()->pc();
H A Dobjects.cc4895 void ObjectVisitor::VisitCodeTarget(RelocInfo* rinfo) { argument
4896 ASSERT(RelocInfo::IsCodeTarget(rinfo->rmode()));
4897 Object* target = Code::GetCodeFromTargetAddress(rinfo->target_address());
4904 void ObjectVisitor::VisitDebugTarget(RelocInfo* rinfo) { argument
4905 ASSERT(RelocInfo::IsJSReturn(rinfo->rmode()) &&
4906 rinfo->IsPatchedReturnSequence());
4907 Object* target = Code::GetCodeFromTargetAddress(rinfo->call_address());
4922 RelocInfo::Mode rmode = it.rinfo()->rmode();
4924 v->VisitPointer(it.rinfo()->target_object_address());
4926 v->VisitCodeTarget(it.rinfo());
[all...]
H A Dserialize.h274 virtual void VisitRuntimeEntry(RelocInfo* rinfo) {
H A Dic.cc187 RelocInfo* info = it.rinfo();
H A Dobjects.h4893 virtual void VisitCodeTarget(RelocInfo* rinfo);
4896 virtual void VisitRuntimeEntry(RelocInfo* rinfo) {} argument
4905 virtual void VisitDebugTarget(RelocInfo* rinfo);
/external/v8/test/cctest/
H A Dtest-debug.cc426 RelocInfo::Mode rmode = it.rinfo()->rmode();
428 CHECK(!Debug::IsDebugBreak(it.rinfo()->target_address()));
430 CHECK(!Debug::IsDebugBreakAtReturn(it.rinfo()));
480 CHECK_EQ(mode, it1.it()->rinfo()->rmode());
483 Code::GetCodeFromTargetAddress(it1.it()->rinfo()->target_address()));
485 CHECK(Debug::IsDebugBreakAtReturn(it1.it()->rinfo()));
495 CHECK_EQ(mode, it2.it()->rinfo()->rmode());
497 CHECK(!Debug::IsDebugBreakAtReturn(it2.it()->rinfo()));

Completed in 686 milliseconds