Home
last modified time | relevance | path

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

12

/external/chromium_org/v8/src/
Dregexp-macro-assembler-irregexp-inl.h23 ASSERT(pc_ <= buffer_.length()); in Emit()
24 if (pc_ + 3 >= buffer_.length()) { in Emit()
27 *reinterpret_cast<uint32_t*>(buffer_.start() + pc_) = word; in Emit()
28 pc_ += 4; in Emit()
33 ASSERT(pc_ <= buffer_.length()); in Emit16()
34 if (pc_ + 1 >= buffer_.length()) { in Emit16()
37 *reinterpret_cast<uint16_t*>(buffer_.start() + pc_) = word; in Emit16()
38 pc_ += 2; in Emit16()
43 ASSERT(pc_ <= buffer_.length()); in Emit8()
44 if (pc_ == buffer_.length()) { in Emit8()
[all …]
Dregexp-macro-assembler-irregexp.cc22 pc_(0), in RegExpMacroAssemblerIrregexp()
48 *reinterpret_cast<uint32_t*>(buffer_.start() + fixup) = pc_; in Bind()
51 l->bind_to(pc_); in Bind()
64 l->link_to(pc_); in EmitOrLink()
165 if (advance_current_end_ == pc_) { in GoTo()
167 pc_ = advance_current_start_; in GoTo()
199 advance_current_start_ = pc_; in AdvanceCurrentPosition()
202 advance_current_end_ = pc_; in AdvanceCurrentPosition()
432 return pc_; in length()
Dgdb-jit.h47 : pc_(pc), pos_(pos), is_statement_(is_statement) { } in PCInfo()
49 intptr_t pc_; member
Dassembler.h85 int pc_offset() const { return static_cast<int>(pc_ - buffer_); } in pc_offset()
101 byte* pc_; variable
372 : pc_(pc), rmode_(rmode), data_(data), host_(host) { in RelocInfo()
375 : pc_(pc), rmode_(NONE64), data64_(data64), host_(NULL) { in RelocInfo()
448 byte* pc() const { return pc_; } in pc()
449 void set_pc(byte* pc) { pc_ = pc; } in set_pc()
591 byte* pc_;
Dassembler.cc155 pc_ = buffer_; in AssemblerBase()
516 rinfo_.pc_ += *pos_ >> kTagBits; in ReadTaggedPC()
521 rinfo_.pc_ += *--pos_; in AdvanceReadPC()
575 rinfo_.pc_ += pc_jump << kSmallPCDeltaBits; in AdvanceReadVariableLengthPCJump()
699 rinfo_.pc_ = old_code_age_sequence; in next()
709 rinfo_.pc_ = code->instruction_start(); in RelocIterator()
733 rinfo_.pc_ = desc.buffer; in RelocIterator()
817 PrintF(out, "%p %s", pc_, RelocModeName(rmode_)); in Print()
893 ASSERT(Code::IsYoungSequence(isolate, pc_) || code_age_stub()->IsCode()); in Verify()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dpeerconnectioninterface_unittest.cc130 pc_ = pc; in SetPeerConnectionInterface()
132 state_ = pc_->signaling_state(); in SetPeerConnectionInterface()
138 EXPECT_EQ(pc_->signaling_state(), new_state); in OnSignalingChange()
143 if (pc_.get() == NULL) in OnStateChange()
151 EXPECT_EQ(pc_->signaling_state(), state_); in OnStateChange()
176 EXPECT_EQ(pc_->ice_connection_state(), new_state); in OnIceConnectionChange()
180 EXPECT_EQ(pc_->ice_gathering_state(), new_state); in OnIceGatheringChange()
184 pc_->ice_gathering_state()); in OnIceCandidate()
200 pc_->ice_gathering_state()); in OnIceComplete()
216 scoped_refptr<PeerConnectionInterface> pc_; member in __anon494221080111::MockPeerConnectionObserver
[all …]
/external/chromium_org/v8/src/x64/
Dassembler-x64-inl.h30 Memory::uint32_at(pc_) = x; in emitl()
31 pc_ += sizeof(uint32_t); in emitl()
37 Memory::uintptr_at(pc_) = value; in emitp()
41 pc_ += sizeof(uintptr_t); in emitp()
46 Memory::uint64_at(pc_) = x; in emitq()
47 pc_ += sizeof(uint64_t); in emitq()
52 Memory::uint16_at(pc_) = x; in emitw()
53 pc_ += sizeof(uint16_t); in emitw()
226 Memory::Address_at(pc_) += static_cast<int32_t>(delta); in apply()
227 if (flush_icache) CPU::FlushICache(pc_, sizeof(Address)); in apply()
[all …]
/external/chromium_org/v8/src/x87/
Dassembler-x87-inl.h59 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply()
63 if (*pc_ == kCallOpcode) { in apply()
64 int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1); in apply()
71 int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1); in apply()
77 int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1); in apply()
82 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply()
91 return Assembler::target_address_at(pc_, host_); in target_address()
99 return reinterpret_cast<Address>(pc_); in target_address_address()
117 Assembler::set_target_address_at(pc_, host_, target, icache_flush_mode); in set_target_address()
118 Assembler::set_target_address_at(pc_, host_, target); in set_target_address()
[all …]
Dassembler-x87.cc106 *(pc_ + i) = *(instructions + i); in PatchCode()
110 CPU::FlushICache(pc_, instruction_count); in PatchCode()
122 CodePatcher patcher(pc_, code_size); in PatchCodeWithCall()
227 *pc_++ = (x)
246 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
257 ASSERT(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
1272 emit(entry - (pc_ + sizeof(int32_t)), rmode); in call()
1342 emit(entry - (pc_ + sizeof(int32_t)), rmode); in jmp()
1403 emit(entry - (pc_ + sizeof(int32_t)), rmode); in j()
1817 Disassembler::Decode(isolate(), stdout, buffer_, pc_); in Print()
[all …]
/external/chromium_org/v8/src/ia32/
Dassembler-ia32-inl.h59 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply()
63 if (*pc_ == kCallOpcode) { in apply()
64 int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1); in apply()
71 int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1); in apply()
77 int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1); in apply()
82 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply()
91 return Assembler::target_address_at(pc_, host_); in target_address()
99 return reinterpret_cast<Address>(pc_); in target_address_address()
117 Assembler::set_target_address_at(pc_, host_, target, icache_flush_mode); in set_target_address()
130 return Memory::Object_at(pc_); in target_object()
[all …]
Dassembler-ia32.cc111 *(pc_ + i) = *(instructions + i); in PatchCode()
115 CPU::FlushICache(pc_, instruction_count); in PatchCode()
127 CodePatcher patcher(pc_, code_size); in PatchCodeWithCall()
232 *pc_++ = (x)
251 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
262 ASSERT(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
1339 emit(entry - (pc_ + sizeof(int32_t)), rmode); in call()
1409 emit(entry - (pc_ + sizeof(int32_t)), rmode); in jmp()
1470 emit(entry - (pc_ + sizeof(int32_t)), rmode); in j()
2434 Disassembler::Decode(isolate(), stdout, buffer_, pc_); in Print()
[all …]
/external/chromium_org/v8/src/mips/
Dassembler-mips-inl.h118 uint32_t scope2 = reinterpret_cast<uint32_t>(pc_) & ~kImm28Mask; in apply()
121 Assembler::JumpLabelToJumpRegister(pc_); in apply()
126 byte* p = reinterpret_cast<byte*>(pc_); in apply()
135 return Assembler::target_address_at(pc_, host_); in target_address()
159 pc_ + Assembler::kInstructionsFor32BitConstant * Assembler::kInstrSize); in target_address_address()
178 Assembler::set_target_address_at(pc_, host_, target, icache_flush_mode); in set_target_address()
195 return reinterpret_cast<Object*>(Assembler::target_address_at(pc_, host_)); in target_object()
202 Assembler::target_address_at(pc_, host_))); in target_object_handle()
211 Assembler::set_target_address_at(pc_, host_, in set_target_object()
218 host(), &Memory::Object_at(pc_), HeapObject::cast(target)); in set_target_object()
[all …]
Dassembler-mips.cc194 Instr* pc = reinterpret_cast<Instr*>(pc_); in PatchCode()
201 CPU::FlushICache(pc_, instruction_count * Assembler::kInstrSize); in PatchCode()
287 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
308 ASSERT(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
1121 uint32_t ipc = reinterpret_cast<uint32_t>(pc_ + 1 * kInstrSize); in j()
1143 uint32_t ipc = reinterpret_cast<uint32_t>(pc_ + 1 * kInstrSize); in jal()
1163 uint32_t ipc = reinterpret_cast<uint32_t>(pc_ + 1 * kInstrSize); in j_or_jr()
1176 uint32_t ipc = reinterpret_cast<uint32_t>(pc_ + 1 * kInstrSize); in jal_or_jalr()
2002 pc_ += pc_delta; in GrowBuffer()
2021 *reinterpret_cast<uint8_t*>(pc_) = data; in db()
[all …]
/external/chromium_org/v8/src/arm/
Dassembler-arm-inl.h97 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply()
107 return Assembler::target_address_at(pc_, host_); in target_address()
116 Assembler::IsMovW(Memory::int32_at(pc_))) { in target_address_address()
119 return reinterpret_cast<Address>(pc_); in target_address_address()
121 ASSERT(Assembler::IsLdrPcImmediateOffset(Memory::int32_at(pc_))); in target_address_address()
122 return Assembler::target_pointer_address_at(pc_); in target_address_address()
130 ASSERT(Assembler::IsLdrPpImmediateOffset(Memory::int32_at(pc_))); in constant_pool_entry_address()
131 return Assembler::target_constant_pool_address_at(pc_, in constant_pool_entry_address()
134 ASSERT(Assembler::IsLdrPcImmediateOffset(Memory::int32_at(pc_))); in constant_pool_entry_address()
135 return Assembler::target_pointer_address_at(pc_); in constant_pool_entry_address()
[all …]
/external/chromium_org/net/proxy/
Dproxy_config_service_fixed.cc10 : pc_(pc) { in ProxyConfigServiceFixed()
17 *config = pc_; in GetLatestProxyConfig()
Dproxy_config_service_fixed.h27 ProxyConfig pc_;
/external/chromium_org/v8/src/arm64/
Dassembler-arm64-inl.h29 Assembler::set_target_address_at(pc_, host_, target, icache_flush_mode); in set_target_address()
680 return Assembler::target_address_at(pc_, host_);
688 return Assembler::target_pointer_address_at(pc_);
694 return Assembler::target_pointer_address_at(pc_);
700 return reinterpret_cast<Object*>(Assembler::target_address_at(pc_, host_));
707 Assembler::target_address_at(pc_, host_)));
716 Assembler::set_target_address_at(pc_, host_,
723 host(), &Memory::Object_at(pc_), HeapObject::cast(target));
730 return Assembler::target_address_at(pc_, host_);
759 return Cell::FromValueAddress(Memory::Address_at(pc_));
[all …]
Dsimulator-arm64.h292 ASSERT(sizeof(T) == sizeof(pc_));
293 memcpy(&pc_, &new_pc, sizeof(T));
296 Instruction* pc() { return pc_; }
300 pc_ = pc_->following();
311 ASSERT(IsAligned(reinterpret_cast<uintptr_t>(pc_), kInstructionSize));
313 Decode(pc_);
776 Instruction* pc_;
Dassembler-arm64.h857 ASSERT((pc_ >= buffer_) && (pc_ < (buffer_ + buffer_size_))); in SizeOfGeneratedCode()
858 return pc_ - buffer_; in SizeOfGeneratedCode()
1683 byte* next_pc = AlignUp(pc_, kInstructionSize); in EmitStringData()
1684 EmitData(&pad, next_pc - pc_); in EmitStringData()
2024 STATIC_ASSERT(sizeof(*pc_) == 1); in Emit()
2026 ASSERT((pc_ + sizeof(instruction)) <= (buffer_ + buffer_size_)); in Emit()
2028 memcpy(pc_, &instruction, sizeof(instruction)); in Emit()
2029 pc_ += sizeof(instruction); in Emit()
2035 ASSERT(sizeof(*pc_) == 1); in EmitData()
2036 ASSERT((pc_ + size) <= (buffer_ + buffer_size_)); in EmitData()
[all …]
Dassembler-arm64.cc179 Instruction* instr = reinterpret_cast<Instruction*>(pc_); in IsInConstantPool()
186 Instr* pc = reinterpret_cast<Instr*>(pc_); in PatchCode()
193 CPU::FlushICache(pc_, instruction_count * kInstructionSize); in PatchCode()
321 ASSERT((pc_ >= buffer_) && (pc_ < buffer_ + buffer_size_)); in Reset()
325 memset(buffer_, 0, pc_ - buffer_); in Reset()
327 pc_ = buffer_; in Reset()
329 reinterpret_cast<byte*>(pc_)); in Reset()
498 link->SetImmPCOffsetTarget(reinterpret_cast<Instruction*>(pc_)); in bind()
517 ASSERT(sizeof(*pc_) == 1); in LinkAndGetByteOffsetTo()
703 Instruction* instr = reinterpret_cast<Instruction*>(pc_); in ConstantPoolGuard()
[all …]
Dsimulator-arm64.cc404 pc_ = NULL; in ResetState()
435 while (pc_ != kEndOfSimAddress) { in Run()
1014 if ((breakpoints_.at(i).location == pc_) && in CheckBreakpoints()
1023 reinterpret_cast<void*>(pc_)); in CheckBreakpoints()
1031 if (break_on_next_ && pc_->IsBranchAndLinkToRegister()) { in CheckBreakNext()
1032 SetBreakpoint(pc_->following()); in CheckBreakNext()
3240 PrintInstructionsAt(pc_, 1); in Debug()
3310 int64_t address = reinterpret_cast<int64_t>(pc_); // default value. in Debug()
3516 pc_->InstructionAtOffset(kDebugCodeOffset), in VisitException()
3519 pc_->InstructionAtOffset(kDebugParamsOffset), in VisitException()
[all …]
/external/vixl/src/a64/
Dassembler-a64.h627 : pc_(pc), value_(imm), size_(size) {} in Literal()
630 Instruction* pc_;
1395 Instruction* next_pc = AlignUp(pc_, kInstructionSize); in EmitStringData()
1396 EmitData(&pad, next_pc - pc_); in EmitStringData()
1664 VIXL_ASSERT((pc_ >= buffer_) && (pc_ < (buffer_ + buffer_size_))); in SizeOfCodeGenerated()
1665 return pc_ - buffer_; in SizeOfCodeGenerated()
1671 VIXL_ASSERT((pc_ >= label->target()) && (pc_ < (buffer_ + buffer_size_))); in SizeOfCodeGeneratedSince()
1672 return pc_ - label->target(); in SizeOfCodeGeneratedSince()
1684 (pc_ < (literals_.back()->pc_ + kMaxLoadLiteralRange))); in ReleaseLiteralPool()
1828 VIXL_STATIC_ASSERT(sizeof(*pc_) == 1); in Emit()
[all …]
Dsimulator-a64.h178 inline Instruction* pc() { return pc_; } in pc()
180 pc_ = new_pc; in set_pc()
186 pc_ = pc_->NextInstruction(); in increment_pc()
194 VIXL_ASSERT(IsWordAligned(pc_)); in ExecuteInstruction()
195 decoder_->Decode(pc_); in ExecuteInstruction()
647 Instruction* pc_; variable
Dassembler-a64.cc367 pc_ = buffer_; in Assembler()
373 VIXL_ASSERT(finalized_ || (pc_ == buffer_)); in ~Assembler()
380 VIXL_ASSERT((pc_ >= buffer_) && (pc_ < buffer_ + buffer_size_)); in Reset()
382 memset(buffer_, 0, pc_ - buffer_); in Reset()
385 pc_ = buffer_; in Reset()
387 next_literal_pool_check_ = pc_ + kLiteralPoolCheckInterval; in Reset()
401 label->target_ = pc_; in bind()
417 VIXL_STATIC_ASSERT(sizeof(*pc_) == 1); in UpdateAndGetByteOffsetTo()
419 offset = label->target() - pc_; in UpdateAndGetByteOffsetTo()
421 offset = label->link() - pc_; in UpdateAndGetByteOffsetTo()
[all …]
/external/chromium_org/v8/src/third_party/vtune/
Dvtune-jit.cc98 : pc_(pc), pos_(pos) { } in LineNumInfo()
100 intptr_t pc_; member
226 static_cast<unsigned int>(Iter->pc_); in event_handler()

12