Home
last modified time | relevance | path

Searched refs:rinfo (Results 1 – 25 of 51) sorted by relevance

123

/external/v8/src/heap/
Dremembered-set.h271 static SlotCallbackResult UpdateCell(RelocInfo* rinfo, Callback callback) { in UpdateCell() argument
272 DCHECK(rinfo->rmode() == RelocInfo::CELL); in UpdateCell()
273 Object* cell = rinfo->target_cell(); in UpdateCell()
277 rinfo->set_target_cell(reinterpret_cast<Cell*>(cell)); in UpdateCell()
300 static SlotCallbackResult UpdateCodeTarget(RelocInfo* rinfo, in UpdateCodeTarget() argument
302 DCHECK(RelocInfo::IsCodeTarget(rinfo->rmode())); in UpdateCodeTarget()
303 Object* target = Code::GetCodeFromTargetAddress(rinfo->target_address()); in UpdateCodeTarget()
307 rinfo->set_target_address(Code::cast(target)->instruction_start()); in UpdateCodeTarget()
315 static SlotCallbackResult UpdateEmbeddedPointer(RelocInfo* rinfo, in UpdateEmbeddedPointer() argument
317 DCHECK(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); in UpdateEmbeddedPointer()
[all …]
Dobjects-visiting-inl.h227 Heap* heap, RelocInfo* rinfo) { in VisitEmbeddedPointer() argument
228 DCHECK(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); in VisitEmbeddedPointer()
229 HeapObject* object = HeapObject::cast(rinfo->target_object()); in VisitEmbeddedPointer()
230 Code* host = rinfo->host(); in VisitEmbeddedPointer()
231 heap->mark_compact_collector()->RecordRelocSlot(host, rinfo, object); in VisitEmbeddedPointer()
243 RelocInfo* rinfo) { in VisitCell() argument
244 DCHECK(rinfo->rmode() == RelocInfo::CELL); in VisitCell()
245 Cell* cell = rinfo->target_cell(); in VisitCell()
246 Code* host = rinfo->host(); in VisitCell()
247 heap->mark_compact_collector()->RecordRelocSlot(host, rinfo, cell); in VisitCell()
[all …]
Dcode-stats.cc158 DCHECK(it->rinfo()->rmode() == RelocInfo::COMMENT); in CollectCommentStatistics()
159 const char* tmp = reinterpret_cast<const char*>(it->rinfo()->data()); in CollectCommentStatistics()
167 reinterpret_cast<const char*>(it->rinfo()->data()); in CollectCommentStatistics()
168 const byte* prev_pc = it->rinfo()->pc(); in CollectCommentStatistics()
175 if (it->rinfo()->rmode() == RelocInfo::COMMENT) { in CollectCommentStatistics()
177 reinterpret_cast<const char*>(it->rinfo()->data()); in CollectCommentStatistics()
178 flat_delta += static_cast<int>(it->rinfo()->pc() - prev_pc); in CollectCommentStatistics()
183 prev_pc = it->rinfo()->pc(); in CollectCommentStatistics()
204 if (it.rinfo()->rmode() == RelocInfo::COMMENT) { in CollectCodeCommentStatistics()
205 delta += static_cast<int>(it.rinfo()->pc() - prev_pc); in CollectCodeCommentStatistics()
[all …]
Dmark-compact.cc79 void VisitEmbeddedPointer(RelocInfo* rinfo) override { in VisitEmbeddedPointer() argument
80 DCHECK(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); in VisitEmbeddedPointer()
81 if (!rinfo->host()->IsWeakObject(rinfo->target_object())) { in VisitEmbeddedPointer()
82 Object* p = rinfo->target_object(); in VisitEmbeddedPointer()
87 void VisitCell(RelocInfo* rinfo) override { in VisitCell() argument
88 Code* code = rinfo->host(); in VisitCell()
89 DCHECK(rinfo->rmode() == RelocInfo::CELL); in VisitCell()
90 if (!code->IsWeakObject(rinfo->target_cell())) { in VisitCell()
91 ObjectVisitor::VisitCell(rinfo); in VisitCell()
1529 inline void VisitCodeTarget(RelocInfo* rinfo) final { in VisitCodeTarget() argument
[all …]
Dobjects-visiting.h366 INLINE(static void VisitEmbeddedPointer(Heap* heap, RelocInfo* rinfo));
367 INLINE(static void VisitCell(Heap* heap, RelocInfo* rinfo));
368 INLINE(static void VisitDebugTarget(Heap* heap, RelocInfo* rinfo));
369 INLINE(static void VisitCodeTarget(Heap* heap, RelocInfo* rinfo));
370 INLINE(static void VisitCodeAgeSequence(Heap* heap, RelocInfo* rinfo));
371 INLINE(static void VisitExternalReference(RelocInfo* rinfo)) {} in INLINE() argument
372 INLINE(static void VisitInternalReference(RelocInfo* rinfo)) {} in INLINE() argument
373 INLINE(static void VisitRuntimeEntry(RelocInfo* rinfo)) {} in INLINE() argument
Dincremental-marking-inl.h30 void IncrementalMarking::RecordWriteIntoCode(Code* host, RelocInfo* rinfo, in RecordWriteIntoCode() argument
33 RecordWriteIntoCodeSlow(host, rinfo, value); in RecordWriteIntoCode()
Dincremental-marking.h150 INLINE(void RecordWriteIntoCode(Code* host, RelocInfo* rinfo, Object* value));
155 void RecordWriteIntoCodeSlow(Code* host, RelocInfo* rinfo, Object* value);
Dincremental-marking.cc84 RelocInfo rinfo(heap_->isolate(), pc, RelocInfo::CODE_TARGET, 0, host); in RecordCodeTargetPatch() local
85 RecordWriteIntoCode(host, &rinfo, value); in RecordCodeTargetPatch()
95 RelocInfo rinfo(heap_->isolate(), pc, RelocInfo::CODE_TARGET, 0, host); in RecordCodeTargetPatch() local
96 RecordWriteIntoCode(host, &rinfo, value); in RecordCodeTargetPatch()
111 void IncrementalMarking::RecordWriteIntoCodeSlow(Code* host, RelocInfo* rinfo, in RecordWriteIntoCodeSlow() argument
115 heap_->mark_compact_collector()->RecordRelocSlot(host, rinfo, value); in RecordWriteIntoCodeSlow()
/external/v8/src/wasm/
Dwasm-code-specialization.cc139 DCHECK(RelocInfo::IsCodeTarget(it.rinfo()->rmode())); in ApplyToWholeInstance()
140 Code* code = Code::GetCodeFromTargetAddress(it.rinfo()->target_address()); in ApplyToWholeInstance()
150 it.rinfo()->set_target_address(new_code->instruction_start(), in ApplyToWholeInstance()
188 RelocInfo::Mode mode = it.rinfo()->rmode(); in ApplyToWasmCode()
192 it.rinfo()->update_wasm_memory_reference(old_mem_start, new_mem_start, in ApplyToWasmCode()
198 it.rinfo()->update_wasm_memory_size(old_mem_size, new_mem_size, in ApplyToWasmCode()
204 it.rinfo()->update_wasm_global_reference( in ApplyToWasmCode()
211 Code::GetCodeFromTargetAddress(it.rinfo()->target_address()); in ApplyToWasmCode()
222 size_t offset = it.rinfo()->pc() - code->instruction_start(); in ApplyToWasmCode()
236 it.rinfo()->set_target_address(new_code->instruction_start(), in ApplyToWasmCode()
[all …]
Dwasm-debug.cc331 DCHECK(RelocInfo::IsCodeTarget(it.rinfo()->rmode())); in RedirectCallsitesInCode()
332 Code* target = Code::GetCodeFromTargetAddress(it.rinfo()->target_address()); in RedirectCallsitesInCode()
334 it.rinfo()->set_target_address(new_target->instruction_start()); in RedirectCallsitesInCode()
/external/iw/
Dstation.c50 struct nlattr *rinfo[NL80211_RATE_INFO_MAX + 1]; in parse_bitrate() local
59 if (nla_parse_nested(rinfo, NL80211_RATE_INFO_MAX, in parse_bitrate()
65 if (rinfo[NL80211_RATE_INFO_BITRATE32]) in parse_bitrate()
66 rate = nla_get_u32(rinfo[NL80211_RATE_INFO_BITRATE32]); in parse_bitrate()
67 else if (rinfo[NL80211_RATE_INFO_BITRATE]) in parse_bitrate()
68 rate = nla_get_u16(rinfo[NL80211_RATE_INFO_BITRATE]); in parse_bitrate()
73 if (rinfo[NL80211_RATE_INFO_MCS]) in parse_bitrate()
75 " MCS %d", nla_get_u8(rinfo[NL80211_RATE_INFO_MCS])); in parse_bitrate()
76 if (rinfo[NL80211_RATE_INFO_VHT_MCS]) in parse_bitrate()
78 " VHT-MCS %d", nla_get_u8(rinfo[NL80211_RATE_INFO_VHT_MCS])); in parse_bitrate()
[all …]
/external/v8/src/snapshot/
Dserializer.cc601 void Serializer::ObjectSerializer::VisitEmbeddedPointer(RelocInfo* rinfo) { in VisitEmbeddedPointer() argument
602 int skip = OutputRawData(rinfo->target_address_address(), in VisitEmbeddedPointer()
604 HowToCode how_to_code = rinfo->IsCodedSpecially() ? kFromCode : kPlain; in VisitEmbeddedPointer()
605 Object* object = rinfo->target_object(); in VisitEmbeddedPointer()
608 bytes_processed_so_far_ += rinfo->target_address_size(); in VisitEmbeddedPointer()
621 void Serializer::ObjectSerializer::VisitExternalReference(RelocInfo* rinfo) { in VisitExternalReference() argument
622 int skip = OutputRawData(rinfo->target_address_address(), in VisitExternalReference()
624 HowToCode how_to_code = rinfo->IsCodedSpecially() ? kFromCode : kPlain; in VisitExternalReference()
627 Address target = rinfo->target_external_reference(); in VisitExternalReference()
630 bytes_processed_so_far_ += rinfo->target_address_size(); in VisitExternalReference()
[all …]
Dserializer.h287 void VisitExternalReference(RelocInfo* rinfo) override;
288 void VisitInternalReference(RelocInfo* rinfo) override;
291 void VisitCell(RelocInfo* rinfo) override;
/external/v8/src/
Ddisassembler.cc113 } else if (it != NULL && !it->done() && it->rinfo()->pc() == pc && in DecodeIt()
114 it->rinfo()->rmode() == RelocInfo::INTERNAL_REFERENCE) { in DecodeIt()
133 while (!it->done() && it->rinfo()->pc() < pc) { in DecodeIt()
134 if (RelocInfo::IsComment(it->rinfo()->rmode())) { in DecodeIt()
136 comments.Add(reinterpret_cast<const char*>(it->rinfo()->data())); in DecodeIt()
139 pcs.Add(it->rinfo()->pc()); in DecodeIt()
140 rmodes.Add(it->rinfo()->rmode()); in DecodeIt()
141 datas.Add(it->rinfo()->data()); in DecodeIt()
262 if (RelocInfo::IsComment(it->rinfo()->rmode())) { in DecodeIt()
264 reinterpret_cast<const char*>(it->rinfo()->data())); in DecodeIt()
Dobjects-debug.cc741 it.rinfo()->Verify(isolate); in CodeVerify()
743 if (RelocInfo::IsGCRelocMode(it.rinfo()->rmode())) { in CodeVerify()
744 CHECK(it.rinfo()->pc() != last_gc_pc); in CodeVerify()
745 last_gc_pc = it.rinfo()->pc(); in CodeVerify()
761 Object* obj = it.rinfo()->target_object(); in VerifyEmbeddedObjectsDependency()
1509 Object* target = it.rinfo()->rmode() == RelocInfo::CELL in VerifyEmbeddedObjects()
1510 ? it.rinfo()->target_cell() in VerifyEmbeddedObjects()
1511 : it.rinfo()->target_object(); in VerifyEmbeddedObjects()
1531 RelocInfo* rinfo = old_it.rinfo(); in VerifyRecompiledCode() local
1532 Code* target = Code::GetCodeFromTargetAddress(rinfo->target_address()); in VerifyRecompiledCode()
[all …]
Dassembler.cc440 void RelocInfoWriter::Write(const RelocInfo* rinfo) { in Write() argument
441 RelocInfo::Mode rmode = rinfo->rmode(); in Write()
445 DCHECK(rinfo->rmode() < RelocInfo::NUMBER_OF_MODES); in Write()
446 DCHECK(rinfo->pc() - last_pc_ >= 0); in Write()
448 uint32_t pc_delta = static_cast<uint32_t>(rinfo->pc() - last_pc_); in Write()
458 DCHECK_EQ(static_cast<int>(rinfo->data()), rinfo->data()); in Write()
459 int id_delta = static_cast<int>(rinfo->data()) - last_id_; in Write()
469 last_id_ = static_cast<int>(rinfo->data()); in Write()
471 DCHECK(rinfo->data() < (1 << kShortDataBits)); in Write()
473 WriteShortTaggedData(rinfo->data(), kDeoptReasonTag); in Write()
[all …]
/external/strace/
Dmtd.c337 struct region_info_user rinfo; in MPERS_PRINTER_DECL() local
340 if (umove_or_printaddr(tcp, arg, &rinfo)) in MPERS_PRINTER_DECL()
342 tprintf("{regionindex=%#x", rinfo.regionindex); in MPERS_PRINTER_DECL()
345 struct region_info_user rinfo; in MPERS_PRINTER_DECL() local
347 if (!syserror(tcp) && !umove(tcp, arg, &rinfo)) in MPERS_PRINTER_DECL()
351 rinfo.offset, in MPERS_PRINTER_DECL()
352 rinfo.erasesize, in MPERS_PRINTER_DECL()
353 rinfo.numblocks); in MPERS_PRINTER_DECL()
/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine.cc2381 VoiceReceiverInfo rinfo; in GetStats() local
2382 rinfo.add_ssrc(stats.remote_ssrc); in GetStats()
2383 rinfo.bytes_rcvd = stats.bytes_rcvd; in GetStats()
2384 rinfo.packets_rcvd = stats.packets_rcvd; in GetStats()
2385 rinfo.packets_lost = stats.packets_lost; in GetStats()
2386 rinfo.fraction_lost = stats.fraction_lost; in GetStats()
2387 rinfo.codec_name = stats.codec_name; in GetStats()
2388 rinfo.ext_seqnum = stats.ext_seqnum; in GetStats()
2389 rinfo.jitter_ms = stats.jitter_ms; in GetStats()
2390 rinfo.jitter_buffer_ms = stats.jitter_buffer_ms; in GetStats()
[all …]
/external/v8/src/runtime/
Druntime-test.cc429 RelocInfo* rinfo = it.rinfo(); in RUNTIME_FUNCTION() local
430 Address target_address = rinfo->target_address(); in RUNTIME_FUNCTION()
442 RelocInfo* rinfo = it.rinfo(); in RUNTIME_FUNCTION() local
443 Address target_address = rinfo->target_address(); in RUNTIME_FUNCTION()
460 RelocInfo* rinfo = it.rinfo(); in RUNTIME_FUNCTION() local
461 Address target_address = rinfo->target_address(); in RUNTIME_FUNCTION()
/external/v8/src/ia32/
Ddeoptimizer-ia32.cc79 RelocInfo rinfo(isolate, 0, RelocInfo::COMMENT, comment_string, NULL); in EnsureRelocSpaceForLazyDeoptimization() local
84 reloc_info_writer.Write(&rinfo); in EnsureRelocSpaceForLazyDeoptimization()
146 RelocInfo rinfo(isolate, call_address + 1, // 1 after the call opcode. in PatchCodeForDeoptimization() local
149 reloc_info_writer.Write(&rinfo); in PatchCodeForDeoptimization()
/external/libxml2/doc/
Dindex.py859 rinfo = cur.prop("info")
860 if rinfo != None:
861 rinfo = string.replace(rinfo, "'", " ")
862 rinfo = string.strip(rinfo)
863 addString(rinfo, file, symbol, 7)
/external/v8/src/x87/
Ddeoptimizer-x87.cc79 RelocInfo rinfo(isolate, 0, RelocInfo::COMMENT, comment_string, NULL); in EnsureRelocSpaceForLazyDeoptimization() local
84 reloc_info_writer.Write(&rinfo); in EnsureRelocSpaceForLazyDeoptimization()
146 RelocInfo rinfo(isolate, call_address + 1, // 1 after the call opcode. in PatchCodeForDeoptimization() local
149 reloc_info_writer.Write(&rinfo); in PatchCodeForDeoptimization()
/external/v8/src/debug/
Ddebug.cc244 DebugCodegen::PatchDebugBreakSlot(isolate(), rinfo()->pc(), target); in SetDebugBreak()
249 DebugCodegen::ClearDebugBreakSlot(isolate(), rinfo()->pc()); in ClearDebugBreak()
254 return DebugCodegen::DebugBreakSlotIsPatched(rinfo()->pc()); in IsDebugBreak()
1155 RelocInfo* rinfo = it.rinfo(); in ComputeNewPcForRedirect() local
1156 Address current_pc = rinfo->pc(); in ComputeNewPcForRedirect()
1160 target = Code::GetCodeFromTargetAddress(rinfo->target_address()); in ComputeNewPcForRedirect()
1166 RelocInfo* rinfo = it.rinfo(); in ComputeNewPcForRedirect() local
1167 Address current_pc = rinfo->pc(); in ComputeNewPcForRedirect()
1169 Code* current = Code::GetCodeFromTargetAddress(rinfo->target_address()); in ComputeNewPcForRedirect()
1177 RelocInfo* rinfo = it.rinfo(); in ComputeNewPcForRedirect() local
[all …]
Ddebug.h174 return static_cast<int>(rinfo()->pc() - in code_offset()
182 RelocInfo::Mode rmode() { return reloc_iterator_.rinfo()->rmode(); } in rmode()
183 RelocInfo* rinfo() { return reloc_iterator_.rinfo(); } in rinfo() function
/external/v8/src/profiler/
Dprofiler-listener.cc258 RelocInfo* info = it.rinfo(); in RecordDeoptInlinedFrames()
262 DCHECK(it.rinfo()->rmode() == RelocInfo::DEOPT_INLINING_ID); in RecordDeoptInlinedFrames()
263 int inlining_id = static_cast<int>(it.rinfo()->data()); in RecordDeoptInlinedFrames()

123