/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl_lite.cc | 61 position_(0), in ArrayInputStream() 69 if (position_ < size_) { in Next() 70 last_returned_size_ = min(block_size_, size_ - position_); in Next() 71 *data = data_ + position_; in Next() 73 position_ += last_returned_size_; in Next() 87 position_ -= count; in BackUp() 94 if (count > size_ - position_) { in Skip() 95 position_ = size_; in Skip() 98 position_ += count; in Skip() 104 return position_; in ByteCount() [all …]
|
D | zero_copy_stream_impl_lite.h | 85 int position_; variable 117 int position_; variable 231 int64 position_; variable 320 int64 position_; variable
|
/external/sfntly/cpp/src/sfntly/port/ |
D | memory_input_stream.cc | 30 position_(0), in MemoryInputStream() 39 return length_ - position_; in Available() 61 if (position_ >= length_) { in Read() 67 byte_t value = buffer_[position_++]; in Read() 83 if (position_ >= length_) { in Read() 89 size_t read_count = std::min<size_t>(length_ - position_, length); in Read() 93 memcpy(&((*b)[offset]), buffer_ + position_, read_count); in Read() 94 position_ += read_count; in Read() 111 skip_count = std::max<int64_t>(0 - (int64_t)position_, n); in Skip() 112 position_ -= (size_t)(0 - skip_count); in Skip() [all …]
|
D | file_input_stream.cc | 28 position_(0), in FileInputStream() 37 return length_ - position_; in Available() 44 position_ = 0; in Close() 73 position_ += length; in Read() 95 size_t read_count = std::min<size_t>(length_ - position_, length); in Read() 100 position_ += actual_read; in Read() 117 skip_count = std::max<int64_t>(0 - (int64_t)position_, n); in Skip() 118 position_ -= (size_t)(0 - skip_count); in Skip() 119 fseek(file_, position_, SEEK_SET); in Skip() 121 skip_count = std::min<size_t>(length_ - position_, (size_t)n); in Skip() [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() 46 DCHECK(position_ + 3 < length_); in GetInt() 47 uint32_t answer = data_[position_]; in GetInt() 48 answer |= data_[position_ + 1] << 8; in GetInt() 49 answer |= data_[position_ + 2] << 16; in GetInt() [all …]
|
D | snapshot-source-sink.cc | 17 memcpy(to, data_ + position_, number_of_bytes); in CopyRaw() 18 position_ += number_of_bytes; in CopyRaw() 45 CHECK(position_ + size <= length_); in GetBlob() 46 *data = &data_[position_]; in GetBlob()
|
/external/v8/src/parsing/ |
D | json-parser.h | 42 position_(-1) { in JsonParser() 56 position_++; in Advance() 57 if (position_ >= source_length_) { in Advance() 60 c0_ = seq_source_->SeqOneByteStringGet(position_); in Advance() 62 c0_ = source_->Get(position_); in Advance() 107 if (source_->length() - position_ - 1 > length) { in ParseJsonString() 112 const uint8_t* input_chars = seq_source_->GetChars() + position_ + 1; in ParseJsonString() 121 position_ = position_ + length + 1; in ParseJsonString() 205 int position_; variable 252 MessageLocation location(script, position_, position_ + 1); in ParseJson() [all …]
|
D | scanner.h | 156 LiteralBuffer() : is_one_byte_(true), position_(0), backing_store_() { } in LiteralBuffer() 161 if (position_ >= backing_store_.length()) ExpandBuffer(); in INLINE() 164 backing_store_[position_] = static_cast<byte>(code_unit); in INLINE() 165 position_ += kOneByteSize; in INLINE() 171 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = code_unit; in INLINE() 172 position_ += kUC16Size; in INLINE() 174 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = in INLINE() 176 position_ += kUC16Size; in INLINE() 177 if (position_ >= backing_store_.length()) ExpandBuffer(); in INLINE() 178 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = in INLINE() [all …]
|
/external/v8/src/ |
D | zone.cc | 79 position_(0), in Zone() 99 position_ += ((~size) & 4) & (reinterpret_cast<intptr_t>(position_) & 4); in New() 105 Address result = position_; in New() 108 if (limit_ < position_ + size_with_redzone) { in New() 111 position_ += size_with_redzone; in New() 115 DCHECK(redzone_position + kASanRedzoneBytes == position_); in New() 160 position_ = RoundUp(start, kAlignment); in DeleteAll() 169 position_ = limit_ = 0; in DeleteAll() 225 DCHECK_LT(limit_, position_ + size); in NewExpand() 263 position_ = result + size; in NewExpand() [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 | deoptimizer.h | 134 AdvanceIterator(&position_); 139 iterator original(position_); 140 AdvanceIterator(&position_); 145 return position_ == other.position_; 149 TranslatedValue& operator*() { return (*position_); } 150 TranslatedValue* operator->() { return &(*position_); } 156 : position_(position) {} in iterator() 158 std::deque<TranslatedValue>::iterator position_; variable
|
/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()
|
D | font_output_stream.h | 51 virtual size_t position() { return position_; } in position() 74 size_t position_; variable
|
D | font_input_stream.h | 75 virtual int64_t position() { return position_; } in position() 90 int64_t position_; variable
|
/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/ceres-solver/internal/ceres/ |
D | block_structure.h | 52 Block(int size_, int position_) : size(size_), position(position_) {} in Block() 60 Cell(int block_id_, int position_) in Cell() 61 : block_id(block_id_), position(position_) {} in Cell()
|
/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/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateTestCaseUtil.hpp | 44 PositionColorVertex(const tcu::Vec4& position_, const tcu::Vec4& color_) in PositionColorVertex() 45 : position(position_) in PositionColorVertex()
|
/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()
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | mouse_cursor_monitor_unittest.cc | 38 position_ = position; in OnMouseCursorPosition() 45 DesktopVector position_; member in webrtc::MouseCursorMonitorTest
|
D | desktop_and_cursor_composer_unittest.cc | 99 position_ = pos; in SetState() 128 callback_->OnMouseCursorPosition(state_, position_); in Capture() 134 DesktopVector position_; member in webrtc::__anon96a4abe40111::FakeMouseMonitor
|
/external/v8/src/profiler/ |
D | profile-generator.h | 59 int position() const { return position_; } in position() 60 void set_position(int position) { position_ = position; } in set_position() 121 int position_; variable
|