/external/webkit/V8Binding/v8/src/ |
D | regexp-macro-assembler-irregexp-inl.h | 46 ASSERT(pc_ <= buffer_.length()); in Emit() 47 if (pc_ + 3 >= buffer_.length()) { in Emit() 50 *reinterpret_cast<uint32_t*>(buffer_.start() + pc_) = word; in Emit() 56 ASSERT(pc_ <= buffer_.length()); in Emit16() 57 if (pc_ + 1 >= buffer_.length()) { in Emit16() 60 *reinterpret_cast<uint16_t*>(buffer_.start() + pc_) = word; in Emit16() 66 ASSERT(pc_ <= buffer_.length()); in Emit32() 67 if (pc_ + 3 >= buffer_.length()) { in Emit32() 70 *reinterpret_cast<uint32_t*>(buffer_.start() + pc_) = word; in Emit32()
|
D | utils.cc | 262 buffer_ = Vector<char>::New(size); in StringBuilder() 273 ASSERT(!is_finalized() && position_ + n < buffer_.length()); in AddSubstring() 275 memcpy(&buffer_[position_], s, n * kCharSize); in AddSubstring() 281 ASSERT(!is_finalized() && position_ < buffer_.length()); in AddFormatted() 284 int n = OS::VSNPrintF(buffer_ + position_, format, args); in AddFormatted() 286 if (n < 0 || n >= (buffer_.length() - position_)) { in AddFormatted() 287 position_ = buffer_.length(); in AddFormatted() 302 ASSERT(!is_finalized() && position_ < buffer_.length()); in Finalize() 303 buffer_[position_] = '\0'; in Finalize() 306 ASSERT(strlen(buffer_.start()) == static_cast<size_t>(position_)); in Finalize() [all …]
|
D | string-stream.cc | 65 buffer_ = new_buffer; in Put() 70 buffer_[length_ - 4] = '.'; in Put() 71 buffer_[length_ - 3] = '.'; in Put() 72 buffer_[length_ - 2] = '.'; in Put() 73 buffer_[length_ - 1] = '\n'; in Put() 74 buffer_[length_] = '\0'; in Put() 78 buffer_[length_] = c; in Put() 79 buffer_[length_ + 1] = '\0'; in Put() 184 ASSERT(buffer_[length_] == '\0'); in Add() 256 memcpy(str, buffer_, length_); in ToCString() [all …]
|
D | utils.h | 418 EmbeddedVector() : Vector<T>(buffer_, kSize) { } in EmbeddedVector() 423 memcpy(buffer_, rhs.buffer_, sizeof(T) * kSize); in EmbeddedVector() 424 set_start(buffer_); in EmbeddedVector() 430 memcpy(buffer_, rhs.buffer_, sizeof(T) * kSize); 431 set_start(buffer_); 436 T buffer_[kSize]; 505 : buffer_(buffer, size), position_(0) { } in StringBuilder() 509 int size() const { return buffer_.length(); } in size() 525 ASSERT(!is_finalized() && position_ < buffer_.length()); in AddCharacter() 526 buffer_[position_++] = c; in AddCharacter() [all …]
|
D | regexp-macro-assembler-irregexp.cc | 42 : buffer_(buffer), in RegExpMacroAssemblerIrregexp() 51 if (own_buffer_) buffer_.Dispose(); in ~RegExpMacroAssemblerIrregexp() 68 pos = *reinterpret_cast<int32_t*>(buffer_.start() + fixup); in Bind() 69 *reinterpret_cast<uint32_t*>(buffer_.start() + fixup) = pc_; in Bind() 447 memcpy(a, buffer_.start(), length()); in Copy() 453 Vector<byte> old_buffer = buffer_; in Expand() 454 buffer_ = Vector<byte>::New(old_buffer.length() * 2); in Expand() 456 memcpy(buffer_.start(), old_buffer.start(), old_buffer.length()); in Expand()
|
D | log-utils.cc | 359 for (int i = 0; i < buffer_.length(); ++i) { in ~LogRecordCompressor() 360 buffer_[i].Dispose(); in ~LogRecordCompressor() 396 Vector<const char>& curr = buffer_[curr_]; in Store() 404 curr_ %= buffer_.length(); in Store() 407 buffer_[curr_].Dispose(); in Store() 408 buffer_[curr_] = in Store() 428 Vector<const char>& prev = buffer_[prev_]; in RetrievePreviousCompressed() 434 if (--index == -1) index = buffer_.length() - 1; in RetrievePreviousCompressed() 438 Vector<const char>& data = buffer_[index]; in RetrievePreviousCompressed()
|
D | string-stream.h | 118 buffer_(allocator_->allocate(kInitialCapacity)) { in StringStream() 119 buffer_[0] = 0; in StringStream() 159 buffer_[0] = 0; in Reset() 178 char* buffer_; variable
|
D | dateparser.h | 70 buffer_(s), in InputReader() 76 void Next() { ch_ = (index_ < buffer_.length()) ? buffer_[index_++] : 0; } in Next() 137 Vector<Char> buffer_; variable
|
D | unicode-inl.h | 129 uchar result = DecodeCharacter(buffer_, &cursor_); in GetNext() 202 buffer_ = R::ReadBlock(input_, util_buffer_, s, &remaining_, &offset_); in FillBuffer() 216 buffer_ = R::ReadBlock(input_, util_buffer_, s, &remaining_, &offset_); in Reset() 227 buffer_ = R::ReadBlock(input_, util_buffer_, s, &remaining_, &offset_); in Seek()
|
D | log-utils.h | 183 : buffer_(window_size + kNoCompressionWindowSize), in LogRecordCompressor() 213 ScopedVector< Vector<const char> > buffer_; variable
|
D | log.cc | 58 byte buffer_[kBufferSize]; member in v8::internal::SlidingStateWindow 92 buffer_[head_] = *sample; in Insert() 101 *sample = buffer_[tail_]; in Remove() 122 TickSample buffer_[kBufferSize]; // Buffer storage. member in v8::internal::Profiler 219 buffer_[i] = static_cast<byte>(OTHER); in SlidingStateWindow() 232 DecrementStateCounter(static_cast<StateTag>(buffer_[current_index_])); in AddState() 236 buffer_[current_index_] = static_cast<byte>(state); in AddState()
|
D | regexp-macro-assembler-irregexp.h | 121 Vector<byte> buffer_; variable
|
D | unicode.h | 166 const byte* buffer_; variable
|
/external/webkit/V8Binding/v8/src/ia32/ |
D | assembler-ia32.cc | 272 buffer_ = NewArray<byte>(buffer_size); in Assembler() 274 buffer_ = static_cast<byte*>(buffer); in Assembler() 281 buffer_ = static_cast<byte*>(buffer); in Assembler() 291 memset(buffer_, 0xCC, buffer_size); // int3 in Assembler() 296 ASSERT(buffer_ != NULL); in Assembler() 297 pc_ = buffer_; in Assembler() 298 reloc_info_writer.Reposition(buffer_ + buffer_size, pc_); in Assembler() 314 spare_buffer_ = buffer_; in ~Assembler() 316 DeleteArray(buffer_); in ~Assembler() 328 desc->buffer = buffer_; in GetCode() [all …]
|
D | assembler-ia32.h | 747 int pc_offset() const { return pc_ - buffer_; } in pc_offset() 772 byte* addr_at(int pos) { return buffer_ + pos; } in addr_at() 773 byte byte_at(int pos) { return buffer_[pos]; } in byte_at() 823 byte* buffer_; variable
|
/external/webkit/V8Binding/v8/src/arm/ |
D | assembler-arm.cc | 252 buffer_ = NewArray<byte>(buffer_size); in Assembler() 254 buffer_ = static_cast<byte*>(buffer); in Assembler() 262 buffer_ = static_cast<byte*>(buffer); in Assembler() 268 ASSERT(buffer_ != NULL); in Assembler() 269 pc_ = buffer_; in Assembler() 270 reloc_info_writer.Reposition(buffer_ + buffer_size, pc_); in Assembler() 286 spare_buffer_ = buffer_; in ~Assembler() 288 DeleteArray(buffer_); in ~Assembler() 300 desc->buffer = buffer_; in GetCode() 303 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode() [all …]
|
D | assembler-arm.h | 666 int pc_offset() const { return pc_ - buffer_; } in pc_offset() 678 Instr instr_at(int pos) { return *reinterpret_cast<Instr*>(buffer_ + pos); } in instr_at() 680 *reinterpret_cast<Instr*>(buffer_ + pos) = instr; in instr_at_put() 700 byte* buffer_;
|
/external/webkit/V8Binding/v8/src/x64/ |
D | assembler-x64.cc | 262 buffer_ = NewArray<byte>(buffer_size); in Assembler() 264 buffer_ = static_cast<byte*>(buffer); in Assembler() 271 buffer_ = static_cast<byte*>(buffer); in Assembler() 281 memset(buffer_, 0xCC, buffer_size); // int3 in Assembler() 286 ASSERT(buffer_ != NULL); in Assembler() 287 pc_ = buffer_; in Assembler() 288 reloc_info_writer.Reposition(buffer_ + buffer_size, pc_); in Assembler() 304 spare_buffer_ = buffer_; in ~Assembler() 306 DeleteArray(buffer_); in ~Assembler() 318 desc->buffer = buffer_; in GetCode() [all …]
|
D | assembler-x64.h | 1045 int pc_offset() const { return pc_ - buffer_; } in pc_offset() 1070 byte* addr_at(int pos) { return buffer_ + pos; } in addr_at() 1071 byte byte_at(int pos) { return buffer_[pos]; } in byte_at() 1253 byte* buffer_; variable
|