Home
last modified time | relevance | path

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

/external/skqp/include/private/
DSkArenaAlloc.h103 AssertRelease(SkTFitsIn<uint32_t>(count)); in makeArrayDefault()
116 AssertRelease(SkTFitsIn<uint32_t>(count)); in makeArray()
130 AssertRelease(SkTFitsIn<uint32_t>(size)); in makeBytesAlignedTo()
140 static void AssertRelease(bool cond) { if (!cond) { ::abort(); } } in AssertRelease() function
163 AssertRelease(totalSize >= size); in allocObject()
176 AssertRelease(count <= std::numeric_limits<uint32_t>::max() / sizeof(T)); in commonArrayAlloc()
185 AssertRelease(arraySize <= std::numeric_limits<uint32_t>::max() - overhead); in commonArrayAlloc()
/external/skia/src/core/
DSkArenaAlloc.cpp73 AssertRelease(size <= maxSize - overhead); in ensureSpace()
77 AssertRelease(objSizeAndOverhead <= maxSize - alignmentOverhead); in ensureSpace()
87 AssertRelease(allocationSize <= maxSize - mask); in ensureSpace()
126 AssertRelease((ptrdiff_t)totalSize <= fEnd - objStart); in allocObjectWithFooter()
DSkArenaAlloc.h187 AssertRelease(SkTFitsIn<uint32_t>(size)); in makeBytesAlignedTo()
194 static void AssertRelease(bool cond) { if (!cond) { ::abort(); } } in AssertRelease() function
223 AssertRelease(totalSize >= size); in allocObject()
241 AssertRelease(SkTFitsIn<uint32_t>(countZ)); in allocUninitializedArray()
245 AssertRelease(count <= std::numeric_limits<uint32_t>::max() / sizeof(T)); in allocUninitializedArray()
254 AssertRelease(arraySize <= std::numeric_limits<uint32_t>::max() - overhead); in allocUninitializedArray()
/external/skqp/src/core/
DSkArenaAlloc.cpp105 AssertRelease(size <= maxSize - overhead); in ensureSpace()
109 AssertRelease(objSizeAndOverhead <= maxSize - alignmentOverhead); in ensureSpace()
127 AssertRelease(allocationSize <= maxSize - mask); in ensureSpace()
157 AssertRelease((ptrdiff_t)totalSize <= fEnd - objStart); in allocObjectWithFooter()