OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:payload_write
(Results
1 - 2
of
2
) sorted by null
/external/chromium/net/socket/
socks5_client_socket_unittest.cc
100
const std::string
payload_write
= "random data";
local
117
MockWrite(true,
payload_write
.data(),
payload_write
.size()) };
149
scoped_refptr<IOBuffer> buffer(new IOBuffer(
payload_write
.size()));
150
memcpy(buffer->data(),
payload_write
.data(),
payload_write
.size());
151
rv = user_sock_->Write(buffer,
payload_write
.size(), &callback_);
154
EXPECT_EQ(static_cast<int>(
payload_write
.size()), rv);
socks_client_socket_unittest.cc
120
const std::string
payload_write
= "random data";
local
125
MockWrite(true,
payload_write
.data(),
payload_write
.size()) };
157
scoped_refptr<IOBuffer> buffer(new IOBuffer(
payload_write
.size()));
158
memcpy(buffer->data(),
payload_write
.data(),
payload_write
.size());
159
rv = user_sock_->Write(buffer,
payload_write
.size(), &callback_);
162
EXPECT_EQ(static_cast<int>(
payload_write
.size()), rv);
Completed in 449 milliseconds