Home
last modified time | relevance | path

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

/system/tools/hidl/host_utils/
DFormatter.cpp28 Formatter::Formatter() : mFile(nullptr /* invalid */), mIndentDepth(0), mCurrentPosition(0) {} in Formatter()
34 mCurrentPosition(0) {} in Formatter()
130 if (mCurrentPosition == 0) { in operator <<()
133 mCurrentPosition = getIndentation() + prefix.size(); in operator <<()
138 mCurrentPosition += sub.size(); in operator <<()
142 if (mCurrentPosition == 0 && (pos > start || !prefix.empty())) { in operator <<()
145 mCurrentPosition = getIndentation() + prefix.size(); in operator <<()
150 mCurrentPosition = 0; in operator <<()
153 mCurrentPosition = 0; in operator <<()
168 size_t lineStart = mCurrentPosition ?: (getIndentation() + prefixSize); in printBlock()
/system/tools/hidl/host_utils/include/hidl-util/
DFormatter.h189 size_t mCurrentPosition; member