Lines Matching full:static_cast
16 static const size_t kCapacityReadOnly = static_cast<size_t>(-1);
58 int64 num_bytes = static_cast<int64>(num_elements) * size_element;
59 int num_bytes32 = static_cast<int>(num_bytes);
60 if (num_bytes != static_cast<int64>(num_bytes32))
167 DCHECK_GE(static_cast<size_t>(header_size), sizeof(Header));
178 if (data_len >= static_cast<int>(sizeof(Header)))
181 if (header_size_ > static_cast<unsigned int>(data_len))
231 if (!WriteInt(static_cast<int>(value.size())))
234 return WriteBytes(value.data(), static_cast<int>(value.size()));
238 if (!WriteInt(static_cast<int>(value.size())))
242 static_cast<int>(value.size() * sizeof(wchar_t)));
246 if (!WriteInt(static_cast<int>(value.size())))
250 static_cast<int>(value.size()) * sizeof(char16));
320 header_->payload_size = static_cast<uint32>(new_size);
349 DCHECK_LE(header_size, static_cast<size_t>(kPayloadUnit));
351 if (static_cast<size_t>(end - start) < sizeof(Header))