Home
last modified time | relevance | path

Searched refs:pc_ (Results 1 – 25 of 52) sorted by relevance

123

/external/v8/src/regexp/
Dregexp-macro-assembler-irregexp-inl.h19 DCHECK(pc_ <= buffer_.length()); in Emit()
20 if (pc_ + 3 >= buffer_.length()) { in Emit()
23 *reinterpret_cast<uint32_t*>(buffer_.start() + pc_) = word; in Emit()
24 pc_ += 4; in Emit()
29 DCHECK(pc_ <= buffer_.length()); in Emit16()
30 if (pc_ + 1 >= buffer_.length()) { in Emit16()
33 *reinterpret_cast<uint16_t*>(buffer_.start() + pc_) = word; in Emit16()
34 pc_ += 2; in Emit16()
39 DCHECK(pc_ <= buffer_.length()); in Emit8()
40 if (pc_ == buffer_.length()) { in Emit8()
[all …]
Dregexp-macro-assembler-irregexp.cc23 pc_(0), in RegExpMacroAssemblerIrregexp()
49 *reinterpret_cast<uint32_t*>(buffer_.start() + fixup) = pc_; in Bind()
52 l->bind_to(pc_); in Bind()
65 l->link_to(pc_); in EmitOrLink()
166 if (advance_current_end_ == pc_) { in GoTo()
168 pc_ = advance_current_start_; in GoTo()
200 advance_current_start_ = pc_; in AdvanceCurrentPosition()
203 advance_current_end_ = pc_; in AdvanceCurrentPosition()
439 return pc_; in length()
/external/v8/src/mips64/
Dassembler-mips64-inl.h71 Assembler::RelocateInternalReference(rmode_, pc_, delta); in apply()
78 return Assembler::target_address_at(pc_, constant_pool_); in target_address()
99 return pc_ + Assembler::kInstructionsFor64BitConstant * kInstrSize; in target_address_address()
158 Assembler::target_address_at(pc_, constant_pool_))); in target_object()
164 Assembler::target_address_at(pc_, constant_pool_))); in target_object_handle()
171 Assembler::set_target_address_at(pc_, constant_pool_, in set_target_object()
182 return Assembler::target_address_at(pc_, constant_pool_); in target_external_reference()
188 Assembler::set_target_address_at(pc_, constant_pool_, target, in set_target_external_reference()
194 return Memory<Address>(pc_); in target_internal_reference()
198 Instr instr = Assembler::instr_at(pc_ + 0 * kInstrSize); in target_internal_reference()
[all …]
/external/v8/src/mips/
Dassembler-mips-inl.h72 Assembler::RelocateInternalReference(rmode_, pc_, delta); in apply()
79 return Assembler::target_address_at(pc_, constant_pool_); in target_address()
104 return pc_ + (Assembler::kInstructionsFor32BitConstant - 1) * kInstrSize; in target_address_address()
106 return pc_ + Assembler::kInstructionsFor32BitConstant * kInstrSize; in target_address_address()
184 Assembler::target_address_at(pc_, constant_pool_))); in target_object()
190 Assembler::target_address_at(pc_, constant_pool_))); in target_object_handle()
197 Assembler::set_target_address_at(pc_, constant_pool_, in set_target_object()
208 return Assembler::target_address_at(pc_, constant_pool_); in target_external_reference()
214 Assembler::set_target_address_at(pc_, constant_pool_, target, in set_target_external_reference()
220 return Memory<Address>(pc_); in target_internal_reference()
[all …]
/external/webrtc/talk/app/webrtc/
Dpeerconnectioninterface_unittest.cc411 pc_ = pc; in SetPeerConnectionInterface()
413 state_ = pc_->signaling_state(); in SetPeerConnectionInterface()
418 EXPECT_EQ(pc_->signaling_state(), new_state); in OnSignalingChange()
423 if (pc_.get() == NULL) in OnStateChange()
431 EXPECT_EQ(pc_->signaling_state(), state_); in OnStateChange()
463 EXPECT_EQ(pc_->ice_connection_state(), new_state); in OnIceConnectionChange()
467 EXPECT_EQ(pc_->ice_gathering_state(), new_state); in OnIceGatheringChange()
471 pc_->ice_gathering_state()); in OnIceCandidate()
487 pc_->ice_gathering_state()); in OnIceComplete()
503 scoped_refptr<PeerConnectionInterface> pc_; member in __anonc73e56510111::MockPeerConnectionObserver
[all …]
Dstatscollector.cc369 : pc_(pc), stats_gathering_started_(0) { in StatsCollector()
370 RTC_DCHECK(pc_); in StatsCollector()
374 RTC_DCHECK(pc_->session()->signaling_thread()->IsCurrent()); in ~StatsCollector()
384 RTC_DCHECK(pc_->session()->signaling_thread()->IsCurrent()); in AddStream()
395 RTC_DCHECK(pc_->session()->signaling_thread()->IsCurrent()); in AddLocalAudioTrack()
427 RTC_DCHECK(pc_->session()->signaling_thread()->IsCurrent()); in GetStats()
441 StatsReport::kStatsReportTypeSession, pc_->session()->id())); in GetStats()
467 RTC_DCHECK(pc_->session()->signaling_thread()->IsCurrent()); in UpdateStats()
478 if (pc_->session()) { in UpdateStats()
498 RTC_DCHECK(pc_->session()->signaling_thread()->IsCurrent()); in PrepareReport()
[all …]
Dstatscollector_unittest.cc517 EXPECT_CALL(pc_, session()).WillRepeatedly(Return(&session_)); in StatsCollectorTest()
518 EXPECT_CALL(pc_, sctp_data_channels()) in StatsCollectorTest()
678 StatsCollectorForTest stats(&pc_); in TestCertificateReports()
765 MockPeerConnection pc_; member in webrtc::StatsCollectorTest
782 StatsCollectorForTest stats(&pc_); in TEST_F()
814 StatsCollectorForTest stats(&pc_); in TEST_F()
860 StatsCollectorForTest stats(&pc_); in TEST_F()
917 StatsCollectorForTest stats(&pc_); in TEST_F()
930 StatsCollectorForTest stats(&pc_); in TEST_F()
947 StatsCollectorForTest stats(&pc_); in TEST_F()
[all …]
/external/v8/src/ia32/
Dassembler-ia32-inl.h63 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply()
67 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply()
75 return Assembler::target_address_at(pc_, constant_pool_); in target_address()
82 return pc_; in target_address_address()
97 return HeapObject::cast(Memory<Object*>(pc_)); in target_object()
102 return Handle<HeapObject>::cast(Memory<Handle<Object>>(pc_)); in target_object_handle()
109 Memory<Object*>(pc_) = target; in set_target_object()
111 Assembler::FlushICache(pc_, sizeof(Address)); in set_target_object()
121 return Memory<Address>(pc_); in target_external_reference()
127 Memory<Address>(pc_) = target; in set_target_external_reference()
[all …]
Dassembler-ia32.cc218 Assembler::set_target_address_at(pc_, constant_pool_, address, in set_js_to_wasm_address()
224 return Assembler::target_address_at(pc_, constant_pool_); in js_to_wasm_address()
229 return Memory<uint32_t>(pc_); in wasm_call_tag()
325 *pc_++ = (x)
337 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
343 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
1619 emit(entry - (reinterpret_cast<Address>(pc_) + sizeof(int32_t)), rmode); in call()
1701 emit(entry - (reinterpret_cast<Address>(pc_) + sizeof(int32_t)), rmode); in jmp()
1774 emit(entry - (pc_ + sizeof(int32_t)), rmode); in j()
3224 pc_ += pc_delta; in GrowBuffer()
[all …]
/external/v8/src/s390/
Dassembler-s390-inl.h57 Address target = Memory<Address>(pc_); in apply()
58 Memory<Address>(pc_) = target + delta; in apply()
61 Instruction::InstructionBits(reinterpret_cast<const byte*>(pc_)); in apply()
67 Instruction::SetInstructionBits<SixByteInstr>(reinterpret_cast<byte*>(pc_), in apply()
72 Address target = Assembler::target_address_at(pc_, constant_pool_); in apply()
73 Assembler::set_target_address_at(pc_, constant_pool_, target + delta, in apply()
81 return Memory<Address>(pc_); in target_internal_reference()
85 return Assembler::target_address_at(pc_, constant_pool_); in target_internal_reference()
91 return pc_; in target_internal_reference_address()
96 return Assembler::target_address_at(pc_, constant_pool_); in target_address()
[all …]
Dassembler-s390.cc283 Assembler::set_target_address_at(pc_, constant_pool_, address, in set_js_to_wasm_address()
289 return Assembler::target_address_at(pc_, constant_pool_); in js_to_wasm_address()
295 Assembler::target_address_at(pc_, constant_pool_)); in wasm_call_tag()
353 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
763 pc_ += pc_delta; in GrowBuffer()
774 *reinterpret_cast<uint8_t*>(pc_) = data; in db()
775 pc_ += sizeof(uint8_t); in db()
780 *reinterpret_cast<uint32_t*>(pc_) = data; in dd()
781 pc_ += sizeof(uint32_t); in dd()
786 *reinterpret_cast<uint64_t*>(pc_) = value; in dq()
[all …]
Dassembler-s390.h1388 PrintF("DebugBreak is inserted to %p\n", static_cast<void*>(pc_)); in breakpoint()
1558 int buffer_space() const { return reloc_info_writer.pos() - pc_; } in buffer_space()
1609 *reinterpret_cast<uint16_t*>(pc_) = x; in emit2bytes()
1610 pc_ += 2; in emit2bytes()
1623 *reinterpret_cast<uint32_t*>(pc_) = x; in emit4bytes()
1624 pc_ += 4; in emit4bytes()
1640 x |= (*reinterpret_cast<uint64_t*>(pc_) >> 48) << 48; in emit6bytes()
1645 x |= *reinterpret_cast<uint64_t*>(pc_) & 0xFFFF; in emit6bytes()
1649 *reinterpret_cast<uint64_t*>(pc_) = x; in emit6bytes()
1650 pc_ += 6; in emit6bytes()
/external/v8/src/x64/
Dassembler-x64-inl.h27 Memory<uint32_t>(pc_) = x; in emitl()
28 pc_ += sizeof(uint32_t); in emitl()
32 Memory<uintptr_t>(pc_) = x; in emitp()
36 pc_ += sizeof(uintptr_t); in emitp()
41 Memory<uint64_t>(pc_) = x; in emitq()
42 pc_ += sizeof(uint64_t); in emitq()
47 Memory<uint16_t>(pc_) = x; in emitw()
48 pc_ += sizeof(uint16_t); in emitw()
283 Memory<int32_t>(pc_) -= static_cast<int32_t>(delta); in apply()
286 Memory<Address>(pc_) += delta; in apply()
[all …]
/external/v8/src/wasm/
Ddecoder.h53 : start_(start), pc_(pc), end_(end), buffer_offset_(buffer_offset) { in start_()
148 return read_leb<uint32_t, kValidate, kAdvancePc, kTrace>(pc_, &length,
155 return read_leb<int32_t, kValidate, kAdvancePc, kTrace>(pc_, &length, name);
163 pc_ += size;
165 pc_ = end_;
171 DCHECK_LE(pc_, end_); in checkAvailable()
172 if (V8_UNLIKELY(size > static_cast<uint32_t>(end_ - pc_))) { in checkAvailable()
173 errorf(pc_, "expected %u bytes, fell off end", size); in checkAvailable()
179 void error(const char* msg) { errorf(pc_, "%s", msg); } in error()
216 traceByteRange(pc_, end_); in traceOffEnd()
[all …]
Dfunction-body-decoder-impl.h60 (this->errorf(this->pc_, "%s: %s", WasmOpcodes::OpcodeName(opcode), \
367 decoder_->read_u32v<validate>(pc_, &length, "branch table entry"); in next()
368 pc_ += length; in next()
375 return static_cast<unsigned>(pc_ - start_); in length()
377 const byte* pc() { return pc_; } in pc()
383 pc_(imm.table), in BranchTableIterator()
389 const byte* pc_; variable
919 error(pc_ + 2, "invalid lane index"); in Validate()
950 error(pc_ + 2, "invalid shift amount"); in Validate()
965 error(pc_ + 2, "invalid shuffle mask"); in Validate()
[all …]
Dfunction-body-decoder.h164 return base::iterator_range<opcode_iterator>(opcode_iterator(pc_, end_), in NON_EXPORTED_BASE()
170 offset_iterator(start_, pc_, end_), in NON_EXPORTED_BASE()
176 read_u8<Decoder::kNoValidate>(pc_, "expected bytecode")); in NON_EXPORTED_BASE()
180 if (pc_ < end_) { in NON_EXPORTED_BASE()
181 pc_ += OpcodeLength(pc_, end_); in NON_EXPORTED_BASE()
182 if (pc_ >= end_) pc_ = end_; in NON_EXPORTED_BASE()
186 bool has_next() { return pc_ < end_; } in NON_EXPORTED_BASE()
189 byte prefix = read_u8<Decoder::kNoValidate>(pc_, "expected prefix"); in NON_EXPORTED_BASE()
190 byte index = read_u8<Decoder::kNoValidate>(pc_ + 1, "expected index"); in NON_EXPORTED_BASE()
Dmodule-decoder.cc266 pc_ = end_; // On error, terminate section decoding loop. in onFirstError()
308 const byte* pos = pc_; in DecodeModuleHeader()
318 pos = pc_; in DecodeModuleHeader()
430 static_cast<int>(pc_ - start_)); in DecodeTypeSection()
445 static_cast<int>(pc_ - start_)); in DecodeImportSection()
454 const byte* pos = pc_; in DecodeImportSection()
485 error(pc_ - 1, "invalid table type"); in DecodeImportSection()
594 TRACE("DecodeGlobal[%d] module+%d\n", i, static_cast<int>(pc_ - start_)); in DecodeGlobalSection()
610 static_cast<int>(pc_ - start_)); in DecodeExportSection()
696 const byte* pos = pc_; in DecodeStartSection()
[all …]
/external/v8/src/ppc/
Dassembler-ppc-inl.h57 Address target = Memory<Address>(pc_); in apply()
58 Memory<Address>(pc_) = target + delta; in apply()
62 Address target = Assembler::target_address_at(pc_, constant_pool_); in apply()
63 Assembler::set_target_address_at(pc_, constant_pool_, target + delta, in apply()
72 return Memory<Address>(pc_); in target_internal_reference()
76 return Assembler::target_address_at(pc_, constant_pool_); in target_internal_reference()
83 return pc_; in target_internal_reference_address()
89 return Assembler::target_address_at(pc_, constant_pool_); in target_address()
98 Assembler::IsConstantPoolLoadStart(pc_)) { in target_address_address()
102 return pc_; in target_address_address()
[all …]
Dassembler-ppc.cc160 return Assembler::IsConstantPoolLoadStart(pc_); in IsInConstantPool()
173 Assembler::set_target_address_at(pc_, constant_pool_, address, in set_js_to_wasm_address()
179 return Assembler::target_address_at(pc_, constant_pool_); in js_to_wasm_address()
185 Assembler::target_address_at(pc_, constant_pool_)); in wasm_call_tag()
248 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
2034 pc_ += pc_delta; in GrowBuffer()
2046 *reinterpret_cast<uint8_t*>(pc_) = data; in db()
2047 pc_ += sizeof(uint8_t); in db()
2053 *reinterpret_cast<uint32_t*>(pc_) = data; in dd()
2054 pc_ += sizeof(uint32_t); in dd()
[all …]
/external/v8/src/arm/
Dassembler-arm-inl.h61 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply()
64 Instruction* branch = Instruction::At(pc_); in apply()
74 return Assembler::target_address_at(pc_, constant_pool_); in target_address()
81 if (Assembler::IsMovW(Memory<int32_t>(pc_))) { in target_address_address()
82 return pc_; in target_address_address()
84 DCHECK(Assembler::IsLdrPcImmediateOffset(Memory<int32_t>(pc_))); in target_address_address()
92 return Assembler::constant_pool_entry_address(pc_, constant_pool_); in constant_pool_entry_address()
103 Assembler::target_address_at(pc_, constant_pool_))); in target_object()
109 Assembler::target_address_at(pc_, constant_pool_))); in target_object_handle()
112 return origin->relative_code_target_object_handle_at(pc_); in target_object_handle()
[all …]
/external/v8/src/
Dreloc-info.cc186 rinfo_.pc_ += *pos_ >> kTagBits; in ReadShortTaggedPC()
189 inline void RelocIterator::AdvanceReadPC() { rinfo_.pc_ += *--pos_; } in AdvanceReadPC()
219 rinfo_.pc_ += pc_jump << kSmallPCDeltaBits; in AdvanceReadLongPCJump()
320 rinfo_.pc_ = pc; in RelocIterator()
343 return Assembler::target_address_at(pc_, constant_pool_); in wasm_call_address()
349 Assembler::set_target_address_at(pc_, constant_pool_, address, in set_wasm_call_address()
355 return Assembler::target_address_at(pc_, constant_pool_); in wasm_stub_call_address()
361 Assembler::set_target_address_at(pc_, constant_pool_, address, in set_wasm_stub_call_address()
370 Assembler::set_target_address_at(pc_, constant_pool_, target, in set_target_address()
438 os << reinterpret_cast<const void*>(pc_) << " " << RelocModeName(rmode_); in Print()
Dreloc-info.h107 : pc_(pc), in pc_() function
192 Address pc() const { return pc_; } in pc()
334 Address pc_;
/external/v8/src/arm64/
Dassembler-arm64-inl.h24 intptr_t* p = reinterpret_cast<intptr_t*>(pc_); in apply()
27 Instruction* instr = reinterpret_cast<Instruction*>(pc_); in apply()
647 DCHECK(reinterpret_cast<Instruction*>(pc_)->IsLdrLiteralX());
655 return Assembler::target_address_at(pc_, constant_pool_);
662 Instruction* instr = reinterpret_cast<Instruction*>(pc_);
680 return reinterpret_cast<Address>(pc_);
687 return Assembler::target_pointer_address_at(pc_);
693 Assembler::target_address_at(pc_, constant_pool_)));
699 Assembler::target_address_at(pc_, constant_pool_)));
702 return origin->code_target_object_handle_at(pc_);
[all …]
/external/v8/src/third_party/vtune/
Dvtune-jit.cc84 : pc_(pc), pos_(pos) { } in LineNumInfo()
86 intptr_t pc_; member
210 static_cast<unsigned int>(Iter->pc_); in event_handler()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors.h17 const uptr pc_; variable

123