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

123456

/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 Dutils.cc40 position_ = 0;
50 ASSERT(!is_finalized() && position_ + n <= buffer_.length());
52 OS::MemCopy(&buffer_[position_], s, n * kCharSize);
53 position_ += n;
74 position_ += digits;
76 buffer_[position_ - i] = '0' + static_cast<char>(number % 10);
83 ASSERT(!is_finalized() && position_ <= buffer_.length());
85 if (position_ == buffer_.length()) {
86 position_--;
88 for (int i = 3; i > 0 && position_ >
[all...]
H A Dzone-inl.h49 position_ += ((~size) & 4) & (reinterpret_cast<intptr_t>(position_) & 4);
55 Address result = position_;
57 if (size > limit_ - position_) {
60 position_ += size;
/external/v8/src/
H A Dutils.cc39 position_ = 0;
49 ASSERT(!is_finalized() && position_ + n < buffer_.length());
51 memcpy(&buffer_[position_], s, n * kCharSize);
52 position_ += n;
73 position_ += digits;
75 buffer_[position_ - i] = '0' + static_cast<char>(number % 10);
82 ASSERT(!is_finalized() && position_ < buffer_.length());
83 buffer_[position_] = '\0';
86 ASSERT(strlen(buffer_.start()) == static_cast<size_t>(position_));
87 position_
[all...]
H A Dzone-inl.h50 position_ += ((~size) & 4) & (reinterpret_cast<intptr_t>(position_) & 4);
56 Address result = position_;
58 if (size > limit_ - position_) {
61 position_ += size;
/external/chromium_org/media/filters/
H A Din_memory_url_protocol.cc13 position_(0),
20 int available_bytes = size_ - position_;
24 memcpy(data, data_ + position_, size);
25 position_ += size;
33 *position_out = position_;
40 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_));
/external/ceres-solver/internal/ceres/
H A Dblock_structure.h54 Block(int size_, int position_) : size(size_), position(position_) {} argument
62 Cell(int block_id_, int position_) argument
63 : block_id(block_id_), position(position_) {}
/external/chromium/net/spdy/
H A Dspdy_io_buffer.cc17 position_(++order_),
20 SpdyIOBuffer::SpdyIOBuffer() : priority_(0), position_(0), stream_(NULL) {}
H A Dspdy_io_buffer.h43 return position_ > other.position_;
49 uint64 position_; member in class:net::SpdyIOBuffer
/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/webkit/browser/fileapi/
H A Dupload_file_system_file_element_reader.cc29 position_(0),
41 position_ = 0;
69 return GetContentLength() - position_;
110 position_ += result;
111 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...]

Completed in 3261 milliseconds

123456