Lines Matching refs:msg_size
237 size_t msg_size = msg.size();
238 for (size_t offset = 0; offset < msg_size; offset += ch_size) {
239 if (offset + ch_size > msg_size)
240 ch_size = msg_size - offset;
264 size_t msg_size = msg.size();
266 for (size_t offset = 0; offset < msg_size; offset += ch_size) {
267 if (offset + ch_size > msg_size)
268 ch_size = msg_size - offset;
893 size_t msg_size = test_proto_strs_[i].size();
894 socket_->AddWriteResult(net::ASYNC, msg_size);
895 EXPECT_CALL(handler_, OnWriteComplete(msg_size));
915 size_t msg_size = test_proto_strs_[i].size();
916 socket_->AddWriteResult(net::SYNCHRONOUS, msg_size);
917 EXPECT_CALL(handler_, OnWriteComplete(msg_size));