Home
last modified time | relevance | path

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

/system/core/libutils/
DTokenizer.cpp38 mCurrent(buffer), mLineNumber(1) { in Tokenizer()
114 const char* eol = mCurrent; in peekRemainderOfLine()
122 return String8(mCurrent, eol - mCurrent); in peekRemainderOfLine()
130 const char* tokenStart = mCurrent; in nextToken()
131 while (mCurrent != end) { in nextToken()
132 char ch = *mCurrent; in nextToken()
136 mCurrent += 1; in nextToken()
138 return String8(tokenStart, mCurrent - tokenStart); in nextToken()
146 while (mCurrent != end) { in nextLine()
147 char ch = *(mCurrent++); in nextLine()
[all …]
/system/core/libutils/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