/external/webrtc/rtc_base/ |
D | copy_on_write_buffer.cc | 17 CopyOnWriteBuffer::CopyOnWriteBuffer() : offset_(0), size_(0) { in CopyOnWriteBuffer() 22 : buffer_(buf.buffer_), offset_(buf.offset_), size_(buf.size_) {} in CopyOnWriteBuffer() 25 : buffer_(std::move(buf.buffer_)), offset_(buf.offset_), size_(buf.size_) { in CopyOnWriteBuffer() 26 buf.offset_ = 0; in CopyOnWriteBuffer() 36 offset_(0), in CopyOnWriteBuffer() 45 offset_(0), in CopyOnWriteBuffer() 65 offset_ = 0; in SetSize() 78 buffer_->SetSize(size + offset_); in SetSize() 88 offset_ = 0; in EnsureCapacity() 110 offset_ = 0; in Clear() [all …]
|
D | copy_on_write_buffer.h | 60 offset_ = 0; in CopyOnWriteBuffer() 95 return buffer_->data<T>() + offset_; in data() 108 return buffer_->data<T>() + offset_; in cdata() 118 return buffer_ ? buffer_->capacity() - offset_ : 0; in capacity() 126 offset_ = buf.offset_; 136 offset_ = buf.offset_; 138 buf.offset_ = 0; 173 offset_ = 0; in SetData() 192 offset_ = buf.offset_; in SetData() 205 offset_ = 0; in AppendData() [all …]
|
/external/llvm-project/flang/runtime/ |
D | format-implementation.h | 32 stack_[0].start = offset_; 115 ++offset_; in GetIntField() 228 auto maybeReversionPoint{offset_}; in CueUpNextDataEdit() 257 stack_[height_].start = offset_ - 1; // the '(' in CueUpNextDataEdit() 261 unlimitedLoopCheck = offset_ - 1; in CueUpNextDataEdit() 289 offset_ = restart; in CueUpNextDataEdit() 290 if (offset_ == unlimitedLoopCheck) { in CueUpNextDataEdit() 295 offset_ = restart; in CueUpNextDataEdit() 302 auto start{offset_}; in CueUpNextDataEdit() 303 while (offset_ < formatLength_ && format_[offset_] != quote) { in CueUpNextDataEdit() [all …]
|
D | format.h | 117 while (offset_ < formatLength_ && format_[offset_] == ' ') { in SkipBlanks() 118 ++offset_; in SkipBlanks() 123 return offset_ < formatLength_ ? format_[offset_] : '\0'; in PeekNext() 127 if (offset_ >= formatLength_) { in GetNextChar() 132 return format_[offset_++]; in GetNextChar() 154 int offset_{0}; // next item is at format_[offset_]
|
/external/puffin/src/ |
D | memory_stream.cc | 29 offset_(0), in MemoryStream() 39 *offset = offset_; in GetOffset() 48 offset_ = offset; in Seek() 55 TEST_AND_RETURN_FALSE(offset_ + length <= read_memory_->size()); in Read() 56 memcpy(buffer, read_memory_->data() + offset_, length); in Read() 57 offset_ += length; in Read() 65 if (offset_ + length > write_memory_->size()) { in Write() 66 write_memory_->resize(offset_ + length); in Write() 68 memcpy(write_memory_->data() + offset_, buffer, length); in Write() 69 offset_ += length; in Write()
|
/external/boringssl/src/crypto/test/ |
D | file_test_gtest.cc | 34 : data_(data), offset_(0) {} in StringLineReader() 38 if (offset_ == data_.size()) { in ReadLine() 42 size_t idx = data_.find('\n', offset_); in ReadLine() 49 if (idx - offset_ > len - 1) { in ReadLine() 54 memcpy(out, data_.data() + offset_, idx - offset_); in ReadLine() 55 out[idx - offset_] = '\0'; in ReadLine() 56 offset_ = idx; in ReadLine() 62 size_t offset_; member in StringLineReader
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/test/ |
D | file_test_gtest.cc | 34 : data_(data), offset_(0) {} in StringLineReader() 38 if (offset_ == data_.size()) { in ReadLine() 42 size_t idx = data_.find('\n', offset_); in ReadLine() 49 if (idx - offset_ > len - 1) { in ReadLine() 54 memcpy(out, data_.data() + offset_, idx - offset_); in ReadLine() 55 out[idx - offset_] = '\0'; in ReadLine() 56 offset_ = idx; in ReadLine() 62 size_t offset_; member in StringLineReader
|
/external/webrtc/sdk/objc/components/video_codec/ |
D | nalu_rewriter.cc | 286 offset_ = offsets_.begin(); in AnnexBBufferReader() 298 if (offset_ == offsets_.end()) { in ReadNalu() 301 *out_nalu = start_ + offset_->payload_start_offset; in ReadNalu() 302 *out_length = offset_->payload_size; in ReadNalu() 303 ++offset_; in ReadNalu() 308 if (offset_ == offsets_.end()) { in BytesRemaining() 311 return length_ - offset_->start_offset; in BytesRemaining() 315 offset_ = offsets_.begin(); in SeekToStart() 319 for (; offset_ != offsets_.end(); ++offset_) { in SeekToNextNaluOfType() 320 if (offset_->payload_size < 1) in SeekToNextNaluOfType() [all …]
|
/external/libchrome/base/files/ |
D | dir_reader_linux.h | 35 offset_(0), in DirReaderLinux() 54 linux_dirent* dirent = reinterpret_cast<linux_dirent*>(&buf_[offset_]); in Next() 55 offset_ += dirent->d_reclen; in Next() 58 if (offset_ != size_) in Next() 69 offset_ = 0; in Next() 78 reinterpret_cast<const linux_dirent*>(&buf_[offset_]); in name() 93 size_t offset_; variable
|
/external/webrtc/test/fuzzers/ |
D | frame_buffer2_fuzzer.cc | 27 size_t bytes_to_copy = std::min(size_ - offset_, dest_size); in CopyTo() 28 memcpy(destination, data_ + offset_, bytes_to_copy); in CopyTo() 29 offset_ += bytes_to_copy; in CopyTo() 35 if (offset_ + sizeof(res) < size_) { in GetNum() 36 memcpy(&res, data_ + offset_, sizeof(res)); in GetNum() 37 offset_ += sizeof(res); in GetNum() 41 offset_ = size_; in GetNum() 45 bool MoreToRead() { return offset_ < size_; } in MoreToRead() 49 size_t offset_ = 0; member
|
D | rtp_frame_reference_finder_fuzzer.cc | 31 size_t num_bytes = std::min(size_ - offset_, object_size); in CopyTo() 32 memcpy(destination, data_ + offset_, num_bytes); in CopyTo() 33 offset_ += num_bytes; in CopyTo() 43 if (offset_ + sizeof(res) < size_) { in GetNum() 44 memcpy(&res, data_ + offset_, sizeof(res)); in GetNum() 45 offset_ += sizeof(res); in GetNum() 49 offset_ = size_; in GetNum() 53 bool MoreToRead() { return offset_ < size_; } in MoreToRead() 58 size_t offset_ = 0; member in webrtc::__anoncef0e0230111::DataReader
|
/external/tensorflow/tensorflow/lite/ |
D | string_util.cc | 31 memcpy(data_.data() + offset_.back(), str, len); in AddString() 32 offset_.push_back(offset_.back() + len); in AddString() 56 char* dst = data_.data() + offset_.back(); in AddJoinedString() 68 offset_.push_back(offset_.back() + total_len); in AddJoinedString() 73 int32_t num_strings = offset_.size() - 1; in WriteToBuffer() 90 for (size_t i = 0; i < offset_.size(); i++) { in WriteToBuffer() 91 int32_t offset = start + offset_[i]; in WriteToBuffer() 103 dims->data[0] = offset_.size() - 1; // Store number of strings. in WriteToTensorAsVector()
|
/external/perfetto/src/trace_processor/importers/common/ |
D | trace_blob_view.h | 40 offset_(static_cast<uint32_t>(offset)), in TraceBlobView() 55 PERFETTO_DCHECK(offset + length <= offset_ + length_); in slice() 60 return (shbuf_ == rhs.shbuf_) && (offset_ == rhs.offset_) && 65 inline const uint8_t* data() const { return start() + offset_; } in data() 69 PERFETTO_DCHECK(data >= start() && data <= (start() + offset_ + length_)); in offset_of() 74 size_t offset() const { return offset_; } in offset() 137 offset_(static_cast<uint32_t>(o)), in TraceBlobView() 141 uint32_t offset_; variable
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | record_reader.h | 147 return underlying_.ReadRecord(&offset_, record); in ReadRecord() 155 return underlying_.SkipRecords(&offset_, num_to_skip, num_skipped); in SkipRecords() 159 uint64 TellOffset() { return offset_; } in TellOffset() 164 if (offset < offset_) in SeekOffset() 167 " which is less than the current offset: ", offset_); in SeekOffset() 168 offset_ = offset; in SeekOffset() 174 uint64 offset_ = 0; variable
|
D | format.h | 38 uint64 offset() const { return offset_; } in offset() 39 void set_offset(uint64 offset) { offset_ = offset; } in set_offset() 52 uint64 offset_; 105 : offset_(~static_cast<uint64>(0)), size_(~static_cast<uint64>(0)) {} in BlockHandle()
|
/external/google-breakpad/src/common/dwarf/ |
D | dwarf2diehandler.cc | 107 entry.offset_ = offset; in StartDIE() 121 assert(entry->offset_ == offset); in EndDIE() 132 if (entry->offset_ != offset) in EndDIE() 144 assert(offset == current.offset_); in ProcessAttributeUnsigned() 154 assert(offset == current.offset_); in ProcessAttributeSigned() 164 assert(offset == current.offset_); in ProcessAttributeReference() 175 assert(offset == current.offset_); in ProcessAttributeBuffer() 185 assert(offset == current.offset_); in ProcessAttributeString() 195 assert(offset == current.offset_); in ProcessAttributeSignature()
|
/external/sfntly/cpp/src/sfntly/table/ |
D | header.cc | 26 offset_(0), in Header() 36 offset_(0), in Header() 46 offset_(offset), in Header() 58 return lhs->offset_ > rhs->offset_; in operator ()()
|
/external/webrtc/modules/remote_bitrate_estimator/ |
D | overuse_estimator.cc | 32 offset_(options_.initial_offset), in OveruseEstimator() 68 offset_ < prev_offset_) || in Update() 70 offset_ > prev_offset_)) { in Update() 78 BWE_TEST_LOGGING_PLOT(1, "d_ms", now_ms, slope_ * h[0] - offset_); in Update() 80 const double residual = t_ts_delta - slope_ * h[0] - offset_; in Update() 121 prev_offset_ = offset_; in Update() 122 offset_ = offset_ + K[1] * residual; in Update()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | tf_record_reader_op.cc | 34 offset_(0), in TFRecordReader() 38 offset_ = 0; in OnWorkStartedLocked() 55 *key = strings::StrCat(current_work(), ":", offset_); in ReadLocked() 56 Status status = reader_->ReadRecord(&offset_, value); in ReadLocked() 67 offset_ = 0; in ResetLocked() 77 uint64 offset_; member in tensorflow::TFRecordReader
|
/external/llvm-project/flang/include/flang/Parser/ |
D | provenance.h | 54 Provenance(std::size_t offset) : offset_{offset} { CHECK(offset > 0); } in Provenance() 60 std::size_t offset() const { return offset_; } in offset() 63 CHECK(n > -static_cast<ptrdiff_t>(offset_)); 64 return {offset_ + static_cast<std::size_t>(n)}; 66 Provenance operator+(std::size_t n) const { return {offset_ + n}; } 69 return offset_ - that.offset_; 71 bool operator<(Provenance that) const { return offset_ < that.offset_; } 73 bool operator==(Provenance that) const { return offset_ == that.offset_; } 77 std::size_t offset_{0};
|
/external/bsdiff/ |
D | memory_file.cc | 16 count = std::min(count, static_cast<size_t>(size_ - offset_)); in Read() 17 memcpy(buf, data_ + offset_, count); in Read() 18 offset_ += count; in Read() 30 offset_ = pos; in Seek()
|
/external/ImageMagick/Magick++/lib/ |
D | Geometry.cpp | 493 Magick::Offset::Offset(const char *offset_) in Offset() argument 497 *this=offset_; // Use assignment operator in Offset() 500 Magick::Offset::Offset(const Offset &offset_) in Offset() argument 501 : _x(offset_._x), in Offset() 502 _y(offset_._y) in Offset() 506 Magick::Offset::Offset(const std::string &offset_) in Offset() argument 510 *this=offset_; // Use assignment operator in Offset() 523 const Magick::Offset& Magick::Offset::operator=(const char *offset_) in operator =() argument 531 flags=ParseGeometry(offset_,&geometry_info); in operator =() 539 Magick::Offset& Magick::Offset::operator=(const Offset &offset_) in operator =() argument [all …]
|
/external/llvm-project/flang/lib/Evaluate/ |
D | initial-image.cpp | 75 offset_{offset} { 94 CHECK(offset_ + elements * stride <= image_.data_.size()); in Test() 104 auto at{offset_ + component.offset()}; in Test() 130 &image_.data_[offset_ + j * stride])}; in Test() 139 std::memcpy(&typedValue[j], &image_.data_[offset_ + j * stride], in Test() 151 ConstantSubscript offset_; member in Fortran::evaluate::AsConstantHelper 167 : type_{type}, image_{image}, offset_{offset} {} in AsConstantDataPointerHelper() 177 auto iter{image_.pointers_.find(offset_)}; in Test() 187 ConstantSubscript offset_; member in Fortran::evaluate::AsConstantDataPointerHelper
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | buffer_assignment.h | 171 : allocation_(allocation), offset_(offset), size_(size) {} in Slice() 175 int64 offset() const { return offset_; } in offset() 179 return index() == other.index() && offset_ == other.offset_ && 185 if (offset_ != other.offset_) return offset_ < other.offset_; 192 const int64 end = offset_ + size_; in OverlapsWith() 193 const int64 other_end = other.offset_ + other.size_; in OverlapsWith() 194 return index() == other.index() && offset_ < other_end && in OverlapsWith() 195 end > other.offset_; in OverlapsWith() 207 int64 offset_ = 0; variable
|
/external/ImageMagick/Magick++/lib/Magick++/ |
D | Geometry.h | 157 Offset(const char *offset_); 160 Offset(const Offset &offset_); 163 Offset(const std::string &offset_); 172 const Offset& operator=(const char *offset_); 175 Offset& operator=(const Offset& offset_); 178 const Offset& operator=(const std::string &offset_);
|