Lines Matching refs:mBuffer
81 mBuffer = new char[DEFAULT_BUFFER_SIZE]; in FileUtil()
82 if (mBuffer == NULL) { in FileUtil()
94 delete[] mBuffer; in ~FileUtil()
117 mBuffer[0] = '0' + logLevel; in doVprintf()
118 mBuffer[1] = '>'; in doVprintf()
122 size = vsnprintf(mBuffer + start, mBufferSize - start - 2, fmt, ap); // 2 for \n\0 in doVprintf()
129 delete[] mBuffer; in doVprintf()
130 mBuffer = new char[2 * size]; in doVprintf()
131 if (mBuffer == NULL) { in doVprintf()
140 mBuffer[size] = '\n'; in doVprintf()
142 mBuffer[size] = 0; in doVprintf()
145 fprintf(stdout, "%s", mBuffer); in doVprintf()
148 mFile<<mBuffer; in doVprintf()