/external/chromium_org/third_party/brotli/src/woff2/ |
D | buffer.h | 70 offset_(0) { } in Buffer() 80 if ((offset_ + n_bytes > length_) || in Read() 81 (offset_ > length_ - n_bytes)) { in Read() 85 std::memcpy(buffer, buffer_ + offset_, n_bytes); in Read() 87 offset_ += n_bytes; in Read() 92 if (offset_ + 1 > length_) { in ReadU8() 95 *value = buffer_[offset_]; in ReadU8() 96 ++offset_; in ReadU8() 101 if (offset_ + 2 > length_) { in ReadU16() 104 std::memcpy(value, buffer_ + offset_, sizeof(uint16_t)); in ReadU16() [all …]
|
/external/chromium_org/third_party/ots/src/ |
D | ots.h | 68 offset_(0) { } in Buffer() 78 if ((offset_ + n_bytes > length_) || in Read() 79 (offset_ > length_ - n_bytes)) { in Read() 83 std::memcpy(buffer, buffer_ + offset_, n_bytes); in Read() 85 offset_ += n_bytes; in Read() 90 if (offset_ + 1 > length_) { in ReadU8() 93 *value = buffer_[offset_]; in ReadU8() 94 ++offset_; in ReadU8() 99 if (offset_ + 2 > length_) { in ReadU16() 102 std::memcpy(value, buffer_ + offset_, sizeof(uint16_t)); in ReadU16() [all …]
|
/external/chromium_org/media/base/ |
D | byte_queue.cc | 17 offset_(0), in ByteQueue() 24 offset_ = 0; in Reset() 51 offset_ = 0; in Push() 52 } else if ((offset_ + used_ + size) > size_) { in Push() 55 offset_ = 0; in Push() 72 offset_ += count; in Pop() 76 if (offset_ == size_) { in Pop() 78 offset_ = 0; in Pop() 82 uint8* ByteQueue::front() const { return buffer_.get() + offset_; } in front()
|
/external/chromium_org/android_webview/native/ |
D | aw_media_url_interceptor_unittest.cc | 24 : fd_(UNSET_VALUE), offset_(UNSET_VALUE), size_(UNSET_VALUE), in AwMediaUrlInterceptorTest() 29 int64 offset_; member in android_webview::__anon81bca68a0111::AwMediaUrlInterceptorTest 43 valid_asset_url, &fd_, &offset_, &size_)); in TEST_F() 45 EXPECT_NE(UNSET_VALUE, offset_); in TEST_F() 56 invalid_asset_url, &fd_, &offset_, &size_)); in TEST_F() 58 EXPECT_EQ(UNSET_VALUE, offset_); in TEST_F() 67 non_asset_url, &fd_, &offset_, &size_)); in TEST_F() 69 EXPECT_EQ(UNSET_VALUE, offset_); in TEST_F()
|
/external/chromium_org/sandbox/win/src/ |
D | crosscall_params.h | 69 uint32 offset_; member 203 param_info_[0].offset_ = parameters_ - reinterpret_cast<char*>(this); in ActualCallParams() 210 param_info_[0].offset_ = parameters_ - reinterpret_cast<char*>(this); in ActualCallParams() 216 uint32 previous_size = param_info_[NUMBER_PARAMS].offset_; in OverrideSize() 217 param_info_[NUMBER_PARAMS].offset_ = new_size; in OverrideSize() 239 (param_info_[index].offset_ > (sizeof(*this) - size))) { in CopyParamIn() 244 char* dest = reinterpret_cast<char*>(this) + param_info_[index].offset_; in CopyParamIn() 260 param_info_[index + 1].offset_ = Align(param_info_[index].offset_ + in CopyParamIn() 269 return reinterpret_cast<char*>(this) + param_info_[index].offset_; in GetParamPtr() 275 return param_info_[NUMBER_PARAMS].offset_; in GetSize()
|
/external/chromium_org/base/files/ |
D | dir_reader_linux.h | 33 offset_(0), in DirReaderLinux() 52 linux_dirent* dirent = reinterpret_cast<linux_dirent*>(&buf_[offset_]); in Next() 53 offset_ += dirent->d_reclen; in Next() 56 if (offset_ != size_) in Next() 67 offset_ = 0; in Next() 76 reinterpret_cast<const linux_dirent*>(&buf_[offset_]); in name() 91 size_t offset_, size_; variable
|
/external/chromium_org/net/spdy/ |
D | spdy_buffer.cc | 45 offset_(offset) {} in SharedFrameIOBuffer() 54 const size_t offset_; member in net::SpdyBuffer::SharedFrameIOBuffer 61 offset_(0) { in SpdyBuffer() 69 offset_(0) { in SpdyBuffer() 81 return shared_frame_->data->data() + offset_; in GetRemainingData() 85 return shared_frame_->data->size() - offset_; in GetRemainingSize() 97 return new SharedFrameIOBuffer(shared_frame_, offset_); in GetIOBufferForRemainingData() 104 offset_ += consume_size; in ConsumeHelper()
|
/external/chromium_org/tools/gn/ |
D | c_include_iterator.cc | 115 offset_(0), in CIncludeIterator() 156 if (offset_ == file_.size()) in GetNextLine() 159 size_t begin = offset_; in GetNextLine() 160 while (offset_ < file_.size() && file_[offset_] != '\n') in GetNextLine() 161 offset_++; in GetNextLine() 164 *line = file_.substr(begin, offset_ - begin); in GetNextLine() 168 if (offset_ < file_.size()) in GetNextLine() 169 offset_++; in GetNextLine()
|
/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/chromium_org/third_party/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/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/ |
D | overuse_detector.cc | 29 offset_(options_.initial_offset), in OveruseDetector() 173 if ((hypothesis_ == kBwOverusing && offset_ < prev_offset_) || in UpdateKalman() 174 (hypothesis_ == kBwUnderusing && offset_ > prev_offset_)) { in UpdateKalman() 182 const double residual = t_ts_delta - slope_*h[0] - offset_; in UpdateKalman() 185 (BWE_MIN(num_of_deltas_, 60) * fabs(offset_) < threshold_); in UpdateKalman() 216 prev_offset_ = offset_; in UpdateKalman() 217 offset_ = offset_ + K[1] * residual; in UpdateKalman() 265 const double T = BWE_MIN(num_of_deltas_, 60) * offset_; in Detect() 267 if (offset_ > 0) { in Detect() 280 if (offset_ >= prev_offset_) { in Detect()
|
/external/chromium_org/net/base/ |
D | upload_bytes_element_reader.cc | 18 offset_(0) { in UploadBytesElementReader() 30 offset_ = 0; in Init() 39 return length_ - offset_; in BytesRemaining() 58 memcpy(buf->data(), bytes_ + offset_, num_bytes_to_read); in Read() 60 offset_ += num_bytes_to_read; in Read()
|
D | io_buffer.cc | 97 offset_(0) { in GrowableIOBuffer() 105 if (offset_ > capacity) in SetCapacity() 108 set_offset(offset_); // The pointer may have changed. in SetCapacity() 114 offset_ = offset; in set_offset() 119 return capacity_ - offset_; in RemainingCapacity()
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
D | crazy_linker_system_mock.cpp | 165 MockFileHandle(MockFileEntry* entry) : entry_(entry), offset_(0) {} in MockFileHandle() 168 bool IsEof() const { return offset_ >= entry_->GetDataSize(); } in IsEof() 174 if (offset_ >= data_size || buffer_size == 0) in GetString() 178 char ch = data[offset_++]; in GetString() 195 size_t avail = data_size - offset_; in Read() 202 ::memcpy(buffer, data + offset_, buffer_size); in Read() 203 offset_ += buffer_size; in Read() 222 offset_ = static_cast<size_t>(offset); in SeekTo() 229 if (offset_ >= data_size) { in Map() 241 size_t avail = data_size - offset_; in Map() [all …]
|
/external/chromium_org/v8/src/compiler/ |
D | frame.h | 78 inline bool from_stack_pointer() { return (offset_ & 1) == kFromSp; } in from_stack_pointer() 79 inline bool from_frame_pointer() { return (offset_ & 1) == kFromFp; } in from_frame_pointer() 80 inline int offset() { return offset_ & ~1; } in offset() 93 explicit FrameOffset(int offset) : offset_(offset) {} in FrameOffset() 95 int offset_; // Encodes SP or FP in the low order bit. variable
|
/external/chromium_org/ui/gfx/ |
D | shadow_value.h | 30 int x() const { return offset_.x(); } in x() 31 int y() const { return offset_.y(); } in y() 32 const gfx::Point& offset() const { return offset_; } in offset() 45 gfx::Point offset_;
|
D | shadow_value.cc | 23 : offset_(offset), in ShadowValue() 33 gfx::ToFlooredPoint(gfx::ScalePoint(offset_, scale)); in Scale() 40 offset_.x(), offset_.y(), in ToString()
|
/external/chromium_org/components/cronet/android/ |
D | wrapped_channel_upload_element_reader.cc | 17 : length_(length), offset_(0), delegate_(delegate) { in WrappedChannelElementReader() 24 offset_ = 0; in Init() 33 return length_ - offset_; in BytesRemaining() 49 offset_ += bytes_read; in Read()
|
/external/chromium_org/storage/common/ |
D | data_element.cc | 12 offset_(0), in DataElement() 24 offset_ = offset; in SetToFilePathRange() 34 offset_ = offset; in SetToBlobRange() 44 offset_ = offset; in SetToFileSystemUrlRange()
|
/external/chromium_org/third_party/leveldatabase/src/table/ |
D | format.h | 27 uint64_t offset() const { return offset_; } in offset() 28 void set_offset(uint64_t offset) { offset_ = offset; } in set_offset() 41 uint64_t offset_; 102 : offset_(~static_cast<uint64_t>(0)), in BlockHandle()
|
D | filter_block.cc | 82 offset_(NULL), in FilterBlockReader() 91 offset_ = data_ + last_word; in FilterBlockReader() 98 uint32_t start = DecodeFixed32(offset_ + index*4); in KeyMayMatch() 99 uint32_t limit = DecodeFixed32(offset_ + index*4 + 4); in KeyMayMatch() 100 if (start <= limit && limit <= (offset_ - data_)) { in KeyMayMatch()
|
/external/chromium_org/media/cast/test/ |
D | fake_receiver_time_offset_estimator.cc | 13 : offset_(offset) {} in FakeReceiverTimeOffsetEstimator() 30 *lower_bound = offset_; in GetReceiverOffsetBounds() 31 *upper_bound = offset_; in GetReceiverOffsetBounds()
|
/external/chromium_org/net/url_request/ |
D | url_request_test_job.cc | 121 offset_(0), in URLRequestTestJob() 134 offset_(0), in URLRequestTestJob() 151 offset_(0), in URLRequestTestJob() 229 if (offset_ >= static_cast<int>(response_data_.length())) { in ReadRawData() 234 if (to_read + offset_ > static_cast<int>(response_data_.length())) in ReadRawData() 235 to_read = static_cast<int>(response_data_.length()) - offset_; in ReadRawData() 237 memcpy(buf->data(), &response_data_.c_str()[offset_], to_read); in ReadRawData() 238 offset_ += to_read; in ReadRawData()
|
/external/chromium_org/media/blink/ |
D | buffered_resource_loader.cc | 117 offset_(0), in BufferedResourceLoader() 157 offset_ = first_byte_position_; in Start() 256 if (read_position_ > offset_ + kint32max || in Read() 257 read_position_ < offset_ + kint32min) { in Read() 270 first_offset_ = read_position_ - offset_; in Read() 288 offset_ += advance; in Read() 467 offset_ += first_offset_ + excess; in didReceiveData() 471 progress_cb_.Run(offset_ + buffer_.forward_bytes() - 1); in didReceiveData() 502 instance_size_ = offset_ + buffer_.forward_bytes(); in didFinishLoading() 684 offset_ += first_offset_ + read; in ReadInternal() [all …]
|
/external/chromium_org/gpu/command_buffer/service/ |
D | buffer_manager.h | 79 : offset_(offset), in Range() 87 if (lhs.offset_ != rhs.offset_) { in operator() 88 return lhs.offset_ < rhs.offset_; in operator() 98 GLuint offset_;
|