Searched refs:position_ (Results 1 - 25 of 101) sorted by relevance

12345

/external/chromium_org/net/base/
H A Dupload_progress.h14 UploadProgress() : size_(0), position_(0) {}
16 : size_(size), position_(position) {}
19 uint64 position() const { return position_; }
23 uint64 position_; member in class:net::UploadProgress
/external/chromium_org/third_party/ots/test/
H A Dfile-stream.h16 : file_(stream), position_(0) {
24 position_ += length;
33 position_ = position;
38 position_ = position;
46 return position_;
51 off_t position_; member in class:ots::FILEStream
/external/chromium_org/chrome/browser/resources/net_internals/
H A Dhorizontal_scrollbar_view.js33 this.position_ = 0;
60 * If |range| is less than the original position, |position_| is set to
66 if (range < this.position_)
67 this.position_ = range;
68 this.setPosition(this.position_);
76 this.position_ = position;
81 * Updates the visible position of the scrollbar to be |position_|.
94 this.getNode().scrollLeft = this.position_;
95 if (this.getNode().scrollLeft != this.position_) {
106 return this.position_;
[all...]
/external/chromium_org/v8/src/
H A Dsnapshot-source-sink.cc18 : data_(array), length_(length), position_(0) {
26 DCHECK(position_ < length_); // Require at least one byte left.
27 int32_t answer = data_[position_];
28 answer |= data_[position_ + 1] << 8;
29 answer |= data_[position_ + 2] << 16;
30 answer |= data_[position_ + 3] << 24;
36 MemCopy(to, data_ + position_, number_of_bytes);
37 position_ += number_of_bytes;
68 if (0u + length_ - position_ > 2 * sizeof(uint32_t)) return false;
69 for (int x = position_;
[all...]
H A Dsnapshot-source-sink.h25 bool HasMore() { return position_ < length_; }
28 DCHECK(position_ < length_);
29 return data_[position_++];
34 void Advance(int by) { position_ += by; }
55 int position() { return position_; }
60 int position_;
H A Dzone.cc50 position_(0),
72 position_ += ((~size) & 4) & (reinterpret_cast<intptr_t>(position_) & 4);
78 Address result = position_;
87 if (size_with_redzone > limit_ - position_) {
90 position_ += size_with_redzone;
95 DCHECK(redzone_position + kASanRedzoneBytes == position_);
141 position_ = RoundUp(start, kAlignment);
150 position_ = limit_ = 0;
205 DCHECK(size > limit_ - position_);
[all...]
/external/chromium_org/media/filters/
H A Din_memory_url_protocol.cc15 position_(0),
25 int64 available_bytes = size_ - position_;
30 memcpy(data, data_ + position_, size);
31 position_ += size;
41 *position_out = position_;
48 position_ = position;
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/port/
H A Dmemory_input_stream.cc32 position_(0),
41 return length_ - position_;
63 if (position_ >= length_) {
69 byte_t value = buffer_[position_++];
85 if (position_ >= length_) {
91 size_t read_count = std::min<size_t>(length_ - position_, length);
95 memcpy(&((*b)[offset]), buffer_ + position_, read_count);
96 position_ += read_count;
113 skip_count = std::max<int64_t>(0 - (int64_t)position_, n);
114 position_
[all...]
H A Dfile_input_stream.cc30 position_(0),
39 return length_ - position_;
46 position_ = 0;
75 position_ += length;
97 size_t read_count = std::min<size_t>(length_ - position_, length);
102 position_ += actual_read;
119 skip_count = std::max<int64_t>(0 - (int64_t)position_, n);
120 position_ -= (size_t)(0 - skip_count);
121 fseek(file_, position_, SEEK_SET);
123 skip_count = std::min<size_t>(length_ - position_, (size_
[all...]
/external/sfntly/cpp/src/sfntly/port/
H A Dmemory_input_stream.cc30 position_(0),
39 return length_ - position_;
61 if (position_ >= length_) {
67 byte_t value = buffer_[position_++];
83 if (position_ >= length_) {
89 size_t read_count = std::min<size_t>(length_ - position_, length);
93 memcpy(&((*b)[offset]), buffer_ + position_, read_count);
94 position_ += read_count;
111 skip_count = std::max<int64_t>(0 - (int64_t)position_, n);
112 position_
[all...]
H A Dfile_input_stream.cc28 position_(0),
37 return length_ - position_;
44 position_ = 0;
73 position_ += length;
95 size_t read_count = std::min<size_t>(length_ - position_, length);
100 position_ += actual_read;
117 skip_count = std::max<int64_t>(0 - (int64_t)position_, n);
118 position_ -= (size_t)(0 - skip_count);
119 fseek(file_, position_, SEEK_SET);
121 skip_count = std::min<size_t>(length_ - position_, (size_
[all...]
/external/chromium_org/chrome/common/
H A Dpartial_circular_buffer.cc24 position_(0),
44 position_(0),
55 position_ = buffer_data_->end_position;
73 if (position_ < buffer_data_->wrap_position) {
74 uint32 to_wrap_pos = buffer_data_->wrap_position - position_;
77 memcpy(buffer_uint8, buffer_data_->data + position_, to_read);
78 position_ += to_read;
81 if (position_ == buffer_data_->wrap_position &&
86 position_ = buffer_data_->end_position;
100 DCHECK_GE(position_, buffer_data
[all...]
/external/chromium_org/content/browser/geolocation/
H A Dmock_location_provider.cc40 position_ = position;
41 NotifyCallback(position_);
60 *position = position_;
79 position_.accuracy = 3;
80 position_.latitude = 4.3;
81 position_.longitude = -7.8;
84 position_.timestamp = base::Time::Now();
86 position_.error_code = Geoposition::ERROR_CODE_POSITION_UNAVAILABLE;
111 position_));
H A Dgeolocation_provider_impl.cc35 if (position_.Validate() ||
36 position_.error_code != Geoposition::ERROR_CODE_NONE) {
37 callback.Run(position_);
105 position_ = Geoposition();
157 position_ = position;
158 high_accuracy_callbacks_.Notify(position_);
159 low_accuracy_callbacks_.Notify(position_);
/external/ceres-solver/internal/ceres/
H A Dblock_structure.h52 Block(int size_, int position_) : size(size_), position(position_) {} argument
60 Cell(int block_id_, int position_) argument
61 : block_id(block_id_), position(position_) {}
/external/chromium_org/components/enhanced_bookmarks/
H A Ditem_position.cc21 : position_(position) {
36 return ItemPosition(CreateBeforeImpl(other.position_, 0));
79 return ItemPosition(CreateAfterImpl(other.position_, 0));
116 return ItemPosition(CreateBetweenImpl(before.position_, after.position_));
157 str.reserve(position_.size());
158 for (size_t i = 0; i < position_.size(); i++) {
159 unsigned char val = position_[i];
161 str.push_back(kPositionAlphabet[position_[i]]);
167 return !position_
[all...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
H A Dzero_copy_stream_impl_lite.cc59 position_(0),
67 if (position_ < size_) {
68 last_returned_size_ = min(block_size_, size_ - position_);
69 *data = data_ + position_;
71 position_ += last_returned_size_;
85 position_ -= count;
92 if (count > size_ - position_) {
93 position_ = size_;
96 position_ += count;
102 return position_;
[all...]
/external/protobuf/src/google/protobuf/io/
H A Dzero_copy_stream_impl_lite.cc57 position_(0),
65 if (position_ < size_) {
66 last_returned_size_ = min(block_size_, size_ - position_);
67 *data = data_ + position_;
69 position_ += last_returned_size_;
83 position_ -= count;
90 if (count > size_ - position_) {
91 position_ = size_;
94 position_ += count;
100 return position_;
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/
H A Dfont_input_stream.cc24 : stream_(is), position_(0), length_(0), bounded_(false) {
28 : stream_(is), position_(0), length_(length), bounded_(true) {
68 if (!stream_ || (bounded_ && position_ >= length_)) {
73 position_++;
80 (bounded_ && position_ >= length_)) {
84 bounded_ ? std::min<int32_t>(length, (int32_t)(length_ - position_)) :
87 position_ += bytes_read;
135 position_ += skipped;
H A Dfont_output_stream.cc25 position_(0) {
35 position_++;
42 position_ += b->size();
59 position_ += len;
74 position_ += len;
126 position_ = 0;
/external/sfntly/cpp/src/sfntly/data/
H A Dfont_input_stream.cc24 : stream_(is), position_(0), length_(0), bounded_(false) {
28 : stream_(is), position_(0), length_(length), bounded_(true) {
68 if (!stream_ || (bounded_ && position_ >= length_)) {
73 position_++;
80 (bounded_ && position_ >= length_)) {
84 bounded_ ? std::min<int32_t>(length, (int32_t)(length_ - position_)) :
87 position_ += bytes_read;
135 position_ += skipped;
H A Dfont_output_stream.cc25 position_(0) {
35 position_++;
42 position_ += b->size();
59 position_ += len;
74 position_ += len;
126 position_ = 0;
/external/chromium_org/content/browser/fileapi/
H A Dupload_file_system_file_element_reader.cc31 position_(0),
43 position_ = 0;
73 return GetContentLength() - position_;
114 position_ += result;
115 DCHECK_LE(position_, GetContentLength());
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
H A Dutils.h186 : buffer_(buffer, size), position_(0) { }
195 return position_;
203 position_ = position;
207 void Reset() { position_ = 0; }
214 ASSERT(!is_finalized() && position_ < buffer_.length());
215 buffer_[position_++] = c;
227 ASSERT(!is_finalized() && position_ + n < buffer_.length());
229 memcpy(&buffer_[position_], s, n * kCharSize);
230 position_ += n;
244 ASSERT(!is_finalized() && position_ < buffer
[all...]
/external/chromium_org/sdch/open-vcdiff/src/
H A Dheaderparser.h46 return end_ - position_;
51 return position_ - start_;
57 const char* UnparsedData() const { return position_; }
60 const char** UnparsedDataAddr() { return &position_; }
70 position_ = end_;
81 position_ = start_;
89 // Must always respect start_ <= position_ <= end_.
90 const char* position_; member in class:open_vcdiff::ParseableChunk

Completed in 1395 milliseconds

12345