/third_party/boost/libs/iostreams/src/ |
D | gzip.cpp | 51 mtime_ += value << (offset_ * 8); in process() 52 if (offset_ == 3) { in process() 54 offset_ = 0; in process() 56 ++offset_; in process() 77 xlen_ += value << (offset_ * 8); in process() 78 if (offset_ == 1) { in process() 80 offset_ = 0; in process() 82 ++offset_; in process() 119 if (offset_ == 1) { in process() 121 offset_ = 0; in process() [all …]
|
/third_party/cef/libcef_dll/wrapper/ |
D | cef_byte_read_handler.cc | 14 : bytes_(bytes), size_(size), offset_(0), source_(source) {} in CefByteReadHandler() 18 size_t s = static_cast<size_t>(size_ - offset_) / size; in Read() 20 memcpy(ptr, bytes_ + offset_, ret * size); in Read() 21 offset_ += ret * size; in Read() 30 if (offset_ + offset > size_ || offset_ + offset < 0) in Seek() 32 offset_ += offset; in Seek() 43 offset_ = size_ - offset_abs; in Seek() 50 offset_ = offset; in Seek() 60 return offset_; in Tell() 65 return (offset_ >= size_); in Eof()
|
/third_party/cef/libcef/browser/ |
D | stream_impl.cc | 142 : data_(nullptr), datasize_(0), copy_(false), offset_(0) { in CefBytesReader() 152 size_t s = (datasize_ - offset_) / size; in Read() 154 memcpy(ptr, (reinterpret_cast<char*>(data_)) + offset_, ret * size); in Read() 155 offset_ += ret * size; in Read() 164 if (offset_ + offset > datasize_ || offset_ + offset < 0) in Seek() 166 offset_ += offset; in Seek() 173 offset_ = datasize_ - offset_abs; in Seek() 180 offset_ = offset; in Seek() 190 return offset_; in Tell() 195 return (offset_ >= datasize_); in Eof() [all …]
|
/third_party/flutter/engine/flutter/flow/ohos_layers/ |
D | opacity_layer.cpp | 18 childMatrix.postTranslate(offset_.fX, offset_.fY); in Prepare() 20 SetPaintBounds(GetPaintBounds().makeOffset(offset_.fX, offset_.fY)); in Prepare() 28 paintContext.skCanvas->translate(offset_.fX, offset_.fY); in Paint() 30 GetPaintBounds().makeOffset(-offset_.fX, -offset_.fY).roundOut(&saveLayerBounds); in Paint()
|
D | picture_layer.cpp | 16 SkRect bounds = GetPicture()->cullRect().makeOffset(offset_.x(), offset_.y()); in Prepare() 23 paintContext.skCanvas->translate(offset_.x(), offset_.y()); in Paint()
|
D | texture_layer.cpp | 16 …SetPaintBounds(SkRect::MakeXYWH(offset_.x(), offset_.y(), textureSize_.width(), textureSize_.heigh… in Prepare() 21 paintContext.Paint(textureId_, offset_, opacity_); in Paint()
|
/third_party/cef/tests/cefclient/browser/ |
D | bytes_write_handler.cc | 15 : grow_(grow), datasize_(grow), offset_(0) { in BytesWriteHandler() 29 if (offset_ + static_cast<int64>(size * n) >= datasize_ && in Write() 33 memcpy(reinterpret_cast<char*>(data_) + offset_, ptr, size * n); in Write() 34 offset_ += size * n; in Write() 46 if (offset_ + offset > datasize_ || offset_ + offset < 0) in Seek() 48 offset_ += offset; in Seek() 55 offset_ = datasize_ - offset_abs; in Seek() 62 offset_ = offset; in Seek() 72 return offset_; in Tell()
|
D | scheme_test.cc | 29 ClientSchemeHandler() : offset_(0) {} in ClientSchemeHandler() 105 if (offset_ < data_.length()) { in Read() 108 std::min(bytes_to_read, static_cast<int>(data_.length() - offset_)); in Read() 109 memcpy(data_out, data_.c_str() + offset_, transfer_size); in Read() 110 offset_ += transfer_size; in Read() 122 size_t offset_; member in client::scheme_test::__anoncd588f3d0111::ClientSchemeHandler
|
/third_party/flutter/engine/flutter/flow/layers/ |
D | opacity_layer.cc | 12 : alpha_(alpha), offset_(offset) {} in OpacityLayer() 39 child_matrix.postTranslate(offset_.fX, offset_.fY); in Preroll() 41 SkMatrix::MakeTrans(offset_.fX, offset_.fY)); in Preroll() 46 set_paint_bounds(paint_bounds().makeOffset(offset_.fX, offset_.fY)); in Preroll() 72 context.internal_nodes_canvas->translate(offset_.fX, offset_.fY); in Paint() 107 .makeOffset(-offset_.fX, -offset_.fY) in Paint()
|
D | picture_layer.cc | 15 : offset_(offset), in PictureLayer() 27 ctm.postTranslate(offset_.x(), offset_.y()); in Preroll() 35 SkRect bounds = sk_picture->cullRect().makeOffset(offset_.x(), offset_.y()); in Preroll() 45 context.leaf_nodes_canvas->translate(offset_.x(), offset_.y()); in Paint()
|
D | texture_layer.cc | 16 : offset_(offset), size_(size), texture_id_(texture_id), freeze_(freeze) {} in TextureLayer() 21 set_paint_bounds(SkRect::MakeXYWH(offset_.x(), offset_.y(), size_.width(), in Preroll()
|
D | platform_view_layer.cc | 12 : offset_(offset), size_(size), view_id_(view_id) {} in PlatformViewLayer() 18 set_paint_bounds(SkRect::MakeXYWH(offset_.x(), offset_.y(), size_.width(), in Preroll()
|
/third_party/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
|
/third_party/boost/boost/math/special_functions/detail/ |
D | fp_traits.hpp | 209 std::memcpy(&a, reinterpret_cast<const unsigned char*>(&x) + offset_, 4); in get_bits() 214 std::memcpy(reinterpret_cast<unsigned char*>(&x) + offset_, &a, 4); in set_bits() 220 BOOST_STATIC_CONSTANT(int, offset_ = 0); 222 BOOST_STATIC_CONSTANT(int, offset_ = 4); 269 std::memcpy(&a, reinterpret_cast<const unsigned char*>(&x) + offset_, 4); in get_bits() 274 std::memcpy(reinterpret_cast<unsigned char*>(&x) + offset_, &a, 4); in set_bits() 280 BOOST_STATIC_CONSTANT(int, offset_ = 0); 282 BOOST_STATIC_CONSTANT(int, offset_ = 4); 383 std::memcpy(&a, reinterpret_cast<const unsigned char*>(&x) + offset_, 4); in get_bits() 388 std::memcpy(reinterpret_cast<unsigned char*>(&x) + offset_, &a, 4); in set_bits() [all …]
|
/third_party/boost/boost/iostreams/filter/ |
D | gzip.hpp | 240 static_cast<std::streamsize>(header_.size() - offset_); in write() 241 offset_ += boost::iostreams::write_if(snk, header_.data() + offset_, amt); in write() 242 if (offset_ == header_.size()) in write() 302 offset_ = 0; in close_impl() 313 std::size_t offset_; member in boost::iostreams::basic_gzip_compressor 362 int offset_; // Offset within fixed-length region. member in boost::iostreams::detail::gzip_header 388 int offset_; member in boost::iostreams::detail::gzip_footer 571 : src_(src), putback_(putback), offset_(0) in peekable_source() 580 if (offset_ < pbsize) { in read() 581 result = (std::min)(n, pbsize - offset_); in read() [all …]
|
/third_party/flutter/engine/flutter/third_party/txt/src/txt/ |
D | paint_record.cc | 34 offset_(offset), in PaintRecord() 52 offset_(offset), in PaintRecord() 78 offset_ = other.offset_; in PaintRecord() 90 offset_ = other.offset_; in operator =() 102 offset_ = pt; in SetOffset()
|
/third_party/skia/third_party/externals/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 ()()
|
/third_party/flutter/skia/third_party/externals/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 ()()
|
/third_party/gn/src/gn/ |
D | c_include_iterator.cc | 161 if (offset_ == file_.size()) in GetNextLine() 164 size_t begin = offset_; in GetNextLine() 165 while (offset_ < file_.size() && file_[offset_] != '\n') in GetNextLine() 166 offset_++; in GetNextLine() 169 *line = file_.substr(begin, offset_ - begin); in GetNextLine() 173 if (offset_ < file_.size()) in GetNextLine() 174 offset_++; in GetNextLine()
|
/third_party/boost/boost/date_time/ |
D | time_iterator.hpp | 22 time_itr(time_type t, time_duration_type d) : current_(t), offset_(d) {} in time_itr() 25 current_ = current_ + offset_; in operator ++() 30 current_ = current_ - offset_; in operator --() 44 time_duration_type offset_; member in boost::date_time::time_itr
|
/third_party/boost/boost/mpl/ |
D | lower_bound.hpp | 98 typedef typename divides< Distance, long_<2> >::type offset_; 100 typedef typename advance< iter_,offset_ >::type middle_; 107 typedef typename prior< minus< Distance, offset_> >::type step_; 108 typedef lower_bound_step< offset_,Predicate,T,DeferredIterator > step_forward_;
|
D | upper_bound.hpp | 97 typedef typename divides< Distance, long_<2> >::type offset_; 99 typedef typename advance< iter_,offset_ >::type middle_; 106 typedef typename prior< minus< Distance, offset_ > >::type step_; 107 typedef upper_bound_step< offset_,Predicate,T,DeferredIterator > step_forward_;
|
D | advance.hpp | 39 typedef typename if_< backward_, negate<N>, N >::type offset_; typedef 43 , aux::advance_backward< BOOST_MPL_AUX_VALUE_WKND(offset_)::value > 44 , aux::advance_forward< BOOST_MPL_AUX_VALUE_WKND(offset_)::value >
|
/third_party/cef/tests/ceftests/ |
D | stream_resource_handler_unittest.cc | 27 : may_block_(may_block), offset_(0), expected_result_(0) {} in ReadHandler() 52 std::min(std::min(size * n, content_.size() - offset_), kReadBlockSize); in Read() 54 memcpy(ptr, content_.c_str() + offset_, read_bytes); in Read() 55 offset_ += read_bytes; in Read() 81 size_t offset_; member in __anon0a7376f90111::ReadHandler
|
/third_party/protobuf/src/google/protobuf/io/ |
D | printer.cc | 52 offset_(0), in Printer() 63 offset_(0), in Printer() 166 std::make_pair(offset_ - iter->second.size(), offset_))); in Print() 253 offset_ += buffer_size_; in CopyToBuffer() 267 offset_ += size; in CopyToBuffer() 337 annotations->push_back({{offset_, 0}, args[idx]}); in WriteVariable() 345 a.first.second = offset_; in WriteVariable()
|