Lines Matching refs:bytes
79 * Returns: number of bytes needed to represent the array or SIZE_MAX on
84 size_t bytes;
86 if (check_mul_overflow(a, b, &bytes))
89 return bytes;
101 * Returns: number of bytes needed to represent the array or SIZE_MAX on
106 size_t bytes;
108 if (check_mul_overflow(a, b, &bytes))
110 if (check_mul_overflow(bytes, c, &bytes))
113 return bytes;
118 size_t bytes;
120 if (check_mul_overflow(n, size, &bytes))
122 if (check_add_overflow(bytes, c, &bytes))
125 return bytes;
137 * Return: number of bytes needed or SIZE_MAX on overflow.