Home
last modified time | relevance | path

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

/external/chromium_org/tools/gn/
Dtokenizer.cc76 cur_(0), in Tokenizer()
103 size_t token_begin = cur_; in Run()
107 size_t token_end = cur_; in Run()
211 char following_char = input_[cur_ + 1]; in ClassifyCurrent()
269 if (CanIncrement() && CouldBeTwoCharOperatorEnd(input_[cur_ + 1])) in AdvanceToEndOfToken()
307 char c = input_[cur_]; in IsCurrentWhitespace()
320 for (int i = static_cast<int>(cur_) - 1; i >= 0 && input_[i] == '\\'; i--) in IsCurrentStringTerminator()
329 return IsNewline(input_, cur_); in IsCurrentNewline()
333 DCHECK(cur_ < input_.size()); in Advance()
340 cur_++; in Advance()
[all …]
Dtokenizer.h58 bool CanIncrement() const { return cur_ < input_.size(); } in CanIncrement()
70 bool at_end() const { return cur_ == input_.size(); } in at_end()
71 char cur_char() const { return input_[cur_]; } in cur_char()
80 size_t cur_; // Byte offset into input buffer. variable
Dparser.h86 const Token& cur_token() const { return tokens_[cur_]; } in cur_token()
89 bool at_end() const { return cur_ >= tokens_.size(); } in at_end()
99 size_t cur_; variable
Dparser.cc79 : tokens_(tokens), err_(err), cur_(0) { in Parser()
143 cur_++; in Consume()
157 return tokens_[cur_++]; in Consume()
164 return tokens_[cur_++]; in Consume()
/external/chromium_org/chrome/browser/ui/tab_contents/
Dtab_contents_iterator.cc14 cur_(NULL) { in TabContentsIterator()
21 DCHECK(cur_ || web_view_index_ == -1) << "Trying to advance past the end"; in Next()
35 cur_ = next_tab; in Next()
40 cur_ = NULL; in Next()
Dtab_contents_iterator.h34 bool done() const { return cur_ == NULL; } in done()
46 return cur_;
49 return cur_;
64 content::WebContents* cur_; variable
/external/chromium/chrome/browser/ui/
Dbrowser_list.h212 return cur_ == NULL; in done()
223 return cur_;
226 return cur_;
232 return cur_;
235 TabContentsWrapper* tmp = cur_;
255 TabContentsWrapper* cur_; variable
Dbrowser_list.cc611 cur_(NULL) { in TabContentsIterator()
618 DCHECK(web_view_index_ || browser_iterator_ == BrowserList::end() || cur_) in Advance()
630 cur_ = NULL; in Advance()
638 cur_ = next_tab; in Advance()
/external/chromium_org/net/dns/
Ddns_response.cc25 DnsRecordParser::DnsRecordParser() : packet_(NULL), length_(0), cur_(0) { in DnsRecordParser()
33 cur_(packet_ + offset) { in DnsRecordParser()
113 size_t consumed = ReadName(cur_, &out->name); in ReadRecord()
116 BigEndianReader reader(cur_ + consumed, in ReadRecord()
117 packet_ + length_ - (cur_ + consumed)); in ReadRecord()
124 cur_ = reader.ptr(); in ReadRecord()
131 size_t consumed = ReadName(cur_, NULL); in SkipQuestion()
135 const char* next = cur_ + consumed + 2 * sizeof(uint16); // QTYPE + QCLASS in SkipQuestion()
139 cur_ = next; in SkipQuestion()
Ddns_response.h53 bool AtEnd() const { return cur_ == packet_ + length_; } in AtEnd()
56 size_t GetOffset() const { return cur_ - packet_; } in GetOffset()
77 const char* cur_; variable