Lines Matching refs:mPos
55 : mPos(0), mTag(tag), mOverflow(false) {
61 } else if (android_bWriteLog(mTag, mStorage, mPos) < 0) {
65 mPos = 0;
72 if (mPos + needed > STORAGE_MAX_SIZE) {
76 mStorage[mPos + 0] = EVENT_TYPE_LIST;
77 mStorage[mPos + 1] = count;
78 mPos += needed;
84 if (mPos + needed > STORAGE_MAX_SIZE) {
88 mStorage[mPos + 0] = '\n';
89 mPos += needed;
95 if (mPos + needed > STORAGE_MAX_SIZE) {
99 mStorage[mPos + 0] = EVENT_TYPE_INT;
100 memcpy(&mStorage[mPos + 1], &value, sizeof(value));
101 mPos += needed;
107 if (mPos + needed > STORAGE_MAX_SIZE) {
111 mStorage[mPos + 0] = EVENT_TYPE_LONG;
112 memcpy(&mStorage[mPos + 1], &value, sizeof(value));
113 mPos += needed;
120 if (mPos + needed > STORAGE_MAX_SIZE) {
124 mStorage[mPos + 0] = EVENT_TYPE_STRING;
125 memcpy(&mStorage[mPos + 1], &stringLen, sizeof(int32_t));
126 memcpy(&mStorage[mPos + 5], value.string(), stringLen);
127 mPos += needed;