Home
last modified time | relevance | path

Searched refs:mCurrent (Results 1 – 2 of 2) sorted by relevance

/system/core/libutils/
DTokenizer.cpp42 mCurrent(buffer), mLineNumber(1) { in Tokenizer()
118 const char* eol = mCurrent; in peekRemainderOfLine()
126 return String8(mCurrent, eol - mCurrent); in peekRemainderOfLine()
134 const char* tokenStart = mCurrent; in nextToken()
135 while (mCurrent != end) { in nextToken()
136 char ch = *mCurrent; in nextToken()
140 mCurrent += 1; in nextToken()
142 return String8(tokenStart, mCurrent - tokenStart); in nextToken()
150 while (mCurrent != end) { in nextLine()
151 char ch = *(mCurrent++); in nextLine()
[all …]
/system/core/include/utils/
DTokenizer.h57 inline bool isEof() const { return mCurrent == getEnd(); } in isEof()
62 inline bool isEol() const { return isEof() || *mCurrent == '\n'; } in isEol()
84 inline char peekChar() const { return isEof() ? '\0' : *mCurrent; } in peekChar()
95 inline char nextChar() { return isEof() ? '\0' : *(mCurrent++); } in nextChar()
127 const char* mCurrent; variable