/external/v8/src/zone/ |
D | zone-chunk-list.h | 114 uint32_t position_ = 0; member 158 maybe_const<T>& operator*() { return current_->items()[position_]; } 159 maybe_const<T>* operator->() { return ¤t_->items()[position_]; } 161 return other.current_ == current_ && other.position_ == position_; 199 position_ += amount; in Advance() 200 while (position_ > 0 && position_ >= current_->capacity_) { in Advance() 201 auto overshoot = position_ - current_->capacity_; in Advance() 203 position_ = overshoot; in Advance() 205 DCHECK(position_ == 0 || current_); in Advance() 222 if (list->back_->position_ == 0) { in Begin() [all …]
|
D | zone.cc | 34 position_(0), in Zone() 59 Address result = position_; in New() 62 DCHECK(limit_ >= position_); in New() 63 if (size_with_redzone > limit_ - position_) { in New() 66 position_ += size_with_redzone; in New() 70 DCHECK_EQ(redzone_position + kASanRedzoneBytes, position_); in New() 95 position_ = limit_ = 0; in DeleteAll() 118 DCHECK(limit_ - position_ < size); in NewExpand() 159 position_ = result + size; in NewExpand() 163 DCHECK(position_ >= result); in NewExpand() [all …]
|
/external/v8/src/snapshot/ |
D | snapshot-source-sink.h | 25 position_(0) {} in SnapshotByteSource() 28 : data_(payload.start()), length_(payload.length()), position_(0) {} in SnapshotByteSource() 32 bool HasMore() { return position_ < length_; } in HasMore() 35 DCHECK(position_ < length_); in Get() 36 return data_[position_++]; in Get() 39 void Advance(int by) { position_ += by; } in Advance() 42 memcpy(to, data_ + position_, number_of_bytes); in CopyRaw() 43 position_ += number_of_bytes; in CopyRaw() 49 DCHECK(position_ + 3 < length_); in GetInt() 50 uint32_t answer = data_[position_]; in GetInt() [all …]
|
/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl_lite.cc | 63 position_(0), in ArrayInputStream() 71 if (position_ < size_) { in Next() 72 last_returned_size_ = std::min(block_size_, size_ - position_); in Next() 73 *data = data_ + position_; in Next() 75 position_ += last_returned_size_; in Next() 89 position_ -= count; in BackUp() 96 if (count > size_ - position_) { in Skip() 97 position_ = size_; in Skip() 100 position_ += count; in Skip() 106 return position_; in ByteCount() [all …]
|
D | zero_copy_stream_impl_lite.h | 91 int position_; variable 123 int position_; variable 263 int64 position_; variable 352 int64 position_; variable
|
/external/sfntly/cpp/src/sfntly/port/ |
D | memory_input_stream.cc | 32 position_(0), in MemoryInputStream() 41 return length_ - position_; in Available() 63 if (position_ >= length_) { in Read() 69 byte_t value = buffer_[position_++]; in Read() 85 if (position_ >= length_) { in Read() 91 size_t read_count = std::min<size_t>(length_ - position_, length); in Read() 95 memcpy(&((*b)[offset]), buffer_ + position_, read_count); in Read() 96 position_ += read_count; in Read() 113 skip_count = std::max<int64_t>(0 - (int64_t)position_, n); in Skip() 114 position_ -= (size_t)(0 - skip_count); in Skip() [all …]
|
D | file_input_stream.cc | 30 position_(0), in FileInputStream() 39 return length_ - position_; in Available() 46 position_ = 0; in Close() 75 position_ += length; in Read() 97 size_t read_count = std::min<size_t>(length_ - position_, length); in Read() 102 position_ += actual_read; in Read() 119 skip_count = std::max<int64_t>(0 - (int64_t)position_, n); in Skip() 120 position_ -= (size_t)(0 - skip_count); in Skip() 121 fseek(file_, position_, SEEK_SET); in Skip() 123 skip_count = std::min<size_t>(length_ - position_, (size_t)n); in Skip() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | double-conversion-utils.h | 242 : buffer_(buffer, buffer_size), position_(0) { } in StringBuilder() 251 return position_; in position() 255 void Reset() { position_ = 0; } in Reset() 262 ASSERT(!is_finalized() && position_ < buffer_.length()); in AddCharacter() 263 buffer_[position_++] = c; in AddCharacter() 275 ASSERT(!is_finalized() && position_ + n < buffer_.length()); in AddSubstring() 277 memmove(&buffer_[position_], s, n * kCharSize); in AddSubstring() 278 position_ += n; in AddSubstring() 292 ASSERT(!is_finalized() && position_ < buffer_.length()); in Finalize() 293 buffer_[position_] = '\0'; in Finalize() [all …]
|
/external/v8/src/ |
D | json-parser.cc | 145 position_(-1), in JsonParser() 168 Handle<Object> arg1 = Handle<Smi>(Smi::FromInt(position_), isolate()); in ParseJson() 205 MessageLocation location(script, position_, position_ + 1); in ParseJson() 217 position_++; in Advance() 218 if (position_ >= source_length_) { in Advance() 221 c0_ = seq_source_->SeqOneByteStringGet(position_); in Advance() 223 c0_ = source_->Get(position_); in Advance() 259 if (source_->length() - position_ - 1 > length) { in ParseJsonString() 264 const uint8_t* input_chars = seq_source_->GetChars() + position_ + 1; in ParseJsonString() 273 position_ = position_ + length + 1; in ParseJsonString() [all …]
|
D | utils.cc | 20 position_ = 0; in SimpleStringBuilder() 30 DCHECK(!is_finalized() && position_ + n <= buffer_.length()); in AddSubstring() 32 MemCopy(&buffer_[position_], s, n * kCharSize); in AddSubstring() 33 position_ += n; in AddSubstring() 54 position_ += digits; in AddDecimalInteger() 56 buffer_[position_ - i] = '0' + static_cast<char>(number % 10); in AddDecimalInteger() 63 DCHECK(!is_finalized() && position_ <= buffer_.length()); in Finalize() 65 if (position_ == buffer_.length()) { in Finalize() 66 position_--; in Finalize() 68 for (int i = 3; i > 0 && position_ > i; --i) buffer_[position_ - i] = '.'; in Finalize() [all …]
|
D | value-serializer.cc | 1004 position_(data.start()), in ValueDeserializer() 1020 if (position_ < end_ && in ReadHeader() 1021 *position_ == static_cast<uint8_t>(SerializationTag::kVersion)) { in ReadHeader() 1033 const uint8_t* peek_position = position_; in PeekTag() 1052 if (position_ >= end_) return Nothing<SerializationTag>(); in ReadTag() 1053 tag = static_cast<SerializationTag>(*position_); in ReadTag() 1054 position_++; in ReadTag() 1072 if (position_ >= end_) return Nothing<T>(); in ReadVarint() 1073 uint8_t byte = *position_; in ReadVarint() 1079 position_++; in ReadVarint() [all …]
|
/external/sfntly/cpp/src/sfntly/data/ |
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() 68 if (!stream_ || (bounded_ && position_ >= length_)) { in Read() 73 position_++; in Read() 80 (bounded_ && position_ >= length_)) { in Read() 84 bounded_ ? std::min<int32_t>(length, (int32_t)(length_ - position_)) : in Read() 87 position_ += bytes_read; in Read() 135 position_ += skipped; in Skip()
|
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()
|
/external/dynamic_depth/internal/dynamic_depth/ |
D | earth_pose.cc | 63 earth_pose->position_ = position; in FromData() 93 bool EarthPose::HasPosition() const { return position_.size() == 3; } in HasPosition() 96 const std::vector<double>& EarthPose::GetPosition() const { return position_; } in GetPosition() 116 if (position_.size() == 3) { in Serialize() 119 std::to_string(position_[0])) && in Serialize() 121 std::to_string(position_[1])) && in Serialize() 123 std::to_string(position_[2])); in Serialize() 160 position_ = {lat, lon, alt}; in ParseEarthPoseFields() 181 if (position_.size() < 3 && orientation_.size() < 4) { in ParseEarthPoseFields()
|
D | pose.cc | 61 pose->position_ = position; in FromData() 90 bool Pose::HasPosition() const { return position_.size() == 3; } in HasPosition() 93 const std::vector<float>& Pose::GetPosition() const { return position_; } in GetPosition() 111 if (position_.size() == 3) { in Serialize() 113 std::to_string(position_[0])) && in Serialize() 115 std::to_string(position_[1])) && in Serialize() 117 std::to_string(position_[2])); in Serialize() 151 position_ = {x, y, z}; in ParsePoseFields() 168 if (position_.size() < 3 && orientation_.size() < 4) { in ParsePoseFields()
|
/external/google-breakpad/src/client/ |
D | minidump_file_writer.h | 117 inline MDRVA position() const { return position_; } in position() 134 MDRVA position_; variable 160 position_(writer->position()), in UntypedMDRVA() 168 inline MDRVA position() const { return position_; } in position() 176 position_ }; in location() 186 return Copy(position_, src, size); in Copy() 194 MDRVA position_; variable
|
D | minidump_file_writer.cc | 54 position_(0), in MinidumpFileWriter() 84 if (-1 == ftruncate(file_, position_)) { in Close() 225 if (position_ + aligned_size > size_) { in Allocate() 240 MDRVA current_position = position_; in Allocate() 241 position_ += static_cast<MDRVA>(aligned_size); in Allocate() 273 position_ = writer_->Allocate(size_); 274 return position_ != MinidumpFileWriter::kInvalidMDRVA; 280 assert(pos + size <= position_ + size_);
|
D | minidump_file_writer-inl.h | 75 static_cast<MDRVA>(position_ + index * minidump_size<MDType>::size()), in CopyIndex() 85 static_cast<MDRVA>(position_ + minidump_size<MDType>::size() in CopyIndexAfterObject() 92 return writer_->Copy(position_, &data_, minidump_size<MDType>::size()); in Flush()
|
/external/v8/src/parsing/ |
D | scanner.h | 419 : position_(0), is_one_byte_(true), is_used_(false), backing_store_() {} in LiteralBuffer() 445 return is_one_byte() && keyword.length() == position_ && in Equals() 446 (memcmp(keyword.start(), backing_store_.start(), position_) == 0); in Equals() 452 DCHECK_EQ(position_ & 0x1, 0); in two_byte_literal() 455 position_ >> 1); in two_byte_literal() 462 reinterpret_cast<const uint8_t*>(backing_store_.start()), position_); in one_byte_literal() 465 int length() const { return is_one_byte_ ? position_ : (position_ >> 1); } in length() 469 DCHECK_EQ(0, position_); in Start() 477 position_ = 0; in Drop() 499 if (position_ >= backing_store_.length()) ExpandBuffer(); in AddOneByteChar() [all …]
|
/external/v8/src/asmjs/ |
D | asm-scanner.cc | 27 position_(0), in AsmJsScanner() 55 preceding_position_ = position_; in Next() 57 position_ = next_position_; in Next() 83 preceding_position_ = position_; in Next() 86 position_ = stream_->pos(); in Next() 163 next_position_ = position_; in Rewind() 165 position_ = preceding_position_; in Rewind() 219 position_ = 0; in Seek()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawBaseClass.hpp | 53 PositionColorVertex (tcu::Vec4 position_, tcu::Vec4 color_) in PositionColorVertex() 54 : position (position_) in PositionColorVertex() 64 VertexElementData (tcu::Vec4 position_, tcu::Vec4 color_, deUint32 refVertexIndex_) in VertexElementData() 65 : PositionColorVertex (position_, color_) in VertexElementData()
|
/external/perfetto/src/base/ |
D | watchdog_posix.cc | 219 buffer_[position_] = sample; in Push() 222 position_ = (position_ + 1) % size_; in Push() 225 filled_ = filled_ || position_ == 0; in Push() 234 position_ = 0; in Clear() 239 position_ = 0; in Reset()
|
/external/webrtc/webrtc/base/ |
D | multipart.cc | 28 position_(0) { in MultipartStream() 91 ASSERT(0 == position_); in EndParts() 150 position_ += *read; in Read() 174 position_ = 0; in Close() 196 position_ = position; in SetPosition() 206 *position = position_; in GetPosition()
|
/external/perfetto/include/perfetto/base/ |
D | watchdog_posix.h | 100 return buffer_[position_]; in OldestWhenFull() 107 return buffer_[(position_ + size_ - 1) % size_]; in NewestWhenFull() 115 size_t position_ = 0; variable
|
/external/swiftshader/third_party/subzero/src/ |
D | IceFixups.h | 39 intptr_t position() const { return position_; } in position() 40 void set_position(intptr_t Position) { position_ = Position; } in set_position() 78 intptr_t position_ = 0;
|