Home
last modified time | relevance | path

Searched refs:position_ (Results 1 – 25 of 39) sorted by relevance

12

/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.cc57 position_(0), in ArrayInputStream()
65 if (position_ < size_) { in Next()
66 last_returned_size_ = min(block_size_, size_ - position_); in Next()
67 *data = data_ + position_; in Next()
69 position_ += last_returned_size_; in Next()
83 position_ -= count; in BackUp()
90 if (count > size_ - position_) { in Skip()
91 position_ = size_; in Skip()
94 position_ += count; in Skip()
100 return position_; in ByteCount()
[all …]
Dzero_copy_stream_impl_lite.h84 int position_; variable
116 int position_; variable
230 int64 position_; variable
319 int64 position_; variable
/external/v8/src/
Dutils.cc39 position_ = 0; in SimpleStringBuilder()
49 ASSERT(!is_finalized() && position_ + n < buffer_.length()); in AddSubstring()
51 memcpy(&buffer_[position_], s, n * kCharSize); in AddSubstring()
52 position_ += n; in AddSubstring()
73 position_ += digits; in AddDecimalInteger()
75 buffer_[position_ - i] = '0' + static_cast<char>(number % 10); in AddDecimalInteger()
82 ASSERT(!is_finalized() && position_ < buffer_.length()); in Finalize()
83 buffer_[position_] = '\0'; in Finalize()
86 ASSERT(strlen(buffer_.start()) == static_cast<size_t>(position_)); in Finalize()
87 position_ = -1; in Finalize()
Dscanner.h175 LiteralBuffer() : is_ascii_(true), position_(0), backing_store_() { } in LiteralBuffer()
184 if (position_ >= backing_store_.length()) ExpandBuffer(); in INLINE()
187 backing_store_[position_] = static_cast<byte>(code_unit); in INLINE()
188 position_ += kASCIISize; in INLINE()
194 *reinterpret_cast<uc16*>(&backing_store_[position_]) = code_unit; in INLINE()
195 position_ += kUC16Size; in INLINE()
202 ASSERT((position_ & 0x1) == 0); in utf16_literal()
205 position_ >> 1); in utf16_literal()
212 position_); in ascii_literal()
216 return is_ascii_ ? position_ : (position_ >> 1); in length()
[all …]
Djson-parser.h57 position_++; in Advance()
58 if (position_ >= source_length_) { in Advance()
61 c0_ = seq_source_->SeqAsciiStringGet(position_); in Advance()
63 c0_ = source_->Get(position_); in Advance()
163 int position_; variable
179 position_ = -1; in ParseJson()
223 position_, in ParseJson()
224 position_ + 1); in ParseJson()
354 int beg_pos = position_; in ParseJsonNumber()
393 int length = position_ - beg_pos; in ParseJsonNumber()
[all …]
Dzone.cc73 position_(0), in Zone()
144 position_ = RoundUp(start, kAlignment); in DeleteAll()
151 position_ = limit_ = 0; in DeleteAll()
171 ASSERT(size > limit_ - position_); in NewExpand()
204 position_ = result + size; in NewExpand()
206 if (position_ < result) { in NewExpand()
211 ASSERT(position_ <= limit_); in NewExpand()
Dzone-inl.h50 position_ += ((~size) & 4) & (reinterpret_cast<intptr_t>(position_) & 4); in New()
56 Address result = position_; in New()
58 if (size > limit_ - position_) { in New()
61 position_ += size; in New()
Dserialize.h164 : data_(array), length_(length), position_(0) { } in SnapshotByteSource()
166 bool HasMore() { return position_ < length_; } in HasMore()
169 ASSERT(position_ < length_); in Get()
170 return data_[position_++]; in Get()
178 return position_ == length_; in AtEOF()
181 int position() { return position_; } in position()
186 int position_; variable
325 memcpy(to, data_ + position_, number_of_bytes); in CopyRaw()
326 position_ += number_of_bytes; in CopyRaw()
Dv8utils.cc258 ASSERT(!is_finalized() && position_ < buffer_.length()); in AddFormattedList()
259 int n = OS::VSNPrintF(buffer_ + position_, format, list); in AddFormattedList()
260 if (n < 0 || n >= (buffer_.length() - position_)) { in AddFormattedList()
261 position_ = buffer_.length(); in AddFormattedList()
263 position_ += n; in AddFormattedList()
Dutils.h873 : buffer_(buffer, size), position_(0) { }
882 return position_;
886 void Reset() { position_ = 0; }
893 ASSERT(!is_finalized() && position_ < buffer_.length());
894 buffer_[position_++] = c;
917 int position_;
919 bool is_finalized() const { return position_ < 0; }
Dgdb-jit.cc61 position_(0), in Writer()
71 return position_; in position()
98 Ensure(position_ + sizeof(T)); in Write()
99 *RawSlotAt<T>(position_) = val; in Write()
100 position_ += sizeof(T); in Write()
116 uintptr_t slot_position = position_; in CreateSlotsHere()
117 position_ += sizeof(T) * count; in CreateSlotsHere()
118 Ensure(position_); in CreateSlotsHere()
134 uintptr_t delta = position_ % align; in Align()
137 Ensure(position_ += padding); in Align()
[all …]
Dlithium.h411 position_(position), in LPointerMap()
421 int position() const { return position_; } in position()
437 int position_; variable
Dzone.h136 Address position_; variable
/external/open-vcdiff/src/
Dheaderparser.h46 return end_ - position_; in UnparsedSize()
51 return position_ - start_; in ParsedSize()
57 const char* UnparsedData() const { return position_; } in UnparsedData()
60 const char** UnparsedDataAddr() { return &position_; } in UnparsedDataAddr()
70 position_ = end_; in Finish()
81 position_ = start_; in SetDataBuffer()
90 const char* position_; variable
Dheaderparser.cc31 position_ = end_; in Advance()
34 position_ += number_of_bytes; in Advance()
41 position_ = start_; in SetPosition()
47 position_ = end_; in SetPosition()
50 position_ = position; in SetPosition()
61 position_ = end_ - number_of_bytes; in FinishExcept()
/external/chromium/sdch/open-vcdiff/src/
Dheaderparser.h46 return end_ - position_; in UnparsedSize()
51 return position_ - start_; in ParsedSize()
57 const char* UnparsedData() const { return position_; } in UnparsedData()
60 const char** UnparsedDataAddr() { return &position_; } in UnparsedDataAddr()
70 position_ = end_; in Finish()
81 position_ = start_; in SetDataBuffer()
90 const char* position_; variable
Dheaderparser.cc31 position_ = end_; in Advance()
34 position_ += number_of_bytes; in Advance()
41 position_ = start_; in SetPosition()
47 position_ = end_; in SetPosition()
50 position_ = position; in SetPosition()
61 position_ = end_ - number_of_bytes; in FinishExcept()
/external/ceres-solver/internal/ceres/
Dblock_structure.h54 Block(int size_, int position_) : size(size_), position(position_) {} in Block()
62 Cell(int block_id_, int position_) in Cell()
63 : block_id(block_id_), position(position_) {} in Cell()
/external/chromium/net/spdy/
Dspdy_io_buffer.h43 return position_ > other.position_;
49 uint64 position_; variable
Dspdy_io_buffer.cc17 position_(++order_), in SpdyIOBuffer()
20 SpdyIOBuffer::SpdyIOBuffer() : priority_(0), position_(0), stream_(NULL) {} in SpdyIOBuffer()
/external/chromium/chrome/browser/geolocation/
Dgeolocation_browsertest.cc387 CheckGeoposition(MockLocationProvider::instance_->position_); in IN_PROC_BROWSER_TEST_F()
416 CheckGeoposition(MockLocationProvider::instance_->position_); in IN_PROC_BROWSER_TEST_F()
444 CheckGeoposition(MockLocationProvider::instance_->position_); in IN_PROC_BROWSER_TEST_F()
453 CheckGeoposition(MockLocationProvider::instance_->position_); in IN_PROC_BROWSER_TEST_F()
459 CheckGeoposition(MockLocationProvider::instance_->position_); in IN_PROC_BROWSER_TEST_F()
471 CheckGeoposition(MockLocationProvider::instance_->position_); in IN_PROC_BROWSER_TEST_F()
510 CheckGeoposition(MockLocationProvider::instance_->position_); in IN_PROC_BROWSER_TEST_F()
546 CheckGeoposition(MockLocationProvider::instance_->position_); in IN_PROC_BROWSER_TEST_F()
590 CheckGeoposition(MockLocationProvider::instance_->position_); in IN_PROC_BROWSER_TEST_F()
597 CheckGeoposition(MockLocationProvider::instance_->position_); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium/chrome/browser/ui/views/
Dstatus_bubble_views.cc585 popup_->SetBounds(gfx::Rect(top_left.x() + position_.x(), in Reposition()
586 top_left.y() + position_.y(), in Reposition()
598 position_.SetPoint(base_view_->GetMirroredXWithWidthInView(x, w), y); in SetBounds()
720 relative_location.x() - (top_left.x() + position_.x())); in AvoidMouse()
723 relative_location.y() - (top_left.y() + position_.y())); in AvoidMouse()
760 const int bubble_bottom_y = top_left.y() + position_.y() + size_.height(); in AvoidMouse()
772 int right_position_x = window_width - (position_.x() + size_.width()); in AvoidMouse()
774 top_left.y() + position_.y(), in AvoidMouse()
778 popup_->SetBounds(gfx::Rect(top_left.x() + position_.x(), in AvoidMouse()
779 top_left.y() + position_.y() + offset_, in AvoidMouse()
[all …]
Dstatus_bubble_views.h106 gfx::Point position_; variable
/external/chromium/chrome/browser/notifications/
Dballoon.h60 return position_.Add(offset_); in GetPosition()
125 gfx::Point position_; variable
Dballoon.cc25 position_ = upper_left; in SetPosition()

12