Searched refs:cur_ (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/chrome/browser/ui/tab_contents/
H A Dtab_contents_iterator.cc14 cur_(NULL) {
15 // Load the first WebContents into |cur_|.
21 DCHECK(cur_ || web_view_index_ == -1) << "Trying to advance past the end";
23 // Update |cur_| to the next WebContents in the list.
35 cur_ = next_tab;
40 cur_ = NULL;
H A Dtab_contents_iterator.h34 bool done() const { return cur_ == NULL; }
46 return cur_;
49 return cur_;
52 // Loads the next host into |cur_|. This is designed so that for the initial
64 content::WebContents* cur_; member in class:TabContentsIterator
/external/chromium_org/tools/gn/
H A Dtokenizer.h64 bool CanIncrement() const { return cur_ < input_.size(); }
76 bool at_end() const { return cur_ == input_.size(); }
77 char cur_char() const { return input_[cur_]; }
86 size_t cur_; // Byte offset into input buffer. member in class:Tokenizer
H A Dtokenizer.cc75 cur_(0),
102 size_t token_begin = cur_;
106 size_t token_end = cur_;
230 char following_char = input_[cur_ + 1];
286 if (CanIncrement() && CouldBeTwoCharOperatorEnd(input_[cur_ + 1]))
337 char c = input_[cur_];
350 for (int i = static_cast<int>(cur_) - 1; i >= 0 && input_[i] == '\\'; i--)
359 return IsNewline(input_, cur_);
363 DCHECK(cur_ < input_.size());
370 cur_
[all...]
H A Dparser.h97 const Token& cur_token() const { return tokens_[cur_]; }
100 bool at_end() const { return cur_ >= tokens_.size(); }
112 size_t cur_; member in class:Parser
H A Dparser.cc84 : err_(err), cur_(0) {
164 cur_++;
178 return tokens_[cur_++];
185 return tokens_[cur_++];
/external/chromium_org/net/dns/
H A Ddns_response.h53 bool AtEnd() const { return cur_ == packet_ + length_; }
56 size_t GetOffset() const { return cur_ - packet_; }
77 const char* cur_; member in class:net::DnsRecordParser
H A Ddns_response.cc25 DnsRecordParser::DnsRecordParser() : packet_(NULL), length_(0), cur_(0) {
33 cur_(packet_ + offset) {
113 size_t consumed = ReadName(cur_, &out->name);
116 base::BigEndianReader reader(cur_ + consumed,
117 packet_ + length_ - (cur_ + consumed));
124 cur_ = reader.ptr();
131 size_t consumed = ReadName(cur_, NULL);
135 const char* next = cur_ + consumed + 2 * sizeof(uint16); // QTYPE + QCLASS
139 cur_ = next;
/external/chromium_org/third_party/libwebp/utils/
H A Dbit_writer.h86 uint8_t* cur_; // current write position member in struct:__anon13294
97 return (bw->cur_ - bw->buf_) + ((bw->used_ + 7) >> 3);
H A Dbit_writer.c213 const size_t current_size = bw->cur_ - bw->buf_;
235 bw->cur_ = bw->buf_ + current_size;
274 if (bw->cur_ + VP8L_WRITER_BYTES > bw->end_) {
278 bw->cur_ = bw->buf_;
283 *(vp8l_wtype_t*)bw->cur_ = (vp8l_wtype_t)WSWAP((vp8l_wtype_t)lbits);
284 bw->cur_ += VP8L_WRITER_BYTES;
298 *bw->cur_++ = (uint8_t)bw->bits_;
H A Dquant_levels_dec.c58 uint16_t* cur_; member in struct:__anon13301
82 uint16_t* const cur = p->cur_;
96 p->top_ = p->cur_;
97 p->cur_ += w;
98 if (p->cur_ == p->end_) p->cur_ = p->start_; // roll-over
225 p->cur_ = p->start_;
/external/webp/src/utils/
H A Dbit_writer.h86 uint8_t* cur_; // current write position member in struct:__anon33391
97 return (bw->cur_ - bw->buf_) + ((bw->used_ + 7) >> 3);
H A Dbit_writer.c213 const size_t current_size = bw->cur_ - bw->buf_;
235 bw->cur_ = bw->buf_ + current_size;
274 if (bw->cur_ + VP8L_WRITER_BYTES > bw->end_) {
278 bw->cur_ = bw->buf_;
283 *(vp8l_wtype_t*)bw->cur_ = (vp8l_wtype_t)WSWAP((vp8l_wtype_t)lbits);
284 bw->cur_ += VP8L_WRITER_BYTES;
298 *bw->cur_++ = (uint8_t)bw->bits_;
H A Dquant_levels_dec.c58 uint16_t* cur_; member in struct:__anon33398
82 uint16_t* const cur = p->cur_;
96 p->top_ = p->cur_;
97 p->cur_ += w;
98 if (p->cur_ == p->end_) p->cur_ = p->start_; // roll-over
225 p->cur_ = p->start_;

Completed in 161 milliseconds