Lines Matching refs:fPtr
20 operator bool() const { return fPtr != nullptr; }
24 BufferWriter(void* ptr) : fPtr(ptr) {}
28 fPtr = that.fPtr;
29 that.fPtr = nullptr;
34 void* fPtr;
59 bool operator==(const VertexWriter& that) const { return fPtr == that.fPtr; }
62 // writer functions to write data. We do not want them to directly access fPtr and copy their
64 void* ptr() const { return fPtr; }
67 return {SkTAddOffset<void>(fPtr, offsetInBytes)};
87 memcpy(fPtr, array, count * sizeof(T));
88 fPtr = SkTAddOffset<void>(fPtr, count * sizeof(T));
192 memcpy(w.fPtr, &val, sizeof(T));
214 vector.store(w.fPtr);
240 return {SkTAddOffset<void>(fPtr, numIndices * sizeof(uint16_t))};
244 memcpy(fPtr, array, count * sizeof(uint16_t));
245 fPtr = SkTAddOffset<void>(fPtr, count * sizeof(uint16_t));
252 memcpy(w.fPtr, &val, sizeof(uint16_t));
272 memcpy(fPtr, src, bytes);
273 fPtr = SkTAddOffset<void>(fPtr, bytes);