Searched refs:offset_ (Results 1 - 25 of 139) sorted by relevance

123456

/external/chromium_org/media/cast/test/
H A Dfake_receiver_time_offset_estimator.cc13 : offset_(offset) {}
30 *lower_bound = offset_;
31 *upper_bound = offset_;
/external/chromium_org/third_party/brotli/src/woff2/
H A Dbuffer.h70 offset_(0) { }
80 if ((offset_ + n_bytes > length_) ||
81 (offset_ > length_ - n_bytes)) {
85 std::memcpy(buffer, buffer_ + offset_, n_bytes);
87 offset_ += n_bytes;
92 if (offset_ + 1 > length_) {
95 *value = buffer_[offset_];
96 ++offset_;
101 if (offset_ + 2 > length_) {
104 std::memcpy(value, buffer_ + offset_, sizeo
166 size_t offset_; member in class:woff2::Buffer
[all...]
/external/chromium_org/media/base/
H A Dbyte_queue.cc17 offset_(0),
24 offset_ = 0;
51 offset_ = 0;
52 } else if ((offset_ + used_ + size) > size_) {
55 offset_ = 0;
72 offset_ += count;
76 if (offset_ == size_) {
78 offset_ = 0;
82 uint8* ByteQueue::front() const { return buffer_.get() + offset_; }
H A Dbyte_queue.h48 size_t offset_; member in class:media::ByteQueue
/external/chromium_org/android_webview/native/
H A Daw_media_url_interceptor_unittest.cc24 : fd_(UNSET_VALUE), offset_(UNSET_VALUE), size_(UNSET_VALUE),
29 int64 offset_; member in class:android_webview::__anon1820::AwMediaUrlInterceptorTest
43 valid_asset_url, &fd_, &offset_, &size_));
45 EXPECT_NE(UNSET_VALUE, offset_);
56 invalid_asset_url, &fd_, &offset_, &size_));
58 EXPECT_EQ(UNSET_VALUE, offset_);
67 non_asset_url, &fd_, &offset_, &size_));
69 EXPECT_EQ(UNSET_VALUE, offset_);
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/
H A Dheader.cc26 offset_(0),
36 offset_(0),
46 offset_(offset),
58 return lhs->offset_ > rhs->offset_;
/external/sfntly/cpp/src/sfntly/table/
H A Dheader.cc26 offset_(0),
36 offset_(0),
46 offset_(offset),
58 return lhs->offset_ > rhs->offset_;
/external/chromium_org/base/files/
H A Ddir_reader_linux.h33 offset_(0),
52 linux_dirent* dirent = reinterpret_cast<linux_dirent*>(&buf_[offset_]);
53 offset_ += dirent->d_reclen;
56 if (offset_ != size_)
67 offset_ = 0;
76 reinterpret_cast<const linux_dirent*>(&buf_[offset_]);
91 size_t offset_, size_; member in class:base::DirReaderLinux
/external/chromium_org/third_party/ots/src/
H A Dots.h68 offset_(0) { }
78 if ((offset_ + n_bytes > length_) ||
79 (offset_ > length_ - n_bytes)) {
83 std::memcpy(buffer, buffer_ + offset_, n_bytes);
85 offset_ += n_bytes;
90 if (offset_ + 1 > length_) {
93 *value = buffer_[offset_];
94 ++offset_;
99 if (offset_ + 2 > length_) {
102 std::memcpy(value, buffer_ + offset_, sizeo
164 size_t offset_; member in class:ots::Buffer
[all...]
/external/chromium_org/components/cronet/android/
H A Dwrapped_channel_upload_element_reader.cc17 : length_(length), offset_(0), delegate_(delegate) {
24 offset_ = 0;
33 return length_ - offset_;
49 offset_ += bytes_read;
/external/chromium_org/storage/common/
H A Ddata_element.cc12 offset_(0),
24 offset_ = offset;
34 offset_ = offset;
44 offset_ = offset;
/external/chromium_org/ui/gfx/
H A Dshadow_value.h30 int x() const { return offset_.x(); }
31 int y() const { return offset_.y(); }
32 const gfx::Point& offset() const { return offset_; }
45 gfx::Point offset_; member in class:gfx::ShadowValue
H A Dshadow_value.cc23 : offset_(offset),
33 gfx::ToFlooredPoint(gfx::ScalePoint(offset_, scale));
40 offset_.x(), offset_.y(),
/external/chromium_org/content/browser/renderer_host/
H A Drender_widget_host_view_mac_dictionary_helper.h30 void set_offset(const gfx::Vector2d& offset) { offset_ = offset; }
43 gfx::Vector2d offset_; member in class:content::RenderWidgetHostViewMacDictionaryHelper
/external/chromium_org/net/spdy/
H A Dspdy_buffer.cc45 offset_(offset) {}
54 const size_t offset_; member in class:net::SpdyBuffer::SharedFrameIOBuffer
61 offset_(0) {
69 offset_(0) {
81 return shared_frame_->data->data() + offset_;
85 return shared_frame_->data->size() - offset_;
97 return new SharedFrameIOBuffer(shared_frame_, offset_);
104 offset_ += consume_size;
/external/chromium_org/net/base/
H A Dupload_bytes_element_reader.cc18 offset_(0) {
30 offset_ = 0;
39 return length_ - offset_;
58 memcpy(buf->data(), bytes_ + offset_, num_bytes_to_read);
60 offset_ += num_bytes_to_read;
H A Dio_buffer.cc97 offset_(0) {
105 if (offset_ > capacity)
108 set_offset(offset_); // The pointer may have changed.
114 offset_ = offset;
119 return capacity_ - offset_;
/external/chromium_org/v8/src/compiler/
H A Dframe.h78 inline bool from_stack_pointer() { return (offset_ & 1) == kFromSp; }
79 inline bool from_frame_pointer() { return (offset_ & 1) == kFromFp; }
80 inline int offset() { return offset_ & ~1; }
93 explicit FrameOffset(int offset) : offset_(offset) {}
95 int offset_; // Encodes SP or FP in the low order bit. member in class:v8::internal::compiler::FrameOffset
/external/chromium_org/chrome/installer/util/
H A Dlanguage_selector.h32 int offset() const { return offset_; }
38 std::wstring selected_translation() const { return GetLanguageName(offset_); }
52 int offset_; member in class:installer::LanguageSelector
/external/chromium_org/sandbox/win/src/
H A Dcrosscall_params.h69 uint32 offset_; member in struct:sandbox::ParamInfo
203 param_info_[0].offset_ = parameters_ - reinterpret_cast<char*>(this);
210 param_info_[0].offset_ = parameters_ - reinterpret_cast<char*>(this);
216 uint32 previous_size = param_info_[NUMBER_PARAMS].offset_;
217 param_info_[NUMBER_PARAMS].offset_ = new_size;
239 (param_info_[index].offset_ > (sizeof(*this) - size))) {
244 char* dest = reinterpret_cast<char*>(this) + param_info_[index].offset_;
260 param_info_[index + 1].offset_ = Align(param_info_[index].offset_ +
269 return reinterpret_cast<char*>(this) + param_info_[index].offset_;
[all...]
/external/chromium_org/third_party/leveldatabase/src/table/
H A Dformat.h27 uint64_t offset() const { return offset_; }
28 void set_offset(uint64_t offset) { offset_ = offset; }
41 uint64_t offset_; member in class:leveldb::BlockHandle
102 : offset_(~static_cast<uint64_t>(0)),
H A Dfilter_block.cc82 offset_(NULL),
91 offset_ = data_ + last_word;
98 uint32_t start = DecodeFixed32(offset_ + index*4);
99 uint32_t limit = DecodeFixed32(offset_ + index*4 + 4);
100 if (start <= limit && limit <= (offset_ - data_)) {
/external/chromium_org/tools/gn/
H A Dc_include_iterator.cc115 offset_(0),
156 if (offset_ == file_.size())
159 size_t begin = offset_;
160 while (offset_ < file_.size() && file_[offset_] != '\n')
161 offset_++;
164 *line = file_.substr(begin, offset_ - begin);
168 if (offset_ < file_.size())
169 offset_++;
H A Dc_include_iterator.h44 size_t offset_; member in class:CIncludeIterator
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/
H A Doveruse_detector.cc29 offset_(options_.initial_offset),
173 if ((hypothesis_ == kBwOverusing && offset_ < prev_offset_) ||
174 (hypothesis_ == kBwUnderusing && offset_ > prev_offset_)) {
182 const double residual = t_ts_delta - slope_*h[0] - offset_;
185 (BWE_MIN(num_of_deltas_, 60) * fabs(offset_) < threshold_);
216 prev_offset_ = offset_;
217 offset_ = offset_ + K[1] * residual;
265 const double T = BWE_MIN(num_of_deltas_, 60) * offset_;
267 if (offset_ >
[all...]

Completed in 863 milliseconds

123456