Home
last modified time | relevance | path

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

/external/skia/src/codec/
DSkRawCodec.cpp148 bool safe_add_to_size_t(T arg1, T arg2, size_t* result) { in safe_add_to_size_t() function
208 if (!safe_add_to_size_t(this->bytesWritten(), size, &newSize) || in write()
252 if (!safe_add_to_size_t(offset, length, &sum)) { in read()
284 if (!safe_add_to_size_t(alreadyBuffered, bytesRead, &newSize)) { in transferBuffer()
357 if (!safe_add_to_size_t(offset, length, &sum)) { in read()
370 if (!safe_add_to_size_t(offset, size, &sum)) { in transferBuffer()
430 if (!safe_add_to_size_t(static_cast<uint64>(count), offset, &sum) || in DoRead()