Lines Matching refs:needed
71 const size_t needed = 1 + sizeof(count); in startList() local
72 if (mPos + needed > STORAGE_MAX_SIZE) { in startList()
78 mPos += needed; in startList()
83 const size_t needed = 1; in endList() local
84 if (mPos + needed > STORAGE_MAX_SIZE) { in endList()
89 mPos += needed; in endList()
94 const size_t needed = 1 + sizeof(value); in writeInt32() local
95 if (mPos + needed > STORAGE_MAX_SIZE) { in writeInt32()
101 mPos += needed; in writeInt32()
106 const size_t needed = 1 + sizeof(value); in writeInt64() local
107 if (mPos + needed > STORAGE_MAX_SIZE) { in writeInt64()
113 mPos += needed; in writeInt64()
119 const size_t needed = 1 + sizeof(int32_t) + stringLen; in writeString8() local
120 if (mPos + needed > STORAGE_MAX_SIZE) { in writeString8()
127 mPos += needed; in writeString8()