Home
last modified time | relevance | path

Searched refs:next_pos_ (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/google_apis/gcm/base/
Dsocket_stream.cc27 next_pos_(0), in SocketInputStream()
49 DCHECK_LT(next_pos_, read_buffer_->BytesConsumed()); in Next()
50 *data = io_buffer_->data() + next_pos_; in Next()
52 next_pos_ = read_buffer_->BytesConsumed(); in Next()
60 DCHECK_LE(count, next_pos_); in BackUp()
62 next_pos_ -= count; in BackUp()
64 << "Current position now at " << next_pos_ in BackUp()
76 return next_pos_; in ByteCount()
82 return read_buffer_->BytesConsumed() - next_pos_; in UnreadByteCount()
122 << next_pos_ << " bytes."; in RebuildBuffer()
[all …]
Dsocket_stream.h119 int next_pos_; variable
192 int next_pos_; variable
/external/chromium/base/i18n/
Dchar_iterator.cc17 next_pos_(0), in UTF8CharIterator()
21 U8_NEXT(str_, next_pos_, len_, char_); in UTF8CharIterator()
31 array_pos_ = next_pos_; in Advance()
33 if (next_pos_ < len_) in Advance()
34 U8_NEXT(str_, next_pos_, len_, char_); in Advance()
43 next_pos_(0), in UTF16CharIterator()
54 next_pos_(0), in UTF16CharIterator()
68 array_pos_ = next_pos_; in Advance()
70 if (next_pos_ < len_) in Advance()
78 U16_NEXT(str_, next_pos_, len_, char_); in ReadChar()
Dchar_iterator.h65 int32 next_pos_; variable
116 int32 next_pos_; variable
/external/chromium_org/base/i18n/
Dchar_iterator.cc17 next_pos_(0), in UTF8CharIterator()
21 U8_NEXT(str_, next_pos_, len_, char_); in UTF8CharIterator()
31 array_pos_ = next_pos_; in Advance()
33 if (next_pos_ < len_) in Advance()
34 U8_NEXT(str_, next_pos_, len_, char_); in Advance()
43 next_pos_(0), in UTF16CharIterator()
54 next_pos_(0), in UTF16CharIterator()
68 array_pos_ = next_pos_; in Advance()
70 if (next_pos_ < len_) in Advance()
78 U16_NEXT(str_, next_pos_, len_, char_); in ReadChar()
Dchar_iterator.h65 int32 next_pos_; variable
116 int32 next_pos_; variable
/external/chromium_org/v8/src/
Dparser.h329 int position() { return next_pos_ - 1; } in position()
382 bool has_next() { return next_pos_ < in()->length(); } in has_next()
393 int next_pos_; variable
Dparser.cc4755 next_pos_(0), in RegExpParser()
4769 return in()->Get(next_pos_); in Next()
4777 if (next_pos_ < in()->length()) { in Advance()
4784 current_ = in()->Get(next_pos_); in Advance()
4785 next_pos_++; in Advance()
4795 next_pos_ = pos; in Reset()
4802 next_pos_ += dist - 1; in Advance()
4817 next_pos_ = in()->length(); in ReportError()
/external/v8/src/
Dparser.h352 int position() { return next_pos_ - 1; } in position()
404 bool has_next() { return next_pos_ < in()->length(); } in has_next()
414 int next_pos_; variable
Dparser.cc5031 next_pos_(0), in RegExpParser()
5045 return in()->Get(next_pos_); in Next()
5053 if (next_pos_ < in()->length()) { in Advance()
5060 current_ = in()->Get(next_pos_); in Advance()
5061 next_pos_++; in Advance()
5071 next_pos_ = pos; in Reset()
5077 next_pos_ += dist - 1; in Advance()
5091 next_pos_ = in()->length(); in ReportError()