Home
last modified time | relevance | path

Searched refs:objStart (Results 1 – 4 of 4) sorted by relevance

/external/skqp/include/private/
DSkArenaAlloc.h78 char* objStart; in make() local
80 objStart = this->allocObject(size, alignment); in make()
81 fCursor = objStart + size; in make()
83 objStart = this->allocObjectWithFooter(size + sizeof(Footer), alignment); in make()
85 uint32_t padding = ToU32(objStart - fCursor); in make()
88 fCursor = objStart + size; in make()
90 char* objStart = objEnd - (sizeof(T) + sizeof(Footer)); in make() local
91 ((T*)objStart)->~T(); in make()
92 return objStart; in make()
98 return new(objStart) T(std::forward<Args>(args)...); in make()
[all …]
/external/skia/src/core/
DSkArenaAlloc.h126 char* objStart; variable
128 objStart = this->allocObject(size, alignment);
129 fCursor = objStart + size;
131 objStart = this->allocObjectWithFooter(size + sizeof(Footer), alignment);
133 uint32_t padding = ToU32(objStart - fCursor);
136 fCursor = objStart + size;
138 char* objStart = objEnd - (sizeof(T) + sizeof(Footer)); variable
139 ((T*)objStart)->~T();
140 return objStart;
146 return ctor(objStart);
[all …]
DSkArenaAlloc.cpp120 char* objStart = (char*)((uintptr_t)(fCursor + skipOverhead + mask) & ~mask); in allocObjectWithFooter() local
121 if ((ptrdiff_t)totalSize > fEnd - objStart) { in allocObjectWithFooter()
126 AssertRelease((ptrdiff_t)totalSize <= fEnd - objStart); in allocObjectWithFooter()
135 return objStart; in allocObjectWithFooter()
/external/skqp/src/core/
DSkArenaAlloc.cpp149 char* objStart = (char*)((uintptr_t)(fCursor + skipOverhead + mask) & ~mask); in allocObjectWithFooter() local
152 if ((ptrdiff_t)totalSize > fEnd - objStart) { in allocObjectWithFooter()
157 AssertRelease((ptrdiff_t)totalSize <= fEnd - objStart); in allocObjectWithFooter()
165 return objStart; in allocObjectWithFooter()