Searched refs:cur_pos_ (Results 1 – 7 of 7) sorted by relevance
21 if (data_.size() <= cur_pos_) in GetWord()24 ch = data_[cur_pos_++]; in GetWord()26 if (data_.size() <= cur_pos_) in GetWord()28 ch = data_[cur_pos_++]; in GetWord()35 if (data_.size() <= cur_pos_) in GetWord()38 ch = data_[cur_pos_++]; in GetWord()45 uint32_t start_pos = cur_pos_ - 1; in GetWord()50 if (data_.size() <= cur_pos_) in GetWord()53 ch = data_[cur_pos_++]; in GetWord()55 cur_pos_--; in GetWord()[all …]
21 void SetCurPos(uint32_t pos) { cur_pos_ = pos; } in SetCurPos()22 uint32_t GetCurPos() const { return cur_pos_; } in GetCurPos()26 uint32_t cur_pos_ = 0; variable
24 this.cur_pos_ = 0;41 if (this.cur_pos_ >= this.len_)80 if (this.len_ <= this.cur_pos_ + (str.length - 1))84 if (this.input_[this.cur_pos_ + i] !== str[i])113 let cur_pos = this.cur_pos_;114 while (this.cur_pos_ < this.len_ &&119 this.cur_pos_ += 1;125 if (cur_pos === this.cur_pos_)134 while (this.cur_pos_ < this.len_ && !this.is("\n"))135 this.cur_pos_ += 1;[all …]
125 cur_pos_ = pos; in skip_whitespace_from()131 cur_pos_ = pos; in skip_until_whitespace_from()184 ssize_t cur_pos = cur_pos_, new_pos; in parse()202 cur_pos_ = new_pos; in parse()209 cur_pos_ = new_pos; in parse()218 cur_pos_ = new_pos; in parse()222 skip_whitespace_from(cur_pos_); in parse()232 std::string arg_str(&arg_[cur_pos_]); in parse()250 cur_pos_ += matches.length(0); in parse()251 arg_str = &arg_[cur_pos_]; in parse()[all …]
90 ssize_t cur_pos_; variable110 bool done() { return cur_pos_ < 0 || arg_[cur_pos_] == '\0'; } in done()112 ArgumentParser(const char *arg) : arg_(arg), cur_pos_(0) {} in ArgumentParser()