Home | History | Annotate | Download | only in core

Lines Matching refs:reserve

31      *  SkWriter32 will try to back reserve and write calls with this external storage until the
56 uint32_t* reserve(size_t size) {
99 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFF;
103 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFFFF;
107 *(int32_t*)this->reserve(sizeof(value)) = value;
111 *(void**)this->reserve(sizeof(value)) = value;
115 *(SkScalar*)this->reserve(sizeof(value)) = value;
119 *(SkPoint*)this->reserve(sizeof(pt)) = pt;
123 *(SkPoint3*)this->reserve(sizeof(pt)) = pt;
127 *(SkRect*)this->reserve(sizeof(rect)) = rect;
131 *(SkIRect*)this->reserve(sizeof(rect)) = rect;
135 rrect.writeToMemory(this->reserve(SkRRect::kSizeInMemory));
141 path.writeToMemory(this->reserve(size));
149 rgn.writeToMemory(this->reserve(size));
163 sk_careful_memcpy(this->reserve(size), values, size);
167 * Reserve size bytes. Does not need to be 4 byte aligned. The remaining space (if any) will be
172 uint32_t* p = this->reserve(alignedSize);