Lines Matching refs:reserve
59 uint32_t* reserve(size_t size) { in reserve() function
102 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFF; in write8()
106 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFFFF; in write16()
110 *(int32_t*)this->reserve(sizeof(value)) = value; in write32()
116 memcpy(this->reserve(sizeof(value)), &value, sizeof(value)); in writePtr()
120 *(SkScalar*)this->reserve(sizeof(value)) = value; in writeScalar()
124 *(SkPoint*)this->reserve(sizeof(pt)) = pt; in writePoint()
128 *(SkPoint3*)this->reserve(sizeof(pt)) = pt; in writePoint3()
132 *(SkRect*)this->reserve(sizeof(rect)) = rect; in writeRect()
136 *(SkIRect*)this->reserve(sizeof(rect)) = rect; in writeIRect()
140 rrect.writeToMemory(this->reserve(SkRRect::kSizeInMemory)); in writeRRect()
146 path.writeToMemory(this->reserve(size)); in writePath()
154 rgn.writeToMemory(this->reserve(size)); in writeRegion()
168 sk_careful_memcpy(this->reserve(size), values, size); in write()
177 uint32_t* p = this->reserve(alignedSize); in reservePad()