Home
last modified time | relevance | path

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

/external/deqp-deps/amber/src/
Dtokenizer.cc61 if (current_position_ >= data_.length()) in NextToken()
64 if (data_[current_position_] == '#') { in NextToken()
68 if (current_position_ >= data_.length()) in NextToken()
71 if (data_[current_position_] == '\n') { in NextToken()
73 ++current_position_; in NextToken()
77 if (data_[current_position_] == '"') { in NextToken()
78 current_position_++; // Skip opening quote in NextToken()
81 for (; current_position_ < data_.length(); current_position_++) { in NextToken()
82 auto c = data_[current_position_]; in NextToken()
92 current_position_++; // Skip closing quote in NextToken()
[all …]
Dtokenizer.h120 size_t current_position_ = 0; variable
/external/swiftshader/third_party/SPIRV-Tools/source/
Dtext_handler.cpp188 return spvtools::advance(text_, &current_position_); in advance()
193 *next_position = current_position_; in getWord()
198 return spvtools::startsWithOp(text_, &current_position_); in startsWithOp()
202 spv_position_t pos = current_position_; in isStartOfNewInst()
207 pos = current_position_; in isStartOfNewInst()
221 return text_->str[current_position_.index]; in peek()
225 return text_->length > current_position_.index; in hasText()
229 current_position_.index += size; in seekForward()
230 current_position_.column += size; in seekForward()
Dtext_handler.h125 : current_position_({}),
158 return DiagnosticStream(current_position_, consumer_, "", error); in diagnostic()
178 current_position_ = newPosition; in setPosition()
182 const spv_position_t& position() const { return current_position_; } in position()
254 spv_position_t current_position_; variable
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/
Dtext_handler.cpp188 return spvtools::advance(text_, &current_position_); in advance()
193 *next_position = current_position_; in getWord()
198 return spvtools::startsWithOp(text_, &current_position_); in startsWithOp()
202 spv_position_t pos = current_position_; in isStartOfNewInst()
207 pos = current_position_; in isStartOfNewInst()
221 return text_->str[current_position_.index]; in peek()
225 return text_->length > current_position_.index; in hasText()
229 current_position_.index += size; in seekForward()
230 current_position_.column += size; in seekForward()
Dtext_handler.h125 : current_position_({}),
158 return DiagnosticStream(current_position_, consumer_, "", error); in diagnostic()
178 current_position_ = newPosition; in setPosition()
182 const spv_position_t& position() const { return current_position_; } in position()
254 spv_position_t current_position_; variable
/external/deqp-deps/SPIRV-Tools/source/
Dtext_handler.cpp188 return spvtools::advance(text_, &current_position_); in advance()
193 *next_position = current_position_; in getWord()
198 return spvtools::startsWithOp(text_, &current_position_); in startsWithOp()
202 spv_position_t pos = current_position_; in isStartOfNewInst()
207 pos = current_position_; in isStartOfNewInst()
221 return text_->str[current_position_.index]; in peek()
225 return text_->length > current_position_.index; in hasText()
229 current_position_.index += size; in seekForward()
230 current_position_.column += size; in seekForward()
Dtext_handler.h125 : current_position_({}),
158 return DiagnosticStream(current_position_, consumer_, "", error); in diagnostic()
178 current_position_ = newPosition; in setPosition()
182 const spv_position_t& position() const { return current_position_; } in position()
254 spv_position_t current_position_; variable
/external/pdfium/xfa/fde/
Dcfde_texteditengine.cpp1221 : engine_(engine), current_position_(-1) {} in Iterator()
1226 if (bPrev && current_position_ == -1) in Next()
1228 if (!bPrev && current_position_ > -1 && in Next()
1229 static_cast<size_t>(current_position_) == engine_->GetLength()) { in Next()
1234 --current_position_; in Next()
1236 ++current_position_; in Next()
1240 return engine_->GetChar(current_position_); in GetChar()
1245 current_position_ = engine_->GetLength(); in SetAt()
1247 current_position_ = nIndex; in SetAt()
1251 return bPrev ? current_position_ == -1 in IsEOF()
[all …]
Dcfde_texteditengine.h54 int32_t current_position_; variable