Searched refs:safe_add_to_size_t (Results 1 – 2 of 2) sorted by relevance
/third_party/flutter/skia/src/codec/ |
D | SkRawCodec.cpp | 153 bool safe_add_to_size_t(T arg1, T arg2, size_t* result) { in safe_add_to_size_t() function 198 if (!safe_add_to_size_t(this->bytesWritten(), size, &newSize) || in write() 241 if (!safe_add_to_size_t(offset, length, &sum)) { in read() 273 if (!safe_add_to_size_t(alreadyBuffered, bytesRead, &newSize)) { in transferBuffer() 345 if (!safe_add_to_size_t(offset, length, &sum)) { in read() 358 if (!safe_add_to_size_t(offset, size, &sum)) { in transferBuffer() 418 if (!safe_add_to_size_t(static_cast<uint64>(count), offset, &sum) || in DoRead()
|
/third_party/skia/src/codec/ |
D | SkRawCodec.cpp | 153 bool safe_add_to_size_t(T arg1, T arg2, size_t* result) { in safe_add_to_size_t() function 198 if (!safe_add_to_size_t(this->bytesWritten(), size, &newSize) || in write() 241 if (!safe_add_to_size_t(offset, length, &sum)) { in read() 273 if (!safe_add_to_size_t(alreadyBuffered, bytesRead, &newSize)) { in transferBuffer() 345 if (!safe_add_to_size_t(offset, length, &sum)) { in read() 358 if (!safe_add_to_size_t(offset, size, &sum)) { in transferBuffer() 418 if (!safe_add_to_size_t(static_cast<uint64>(count), offset, &sum) || in DoRead()
|