Searched refs:AssertRelease (Results 1 – 4 of 4) sorted by relevance
103 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() function163 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()
73 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()
187 AssertRelease(SkTFitsIn<uint32_t>(size)); in makeBytesAlignedTo()194 static void AssertRelease(bool cond) { if (!cond) { ::abort(); } } in AssertRelease() function223 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()
105 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()