/external/v8/src/wasm/ |
D | decoder.h | 36 pc_(start), in Decoder() 42 pc_(pc), in Decoder() 145 TRACE(" +%d %-20s: ", static_cast<int>(pc_ - start_), 148 byte val = *(pc_++); 157 TRACE(" +%d %-20s: ", static_cast<int>(pc_ - start_), 160 uint16_t val = read_u16(pc_); 161 TRACE("%02x %02x = %d\n", pc_[0], pc_[1], val); 162 pc_ += 2; 170 TRACE(" +%d %-20s: ", static_cast<int>(pc_ - start_), 173 uint32_t val = read_u32(pc_); [all …]
|
D | function-body-decoder.cc | 378 error(pc_, pc_ + 2, "invalid lane index"); in Validate() 409 error(pc_, pc_ + 2, "invalid shift amount"); in Validate() 538 if (end_ < pc_) { in Decode() 554 error(pc_, control_.back().pc, "unterminated control structure"); in Decode() 683 error(pc_ - 1, "memory instruction with no memory"); in CheckHasMemory() 692 reinterpret_cast<const void*>(end_), baserel(pc_), in DecodeFunctionBody() 704 c->merge.vals.first = {pc_, nullptr, sig_->GetReturn(0)}; in DecodeFunctionBody() 708 c->merge.vals.array[i] = {pc_, nullptr, sig_->GetReturn(i)}; in DecodeFunctionBody() 713 while (pc_ < end_) { // decoding loop. in DecodeFunctionBody() 715 WasmOpcode opcode = static_cast<WasmOpcode>(*pc_); in DecodeFunctionBody() [all …]
|
D | function-body-decoder.h | 162 return base::iterator_range<opcode_iterator>(opcode_iterator(pc_, end_), in NON_EXPORTED_BASE() 168 offset_iterator(start_, pc_, end_), in NON_EXPORTED_BASE() 174 checked_read_u8(pc_, 0, "expected bytecode")); in NON_EXPORTED_BASE() 178 if (pc_ < end_) { in NON_EXPORTED_BASE() 179 pc_ += OpcodeLength(pc_, end_); in NON_EXPORTED_BASE() 180 if (pc_ >= end_) pc_ = end_; in NON_EXPORTED_BASE() 184 bool has_next() { return pc_ < end_; } in NON_EXPORTED_BASE()
|
D | module-decoder.cc | 228 pc_ = end_; // On error, terminate section decoding loop. in onFirstError() 257 pc_ = start_; in DecodeModule() 264 const byte* pos = pc_; in DecodeModule() 274 pos = pc_; in DecodeModule() 293 static_cast<int>(pc_ - start_)); in DecodeModule() 307 static_cast<int>(pc_ - start_)); in DecodeModule() 318 const byte* pos = pc_; in DecodeModule() 452 static_cast<int>(pc_ - start_)); in DecodeModule() 469 static_cast<int>(pc_ - start_)); in DecodeModule() 555 const byte* pos = pc_; in DecodeModule() [all …]
|
D | function-body-decoder-impl.h | 250 decoder_->checked_read_u32v(pc_, 0, &length, "branch table entry"); in next() 251 pc_ += length; in next() 258 return static_cast<unsigned>(pc_ - start_); in length() 260 const byte* pc() { return pc_; } in pc() 265 pc_(operand.table), in BranchTableIterator() 272 const byte* pc_; variable
|
D | wasm-interpreter.h | 86 int pc() const { return pc_; } in FOREACH_UNION_MEMBER() 101 : function_(function), pc_(pc), fp_(fp), sp_(sp) {} in FOREACH_UNION_MEMBER() 104 int pc_; in FOREACH_UNION_MEMBER() local
|
/external/v8/src/regexp/ |
D | regexp-macro-assembler-irregexp-inl.h | 19 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 …]
|
D | regexp-macro-assembler-irregexp.cc | 23 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/webrtc/talk/app/webrtc/ |
D | peerconnectioninterface_unittest.cc | 411 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 __anon29075e450111::MockPeerConnectionObserver [all …]
|
D | statscollector.cc | 369 : 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 …]
|
D | statscollector_unittest.cc | 517 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/ |
D | assembler-ia32-inl.h | 60 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 pc_ + Assembler::kPatchDebugBreakSlotAddressOffset); in apply() 75 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply() 83 return Assembler::target_address_at(pc_, host_); in target_address() 90 return reinterpret_cast<Address>(pc_); in target_address_address() 107 return Memory::Object_at(pc_); in target_object() 113 return Memory::Object_Handle_at(pc_); in target_object_handle() 121 Memory::Object_at(pc_) = target; in set_target_object() [all …]
|
D | assembler-ia32.cc | 191 return Memory::Address_at(pc_); in wasm_memory_reference() 196 return Memory::Address_at(pc_); in wasm_global_reference() 201 return Memory::uint32_at(pc_); in wasm_memory_size_reference() 206 return Memory::uint32_at(pc_); in wasm_function_table_size_reference() 211 Memory::Address_at(pc_) = address; in unchecked_update_wasm_memory_reference() 216 Memory::uint32_at(pc_) = size; in unchecked_update_wasm_size() 301 *pc_++ = (x) 314 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler() 321 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode() 1553 emit(entry - (pc_ + sizeof(int32_t)), rmode); in call() [all …]
|
/external/v8/src/x87/ |
D | assembler-x87-inl.h | 60 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 pc_ + Assembler::kPatchDebugBreakSlotAddressOffset); in apply() 75 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply() 83 return Assembler::target_address_at(pc_, host_); in target_address() 90 return reinterpret_cast<Address>(pc_); in target_address_address() 107 return Memory::Object_at(pc_); in target_object() 113 return Memory::Object_Handle_at(pc_); in target_object_handle() 121 Memory::Object_at(pc_) = target; in set_target_object() [all …]
|
D | assembler-x87.cc | 106 return Memory::Address_at(pc_); in wasm_memory_reference() 111 return Memory::Address_at(pc_); in wasm_global_reference() 116 return Memory::uint32_at(pc_); in wasm_memory_size_reference() 121 return Memory::uint32_at(pc_); in wasm_function_table_size_reference() 126 Memory::Address_at(pc_) = address; in unchecked_update_wasm_memory_reference() 131 Memory::uint32_at(pc_) = size; in unchecked_update_wasm_size() 216 *pc_++ = (x) 229 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler() 236 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode() 1424 emit(entry - (pc_ + sizeof(int32_t)), rmode); in call() [all …]
|
/external/v8/src/mips64/ |
D | assembler-mips64-inl.h | 94 byte* p = reinterpret_cast<byte*>(pc_); in apply() 103 return Assembler::target_address_at(pc_, host_); in target_address() 128 pc_ + Assembler::kInstructionsFor64BitConstant * Assembler::kInstrSize); in target_address_address() 191 return reinterpret_cast<Object*>(Assembler::target_address_at(pc_, host_)); in target_object() 198 Assembler::target_address_at(pc_, host_))); in target_object_handle() 206 Assembler::set_target_address_at(isolate_, pc_, host_, in set_target_object() 221 return Assembler::target_address_at(pc_, host_); in target_external_reference() 227 return Memory::Address_at(pc_); in target_internal_reference() 231 Instr instr = Assembler::instr_at(pc_ + 0 * Assembler::kInstrSize); in target_internal_reference() 235 (reinterpret_cast<uint64_t>(pc_) & ~static_cast<uint64_t>(kImm28Mask)); in target_internal_reference() [all …]
|
/external/v8/src/mips/ |
D | assembler-mips-inl.h | 94 byte* p = reinterpret_cast<byte*>(pc_); in apply() 103 return Assembler::target_address_at(pc_, host_); in target_address() 126 pc_ + Assembler::kInstructionsFor32BitConstant * Assembler::kInstrSize); in target_address_address() 203 return reinterpret_cast<Object*>(Assembler::target_address_at(pc_, host_)); in target_object() 210 Assembler::target_address_at(pc_, host_))); in target_object_handle() 218 Assembler::set_target_address_at(isolate_, pc_, host_, in set_target_object() 233 return Assembler::target_address_at(pc_, host_); in target_external_reference() 239 return Memory::Address_at(pc_); in target_internal_reference() 244 Instr instr1 = Assembler::instr_at(pc_ + 0 * Assembler::kInstrSize); in target_internal_reference() 245 Instr instr2 = Assembler::instr_at(pc_ + 1 * Assembler::kInstrSize); in target_internal_reference() [all …]
|
/external/v8/src/x64/ |
D | assembler-x64-inl.h | 30 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() 332 Memory::int32_at(pc_) -= static_cast<int32_t>(delta); in apply() 334 if (*pc_ == kCallOpcode) { in apply() [all …]
|
/external/v8/src/s390/ |
D | assembler-s390-inl.h | 57 Address target = Memory::Address_at(pc_); in apply() 58 Memory::Address_at(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_, host_); in apply() 73 Assembler::set_target_address_at(isolate_, pc_, host_, target + delta, in apply() 81 return Memory::Address_at(pc_); in target_internal_reference() 85 return Assembler::target_address_at(pc_, host_); in target_internal_reference() 91 return reinterpret_cast<Address>(pc_); in target_internal_reference_address() 96 return Assembler::target_address_at(pc_, host_); in target_address() [all …]
|
/external/v8/src/ppc/ |
D | assembler-ppc-inl.h | 58 Address target = Memory::Address_at(pc_); in apply() 59 Memory::Address_at(pc_) = target + delta; in apply() 63 Address target = Assembler::target_address_at(pc_, host_); in apply() 64 Assembler::set_target_address_at(isolate_, pc_, host_, target + delta, in apply() 73 return Memory::Address_at(pc_); in target_internal_reference() 77 return Assembler::target_address_at(pc_, host_); in target_internal_reference() 84 return reinterpret_cast<Address>(pc_); in target_internal_reference_address() 90 return Assembler::target_address_at(pc_, host_); in target_address() 98 Assembler::IsConstantPoolLoadStart(pc_)) { in target_address_address() 102 return reinterpret_cast<Address>(pc_); in target_address_address() [all …]
|
/external/v8/src/arm/ |
D | assembler-arm-inl.h | 61 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply() 71 return Assembler::target_address_at(pc_, host_); in target_address() 79 Assembler::IsMovW(Memory::int32_at(pc_))) { in target_address_address() 83 return reinterpret_cast<Address>(pc_); in target_address_address() 85 DCHECK(Assembler::IsLdrPcImmediateOffset(Memory::int32_at(pc_))); in target_address_address() 93 return Assembler::constant_pool_entry_address(pc_, host_->constant_pool()); in constant_pool_entry_address() 104 return reinterpret_cast<Object*>(Assembler::target_address_at(pc_, host_)); in target_object() 111 Assembler::target_address_at(pc_, host_))); in target_object_handle() 119 Assembler::set_target_address_at(isolate_, pc_, host_, in set_target_object() 134 return Assembler::target_address_at(pc_, host_); in target_external_reference() [all …]
|
/external/v8/src/arm64/ |
D | assembler-arm64-inl.h | 26 intptr_t* p = reinterpret_cast<intptr_t*>(pc_); in apply() 678 return Assembler::target_address_at(pc_, host_); 685 return Assembler::target_pointer_address_at(pc_); 691 return Assembler::target_pointer_address_at(pc_); 697 return reinterpret_cast<Object*>(Assembler::target_address_at(pc_, host_)); 704 Assembler::target_address_at(pc_, host_))); 712 Assembler::set_target_address_at(isolate_, pc_, host_, 727 return Assembler::target_address_at(pc_, host_); 733 return Memory::Address_at(pc_); 739 return reinterpret_cast<Address>(pc_); [all …]
|
D | simulator-arm64.h | 295 DCHECK(sizeof(T) == sizeof(pc_)); 296 memcpy(&pc_, &new_pc, sizeof(T)); 299 Instruction* pc() { return pc_; } 303 pc_ = pc_->following(); 314 DCHECK(IsAligned(reinterpret_cast<uintptr_t>(pc_), kInstructionSize)); 316 Decode(pc_); 852 Instruction* pc_;
|
/external/v8/src/third_party/vtune/ |
D | vtune-jit.cc | 84 : pc_(pc), pos_(pos) { } in LineNumInfo() 86 intptr_t pc_; member 209 static_cast<unsigned int>(Iter->pc_); in event_handler()
|
/external/v8/src/ |
D | assembler.cc | 161 pc_ = buffer_; in AssemblerBase() 184 v8::internal::Disassembler::Decode(isolate(), &os, buffer_, pc_, nullptr); in Print() 319 Assembler::FlushICache(isolate_, pc_, sizeof(int64_t)); in update_wasm_memory_reference() 331 Assembler::FlushICache(isolate_, pc_, sizeof(int64_t)); in update_wasm_memory_size() 346 Assembler::FlushICache(isolate_, pc_, sizeof(int32_t)); in update_wasm_global_reference() 358 Assembler::FlushICache(isolate_, pc_, sizeof(int64_t)); in update_wasm_function_table_size_reference() 366 Assembler::set_target_address_at(isolate_, pc_, host_, target, in set_target_address() 505 rinfo_.pc_ += *pos_ >> kTagBits; in ReadShortTaggedPC() 510 rinfo_.pc_ += *--pos_; in AdvanceReadPC() 554 rinfo_.pc_ += pc_jump << kSmallPCDeltaBits; in AdvanceReadLongPCJump() [all …]
|