Lines Matching refs:size
26 // We require that all three arrays have the same size.
28 "SI and IEC unit arrays must be the same size");
30 "Small SI and Big SI unit arrays must be the same size");
117 // allocation guess what the size might be
122 auto ret = vsnprintf(local_buff.data(), local_buff.size(), msg, args_cp);
128 if (static_cast<std::size_t>(ret) < local_buff.size())
132 // add 1 to size to account for null-byte in size cast to prevent overflow
133 std::size_t size = static_cast<std::size_t>(ret) + 1;
134 auto buff_ptr = std::unique_ptr<char[]>(new char[size]);
137 vsnprintf(buff_ptr.get(), size, msg, args);