Home
last modified time | relevance | path

Searched refs:buffer_start_ (Results 1 – 25 of 31) sorted by relevance

12

/external/v8/src/codegen/s390/
Dassembler-s390.cc338 Address pc = reinterpret_cast<Address>(buffer_start_) + request.offset(); in AllocateAndInstallRequestedHeapObjects()
365 reloc_info_writer.Reposition(buffer_start_ + buffer_->size(), pc_); in Assembler()
464 Opcode opcode = Instruction::S390OpcodeValue(buffer_start_ + pos); in target_at()
496 Opcode opcode = Instruction::S390OpcodeValue(buffer_start_ + pos); in target_at_put()
539 Opcode opcode = Instruction::S390OpcodeValue(buffer_start_ + pos); in max_reach_from()
738 DCHECK_EQ(buffer_start_, buffer_->start()); in GrowBuffer()
758 intptr_t pc_delta = new_start - buffer_start_; in GrowBuffer()
759 intptr_t rc_delta = (new_start + new_size) - (buffer_start_ + old_size); in GrowBuffer()
760 size_t reloc_size = (buffer_start_ + old_size) - reloc_info_writer.pos(); in GrowBuffer()
761 MemMove(new_start, buffer_start_, pc_offset()); in GrowBuffer()
[all …]
Dassembler-s390.h1325 return Instruction::InstructionBits(buffer_start_ + pos); in instr_at()
1329 Instruction::SetInstructionBits<T>(buffer_start_ + pos, instr); in instr_at_put()
1334 return Instruction::InstructionLength(buffer_start_ + pos); in instr_length_at()
1365 byte* buffer_pos() const { return buffer_start_; } in buffer_pos()
/external/v8/src/parsing/
Dscanner-character-streams.cc256 buffer_start_ = &buffer_[0]; in ReadBlock()
257 buffer_cursor_ = buffer_start_; in ReadBlock()
263 buffer_end_ = buffer_start_; in ReadBlock()
316 buffer_start_ = range.start; in ReadBlock()
318 buffer_cursor_ = buffer_start_; in ReadBlock()
322 DCHECK_LE(buffer_start_, buffer_end_); in ReadBlock()
363 if (range.start != buffer_start_) { in UpdateBufferPointers()
364 buffer_cursor_ = (buffer_cursor_ - buffer_start_) + range.start; in UpdateBufferPointers()
365 buffer_start_ = range.start; in UpdateBufferPointers()
403 DCHECK_EQ(buffer_start_, buffer_); in ReadBlock()
[all …]
Dscanner.h102 if (V8_LIKELY(buffer_cursor_ > buffer_start_)) { in Back()
110 return buffer_pos_ + (buffer_cursor_ - buffer_start_); in pos()
115 pos < (buffer_pos_ + (buffer_end_ - buffer_start_)))) { in Seek()
116 buffer_cursor_ = buffer_start_ + (pos - buffer_pos_); in Seek()
147 : buffer_start_(buffer_start), in Utf16CharacterStream()
163 DCHECK_LE(buffer_start_, buffer_cursor_); in ReadBlockChecked()
174 new_pos >= buffer_pos_ + (buffer_end_ - buffer_start_)); in ReadBlockAt()
178 buffer_cursor_ = buffer_start_; in ReadBlockAt()
199 const uint16_t* buffer_start_; variable
/external/v8/src/objects/
Dbacking-store.cc144 buffer_start_ = nullptr; in Clear()
158 if (buffer_start_ == nullptr) { in ~BackingStore()
170 this, buffer_start_, byte_length(), byte_capacity_, reservation_size); in ~BackingStore()
180 GetReservedRegion(has_guard_regions_, buffer_start_, byte_capacity_); in ~BackingStore()
194 this, buffer_start_, byte_length(), byte_capacity_); in ~BackingStore()
195 type_specific_data_.deleter.callback(buffer_start_, byte_length_, in ~BackingStore()
204 buffer_start_, byte_length(), byte_capacity_); in ~BackingStore()
205 allocator->Free(buffer_start_, byte_length_); in ~BackingStore()
467 memcpy(new_backing_store->buffer_start(), buffer_start_, byte_length_); in CopyWasmMemory()
528 if (!i::SetPermissions(GetPlatformPageAllocator(), buffer_start_, in GrowWasmMemoryInPlace()
[all …]
Dbacking-store.h77 void* buffer_start() const { return buffer_start_; } in buffer_start()
149 : buffer_start_(buffer_start), in BackingStore()
164 void* buffer_start_ = nullptr; variable
/external/v8/src/codegen/
Dassembler.cc155 buffer_start_ = buffer_->start(); in AssemblerBase()
156 pc_ = buffer_start_; in AssemblerBase()
163 v8::internal::Disassembler::Decode(isolate, &os, buffer_start_, pc_); in Print()
Dassembler.h265 int pc_offset() const { return static_cast<int>(pc_ - buffer_start_); } in pc_offset()
318 byte* buffer_start_; variable
/external/v8/src/codegen/ppc/
Dassembler-ppc.cc219 Address pc = reinterpret_cast<Address>(buffer_start_) + request.offset(); in AllocateAndInstallRequestedHeapObjects()
234 reloc_info_writer.Reposition(buffer_start_ + buffer_->size(), pc_); in Assembler()
489 options(), reinterpret_cast<byte*>(buffer_start_ + pos), 2); in target_at_put()
504 options(), reinterpret_cast<byte*>(buffer_start_ + pos), in target_at_put()
514 reinterpret_cast<byte*>(buffer_start_ + pos), in target_at_put()
522 reinterpret_cast<byte*>(buffer_start_ + pos), in target_at_put()
1851 DCHECK_EQ(buffer_start_, buffer_->start()); in GrowBuffer()
1871 intptr_t pc_delta = new_start - buffer_start_; in GrowBuffer()
1872 intptr_t rc_delta = (new_start + new_size) - (buffer_start_ + old_size); in GrowBuffer()
1873 size_t reloc_size = (buffer_start_ + old_size) - reloc_info_writer.pos(); in GrowBuffer()
[all …]
Dassembler-ppc-inl.h383 Address pc = reinterpret_cast<Address>(buffer_start_) + pc_offset; in PatchConstantPoolAccessInstruction()
Dassembler-ppc.h1123 return *reinterpret_cast<Instr*>(buffer_start_ + pos); in instr_at()
1126 *reinterpret_cast<Instr*>(buffer_start_ + pos) = instr; in instr_at_put()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system.cc326 buffer_start_(0) {} in BufferedGcsRandomAccessFile()
343 size_t buffer_end = buffer_start_ + buffer_.size(); in Read()
345 if (offset < buffer_end && offset >= buffer_start_) { in Read()
347 memcpy(scratch, buffer_.data() + (offset - buffer_start_), copy_size); in Read()
376 buffer_start_ = start; in FillBuffer()
379 Status status = read_fn_(filename_, buffer_start_, buffer_size_, &str_piece, in FillBuffer()
399 mutable uint64 buffer_start_ GUARDED_BY(buffer_mutex_);
/external/v8/src/codegen/ia32/
Dassembler-ia32.cc285 Address pc = reinterpret_cast<Address>(buffer_start_) + request.offset(); in AllocateAndInstallRequestedHeapObjects()
299 reloc_info_writer.Reposition(buffer_start_ + buffer_->size(), pc_); in Assembler()
1512 long_at_put(fixup_pos, reinterpret_cast<int>(buffer_start_ + pos)); in bind_to()
3131 DCHECK_EQ(buffer_start_, buffer_->start()); in GrowBuffer()
3149 intptr_t pc_delta = new_start - buffer_start_; in GrowBuffer()
3150 intptr_t rc_delta = (new_start + new_size) - (buffer_start_ + old_size); in GrowBuffer()
3151 size_t reloc_size = (buffer_start_ + old_size) - reloc_info_writer.pos(); in GrowBuffer()
3152 MemMove(new_start, buffer_start_, pc_offset()); in GrowBuffer()
3158 buffer_start_ = new_start; in GrowBuffer()
3165 Address p = reinterpret_cast<Address>(buffer_start_ + pos); in GrowBuffer()
[all …]
Dassembler-ia32.h1725 return (buffer_start_ + buffer_->size()) - reloc_info_writer.pos(); in relocation_writer_size()
1731 byte byte_at(int pos) { return buffer_start_[pos]; } in byte_at()
1732 void set_byte_at(int pos, byte value) { buffer_start_[pos] = value; } in set_byte_at()
1741 return reinterpret_cast<Address>(buffer_start_ + pos); in addr_at()
/external/v8/src/codegen/mips/
Dassembler-mips.cc243 Address pc = reinterpret_cast<Address>(buffer_start_) + request.offset(); in AllocateAndInstallRequestedHeapObjects()
289 reloc_info_writer.Reposition(buffer_start_ + buffer_->size(), pc_); in Assembler()
812 int32_t instr_address = reinterpret_cast<int32_t>(buffer_start_ + pos); in target_at()
868 uint32_t instr_address = reinterpret_cast<int32_t>(buffer_start_ + pos); in target_at()
897 uint32_t imm = reinterpret_cast<uint32_t>(buffer_start_) + target_pos; in target_at_put()
981 uint32_t imm = reinterpret_cast<uint32_t>(buffer_start_) + target_pos; in target_at_put()
1408 uint32_t imm = reinterpret_cast<uint32_t>(buffer_start_) + target_pos; in jump_address()
3551 int pc_delta = new_start - buffer_start_; in GrowBuffer()
3552 int rc_delta = (new_start + new_size) - (buffer_start_ + old_size); in GrowBuffer()
3553 size_t reloc_size = (buffer_start_ + old_size) - reloc_info_writer.pos(); in GrowBuffer()
[all …]
Dassembler-mips.h184 instr_at(static_cast<int>(last_call_pc_ - buffer_start_ - kInstrSize)); in pc_offset_for_safepoint()
186 static_cast<int>(last_call_pc_ - buffer_start_ - kInstrSize * 2)); in pc_offset_for_safepoint()
199 return static_cast<int>(last_call_pc_ - buffer_start_); in pc_offset_for_safepoint()
1442 return *reinterpret_cast<Instr*>(buffer_start_ + pos); in instr_at()
1445 *reinterpret_cast<Instr*>(buffer_start_ + pos) = instr; in instr_at_put()
/external/v8/src/codegen/arm/
Dassembler-arm.cc466 Address pc = reinterpret_cast<Address>(buffer_start_) + request.offset(); in AllocateAndInstallRequestedHeapObjects()
529 reloc_info_writer.Reposition(buffer_start_ + buffer_->size(), pc_); in Assembler()
840 options(), reinterpret_cast<byte*>(buffer_start_ + pos), 1); in target_at_put()
849 options(), reinterpret_cast<byte*>(buffer_start_ + pos), 1); in target_at_put()
854 options(), reinterpret_cast<byte*>(buffer_start_ + pos), 2); in target_at_put()
866 options(), reinterpret_cast<byte*>(buffer_start_ + pos), 2); in target_at_put()
871 options(), reinterpret_cast<byte*>(buffer_start_ + pos), 3); in target_at_put()
5002 DCHECK_EQ(buffer_start_, buffer_->start()); in GrowBuffer()
5020 int pc_delta = new_start - buffer_start_; in GrowBuffer()
5021 int rc_delta = (new_start + new_size) - (buffer_start_ + old_size); in GrowBuffer()
[all …]
Dassembler-arm.h1081 return *reinterpret_cast<Instr*>(buffer_start_ + pos); in instr_at()
1084 *reinterpret_cast<Instr*>(buffer_start_ + pos) = instr; in instr_at_put()
/external/v8/src/codegen/mips64/
Dassembler-mips64.cc217 Address pc = reinterpret_cast<Address>(buffer_start_) + request.offset(); in AllocateAndInstallRequestedHeapObjects()
265 reloc_info_writer.Reposition(buffer_start_ + buffer_->size(), pc_); in Assembler()
687 int64_t* p = reinterpret_cast<int64_t*>(buffer_start_ + pos); in target_at()
761 uint64_t instr_address = reinterpret_cast<int64_t>(buffer_start_ + pos); in target_at()
798 uint64_t imm = reinterpret_cast<uint64_t>(buffer_start_) + target_pos; in target_at_put()
799 *reinterpret_cast<uint64_t*>(buffer_start_ + pos) = imm; in target_at_put()
850 uint64_t imm = reinterpret_cast<uint64_t>(buffer_start_) + target_pos; in target_at_put()
1331 uint64_t imm = reinterpret_cast<uint64_t>(buffer_start_) + target_pos; in jump_address()
3749 intptr_t pc_delta = new_start - buffer_start_; in GrowBuffer()
3750 intptr_t rc_delta = (new_start + new_size) - (buffer_start_ + old_size); in GrowBuffer()
[all …]
Dassembler-mips64.h182 instr_at(static_cast<int>(last_call_pc_ - buffer_start_ - kInstrSize)); in pc_offset_for_safepoint()
184 static_cast<int>(last_call_pc_ - buffer_start_ - kInstrSize * 2)); in pc_offset_for_safepoint()
197 return static_cast<int>(last_call_pc_ - buffer_start_); in pc_offset_for_safepoint()
1502 return *reinterpret_cast<Instr*>(buffer_start_ + pos); in instr_at()
1505 *reinterpret_cast<Instr*>(buffer_start_ + pos) = instr; in instr_at_put()
/external/v8/src/codegen/x64/
Dassembler-x64.cc212 Address pc = reinterpret_cast<Address>(buffer_start_) + request.offset(); in AllocateAndInstallRequestedHeapObjects()
320 reloc_info_writer.Reposition(buffer_start_ + buffer_->size(), pc_); in Assembler()
440 intptr_t imm64 = reinterpret_cast<intptr_t>(buffer_start_ + pos); in bind_to()
454 intptr_t imm64 = reinterpret_cast<intptr_t>(buffer_start_ + pos); in bind_to()
517 DCHECK_EQ(buffer_start_, buffer_->start()); in GrowBuffer()
533 intptr_t pc_delta = new_start - buffer_start_; in GrowBuffer()
534 intptr_t rc_delta = (new_start + new_size) - (buffer_start_ + old_size); in GrowBuffer()
535 size_t reloc_size = (buffer_start_ + old_size) - reloc_info_writer.pos(); in GrowBuffer()
536 MemMove(new_start, buffer_start_, pc_offset()); in GrowBuffer()
542 buffer_start_ = new_start; in GrowBuffer()
[all …]
Dassembler-x64.h1858 byte byte_at(int pos) { return buffer_start_[pos]; } in byte_at()
1859 void set_byte_at(int pos, byte value) { buffer_start_[pos] = value; } in set_byte_at()
1871 return reinterpret_cast<Address>(buffer_start_ + pos); in addr_at()
/external/v8/src/codegen/arm64/
Dassembler-arm64.cc328 DCHECK((pc_ >= buffer_start_) && (pc_ < buffer_start_ + buffer_->size())); in Reset()
331 memset(buffer_start_, 0, pc_ - buffer_start_); in Reset()
333 pc_ = buffer_start_; in Reset()
334 reloc_info_writer.Reposition(buffer_start_ + buffer_->size(), pc_); in Reset()
350 Address pc = reinterpret_cast<Address>(buffer_start_) + request.offset(); in AllocateAndInstallRequestedHeapObjects()
478 static_cast<int>(reinterpret_cast<byte*>(next_link) - buffer_start_)); in RemoveBranchFromLabelLinkChain()
3517 dc64(reinterpret_cast<uintptr_t>(buffer_start_ + label->pos())); in dcptr()
4279 intptr_t pc_delta = new_start - buffer_start_; in GrowBuffer()
4280 intptr_t rc_delta = (new_start + new_size) - (buffer_start_ + old_size); in GrowBuffer()
4281 size_t reloc_size = (buffer_start_ + old_size) - reloc_info_writer.pos(); in GrowBuffer()
[all …]
Dassembler-arm64.h303 DCHECK((pc_ >= buffer_start_) && (pc_ < (buffer_start_ + buffer_->size()))); in SizeOfGeneratedCode()
304 return pc_ - buffer_start_; in SizeOfGeneratedCode()
2075 return reinterpret_cast<Instruction*>(buffer_start_ + offset); in InstructionAt()
2079 return reinterpret_cast<byte*>(instr) - buffer_start_; in InstructionOffset()
2590 DCHECK_LE(pc_ + sizeof(instruction), buffer_start_ + buffer_->size()); in Emit()
2600 DCHECK_LE(pc_ + size, buffer_start_ + buffer_->size()); in EmitData()
Dassembler-arm64-inl.h1069 DCHECK_LT(pc_, buffer_start_ + buffer_->size());

12