/third_party/node/deps/v8/src/snapshot/ |
H A D | snapshot-source-sink.h | 31 position_(0) {} in SnapshotByteSource() 34 : data_(payload.begin()), length_(payload.length()), position_(0) {} in SnapshotByteSource() 40 bool HasMore() { return position_ < length_; } in HasMore() 43 DCHECK(position_ < length_); in Get() 44 return data_[position_++]; in Get() 48 DCHECK(position_ < length_); 49 return data_[position_]; 52 void Advance(int by) { position_ += by; } 55 memcpy(to, data_ + position_, number_of_bytes); 56 position_ [all...] |
/third_party/node/deps/v8/src/zone/ |
H A D | zone-chunk-list.h | 117 uint32_t position_ = 0; member 159 maybe_const<T>& operator*() const { return current_->items()[position_]; } in operator *() 160 maybe_const<T>* operator->() const { return ¤t_->items()[position_]; } in operator ->() 162 return other.current_ == current_ && other.position_ == position_; in operator ==() 200 position_ += amount; in Advance() 201 while (position_ > 0 && position_ >= current_->capacity_) { in Advance() 202 auto overshoot = position_ - current_->capacity_; in Advance() 204 position_ in Advance() 275 size_t position_; global() member in v8::internal::ZoneChunkList::ZoneChunkListIterator [all...] |
H A D | zone.cc | 52 Address result = position_; in AsanNew() 55 DCHECK_LE(position_, limit_); in AsanNew() 56 if (size_with_redzone > limit_ - position_) { in AsanNew() 59 position_ += size_with_redzone; in AsanNew() 63 DCHECK_EQ(redzone_position + kASanRedzoneBytes, position_); in AsanNew() 79 position_ = segment_head_->end(); in Reset() 92 position_ = RoundUp(keep->start(), kAlignmentInBytes); in Reset() 117 position_ = limit_ = 0; in DeleteAll() 135 DCHECK_LT(limit_ - position_, size); in NewExpand() 182 position_ in NewExpand() [all...] |
H A D | zone.h | 67 Address result = position_; in Allocate() 68 if (V8_UNLIKELY(size > limit_ - position_)) { in Allocate() 71 position_ += size; in Allocate() 149 size_t extra = segment_head_ ? position_ - segment_head_->start() : 0; in allocation_size() 217 Address position_ = 0; member in v8::internal::final 255 const Address position_; member in v8::internal::final
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/ |
H A D | file_input_stream.cc | 30 position_(0), in FileInputStream() 43 return length_ - position_; in Available() 50 position_ = 0; in Close() 79 position_ += length; in Read() 101 size_t read_count = std::min<size_t>(length_ - position_, length); in Read() 106 position_ += actual_read; in Read() 123 skip_count = std::max<int64_t>(0 - (int64_t)position_, n); in Skip() 124 position_ -= (size_t)(0 - skip_count); in Skip() 125 fseek(file_, position_, SEEK_SET); in Skip() 127 skip_count = std::min<size_t>(length_ - position_, (size_ in Skip() [all...] |
H A D | memory_input_stream.cc | 32 position_(0), in MemoryInputStream() 45 return length_ - position_; in Available() 67 if (position_ >= length_) { in Read() 73 uint8_t value = buffer_[position_++]; in Read() 89 if (position_ >= length_) { in Read() 95 size_t read_count = std::min<size_t>(length_ - position_, length); in Read() 99 memcpy(&((*b)[offset]), buffer_ + position_, read_count); in Read() 100 position_ += read_count; in Read() 117 skip_count = std::max<int64_t>(0 - (int64_t)position_, n); in Skip() 118 position_ in Skip() [all...] |
/third_party/node/deps/v8/src/parsing/ |
H A D | literal-buffer.h | 18 LiteralBuffer() : backing_store_(), position_(0), is_one_byte_(true) {} in LiteralBuffer() 44 return is_one_byte() && keyword.length() == position_ && in Equals() 45 (memcmp(keyword.begin(), backing_store_.begin(), position_) == 0); in Equals() 59 DCHECK_EQ(position_ & (sizeof(Char) - 1), 0); in literal() 62 position_ >> (sizeof(Char) - 1)); in literal() 65 int length() const { return is_one_byte() ? position_ : (position_ >> 1); } in length() 68 position_ = 0; in Start() 90 if (position_ >= backing_store_.length()) ExpandBuffer(); in AddOneByteChar() 91 backing_store_[position_] in AddOneByteChar() 101 int position_; global() member in v8::internal::final [all...] |
H A D | literal-buffer.cc | 37 if (position_ > 0) { in ExpandBuffer() 38 MemCopy(new_store.begin(), backing_store_.begin(), position_); in ExpandBuffer() 47 int new_content_size = position_ * base::kUC16Size; in ConvertToTwoByte() 57 for (int i = position_ - 1; i >= 0; i--) { in ConvertToTwoByte() 64 position_ = new_content_size; in ConvertToTwoByte() 70 if (position_ >= backing_store_.length()) ExpandBuffer(); in AddTwoByteChar() 73 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = code_unit; in AddTwoByteChar() 74 position_ += base::kUC16Size; in AddTwoByteChar() 76 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = in AddTwoByteChar() 78 position_ in AddTwoByteChar() [all...] |
/third_party/protobuf/src/google/protobuf/io/ |
H A D | zero_copy_stream_impl_lite.cc | 62 position_(0), in ArrayInputStream() 66 if (position_ < size_) { in Next() 67 last_returned_size_ = std::min(block_size_, size_ - position_); in Next() 68 *data = data_ + position_; in Next() 70 position_ += last_returned_size_; in Next() 84 position_ -= count; in BackUp() 91 if (count > size_ - position_) { in Skip() 92 position_ = size_; in Skip() 95 position_ += count; in Skip() 100 int64_t ArrayInputStream::ByteCount() const { return position_; } in ByteCount() [all...] |
H A D | zero_copy_stream_impl_lite.h | 91 int position_; member in google::protobuf::io::ArrayInputStream 123 int position_; member in google::protobuf::io::ArrayOutputStream 239 int64 position_; member in google::protobuf::io::CopyingInputStreamAdaptor 328 int64 position_; member in google::protobuf::io::CopyingOutputStreamAdaptor
|
/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
H A D | utils.h | 301 : buffer_(buffer, buffer_size), position_(0) { } 310 return position_; 314 void Reset() { position_ = 0; } 321 DOUBLE_CONVERSION_ASSERT(!is_finalized() && position_ < buffer_.length()); 322 buffer_[position_++] = c; 334 DOUBLE_CONVERSION_ASSERT(!is_finalized() && position_ + n < buffer_.length()); 336 memmove(&buffer_[position_], s, static_cast<size_t>(n)); 337 position_ += n; 351 DOUBLE_CONVERSION_ASSERT(!is_finalized() && position_ < buffer_.length()); 352 buffer_[position_] [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | double-conversion-utils.h | 314 : buffer_(buffer, buffer_size), position_(0) { } 323 return position_; 327 void Reset() { position_ = 0; } 334 DOUBLE_CONVERSION_ASSERT(!is_finalized() && position_ < buffer_.length()); 335 buffer_[position_++] = c; 347 DOUBLE_CONVERSION_ASSERT(!is_finalized() && position_ + n < buffer_.length()); 349 memmove(&buffer_[position_], s, static_cast<size_t>(n)); 350 position_ += n; 364 DOUBLE_CONVERSION_ASSERT(!is_finalized() && position_ < buffer_.length()); 365 buffer_[position_] [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | double-conversion-utils.h | 314 : buffer_(buffer, buffer_size), position_(0) { } 323 return position_; 327 void Reset() { position_ = 0; } 334 DOUBLE_CONVERSION_ASSERT(!is_finalized() && position_ < buffer_.length()); 335 buffer_[position_++] = c; 347 DOUBLE_CONVERSION_ASSERT(!is_finalized() && position_ + n < buffer_.length()); 349 memmove(&buffer_[position_], s, static_cast<size_t>(n)); 350 position_ += n; 364 DOUBLE_CONVERSION_ASSERT(!is_finalized() && position_ < buffer_.length()); 365 buffer_[position_] [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | double-conversion-utils.h | 268 : buffer_(buffer, buffer_size), position_(0) { } 277 return position_; 281 void Reset() { position_ = 0; } 288 DOUBLE_CONVERSION_ASSERT(!is_finalized() && position_ < buffer_.length()); 289 buffer_[position_++] = c; 301 DOUBLE_CONVERSION_ASSERT(!is_finalized() && position_ + n < buffer_.length()); 303 memmove(&buffer_[position_], s, n); 304 position_ += n; 318 DOUBLE_CONVERSION_ASSERT(!is_finalized() && position_ < buffer_.length()); 319 buffer_[position_] [all...] |
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/ |
H A D | font_input_stream.cc | 24 : stream_(is), position_(0), length_(0), bounded_(false) { in FontInputStream() 28 : stream_(is), position_(0), length_(length), bounded_(true) { in FontInputStream() 75 if (!stream_ || (bounded_ && position_ >= length_)) { in Read() 80 position_++; in Read() 87 (bounded_ && position_ >= length_)) { in Read() 91 bounded_ ? std::min<int32_t>(length, (int32_t)(length_ - position_)) : in Read() 94 position_ += bytes_read; in Read() 142 position_ += skipped; in Skip()
|
H A D | font_output_stream.cc | 25 position_(0) { in FontOutputStream() 35 position_++; in Write() 42 position_ += b->size(); in Write() 59 position_ += len; in Write() 74 position_ += len; in Write() 126 position_ = 0; in Close()
|
/third_party/node/deps/v8/src/asmjs/ |
H A D | asm-scanner.cc | 28 position_(0), in AsmJsScanner() 56 preceding_position_ = position_; in Next() 58 position_ = next_position_; in Next() 84 preceding_position_ = position_; in Next() 87 position_ = stream_->pos(); in Next() 164 next_position_ = position_; in Rewind() 166 position_ = preceding_position_; in Rewind() 220 position_ = 0; in Seek()
|
/third_party/node/deps/v8/src/deoptimizer/ |
H A D | translated-state.h | 216 AdvanceIterator(&position_); in operator ++() 221 iterator original(position_, input_index_); in operator ++() 223 AdvanceIterator(&position_); in operator ++() 229 return position_ == other.position_; in operator ==() 233 TranslatedValue& operator*() { return (*position_); } in operator *() 234 TranslatedValue* operator->() { return &(*position_); } in operator ->() 235 const TranslatedValue& operator*() const { return (*position_); } in operator *() 236 const TranslatedValue* operator->() const { return &(*position_); } in operator ->() 245 : position_(positio in iterator() 247 std::deque<TranslatedValue>::iterator position_; global() member in v8::internal::TranslatedFrame::iterator [all...] |
/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | regexp_adapter_icu.cc | 70 position_(0) {} in IcuRegExpInput() 80 return UnicodeStringToUtf8String(utf8_input_.tempSubString(position_)); in ToString() 91 return position_; in position() 96 position_ = position; in set_position() 101 int position_; member in i18n::phonenumbers::IcuRegExpInput
|
/third_party/node/deps/v8/src/objects/ |
H A D | value-serializer.cc | 1176 position_(data.begin()), in ValueDeserializer() 1186 position_(data), in ValueDeserializer() 1202 if (position_ < end_ && in ReadHeader() 1203 *position_ == static_cast<uint8_t>(SerializationTag::kVersion)) { in ReadHeader() 1215 const uint8_t* peek_position = position_; in PeekTag() 1234 if (position_ >= end_) return Nothing<SerializationTag>(); in ReadTag() 1235 tag = static_cast<SerializationTag>(*position_); in ReadTag() 1236 position_++; in ReadTag() 1251 auto max_read_position = position_ + sizeof(T) + 1; in ReadVarint() 1256 auto previous_position = position_; in ReadVarint() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawBaseClass.hpp | 54 PositionColorVertex (tcu::Vec4 position_, tcu::Vec4 color_) in PositionColorVertex() 55 : position (position_) in PositionColorVertex() 65 VertexElementData (tcu::Vec4 position_, tcu::Vec4 color_, deUint32 refVertexIndex_) in VertexElementData() 66 : PositionColorVertex (position_, color_) in VertexElementData()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawBaseClass.hpp | 54 PositionColorVertex (tcu::Vec4 position_, tcu::Vec4 color_) in PositionColorVertex() 55 : position (position_) in PositionColorVertex() 65 VertexElementData (tcu::Vec4 position_, tcu::Vec4 color_, deUint32 refVertexIndex_) in VertexElementData() 66 : PositionColorVertex (position_, color_) in VertexElementData()
|
/third_party/node/deps/v8/src/numbers/ |
H A D | conversions.cc | 47 position_ = 0; in SimpleStringBuilder() 51 : buffer_(buffer, size), position_(0) {} in SimpleStringBuilder() 60 return position_; in position() 68 DCHECK(!is_finalized() && position_ < buffer_.length()); in AddCharacter() 69 buffer_[position_++] = c; in AddCharacter() 83 DCHECK(!is_finalized() && position_ + n <= buffer_.length()); in AddSubstring() 85 std::memcpy(&buffer_[position_], s, n * kCharSize); in AddSubstring() 86 position_ += n; in AddSubstring() 108 position_ += digits; in AddDecimalInteger() 110 buffer_[position_ in AddDecimalInteger() 135 int position_; global() member in v8::internal::SimpleStringBuilder [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceFixups.h | 39 intptr_t position() const { return position_; } in position() 40 void set_position(intptr_t Position) { position_ = Position; } in set_position() 73 /// Emits offset() (little endian) in position_. If your fixup requires 78 intptr_t position_ = 0; member in Ice::AssemblerFixup
|
/third_party/skia/third_party/externals/spirv-tools/source/ |
H A D | diagnostic.cpp | 75 position_(other.position_), in DiagnosticStream() 112 consumer_(level, "input", position_, stream_.str().c_str()); in ~DiagnosticStream()
|