Searched refs:usize (Results 1 – 2 of 2) sorted by relevance
56 const size_t usize = static_cast<size_t>(size); in ReadMessageFromFile() local58 scoped_array<char> array(new char[usize]); in ReadMessageFromFile()59 if (fread(array.get(), sizeof(char), usize, file) != usize) { in ReadMessageFromFile()64 return msg->ParseFromArray(array.get(), usize); in ReadMessageFromFile()
57 const size_t usize = static_cast<size_t>(size); in ReadMessageFromFile() local59 scoped_array<char> array(new char[usize]); in ReadMessageFromFile()60 if (fread(array.get(), sizeof(char), usize, file) != usize) { in ReadMessageFromFile()65 return msg->ParseFromArray(array.get(), usize); in ReadMessageFromFile()